Holevo Additivity Gap in Lean 4

Lean explorer

Exact Lean source

Nonadditivity.HaarPrescribedConsequences

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

Catalog entries: Prescribed-family input-qubit expansion

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

24 project constants, including generated, internal and private declarations.

24 declarations

Full module

1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.HaarPrescribedBound7import Nonadditivity.Dimensions89/-! # Asymptotic consequences for the prescribed-dimension channels1011Every information quantity in this module belongs to the actual finite CPTP12channel selected from the unconditional prescribed-dimension construction.13The regularized quantity is the tensor-power Holevo rate, with no operational14coding interpretation required.15-/16noncomputable section17namespace Nonadditivity.HaarPrescribedDimension18open ActualConsequences StructuredHaarConsequences Filter Topology1920/-- A genuine channel at every index, with the construction threshold used21only for the finitely many initial terms. -/22def prescribedFamily {K : ℕ} (hK : 2 ≤ K) (n : ℕ) : FiniteQuantumChannel :=23  Classical.choose (exists_prescribed_channel_with_lower_bound hK24    (le_max_left (Quantitative.n₀ K) n))2526theorem prescribedFamily_spec {K n : ℕ} (hK : 2 ≤ K)27    (hn : Quantitative.n₀ K ≤ n) :28    Fintype.card (prescribedFamily hK n).Input = 2*(localDimension K n)^n*K^(2*n) ∧29    Fintype.card (prescribedFamily hK n).Output = K^n ∧30    0 < (prescribedFamily hK n).chi ∧31    (prescribedFamily hK n).chi ≤ (n:ℝ)*Scalar.aK K+2*Scalar.log2 (kappa n) ∧32    (n:ℝ)*Scalar.log2 K/(K:ℝ) ≤ (prescribedFamily hK n).chiTwo ∧33    (n:ℝ)*Scalar.deltaK K-4*Scalar.log2 (kappa n) ≤34      (prescribedFamily hK n).gap := by35  have h := Classical.choose_spec (exists_prescribed_channel_with_lower_bound hK36    (le_max_left (Quantitative.n₀ K) n))37  have hs := And.intro h.1 (And.intro h.2.1 (And.intro h.2.2.1 h.2.2.2.2))38  simpa only [prescribedFamily, max_eq_right hn] using hs3940/-- The positive one-use information has the supplementary explicit lower41bound for the very same selected channel. -/42theorem prescribedFamily_chi_lower {K n : ℕ} (hK : 2 ≤ K)43    (hn : Quantitative.n₀ K ≤ n) :44    2*(n:ℝ)/(K:ℝ) ≤ (prescribedFamily hK n).chi := by45  have h := (Classical.choose_spec (exists_prescribed_channel_with_lower_bound hK46    (le_max_left (Quantitative.n₀ K) n))).2.2.2.147  simpa only [prescribedFamily, max_eq_right hn] using h4849theorem correction_eq (n : ℕ) :50    4*Scalar.log2 (kappa n) = Asymptotics.finiteSizeCorrection n := by51  unfold Scalar.log2 kappa Asymptotics.finiteSizeCorrection52  ring5354/-- The finite regularized gain follows already from two tensor uses. -/55theorem prescribedFamily_regularizedGain_lower {K n : ℕ} (hK : 2 ≤ K)56    (hn : Quantitative.n₀ K ≤ n) :57    (n:ℝ)*Scalar.deltaK K/2-2*Scalar.log2 (kappa n) ≤58      (prescribedFamily hK n).regularizedGain := by59  have h := (prescribedFamily_spec hK hn).2.2.2.2.260  have ht := (prescribedFamily hK n).two_use_gain_le_regularizedGain61  unfold FiniteQuantumChannel.gap at h62  linarith6364theorem prescribedFamily_gap_lower_eventually {K : ℕ} (hK : 2 ≤ K) :65    ∀ᶠ n : ℕ in atTop, (n:ℝ)*Scalar.deltaK K-Asymptotics.finiteSizeCorrection n ≤66      (prescribedFamily hK n).gap := by67  filter_upwards [eventually_ge_atTop (Quantitative.n₀ K)] with n hn68  simpa only [correction_eq] using (prescribedFamily_spec hK hn).2.2.2.2.26970/-- With the manuscript's positive slope, the actual additive gap diverges. -/71theorem prescribedFamily_gap_tendsto_atTop_of_delta_pos {K : ℕ} (hK : 2 ≤ K)72    (hδ : 0 < Scalar.deltaK K) :73    Tendsto (fun n => (prescribedFamily hK n).gap) atTop atTop := by74  apply Asymptotics.gap_tendsto_atTop75    (fun n => (prescribedFamily hK n).gap) hδ76  exact prescribedFamily_gap_lower_eventually hK7778theorem prescribedFamily_gap_tendsto_atTop {K : ℕ} (hK : 2 ≤ K)79    (hlog : 18 < Real.log (K:ℝ)) :80    Tendsto (fun n => (prescribedFamily hK n).gap) atTop atTop :=81  prescribedFamily_gap_tendsto_atTop_of_delta_pos hK82    (Scalar.deltaK_pos (by exact_mod_cast (show 0<K by omega)) hlog)8384theorem prescribedFamily_regularizedGain_tendsto_atTop_of_delta_pos {K : ℕ} (hK : 2 ≤ K)85    (hδ : 0 < Scalar.deltaK K) :86    Tendsto (fun n => (prescribedFamily hK n).regularizedGain) atTop atTop := by87  have h := (prescribedFamily_gap_tendsto_atTop_of_delta_pos hK hδ).atTop_div_const88    (by norm_num : (0:ℝ)<2)89  apply tendsto_atTop_mono (fun n => ?_) h90  have ht := (prescribedFamily hK n).two_use_gain_le_regularizedGain91  unfold FiniteQuantumChannel.gap92  linarith9394theorem prescribedFamily_regularizedGain_tendsto_atTop {K : ℕ} (hK : 2 ≤ K)95    (hlog : 18 < Real.log (K:ℝ)) :96    Tendsto (fun n => (prescribedFamily hK n).regularizedGain) atTop atTop :=97  prescribedFamily_regularizedGain_tendsto_atTop_of_delta_pos hK98    (Scalar.deltaK_pos (by exact_mod_cast (show 0<K by omega)) hlog)99100/-- Every strict threshold below the explicit asymptotic ratio is attained101eventually by the actual two-use Holevo ratio. -/102theorem prescribedFamily_ratio_eventually {K : ℕ} (hK : 2 ≤ K) {R : ℝ}103    (hR : R < Scalar.log2 K/(2*(K:ℝ)*Scalar.aK K)) :104    ∀ᶠ n : ℕ in atTop, R ≤ (prescribedFamily hK n).twoUseRatio := by105  have hK0 : (0:ℝ)<K := by exact_mod_cast (show 0<K by omega)106  have ha := Scalar.aK_pos hK0107  have hb : 0 ≤ Scalar.log2 K/(K:ℝ) := by108    unfold Scalar.log2109    exact div_nonneg (div_nonneg (Real.log_nonneg110      (by exact_mod_cast (show 1≤K by omega)))111      Scalar.log_two_pos.le) hK0.le112  apply Asymptotics.eventually_ratio_of_holevo_bounds113    (fun n => (prescribedFamily hK n).chi)114    (fun n => (prescribedFamily hK n).chiTwo) ha hb115    (by convert hR using 1; ring)116  · filter_upwards [eventually_ge_atTop (Quantitative.n₀ K)] with n hn117    exact (prescribedFamily_spec hK hn).2.2.1118  · filter_upwards [eventually_ge_atTop (Quantitative.n₀ K)] with n hn119    have h := (prescribedFamily_spec hK hn).2.2.2.1120    rw [← correction_eq]121    linarith122  · filter_upwards [eventually_ge_atTop (Quantitative.n₀ K)] with n hn123    convert (prescribedFamily_spec hK hn).2.2.2.2.1 using 1; ring124125theorem prescribedFamily_regularizedRatio_eventually {K : ℕ} (hK : 2 ≤ K) {R : ℝ}126    (hR : R < Scalar.log2 K/(2*(K:ℝ)*Scalar.aK K)) :127    ∀ᶠ n : ℕ in atTop, R ≤ (prescribedFamily hK n).regularizedRatio := by128  filter_upwards [prescribedFamily_ratio_eventually hK hR,129    eventually_ge_atTop (Quantitative.n₀ K)] with n hr hn130  exact hr.trans ((prescribedFamily hK n).two_use_ratio_le_regularizedRatio131    (prescribedFamily_spec hK hn).2.2.1)132133/-- The manuscript's quadratic input-qubit expansion holds for the actual134channels, with its ceiling remainder tending to zero. -/135theorem prescribedFamily_input_size_remainder_tendsto {K : ℕ} (hK : 2 ≤ K) :136    Tendsto (fun n : ℕ => Scalar.log2 (Fintype.card (prescribedFamily hK n).Input) -137      (Quantitative.dimensionExponent (Real.log K)/Real.log 2*(n:ℝ)^2 +138        2*(n:ℝ)*Scalar.log2 K+1)) atTop (𝓝 0) := by139  have hK0 : 0<K := by omega140  have hlog : 0 ≤ Real.log (K:ℝ) := Real.log_nonneg (by exact_mod_cast (show 1≤K by omega))141  have hb : 0 < Quantitative.dimensionExponent (Real.log K) := by142    unfold Quantitative.dimensionExponent143    positivity144  have h := Dimensions.input_size_remainder_tendsto hK0 hb145  apply h.congr'146  filter_upwards [eventually_ge_atTop (Quantitative.n₀ K)] with n hn147  rw [(prescribedFamily_spec hK hn).1]148  rfl149150end Nonadditivity.HaarPrescribedDimension