Holevo Additivity Gap in Lean 4

Lean explorer

Exact Lean source

Nonadditivity.HaarPrescribedScaling

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

Catalog entries: Gap scaling with input and output qubits · Output-normalized gap lower limit and its large-K 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

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

8 declarations

Full module

1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.HaarPrescribedConsequences78/-! # Output-size scaling of the actual prescribed-dimension channels910The output size is exactly the block length times `log₂ K`. The genuine11Holevo gap has the dimension upper bound and the proved construction lower12bound, giving linear growth and the manuscript's normalized lower limit.13-/1415noncomputable section16namespace Nonadditivity.HaarPrescribedDimension17open ActualConsequences Filter Topology1819/-- The exact output-qubit count, beyond the construction threshold. -/20theorem prescribedFamily_output_qubits {K n : ℕ} (hK : 2 ≤ K)21    (hn : Quantitative.n₀ K ≤ n) :22    Scalar.log2 (Fintype.card (prescribedFamily hK n).Output) =23      (n : ℝ) * Scalar.log2 K := by24  rw [(prescribedFamily_spec hK hn).2.1]25  unfold Scalar.log226  rw [Nat.cast_pow, Real.log_pow]27  ring2829theorem log2_ge_one {K : ℕ} (hK : 2 ≤ K) : 1 ≤ Scalar.log2 K := by30  unfold Scalar.log231  apply (le_div_iff₀ Scalar.log_two_pos).232  simpa only [one_mul] using Real.log_le_log (by norm_num : (0 : ℝ) < 2)33    (by exact_mod_cast hK : (2 : ℝ) ≤ K)3435/-- Two actual uses carry at most twice the output-qubit count. -/36theorem prescribedFamily_chiTwo_upper {K n : ℕ} (hK : 2 ≤ K)37    (hn : Quantitative.n₀ K ≤ n) :38    (prescribedFamily hK n).chiTwo ≤ 2 * (n : ℝ) * Scalar.log2 K := by39  have h := (prescribedFamily hK n).half_chiTwo_le_regularizedHolevo.trans40    (prescribedFamily hK n).regularizedHolevo_le_log_output_dim41  rw [prescribedFamily_output_qubits hK hn] at h42  linarith4344/-- Nonnegativity of single-use Holevo information supplies the matching45linear dimension upper bound for the actual additive gap. -/46theorem prescribedFamily_gap_upper {K n : ℕ} (hK : 2 ≤ K)47    (hn : Quantitative.n₀ K ≤ n) :48    (prescribedFamily hK n).gap ≤ 2 * (n : ℝ) * Scalar.log2 K := by49  have h := prescribedFamily_chiTwo_upper hK hn50  have hchi := (prescribedFamily hK n).chi_nonneg51  unfold FiniteQuantumChannel.gap52  linarith5354theorem prescribedFamily_gap_upper_eventually {K : ℕ} (hK : 2 ≤ K) :55    ∀ᶠ n : ℕ in atTop,56      (prescribedFamily hK n).gap ≤ (n : ℝ) * (2 * Scalar.log2 K) := by57  filter_upwards [eventually_ge_atTop (Quantitative.n₀ K)] with n hn58  convert prescribedFamily_gap_upper hK hn using 159  ring6061/-- Explicit eventual linear bounds: the lower slope is positive whenever62the manuscript's `δ_K` is positive. -/63theorem prescribedFamily_gap_linear_bounds {K : ℕ} (hK : 2 ≤ K)64    (hδ : 0 < Scalar.deltaK K) :65    ∀ᶠ n : ℕ in atTop,66      (Scalar.deltaK K / 2) * n ≤ (prescribedFamily hK n).gap ∧67      (prescribedFamily hK n).gap ≤ (2 * Scalar.log2 K) * n := by68  have hl := Asymptotics.eventually_linear_gap69    (fun n => (prescribedFamily hK n).gap) hδ70    (prescribedFamily_gap_lower_eventually hK)71  filter_upwards [hl, prescribedFamily_gap_upper_eventually hK] with n hn hu72  exact ⟨hn, by simpa only [mul_comm] using hu⟩7374/-- The actual gap per block has the manuscript's lower asymptotic slope. -/75theorem prescribedFamily_gap_liminf {K : ℕ} (hK : 2 ≤ K) :76    Scalar.deltaK K ≤ liminf (fun n : ℕ => (prescribedFamily hK n).gap / n) atTop :=77  Asymptotics.normalized_gap_liminf (fun n => (prescribedFamily hK n).gap)78    (prescribedFamily_gap_lower_eventually hK) (prescribedFamily_gap_upper_eventually hK)7980/-- The guaranteed fraction of the actual output size. The denominator is81the logarithm of the channel's genuine output dimension. -/82theorem prescribedFamily_output_normalized_gap_liminf {K : ℕ} (hK : 2 ≤ K) :83    Scalar.deltaK K / Scalar.log2 K ≤84      liminf (fun n : ℕ => (prescribedFamily hK n).gap /85        Scalar.log2 (Fintype.card (prescribedFamily hK n).Output)) atTop := by86  have h := Asymptotics.output_normalized_gap_liminf87    (fun n => (prescribedFamily hK n).gap) (log2_ge_one hK)88    (prescribedFamily_gap_lower_eventually hK) (prescribedFamily_gap_upper_eventually hK)89  apply h.trans_eq90  apply liminf_congr91  filter_upwards [eventually_ge_atTop (Quantitative.n₀ K)] with n hn92  rw [prescribedFamily_output_qubits hK hn]9394end Nonadditivity.HaarPrescribedDimension