Holevo Additivity Gap in Lean 4

Lean explorer

Exact Lean source

Nonadditivity.RegularizedHolevo

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

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

59 declarations

Full module

1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.ActualConsequences78/-!9# Regularized Holevo supremum of actual tensor powers1011`positiveTensorPower T n` is the actual Kraus tensor power with `n+1` uses.12Its first two powers are literally `T` and `T.tensor T`; no basis invariance13or assumed tensor-product information law is needed to identify them.14The supremum contains every positive integer number of uses, not a subsequence.1516This is a regularized Holevo supremum. No operational coding theorem or17identification with operational classical capacity is asserted here.18-/1920noncomputable section2122namespace Nonadditivity.RegularizedHolevo2324open Nonadditivity.Entropy Nonadditivity.Channels Nonadditivity.ActualConsequences25open scoped Matrix ComplexOrder BigOperators2627universe u2829/-- Index of a genuine positive tensor power. Index `n` represents `n+1` factors. -/30def PositiveTensorIndex (ι : Type u) : ℕ → Type u31  | 0 => ι32  | n + 1 => PositiveTensorIndex ι n × ι3334instance positiveTensorIndexFintype (ι : Type u) [Fintype ι] :35    (n : ℕ) → Fintype (PositiveTensorIndex ι n)36  | 0 => inferInstanceAs (Fintype ι)37  | n + 1 => by38    change Fintype (PositiveTensorIndex ι n × ι)39    letI := positiveTensorIndexFintype ι n40    infer_instance4142instance positiveTensorIndexDecidableEq (ι : Type u) [DecidableEq ι] :43    (n : ℕ) → DecidableEq (PositiveTensorIndex ι n)44  | 0 => inferInstanceAs (DecidableEq ι)45  | n + 1 => by46    change DecidableEq (PositiveTensorIndex ι n × ι)47    letI := positiveTensorIndexDecidableEq ι n48    infer_instance4950instance positiveTensorIndexNonempty (ι : Type u) [Nonempty ι] :51    (n : ℕ) → Nonempty (PositiveTensorIndex ι n)52  | 0 => inferInstanceAs (Nonempty ι)53  | n + 1 => by54    change Nonempty (PositiveTensorIndex ι n × ι)55    letI := positiveTensorIndexNonempty ι n56    infer_instance5758theorem positiveTensorIndex_card (ι : Type u) [Fintype ι] (n : ℕ) :59    Fintype.card (PositiveTensorIndex ι n) = Fintype.card ι ^ (n + 1) := by60  induction n with61  | zero => simp [PositiveTensorIndex]62  | succ n ih =>63    change Fintype.card (PositiveTensorIndex ι n × ι) = _64    rw [Fintype.card_prod, ih]65    exact (pow_succ _ _).symm6667/-- Every positive tensor power is constructed from the actual channel Kraus data. -/68def positiveTensorPower {ι ο κ : Type*}69    [Fintype ι] [DecidableEq ι] [Fintype ο] [DecidableEq ο] [Fintype κ]70    (T : KrausChannel ι ο κ) :71    (n : ℕ) → KrausChannel (PositiveTensorIndex ι n) (PositiveTensorIndex ο n)72      (PositiveTensorIndex κ n)73  | 0 => T74  | n + 1 => (positiveTensorPower T n).tensor T7576@[simp] theorem positiveTensorPower_zero {ι ο κ : Type*}77    [Fintype ι] [DecidableEq ι] [Fintype ο] [DecidableEq ο] [Fintype κ]78    (T : KrausChannel ι ο κ) : positiveTensorPower T 0 = T := rfl7980@[simp] theorem positiveTensorPower_one {ι ο κ : Type*}81    [Fintype ι] [DecidableEq ι] [Fintype ο] [DecidableEq ο] [Fintype κ]82    (T : KrausChannel ι ο κ) : positiveTensorPower T 1 = T.tensor T := rfl8384/-- The normalized Holevo information of the actual `n+1`-use tensor power. -/85def normalizedPowerHolevo {ι ο κ : Type*}86    [Fintype ι] [DecidableEq ι] [Fintype ο] [DecidableEq ο] [Fintype κ]87    (T : KrausChannel ι ο κ) (n : ℕ) : ℝ :=88  (positiveTensorPower T n).holevoBits / ((n + 1 : ℕ) : ℝ)8990@[simp] theorem normalizedPowerHolevo_zero {ι ο κ : Type*}91    [Fintype ι] [DecidableEq ι] [Fintype ο] [DecidableEq ο] [Fintype κ]92    (T : KrausChannel ι ο κ) : normalizedPowerHolevo T 0 = T.holevoBits := by93  simp [normalizedPowerHolevo, positiveTensorPower, PositiveTensorIndex,94    positiveTensorIndexFintype, positiveTensorIndexDecidableEq]95  rfl9697@[simp] theorem normalizedPowerHolevo_one {ι ο κ : Type*}98    [Fintype ι] [DecidableEq ι] [Fintype ο] [DecidableEq ο] [Fintype κ]99    (T : KrausChannel ι ο κ) : normalizedPowerHolevo T 1 = (T.tensor T).holevoBits / 2 := rfl100101/-- Output dimension bounds every normalized power, with no assumed Holevo102superadditivity, covariance, or tensor-basis invariance. -/103theorem normalizedPowerHolevo_le {ι ο κ : Type*}104    [Fintype ι] [DecidableEq ι] [Nonempty ι]105    [Fintype ο] [DecidableEq ο] [Nonempty ο] [Fintype κ]106    (T : KrausChannel ι ο κ) (n : ℕ) :107    normalizedPowerHolevo T n ≤ Scalar.log2 (Fintype.card ο) := by108  have hh := (positiveTensorPower T n).holevo_le_of_output_entropy109    (fun ρ => ((positiveTensorPower T n).output ρ).vonNeumann_nonneg)110  simp only [sub_zero, positiveTensorIndex_card, Nat.cast_pow, Real.log_pow] at hh111  have hb := div_le_div_of_nonneg_right hh Scalar.log_two_pos.le112  have hb' : (positiveTensorPower T n).holevoBits ≤113      ((n + 1 : ℕ) : ℝ) * Scalar.log2 (Fintype.card ο) := by114    convert hb using 1115    unfold Scalar.log2116    ring117  have hn : (0 : ℝ) < ((n + 1 : ℕ) : ℝ) := by positivity118  unfold normalizedPowerHolevo119  apply (div_le_iff₀ hn).2120  simpa only [mul_comm] using hb'121122end Nonadditivity.RegularizedHolevo123124namespace Nonadditivity.ActualConsequences.FiniteQuantumChannel125126open Nonadditivity.RegularizedHolevo127128/-- Supremum over all positive normalized actual tensor-power Holevo quantities. -/129def regularizedHolevo (T : FiniteQuantumChannel) : ℝ :=130  sSup (Set.range (normalizedPowerHolevo T.channel))131132def regularizedGain (T : FiniteQuantumChannel) : ℝ := T.regularizedHolevo - T.chi133134def regularizedRatio (T : FiniteQuantumChannel) : ℝ := T.regularizedHolevo / T.chi135136theorem normalizedPowerHolevo_bddAbove (T : FiniteQuantumChannel) :137    BddAbove (Set.range (normalizedPowerHolevo T.channel)) := by138  refine ⟨Nonadditivity.Scalar.log2 (Fintype.card T.Output), ?_⟩139  rintro _ ⟨n, rfl⟩140  exact normalizedPowerHolevo_le T.channel n141142theorem normalizedPowerHolevo_le_regularized (T : FiniteQuantumChannel) (n : ℕ) :143    normalizedPowerHolevo T.channel n ≤ T.regularizedHolevo :=144  le_csSup T.normalizedPowerHolevo_bddAbove ⟨n, rfl⟩145146theorem regularizedHolevo_le_log_output_dim (T : FiniteQuantumChannel) :147    T.regularizedHolevo ≤ Nonadditivity.Scalar.log2 (Fintype.card T.Output) := by148  apply csSup_le (Set.range_nonempty _)149  rintro _ ⟨n, rfl⟩150  exact normalizedPowerHolevo_le T.channel n151152theorem chi_le_regularizedHolevo (T : FiniteQuantumChannel) : T.chi ≤ T.regularizedHolevo := by153  simpa only [normalizedPowerHolevo_zero, chi] using T.normalizedPowerHolevo_le_regularized 0154155theorem half_chiTwo_le_regularizedHolevo (T : FiniteQuantumChannel) :156    T.chiTwo / 2 ≤ T.regularizedHolevo := by157  simpa only [normalizedPowerHolevo_one, chiTwo] using T.normalizedPowerHolevo_le_regularized 1158159theorem regularizedHolevo_nonneg (T : FiniteQuantumChannel) : 0 ≤ T.regularizedHolevo :=160  T.chi_nonneg.trans T.chi_le_regularizedHolevo161162theorem two_use_gain_le_regularizedGain (T : FiniteQuantumChannel) :163    T.chiTwo / 2 - T.chi ≤ T.regularizedGain := by164  unfold regularizedGain165  linarith [T.half_chiTwo_le_regularizedHolevo]166167theorem two_use_ratio_le_regularizedRatio (T : FiniteQuantumChannel) (hχ : 0 < T.chi) :168    T.twoUseRatio ≤ T.regularizedRatio := by169  have h := div_le_div_of_nonneg_right T.half_chiTwo_le_regularizedHolevo hχ.le170  convert h using 1171  unfold twoUseRatio172  ring173174end Nonadditivity.ActualConsequences.FiniteQuantumChannel175176namespace Nonadditivity.ActualConsequences177178open Filter Topology179180/-- The regularized Holevo supremum diverges along the constructed actual181channel sequence. This assertion does not invoke an operational coding theorem. -/182theorem actual_regularizedHolevo_tendsto_atTop (inputs : AnalyticInputs) :183    Tendsto (fun K => (separatingFamily inputs K).regularizedHolevo) atTop atTop :=184  tendsto_atTop_mono (fun K => (separatingFamily inputs K).half_chiTwo_le_regularizedHolevo)185    (actual_vanishing_diverging inputs).2186187theorem actual_regularizedGain_tendsto_atTop (inputs : AnalyticInputs) :188    Tendsto (fun K => (separatingFamily inputs K).regularizedGain) atTop atTop :=189  tendsto_atTop_mono (fun K => (separatingFamily inputs K).two_use_gain_le_regularizedGain)190    (actual_two_use_gain_tendsto_atTop inputs)191192theorem actual_regularizedRatio_tendsto_atTop (inputs : AnalyticInputs) :193    Tendsto (fun K => (separatingFamily inputs K).regularizedRatio) atTop atTop := by194  apply tendsto_atTop_mono' atTop _ (actual_ratio_tendsto_atTop inputs)195  filter_upwards [eventually_ge_atTop 2] with K hK196  exact (separatingFamily inputs K).two_use_ratio_le_regularizedRatio (separatingFamily_pos inputs hK)197198/-- Actual channels simultaneously achieve small single-use information and199large regularized Holevo gain, with a positive ratio denominator. -/200theorem actual_small_large_regularizedGain (inputs : AnalyticInputs) {ε R : ℝ} (hε : 0 < ε) :201    ∃ T : FiniteQuantumChannel, 0 < T.chi ∧ T.chi ≤ ε ∧ R ≤ T.regularizedGain := by202  have hs : ∀ᶠ K in atTop, (separatingFamily inputs K).chi < ε :=203    (actual_vanishing_diverging inputs).1.eventually (gt_mem_nhds hε)204  have hg : ∀ᶠ K in atTop, R ≤ (separatingFamily inputs K).regularizedGain :=205    (actual_regularizedGain_tendsto_atTop inputs).eventually (eventually_ge_atTop R)206  obtain ⟨K, hK, hs, hg⟩ := ((eventually_ge_atTop 2).and (hs.and hg)).exists207  exact ⟨separatingFamily inputs K, separatingFamily_pos inputs hK, hs.le, hg⟩208209/-- Both an arbitrarily large regularized Holevo gain and an arbitrarily large210regularized ratio are attained by a genuine finite quantum channel. -/211theorem actual_large_regularizedGain_and_ratio (inputs : AnalyticInputs) (A R : ℝ) :212    ∃ T : FiniteQuantumChannel, 0 < T.chi ∧ A ≤ T.regularizedGain ∧ R ≤ T.regularizedRatio := by213  have hg : ∀ᶠ K in atTop, A ≤ (separatingFamily inputs K).regularizedGain :=214    (actual_regularizedGain_tendsto_atTop inputs).eventually (eventually_ge_atTop A)215  have hr : ∀ᶠ K in atTop, R ≤ (separatingFamily inputs K).regularizedRatio :=216    (actual_regularizedRatio_tendsto_atTop inputs).eventually (eventually_ge_atTop R)217  obtain ⟨K, hK, hg, hr⟩ := ((eventually_ge_atTop 2).and (hg.and hr)).exists218  exact ⟨separatingFamily inputs K, separatingFamily_pos inputs hK, hg, hr⟩219220end Nonadditivity.ActualConsequences