Holevo Additivity Gap in Lean 4

Lean explorer

Exact Lean source

Nonadditivity.Main

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

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

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

12 declarations

Full module

1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.Entropy7import Nonadditivity.Holevo8import Nonadditivity.Net9import Nonadditivity.Purity10import Nonadditivity.Probability11import Nonadditivity.Linearization12import Nonadditivity.Quantitative13import Nonadditivity.Asymptotics14import Nonadditivity.Dimensions1516/-!17# Connecting the checked entropy and numerical parts1819This original component module connects density-matrix purity to entropy20and records the numerical gap implications. The subsequently added21`Qualitative` module proves actual finite-channel realization from explicit22limiting-norm and convergence hypotheses; its Bell and conversion steps are23proved internally. The later `ExactQualitative` and `HaarPrescribedBound`24modules prove the unconditional channel endpoints and prescribed finite25dimensions. Broader manuscript claims retain the scope recorded in26`docs/FORMALIZATION_STATUS.md`.27-/2829noncomputable section3031namespace Nonadditivity.Main3233open Scalar Entropy3435/-- Equation (single-entropy) for a concrete finite density matrix from the36block purity certificate. No entropy inequality is assumed. -/37theorem block_entropy_of_purity {ι : Type*} [Fintype ι] [DecidableEq ι]38    (ρ : DensityMatrix ι) {K κ : ℝ} (n : ℕ) (hK : 0 < K) (hκ : 0 < κ)39    (hpurity : ρ.purity ≤ κ ^ 2 * (1 + 9 / K) ^ n / K ^ n) :40    (n : ℝ) * (log2 K - aK K) - 2 * log2 κ ≤ ρ.vonNeumann / Real.log 2 := by41  have hb : 0 < 1 + 9 / K := by positivity42  have hlog := Real.log_le_log ρ.purity_pos hpurity43  rw [Real.log_div (by positivity) (by positivity),44    Real.log_mul (by positivity) (by positivity), Real.log_pow, Real.log_pow,45    Real.log_pow] at hlog46  have hrenyi := ρ.vonNeumann_ge_neg_log_purity47  apply (le_div_iff₀ log_two_pos).mpr48  simp only [aK, log2]49  have hid : ((n : ℝ) *50      (Real.log K / Real.log 2 - Real.log (1 + 9 / K) / Real.log 2) -51      2 * (Real.log κ / Real.log 2)) * Real.log 2 =52      (n : ℝ) * (Real.log K - Real.log (1 + 9 / K)) - 2 * Real.log κ := by53    field_simp54  rw [hid]55  linarith5657/-- The minimum entropy bound follows for any nonempty output family with58the uniform purity certificate, using the actual infimum definition. -/59theorem minimum_block_entropy_of_purity {ι : Type*} [Fintype ι] [DecidableEq ι]60    (outputs : Set (DensityMatrix ι)) (hne : outputs.Nonempty)61    {K κ : ℝ} (n : ℕ) (hK : 0 < K) (hκ : 0 < κ)62    (hpurity : ∀ ρ ∈ outputs, ρ.purity ≤ κ ^ 2 * (1 + 9 / K) ^ n / K ^ n) :63    (n : ℝ) * (log2 K - aK K) - 2 * log2 κ ≤64      sInf ((fun ρ : DensityMatrix ι => ρ.vonNeumann / Real.log 2) '' outputs) := by65  apply le_csInf (hne.image _)66  rintro _ ⟨ρ, hρ, rfl⟩67  exact block_entropy_of_purity ρ n hK hκ (hpurity ρ hρ)6869/-- The exact numerical statements of the main theorem, provided that its70two Holevo bounds have been established for the constructed channel. -/71theorem quantitative_gap_of_bounds {K χ₁ χ₂ C : ℝ} (n : ℕ)72    (hχ₁ : χ₁ ≤ (n : ℝ) * aK K + 2 * log2 (((n : ℝ) + 1) / ((n : ℝ) - 1)))73    (hχ₂ : (n : ℝ) * (log2 K / K) ≤ χ₂)74    (hC : χ₂ / 2 ≤ C) :75    (n : ℝ) * deltaK K - 4 * log2 (((n : ℝ) + 1) / ((n : ℝ) - 1)) ≤76        χ₂ - 2 * χ₁ ∧77      (n : ℝ) * deltaK K / 2 - 2 * log2 (((n : ℝ) + 1) / ((n : ℝ) - 1)) ≤78        C - χ₁ := by79  constructor80  · have h := Scalar.holevo_gap hχ₁ hχ₂81    nlinarith82  · exact Scalar.capacity_gap hχ₁ hχ₂ hC8384end Nonadditivity.Main