Exact Lean source
Nonadditivity.PrescribedCostScaling
Download original .lean · View on GitHub · Jump to source
Catalog entries: Input-qubit cost of the growing-K separation
Imported by project modules
2 direct reverse imports
Relationships above come from literal import commands. The declarations below link to types and references extracted from Lean’s environment. Source text is complete and unchanged.
Declarations in this module
15 project constants, including generated, internal and private declarations.
15 declarations
Nonadditivity.PrescribedCost.correction_sqrt_log_tendsto_zeroNonadditivity.PrescribedCost.growingFamily_chi_input_cost_boundsNonadditivity.PrescribedCost.growingFamily_chi_input_cost_bounds._simp_1_1internal/detail/privateNonadditivity.PrescribedCost.growingFamily_chi_input_cost_bounds._simp_1_2internal/detail/privateNonadditivity.PrescribedCost.growingFamily_chi_input_cost_bounds._simp_1_3internal/detail/privateNonadditivity.PrescribedCost.growingFamily_chi_input_cost_bounds._simp_1_4internal/detail/privateNonadditivity.PrescribedCost.growingFamily_chi_input_cost_bounds._simp_1_5internal/detail/privateNonadditivity.PrescribedCost.growingFamily_chi_input_cost_bounds._simp_1_6internal/detail/privateNonadditivity.PrescribedCost.growingFamily_chi_input_cost_bounds._simp_1_7internal/detail/privateNonadditivity.PrescribedCost.growingFamily_chi_scaled_boundsNonadditivity.PrescribedCost.growingFamily_chi_scaled_bounds._proof_1_1internal/detail/privateNonadditivity.PrescribedCost.inputLogScaleNonadditivity.PrescribedCost.inputLogScale._proof_1internal/detail/privateNonadditivity.PrescribedCost.inputLogScale_posNonadditivity.PrescribedCost.input_sqrt_ratio_bounds
Full module
1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.PrescribedCostInformation7import Nonadditivity.PrescribedCostLogarithms89/-! # Matching information bounds in terms of the actual input-qubit cost -/10noncomputable section11namespace Nonadditivity.PrescribedCost12open Filter Topology Asymptotics ActualConsequences1314theorem correction_sqrt_log_tendsto_zero :15Tendsto (fun K : ℕ => finiteSizeCorrection (blockLength K)*Real.sqrt (Real.log K))16atTop (𝓝 0) := by17have hb := blockLength_tendsto_atTop.eventually (eventually_ge_atTop 2)18apply squeeze_zero' _ _ (by simpa using19sqrt_log_div_blockLength_tendsto_zero.const_mul (16/Real.log 2))20· filter_upwards [hb] with K hn21exact mul_nonneg (finiteSizeCorrection_nonneg hn) (Real.sqrt_nonneg _)22· filter_upwards [hb] with K hn23have h := mul_le_mul_of_nonneg_right (finiteSizeCorrection_le_inverse hn)24(Real.sqrt_nonneg (Real.log K))25convert h using 126ring2728theorem growingFamily_chi_scaled_bounds :29∀ᶠ K : ℕ in atTop,301 ≤ (growingFamily K).chi * Real.sqrt (Real.log K) ∧31(growingFamily K).chi * Real.sqrt (Real.log K) ≤ 9/Real.log 2+1 := by32have htwo : Tendsto (fun K : ℕ => 2*((blockLength K:ℝ)*Real.sqrt (Real.log K)/K))33atTop (𝓝 2) := by simpa using normalized_blockLength_tendsto_one.const_mul 234have hlo := htwo.eventually (lt_mem_nhds (by norm_num : (1:ℝ)<2))35have hupper : Tendsto (fun K : ℕ =>36(9/Real.log 2)*((blockLength K:ℝ)*Real.sqrt (Real.log K)/K) +37finiteSizeCorrection (blockLength K)*Real.sqrt (Real.log K)/2)38atTop (𝓝 (9/Real.log 2)) := by39simpa using (normalized_blockLength_tendsto_one.const_mul (9/Real.log 2)).add40(correction_sqrt_log_tendsto_zero.div_const 2)41have hu := hupper.eventually (gt_mem_nhds (by linarith : 9/Real.log 2<9/Real.log 2+1))42filter_upwards [growingFamily_bounds_eventually,hlo,hu,eventually_ge_atTop 2]43with K hs hl hu hK44have hKr : (0:ℝ)<K := by exact_mod_cast (show 0<K by omega)45have hsqrt := Real.sqrt_nonneg (Real.log K)46have hlow := mul_le_mul_of_nonneg_right hs.1 hsqrt47have hhigh := mul_le_mul_of_nonneg_right hs.2.1 hsqrt48have hterm := mul_le_mul_of_nonneg_right49(mul_le_mul_of_nonneg_left (Scalar.aK_le hKr)50(Nat.cast_nonneg (blockLength K): (0:ℝ)≤blockLength K)) hsqrt51have hterm' : (blockLength K:ℝ)*Scalar.aK K*Real.sqrt (Real.log K) ≤52(9/Real.log 2)*((blockLength K:ℝ)*Real.sqrt (Real.log K)/K) := by53convert hterm using 154ring55have hlow' : 2*((blockLength K:ℝ)*Real.sqrt (Real.log K)/K) ≤56(growingFamily K).chi*Real.sqrt (Real.log K) := by57convert hlow using 158ring59constructor60· linarith61· nlinarith6263def inputLogScale : ℝ := Real.sqrt (2/Real.log 2)6465theorem inputLogScale_pos : 0 < inputLogScale := by66unfold inputLogScale67exact Real.sqrt_pos.mpr (by positivity)6869theorem input_sqrt_ratio_bounds :70∀ᶠ K : ℕ in atTop,71inputLogScale/2 ≤ Real.sqrt (Scalar.log2 (inputQubits K))/Real.sqrt (Real.log K) ∧72Real.sqrt (Scalar.log2 (inputQubits K))/Real.sqrt (Real.log K) ≤ 2*inputLogScale := by73have ht := sqrt_inputLog_ratio_tendsto74have hlo := ht.eventually (lt_mem_nhds (show inputLogScale/2 < inputLogScale by75linarith [inputLogScale_pos]))76have hhi := ht.eventually (gt_mem_nhds (show inputLogScale < 2*inputLogScale by77linarith [inputLogScale_pos]))78filter_upwards [hlo,hhi,eventually_ge_atTop 2] with K hl hh hK79rw [Real.sqrt_div' _ (log_nat_pos hK).le] at hl hh80exact ⟨hl.le,hh.le⟩8182/-- An explicit two-sided Θ bound for χ in the reciprocal square root of83log(input qubits), using the same channel family with quadratic input cost. -/84theorem growingFamily_chi_input_cost_bounds :85∀ᶠ K : ℕ in atTop,86inputLogScale/2 ≤ (growingFamily K).chi*Real.sqrt (Scalar.log2 (inputQubits K)) ∧87(growingFamily K).chi*Real.sqrt (Scalar.log2 (inputQubits K)) ≤88(9/Real.log 2+1)*(2*inputLogScale) := by89filter_upwards [growingFamily_chi_scaled_bounds,input_sqrt_ratio_bounds,eventually_ge_atTop 2]90with K hc hr hK91have hsqrt : 0<Real.sqrt (Real.log K) := Real.sqrt_pos.mpr (log_nat_pos hK)92have he : ((growingFamily K).chi*Real.sqrt (Real.log K))*93(Real.sqrt (Scalar.log2 (inputQubits K))/Real.sqrt (Real.log K)) =94(growingFamily K).chi*Real.sqrt (Scalar.log2 (inputQubits K)) := by field_simp95have hn := mul_nonneg (growingFamily K).chi_nonneg hsqrt.le96have hlo := mul_le_mul hc.1 hr.1 (div_nonneg inputLogScale_pos.le (by norm_num)) hn97have hhi := mul_le_mul hc.2 hr.2 (by positivity) (by positivity)98rw [he] at hlo hhi99exact ⟨by simpa using hlo,hhi⟩100101end Nonadditivity.PrescribedCost