Holevo Additivity Gap in Lean 4

Lean explorer

Exact Lean source

Nonadditivity.SwitchChannel

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

Direct imports

Imported by project modules

2 direct reverse imports

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

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

9 declarations

Full module

1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.ChannelEntropy7import Nonadditivity.ConjugateChannel89/-!10# The actual two-branch switch channel1112The classical input bit is measured and discarded. Its branches are a13concrete Kraus channel and its entrywise conjugate. The original outputs14remain reachable, and entropy concavity prevents arbitrary switch inputs15from lowering the minimum output entropy. Weyl extension then turns this16actual minimum output entropy into the single-use Holevo quantity.17-/1819noncomputable section2021namespace Nonadditivity.Channels.KrausChannel2223open Nonadditivity Entropy24open scoped BigOperators Matrix ComplexOrder2526variable {ι ο κ : Type*} [Fintype ι] [DecidableEq ι]27variable [Fintype ο] [DecidableEq ο] [Fintype κ]2829/-- Measure a bit, apply the original or conjugate channel, discard the bit. -/30def switch (T : KrausChannel ι ο κ) : KrausChannel (Bool × ι) ο (Bool × κ) :=31  controlled (fun b : Bool => if b then T.conjugate else T)3233/-- The original channel is the false-labelled branch of the actual switch. -/34@[simp] theorem switch_output_false (T : KrausChannel ι ο κ) (ρ : DensityMatrix ι) :35    T.switch.output (labelledState false ρ) = T.output ρ := by36  simp [switch]3738/-- The conjugate channel is the true-labelled branch of the actual switch. -/39@[simp] theorem switch_output_true (T : KrausChannel ι ο κ) (ρ : DensityMatrix ι) :40    T.switch.output (labelledState true ρ) = T.conjugate.output ρ := by41  simp [switch]4243theorem outputs_subset_switch (T : KrausChannel ι ο κ) : T.outputs ⊆ T.switch.outputs := by44  rintro _ ⟨ρ, rfl⟩45  exact ⟨labelledState false ρ, T.switch_output_false ρ⟩4647/-- Arbitrary switch inputs retain every uniform entropy lower bound of the48original channel, including superpositions and entangled control inputs. -/49theorem switch_output_entropy_lower [Nonempty ι]50    (T : KrausChannel ι ο κ) {s : ℝ}51    (hentropy : ∀ ρ : DensityMatrix ι, s ≤ (T.output ρ).vonNeumann)52    (ρ : DensityMatrix (Bool × ι)) : s ≤ (T.switch.output ρ).vonNeumann := by53  unfold switch54  apply controlled_output_entropy_lower55  intro b σ56  cases b57  · exact hentropy σ58  · change s ≤ (T.conjugate.output σ).vonNeumann59    rw [T.conjugate_output_entropy_all]60    exact hentropy σ.conjugate6162/-- Uniform entropy lower bounds are equivalent for the original and switch63channels; reachability proves the reverse implication. -/64theorem output_entropy_lower_bound_switch [Nonempty ι]65    (T : KrausChannel ι ο κ) (s : ℝ) :66    (∀ ρ : DensityMatrix ι, s ≤ (T.output ρ).vonNeumann) ↔67      (∀ ρ : DensityMatrix (Bool × ι), s ≤ (T.switch.output ρ).vonNeumann) := by68  constructor69  · exact T.switch_output_entropy_lower70  · intro h ρ71    have hh := h (labelledState false ρ)72    simpa only [switch_output_false] using hh7374/-- The switch has exactly the original channel's minimum output entropy.75The argument uses infima and does not assume existence of a minimizing input. -/76theorem switch_minimumEntropy [Nonempty ι] (T : KrausChannel ι ο κ) :77    T.switch.minimumEntropy = T.minimumEntropy := by78  apply le_antisymm79  · unfold minimumEntropy80    apply le_csInf (T.outputs_nonempty.image _)81    rintro _ ⟨σ, ⟨ρ, rfl⟩, rfl⟩82    exact StateEnsembles.minimumEntropy_le83      (outputs := T.switch.outputs) ⟨labelledState false ρ, T.switch_output_false ρ⟩84  · unfold minimumEntropy85    apply le_csInf (T.switch.outputs_nonempty.image _)86    rintro _ ⟨σ, ⟨ρ, rfl⟩, rfl⟩87    apply T.switch_output_entropy_lower88    intro τ89    exact StateEnsembles.minimumEntropy_le (outputs := T.outputs) ⟨τ, rfl⟩9091/-- The concrete switch followed by a concrete Weyl extension has the exact92Holevo/minimum-output-entropy relation used in the manuscript. -/93theorem switch_weylExtension_holevo {d : ℕ} [NeZero d] [Nonempty ι]94    (T : KrausChannel ι (ZMod d) κ) :95    T.switch.weylExtension.holevo = Real.log d - T.minimumEntropy := by96  rw [weylExtension_holevo, switch_minimumEntropy]9798end Nonadditivity.Channels.KrausChannel