Holevo Additivity Gap in Lean 4

Lean explorer

Exact Lean source

Nonadditivity.ConjugateChannel

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

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

14 declarations

Full module

1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.Channels7import Nonadditivity.StateEnsembles89/-!10# Conjugate channels and minimum output entropy1112The conjugate input operation is a proved involution on actual density13matrices. Conjugate channels have identical output entropy ranges, so their14minimum output entropies agree. No entropy-preservation condition is assumed.15-/1617noncomputable section1819namespace Nonadditivity.Entropy2021open scoped Matrix ComplexOrder2223variable {ι : Type*} [Fintype ι] [DecidableEq ι]2425/-- For a Hermitian state, transpose equals entrywise conjugation. -/26theorem DensityMatrix.conjugate_matrix_eq_map_star (ρ : DensityMatrix ι) :27    ρ.conjugate.matrix = ρ.matrix.map star := by28  ext i j29  have h := congrArg (fun M : Matrix ι ι ℂ => M j i) ρ.positive.isHermitian.eq30  simpa [DensityMatrix.conjugate, Matrix.transpose_apply, Matrix.map_apply,31    Matrix.star_apply] using h.symm3233@[simp] theorem DensityMatrix.conjugate_conjugate (ρ : DensityMatrix ι) :34    ρ.conjugate.conjugate = ρ := by35  apply DensityMatrix.ext36  simp [DensityMatrix.conjugate]3738end Nonadditivity.Entropy3940namespace Nonadditivity.Channels.KrausChannel4142open scoped Matrix ComplexOrder43open Nonadditivity.Entropy4445variable {ι ο κ : Type*} [Fintype ι] [DecidableEq ι]46variable [Fintype ο] [DecidableEq ο] [Fintype κ]4748omit [DecidableEq ο] in49@[ext] theorem ext {T S : KrausChannel ι ο κ} (h : T.kraus = S.kraus) : T = S := by50  cases T51  cases S52  cases h53  rfl5455omit [DecidableEq ο] in56@[simp] theorem conjugate_conjugate (T : KrausChannel ι ο κ) :57    T.conjugate.conjugate = T := by58  apply ext59  funext k60  ext i j61  simp [conjugate, Matrix.map_apply]6263/-- The concrete conjugate-channel map acts on actual conjugate states. -/64@[simp] theorem conjugate_output (T : KrausChannel ι ο κ) (ρ : DensityMatrix ι) :65    T.conjugate.output ρ.conjugate = (T.output ρ).conjugate := by66  apply DensityMatrix.ext67  rw [output_matrix, ρ.conjugate_matrix_eq_map_star, conjugate_map,68    (T.output ρ).conjugate_matrix_eq_map_star, output_matrix]6970/-- The conjugate channel and original channel have equal entropy on71corresponding conjugate inputs. -/72@[simp] theorem conjugate_output_entropy (T : KrausChannel ι ο κ)73    (ρ : DensityMatrix ι) :74    (T.conjugate.output ρ.conjugate).vonNeumann = (T.output ρ).vonNeumann := by75  rw [conjugate_output, DensityMatrix.conjugate_entropy]7677/-- Every input of the conjugate channel corresponds to a conjugate input78of the original channel; conjugation is surjective rather than an assumption. -/79theorem conjugate_output_entropy_all (T : KrausChannel ι ο κ)80    (ρ : DensityMatrix ι) :81    (T.conjugate.output ρ).vonNeumann = (T.output ρ.conjugate).vonNeumann := by82  simpa only [DensityMatrix.conjugate_conjugate] using83    conjugate_output_entropy T ρ.conjugate8485/-- Any uniform output entropy lower bound transfers to the conjugate channel. -/86theorem output_entropy_lower_bound_conjugate (T : KrausChannel ι ο κ) (s : ℝ) :87    (∀ ρ : DensityMatrix ι, s ≤ (T.output ρ).vonNeumann) ↔88      (∀ ρ : DensityMatrix ι, s ≤ (T.conjugate.output ρ).vonNeumann) := by89  constructor90  · intro h ρ91    rw [conjugate_output_entropy_all]92    exact h ρ.conjugate93  · intro h ρ94    have hh := h ρ.conjugate95    simpa only [conjugate_output_entropy] using hh9697/-- Equality of the actual sets of attainable output entropy values. -/98theorem output_entropy_range_conjugate (T : KrausChannel ι ο κ) :99    Set.range (fun ρ : DensityMatrix ι => (T.conjugate.output ρ).vonNeumann) =100      Set.range (fun ρ : DensityMatrix ι => (T.output ρ).vonNeumann) := by101  ext s102  constructor103  · rintro ⟨ρ, rfl⟩104    exact ⟨ρ.conjugate, (conjugate_output_entropy_all T ρ).symm⟩105  · rintro ⟨ρ, rfl⟩106    exact ⟨ρ.conjugate, conjugate_output_entropy T ρ⟩107108/-- Conjugate concrete channels have the same minimum output entropy. -/109theorem minimumEntropy_conjugate (T : KrausChannel ι ο κ) :110    Nonadditivity.StateEnsembles.minimumEntropy (Set.range T.conjugate.output) =111      Nonadditivity.StateEnsembles.minimumEntropy (Set.range T.output) := by112  simp only [Nonadditivity.StateEnsembles.minimumEntropy, ← Set.range_comp']113  rw [output_entropy_range_conjugate]114115end Nonadditivity.Channels.KrausChannel