Holevo Additivity Gap in Lean 4

Lean explorer

Exact Lean source

Nonadditivity.PrescribedCostInformation

Download original .lean · View on GitHub · Jump to source

Catalog entries: Input-qubit cost of the growing-K separation

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

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 HaarPrescribedDimension13  StructuredHaarConsequences1415theorem growingFamily_bounds_eventually :16    ∀ᶠ K : ℕ in atTop,17      2*(blockLength K:ℝ)/K ≤ (growingFamily K).chi ∧18      (growingFamily K).chi ≤ (blockLength K:ℝ)*Scalar.aK K +19        finiteSizeCorrection (blockLength K)/2 ∧20      separationLower K ≤ (growingFamily K).chiTwo/2 := by21  filter_upwards [threshold_le_blockLength_eventually,eventually_ge_atTop 2] with K hn hK22  rw [growingFamily,dif_pos hK]23  have hs := prescribedFamily_spec hK hn24  refine ⟨prescribedFamily_chi_lower hK hn, ?_, ?_⟩25  · rw [← correction_eq]26    linarith [hs.2.2.2.1]27  · have hh := hs.2.2.2.2.128    have hd := div_le_div_of_nonneg_right hh (by norm_num : (0:ℝ)≤2)29    convert hd using 130    unfold separationLower Scalar.log231    ring3233theorem growingFamily_vanishing_diverging :34    Tendsto (fun K => (growingFamily K).chi) atTop (𝓝 0) ∧35    Tendsto (fun K => (growingFamily K).chiTwo/2) atTop atTop ∧36    Tendsto (fun K => (growingFamily K).classicalCapacity) atTop atTop := by37  have htwo : Tendsto (fun K => (growingFamily K).chiTwo/2) atTop atTop :=38    tendsto_atTop_mono' atTop (growingFamily_bounds_eventually.mono (fun _ h => h.2.2))39      separationLower_tendsto_atTop40  refine ⟨?_,htwo,tendsto_atTop_mono (fun K =>41    (growingFamily K).half_chiTwo_le_classicalCapacity) htwo⟩42  apply 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 hK45    have hKr : (0:ℝ)<K := by exact_mod_cast (show 0<K by omega)46    have ha := mul_le_mul_of_nonneg_left (Scalar.aK_le hKr)47      (Nat.cast_nonneg (blockLength K): (0:ℝ)≤blockLength K)48    have he : (blockLength K:ℝ)*(9/((K:ℝ)*Real.log 2)) ≤ separationUpper K := by49      unfold separationUpper50      have : (0:ℝ)≤1/K := by positivity51      convert le_add_of_nonneg_right (a := 9*(blockLength K:ℝ)/(K*Real.log 2)) this using 152      ring53    exact 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 :60    Tendsto (fun K : ℕ => Real.sqrt (Real.log K)/(blockLength K:ℝ)) atTop (𝓝 0) := by61  have h := log_div_nat_tendsto_zero.div normalized_blockLength_tendsto_one (by norm_num)62  have h' : Tendsto (fun K : ℕ => (Real.log K/K)/63      ((blockLength K:ℝ)*Real.sqrt (Real.log K)/K)) atTop (𝓝 0) := by simpa using h64  apply h'.congr'65  filter_upwards [eventually_ge_atTop 2] with K hK66  have hKr : (0:ℝ)<K := by exact_mod_cast (show 0<K by omega)67  have hsr := Real.sqrt_pos.mpr (log_nat_pos hK)68  have hnr : (0:ℝ)<blockLength K := by exact_mod_cast blockLength_pos hK69  field_simp70  exact (Real.sq_sqrt (log_nat_pos hK).le).symm7172theorem finiteSizeCorrection_le_inverse {n : ℕ} (hn : 2≤n) :73    finiteSizeCorrection n ≤ (16/Real.log 2)/(n:ℝ) := by74  have hnR : (2:ℝ)≤n := by exact_mod_cast hn75  have hd : 0<(n:ℝ)-1 := by linarith76  have hr : 0<((n:ℝ)+1)/((n:ℝ)-1) := by positivity77  have hl := Real.log_le_sub_one_of_pos hr78  have he : ((n:ℝ)+1)/((n:ℝ)-1)-1=2/((n:ℝ)-1) := by field_simp; ring79  rw [he] at hl80  unfold finiteSizeCorrection81  calc82    _ ≤ 4*(2/((n:ℝ)-1))/Real.log 2 := by gcongr83    _ ≤ 4*(4/(n:ℝ))/Real.log 2 := by84      have hb : 2/((n:ℝ)-1) ≤ 4/(n:ℝ) := by85        apply (div_le_div_iff₀ hd (by linarith : (0:ℝ)<n)).286        nlinarith87      gcongr88    _ = (16/Real.log 2)/(n:ℝ) := by ring8990end Nonadditivity.PrescribedCost