Holevo Additivity Gap in Lean 4

Lean explorer

Exact Lean source

Nonadditivity.WeylPowersRegularized

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

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.WeylPowersEntropy78/-! # Exact all-use regularized Weyl-extension identity -/910noncomputable section1112namespace Nonadditivity.WeylPowers1314open Entropy Channels Channels.KrausChannel RegularizedHolevo1516variable {ι ο κ : Type*} [Fintype ι] [DecidableEq ι] [Nonempty ι]17  [Fintype ο] [DecidableEq ο] [Fintype κ]1819/-- The minimum output entropy per channel use, measured in bits. -/20def normalizedMinimumEntropy (T : KrausChannel ι ο κ) (n : ℕ) : ℝ :=21  (positiveTensorPower T n).minimumEntropy / Real.log 2 / ((n + 1 : ℕ) : ℝ)2223theorem normalizedMinimumEntropy_nonneg (T : KrausChannel ι ο κ) (n : ℕ) :24    0 ≤ normalizedMinimumEntropy T n := by25  have h : 0 ≤ (positiveTensorPower T n).minimumEntropy := by26    apply le_csInf ((positiveTensorPower T n).outputs_nonempty.image _)27    rintro _ ⟨ρ, _, rfl⟩28    exact ρ.vonNeumann_nonneg29  exact div_nonneg (div_nonneg h Scalar.log_two_pos.le) (by positivity)3031theorem normalizedMinimumEntropy_bddBelow (T : KrausChannel ι ο κ) :32    BddBelow (Set.range (normalizedMinimumEntropy T)) := by33  refine ⟨0, ?_⟩34  rintro _ ⟨n, rfl⟩35  exact normalizedMinimumEntropy_nonneg T n3637variable {d : ℕ} [NeZero d]3839theorem normalizedPowerHolevo_weylExtension (T : KrausChannel ι (ZMod d) κ) (n : ℕ) :40    normalizedPowerHolevo T.weylExtension n =41      Scalar.log2 d - normalizedMinimumEntropy T n := by42  unfold normalizedPowerHolevo normalizedMinimumEntropy43  rw [positiveTensorPower_weylExtension_holevoBits, sub_div]44  have hn : ((n + 1 : ℕ) : ℝ) ≠ 0 := by positivity45  rw [mul_div_cancel_left₀ _ hn]4647/-- The regularized Holevo supremum of the actual Weyl-extension powers is48exactly the output log dimension minus the regularized minimum output entropy.49Both extrema range over every positive number of actual channel uses. -/50theorem regularized_weylExtension_holevo (T : KrausChannel ι (ZMod d) κ) :51    sSup (Set.range (normalizedPowerHolevo T.weylExtension)) =52      Scalar.log2 d - sInf (Set.range (normalizedMinimumEntropy T)) := by53  have hb : BddAbove (Set.range (normalizedPowerHolevo T.weylExtension)) := by54    refine ⟨Scalar.log2 d, ?_⟩55    rintro _ ⟨n, rfl⟩56    rw [normalizedPowerHolevo_weylExtension]57    exact sub_le_self _ (normalizedMinimumEntropy_nonneg T n)58  apply le_antisymm59  · apply csSup_le (Set.range_nonempty _)60    rintro _ ⟨n, rfl⟩61    rw [normalizedPowerHolevo_weylExtension]62    exact sub_le_sub_left (csInf_le (normalizedMinimumEntropy_bddBelow T) ⟨n, rfl⟩) _63  · have h : Scalar.log2 d - sSup (Set.range (normalizedPowerHolevo T.weylExtension)) ≤64        sInf (Set.range (normalizedMinimumEntropy T)) := by65      apply le_csInf (Set.range_nonempty _)66      rintro _ ⟨n, rfl⟩67      have hn := le_csSup hb (show normalizedPowerHolevo T.weylExtension n ∈68        Set.range (normalizedPowerHolevo T.weylExtension) from ⟨n, rfl⟩)69      rw [normalizedPowerHolevo_weylExtension] at hn70      linarith71    linarith7273end Nonadditivity.WeylPowers