Exact Lean source
Nonadditivity.PrescribedCostInformation
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
6 project constants, including generated, internal and private declarations.
6 declarations
Nonadditivity.PrescribedCost.finiteSizeCorrection_le_inverseNonadditivity.PrescribedCost.growingFamily_bounds_eventuallyNonadditivity.PrescribedCost.growingFamily_vanishing_divergingNonadditivity.PrescribedCost.growingFamily_vanishing_diverging._proof_1_1internal/detail/privateNonadditivity.PrescribedCost.sqrt_log_div_blockLength_tendsto_zeroNonadditivity.PrescribedCost.sqrt_log_div_blockLength_tendsto_zero._proof_1_1internal/detail/private
Full module
1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.PrescribedCostDimensions7import Nonadditivity.OperationalCodingTheorem89/-! # Information and operational capacity along the explicit-cost family -/10noncomputable section11namespace Nonadditivity.PrescribedCost12open Filter Topology Asymptotics ActualConsequences HaarPrescribedDimension13StructuredHaarConsequences1415theorem growingFamily_bounds_eventually :16∀ᶠ K : ℕ in atTop,172*(blockLength K:ℝ)/K ≤ (growingFamily K).chi ∧18(growingFamily K).chi ≤ (blockLength K:ℝ)*Scalar.aK K +19finiteSizeCorrection (blockLength K)/2 ∧20separationLower K ≤ (growingFamily K).chiTwo/2 := by21filter_upwards [threshold_le_blockLength_eventually,eventually_ge_atTop 2] with K hn hK22rw [growingFamily,dif_pos hK]23have hs := prescribedFamily_spec hK hn24refine ⟨prescribedFamily_chi_lower hK hn, ?_, ?_⟩25· rw [← correction_eq]26linarith [hs.2.2.2.1]27· have hh := hs.2.2.2.2.128have hd := div_le_div_of_nonneg_right hh (by norm_num : (0:ℝ)≤2)29convert hd using 130unfold separationLower Scalar.log231ring3233theorem growingFamily_vanishing_diverging :34Tendsto (fun K => (growingFamily K).chi) atTop (𝓝 0) ∧35Tendsto (fun K => (growingFamily K).chiTwo/2) atTop atTop ∧36Tendsto (fun K => (growingFamily K).classicalCapacity) atTop atTop := by37have htwo : Tendsto (fun K => (growingFamily K).chiTwo/2) atTop atTop :=38tendsto_atTop_mono' atTop (growingFamily_bounds_eventually.mono (fun _ h => h.2.2))39separationLower_tendsto_atTop40refine ⟨?_,htwo,tendsto_atTop_mono (fun K =>41(growingFamily K).half_chiTwo_le_classicalCapacity) htwo⟩42apply squeeze_zero' (g := fun K => separationUpper K+finiteSizeCorrection (blockLength K)/2)43(Eventually.of_forall (fun K => (growingFamily K).chi_nonneg))44· filter_upwards [growingFamily_bounds_eventually,eventually_ge_atTop 2] with K hs hK45have hKr : (0:ℝ)<K := by exact_mod_cast (show 0<K by omega)46have ha := mul_le_mul_of_nonneg_left (Scalar.aK_le hKr)47(Nat.cast_nonneg (blockLength K): (0:ℝ)≤blockLength K)48have he : (blockLength K:ℝ)*(9/((K:ℝ)*Real.log 2)) ≤ separationUpper K := by49unfold separationUpper50have : (0:ℝ)≤1/K := by positivity51convert le_add_of_nonneg_right (a := 9*(blockLength K:ℝ)/(K*Real.log 2)) this using 152ring53exact hs.2.1.trans (by linarith [ha.trans he])54· simpa using separationUpper_tendsto_zero.add55(finiteSizeCorrection_blockLength_tendsto_zero.div_const 2)5657/-- The ceiling correction is negligible even at the inverse-square-root58logarithmic scale relevant to the information estimate. -/59theorem sqrt_log_div_blockLength_tendsto_zero :60Tendsto (fun K : ℕ => Real.sqrt (Real.log K)/(blockLength K:ℝ)) atTop (𝓝 0) := by61have h := log_div_nat_tendsto_zero.div normalized_blockLength_tendsto_one (by norm_num)62have h' : Tendsto (fun K : ℕ => (Real.log K/K)/63((blockLength K:ℝ)*Real.sqrt (Real.log K)/K)) atTop (𝓝 0) := by simpa using h64apply h'.congr'65filter_upwards [eventually_ge_atTop 2] with K hK66have hKr : (0:ℝ)<K := by exact_mod_cast (show 0<K by omega)67have hsr := Real.sqrt_pos.mpr (log_nat_pos hK)68have hnr : (0:ℝ)<blockLength K := by exact_mod_cast blockLength_pos hK69field_simp70exact (Real.sq_sqrt (log_nat_pos hK).le).symm7172theorem finiteSizeCorrection_le_inverse {n : ℕ} (hn : 2≤n) :73finiteSizeCorrection n ≤ (16/Real.log 2)/(n:ℝ) := by74have hnR : (2:ℝ)≤n := by exact_mod_cast hn75have hd : 0<(n:ℝ)-1 := by linarith76have hr : 0<((n:ℝ)+1)/((n:ℝ)-1) := by positivity77have hl := Real.log_le_sub_one_of_pos hr78have he : ((n:ℝ)+1)/((n:ℝ)-1)-1=2/((n:ℝ)-1) := by field_simp; ring79rw [he] at hl80unfold finiteSizeCorrection81calc82_ ≤ 4*(2/((n:ℝ)-1))/Real.log 2 := by gcongr83_ ≤ 4*(4/(n:ℝ))/Real.log 2 := by84have hb : 2/((n:ℝ)-1) ≤ 4/(n:ℝ) := by85apply (div_le_div_iff₀ hd (by linarith : (0:ℝ)<n)).286nlinarith87gcongr88_ = (16/Real.log 2)/(n:ℝ) := by ring8990end Nonadditivity.PrescribedCost