Holevo Additivity Gap in Lean 4

Lean explorer

Exact Lean source

Nonadditivity.HolevoBits

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

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

15 declarations

Full module

1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.Qualitative7import Nonadditivity.Scalar89/-!10# The actual channel bounds in the manuscript's base-two convention1112The underlying Holevo information is defined on finite ensembles of genuine13quantum output states.  Division by the positive constant `log 2` converts14the proved natural-logarithm results without changing any channel or model.15-/1617noncomputable section1819namespace Nonadditivity.Channels.KrausChannel2021variable {ι ο κ : Type*} [Fintype ι] [DecidableEq ι]22  [Fintype ο] [DecidableEq ο] [Fintype κ]2324def holevoBits (T : KrausChannel ι ο κ) : ℝ := T.holevo / Real.log 22526@[simp] theorem holevoBits_def (T : KrausChannel ι ο κ) :27    T.holevoBits = T.holevo / Real.log 2 := rfl2829theorem holevoBits_nonneg [Nonempty ι] [Nonempty ο] (T : KrausChannel ι ο κ) :30    0 ≤ T.holevoBits :=31  div_nonneg T.holevo_nonneg Scalar.log_two_pos.le3233theorem holevoBits_gap (T : KrausChannel ι ο κ) :34    (T.tensor T).holevoBits - 2 * T.holevoBits =35      ((T.tensor T).holevo - 2 * T.holevo) / Real.log 2 := by36  dsimp [holevoBits]37  ring3839end Nonadditivity.Channels.KrausChannel4041namespace Nonadditivity.HolevoBits4243open Entropy Channels Channels.KrausChannel AdjointPurity BlockConstruction Conversion Scalar44open scoped Matrix.Norms.L2Operator4546theorem natural_upper_to_bits {K χ η : ℝ} (n : ℕ)47    (h : χ ≤ (n : ℝ) * Real.log (1 + 9 / K) + η * Real.log 2) :48    χ / Real.log 2 ≤ (n : ℝ) * aK K + η := by49  apply (div_le_iff₀ log_two_pos).mpr50  have he : ((n : ℝ) * aK K + η) * Real.log 2 =51      (n : ℝ) * Real.log (1 + 9 / K) + η * Real.log 2 := by52    dsimp [aK, log2]53    field_simp54  rw [he]55  exact h5657theorem natural_lower_to_bits {K χ : ℝ} (n : ℕ)58    (h : (n : ℝ) * Real.log K / K ≤ χ) :59    (n : ℝ) * log2 K / K ≤ χ / Real.log 2 := by60  have hd := div_le_div_of_nonneg_right h log_two_pos.le61  convert hd using 162  dsimp [log2]63  ring6465variable {K : ℕ} [NeZero K]6667/-- Actual finite channels with all three manuscript bounds in bits.68The only analytic premises are the pointwise limiting observable norm69bound and convergence in probability of the concrete finite block adjoint. -/70theorem exists_block_channels_bits71    (n : ℕ) (hK : 2 ≤ K) (hn : 1 ≤ n) {η : ℝ} (hη : 0 < η)72    {ν : Type*} {Ω : ν → Type*} [∀ i, MeasurableSpace (Ω i)]73    {D : ν → Type*} [∀ i, Fintype (D i)] [∀ i, DecidableEq (D i)] [∀ i, Nonempty (D i)]74    (μ : (i : ν) → MeasureTheory.Measure (Ω i))75    [∀ i, MeasureTheory.IsProbabilityMeasure (μ i)]76    (U : (i : ν) → Ω i → ℕ → Fin K → unitary (Matrix (D i) (D i) ℂ))77    (l : Filter ν) [l.NeBot]78    (limitNorm : Matrix (ZMod (K ^ n)) (ZMod (K ^ n)) ℂ → ℝ)79    (hlimit : ∀ A, A.IsHermitian → A.trace = 0 → hsLength A = 1 →80      limitNorm A ≤ collinsYounConstant K n)81    (hconvergence : ∀ A, A.IsHermitian → A.trace = 0 → hsLength A = 1 →82      ∀ δ : ℝ, 0 < δ → Filter.Tendsto83      (fun i => μ i {ω | δ ≤ |‖(blockChannel (U i ω) n).adjointMap A‖ - limitNorm A|})84        l (nhds 0)) :85    ∃ i ω,86      (converted (blockChannel (U i ω) n)).holevoBits ≤ (n : ℝ) * aK K + η ∧87      (n : ℝ) * log2 K / (K : ℝ) ≤88        ((converted (blockChannel (U i ω) n)).tensor89          (converted (blockChannel (U i ω) n))).holevoBits ∧90      (n : ℝ) * deltaK K - 2 * η ≤91        ((converted (blockChannel (U i ω) n)).tensor92          (converted (blockChannel (U i ω) n))).holevoBits -93            2 * (converted (blockChannel (U i ω) n)).holevoBits := by94  have hε : 0 < η * Real.log 2 := mul_pos hη log_two_pos95  obtain ⟨i, ω, h₁, h₂, _⟩ := Qualitative.exists_block_channels n hK hn hε96    μ U l limitNorm hlimit hconvergence97  have hb₁ := natural_upper_to_bits n h₁98  have hb₂ := natural_lower_to_bits n h₂99  refine ⟨i, ω, hb₁, hb₂, ?_⟩100  have hb₂' : (n : ℝ) * (log2 K / (K : ℝ)) ≤101      ((converted (blockChannel (U i ω) n)).tensor102        (converted (blockChannel (U i ω) n))).holevoBits := by103    convert hb₂ using 1104    dsimp [holevoBits]105    ring106  exact Scalar.holevo_gap hb₁ hb₂'107108end Nonadditivity.HolevoBits