Holevo Additivity Gap in Lean 4

Lean explorer

Exact Lean source

Nonadditivity.Qualitative

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

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.BlockScalars7import Nonadditivity.FiniteChannelRealization8import Nonadditivity.FreeBridge910/-! # Qualitative realization by actual finite quantum channels1112All Bell, entropy, finite-net, switch, and Weyl steps are proved. The13remaining premises are an upper bound on the limiting observable norm and14convergence in probability of the concrete finite block adjoints. There is15no assumed finite-matrix norm certificate or assumed Holevo inequality.1617The entropies and Holevo quantities in this module use natural logarithms.18-/1920noncomputable section2122namespace Nonadditivity.Qualitative2324open Entropy Channels Channels.KrausChannel AdjointPurity25open BlockConstruction Conversion BlockScalars26open scoped Matrix.Norms.L2Operator2728variable {K : ℕ} [NeZero K]2930/-- The exact input dimension of the constructed channel, before any31quantitative choice of the local matrix dimension is made. -/32theorem constructed_input_dimension (ι : Type*) [Fintype ι] (n : ℕ) :33    Fintype.card ((ZMod (K ^ n) × ZMod (K ^ n)) × (Bool × TensorChainIndex ι n)) =34      2 * Fintype.card ι ^ n * K ^ (2 * n) := by35  simp only [Fintype.card_prod, ZMod.card, Fintype.card_bool, tensorChainIndex_card]36  rw [show 2 * n = n * 2 by omega, pow_mul]37  ring3839/-- The actual constructed output space has exactly dimension `K^n`. -/40theorem constructed_output_dimension (n : ℕ) : Fintype.card (ZMod (K ^ n)) = K ^ n :=41  ZMod.card _4243/-- The qualitative channel-existence proposition, conditional only on its44specified pointwise limiting-norm estimate and probabilistic approximation.45The channels appearing in the conclusions are the actual constructed CPTP maps. -/46theorem eventually_exists_block_channels47    (n : ℕ) (hK : 2 ≤ K) (hn : 1 ≤ n) {ε : ℝ} (hε : 0 < ε)48    {ν : Type*} {Ω : ν → Type*} [∀ i, MeasurableSpace (Ω i)]49    {D : ν → Type*} [∀ i, Fintype (D i)] [∀ i, DecidableEq (D i)] [∀ i, Nonempty (D i)]50    (μ : (i : ν) → MeasureTheory.Measure (Ω i))51    [∀ i, MeasureTheory.IsProbabilityMeasure (μ i)]52    (U : (i : ν) → Ω i → ℕ → Fin K → unitary (Matrix (D i) (D i) ℂ))53    (l : Filter ν) (limitNorm : Matrix (ZMod (K ^ n)) (ZMod (K ^ n)) ℂ → ℝ)54    (hlimit : ∀ A, A.IsHermitian → A.trace = 0 → hsLength A = 1 →55      limitNorm A ≤ collinsYounConstant K n)56    (hconvergence : ∀ A, A.IsHermitian → A.trace = 0 → hsLength A = 1 →57      ∀ δ : ℝ, 0 < δ → Filter.Tendsto58      (fun i => μ i {ω | δ ≤ |‖(blockChannel (U i ω) n).adjointMap A‖ - limitNorm A|})59        l (nhds 0)) :60    Filter.Eventually (fun i => ∃ ω,61      (converted (blockChannel (U i ω) n)).holevo ≤62        (n : ℝ) * Real.log (1 + 9 / (K : ℝ)) + ε ∧63      (n : ℝ) * Real.log K / (K : ℝ) ≤64        ((converted (blockChannel (U i ω) n)).tensor65          (converted (blockChannel (U i ω) n))).holevo ∧66      (n : ℝ) * gapCoefficient K - 2 * ε ≤67        ((converted (blockChannel (U i ω) n)).tensor68          (converted (blockChannel (U i ω) n))).holevo -69            2 * (converted (blockChannel (U i ω) n)).holevo) l := by70  have hcert := FiniteRealization.eventually_exists_kraus_certificate71    μ (fun i ω => blockChannel (U i ω) n) l limitNorm72    (amplification_gt_one hε) (collinsYounConstant_pos hK hn) hlimit hconvergence73  apply hcert.mono74  rintro i ⟨ω, hω⟩75  have h := block_converted_bounds_of_certificate (U i ω) n76    (amplification_times_constant_pos (η := ε) hK hn).le hω77  have hsmall := h.1.trans (log_purity_factor_le_eta hK hε)78  refine ⟨ω, hsmall, h.2.1, ?_⟩79  exact gap_of_converted_bounds hsmall h.2.18081/-- The eventual statement gives an actual finite witness on every nontrivial82filter; a vacuous bottom-filter convergence cannot produce this conclusion. -/83theorem exists_block_channels84    (n : ℕ) (hK : 2 ≤ K) (hn : 1 ≤ n) {ε : ℝ} (hε : 0 < ε)85    {ν : Type*} {Ω : ν → Type*} [∀ i, MeasurableSpace (Ω i)]86    {D : ν → Type*} [∀ i, Fintype (D i)] [∀ i, DecidableEq (D i)] [∀ i, Nonempty (D i)]87    (μ : (i : ν) → MeasureTheory.Measure (Ω i))88    [∀ i, MeasureTheory.IsProbabilityMeasure (μ i)]89    (U : (i : ν) → Ω i → ℕ → Fin K → unitary (Matrix (D i) (D i) ℂ))90    (l : Filter ν) [l.NeBot]91    (limitNorm : Matrix (ZMod (K ^ n)) (ZMod (K ^ n)) ℂ → ℝ)92    (hlimit : ∀ A, A.IsHermitian → A.trace = 0 → hsLength A = 1 →93      limitNorm A ≤ collinsYounConstant K n)94    (hconvergence : ∀ A, A.IsHermitian → A.trace = 0 → hsLength A = 1 →95      ∀ δ : ℝ, 0 < δ → Filter.Tendsto96      (fun i => μ i {ω | δ ≤ |‖(blockChannel (U i ω) n).adjointMap A‖ - limitNorm A|})97        l (nhds 0)) :98    ∃ i ω,99      (converted (blockChannel (U i ω) n)).holevo ≤100        (n : ℝ) * Real.log (1 + 9 / (K : ℝ)) + ε ∧101      (n : ℝ) * Real.log K / (K : ℝ) ≤102        ((converted (blockChannel (U i ω) n)).tensor103          (converted (blockChannel (U i ω) n))).holevo ∧104      (n : ℝ) * gapCoefficient K - 2 * ε ≤105        ((converted (blockChannel (U i ω) n)).tensor106          (converted (blockChannel (U i ω) n))).holevo -107            2 * (converted (blockChannel (U i ω) n)).holevo :=108  (eventually_exists_block_channels n hK hn hε μ U l limitNorm hlimit hconvergence).exists109110/-- The qualitative realization with the exact free-group comparison model.111The only analytic premises are the explicit Collins--Youn bound and112pointwise strong convergence in probability for the sampled block adjoints.113Every state, channel, entropy, ensemble and conversion in the conclusion is114concrete; no finite realization or entropy inequality is assumed. -/115theorem qualitative_realization_of_CY_and_strong_convergence116    (n : ℕ) (hK : 2 ≤ K) (hn : 1 ≤ n) {ε : ℝ} (hε : 0 < ε)117    {ν : Type*} {Ω : ν → Type*} [∀ i, MeasurableSpace (Ω i)]118    {D : ν → Type*} [∀ i, Fintype (D i)] [∀ i, DecidableEq (D i)] [∀ i, Nonempty (D i)]119    (μ : (i : ν) → MeasureTheory.Measure (Ω i))120    [∀ i, MeasureTheory.IsProbabilityMeasure (μ i)]121    (U : (i : ν) → Ω i → ℕ → Fin K → unitary (Matrix (D i) (D i) ℂ))122    (l : Filter ν) [l.NeBot]123    (hCY : FreeModel.CollinsYounBound K n)124    (hBC : ∀ A : Matrix (ZMod (K ^ n)) (ZMod (K ^ n)) ℂ,125      A.IsHermitian → A.trace = 0 → hsLength A = 1 →126      ∀ δ : ℝ, 0 < δ → Filter.Tendsto127      (fun i => μ i {ω | δ ≤128        |‖(blockChannel (U i ω) n).adjointMap A‖ - FreeBridge.outputFreeNorm K n A|})129        l (nhds 0)) :130    ∃ i ω,131      (converted (blockChannel (U i ω) n)).holevo ≤132        (n : ℝ) * Real.log (1 + 9 / (K : ℝ)) + ε ∧133      (n : ℝ) * Real.log K / (K : ℝ) ≤134        ((converted (blockChannel (U i ω) n)).tensor135          (converted (blockChannel (U i ω) n))).holevo ∧136      (n : ℝ) * gapCoefficient K - 2 * ε ≤137        ((converted (blockChannel (U i ω) n)).tensor138          (converted (blockChannel (U i ω) n))).holevo -139            2 * (converted (blockChannel (U i ω) n)).holevo := by140  apply exists_block_channels n hK hn hε μ U l (FreeBridge.outputFreeNorm K n)141  · exact FreeBridge.outputFreeNorm_unit_bound hCY142  · exact hBC143144end Nonadditivity.Qualitative