Holevo Additivity Gap in Lean 4

Lean explorer

Exact Lean source

Nonadditivity.DampedRealization

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

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

1 declarations

Full module

1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.DampingNet7import Nonadditivity.SpectralDamping89/-! Deterministic realization of a channel norm certificate from finite even moments. -/10noncomputable section11set_option backward.isDefEq.respectTransparency false12set_option maxHeartbeats 60000013namespace Nonadditivity.DampedRealization14open Channels Channels.KrausChannel AdjointPurity FiniteRealization15open scoped BigOperators Matrix.Norms.L2Operator ComplexOrder MatrixOrder1617variable {ο : Type} [Fintype ο] [DecidableEq ο] [Nonempty ο]1819/-- The moment order is selected before the finite input space or channel.20Every model with these moments yields an actual invertible damping with the21prescribed certificate and arbitrarily small normalized discarded mass. -/22theorem exists_moment_order {a c η : ℝ} (ha : 1 < a) (hc : 0 < c) (hη : 0 < η) :23    ∃ p : ℕ, 1 ≤ p ∧24      ∀ (ι κ : Type) [Fintype ι] [DecidableEq ι] [Nonempty ι] [Fintype κ]25      (T : KrausChannel ι ο κ),26      (∀ A : Matrix ο ο ℂ, A.IsHermitian → A.trace=0 → hsLength A=1 →27        ((T.adjointMap A)^(2*p)).trace.re / (Fintype.card ι : ℝ) ≤ c^(2*p)) →28      ∃ F G : Matrix ι ι ℂ, ∃ hF : F.IsHermitian, ∃ hres : (1-F*F).PosSemidef,29        G*F=1 ∧30        (∀ A : Matrix ο ο ℂ, A.IsHermitian → A.trace=0 →31          ‖(DampedChannel.damped T F hF hres).adjointMap A‖ ≤ a*c*hsLength A) ∧32        (1-F*F).trace.re / (Fintype.card ι : ℝ) < η := by33  classical34  let δ : ℝ := (a-1)/(a+1)35  have hδ : 0 < δ := div_pos (by linarith) (by linarith)36  let L : ℝ := (1+δ)*c37  have hL : 0 < L := mul_pos (by linarith) hc38  have hcL : c < L := by dsimp [L]; nlinarith39  have hr0 : 0 ≤ c/L := div_nonneg hc.le hL.le40  have hr1 : c/L < 1 := (div_lt_one hL).mpr hcL41  obtain ⟨tests, hunit, hnet⟩ := exists_unitSphereNet (E := ObservableSpace ο) hδ42  obtain ⟨p, hp, hsmall⟩ := DampingNet.exists_even_moment_small hr0 hr1 tests.card hη43  refine ⟨p, hp, ?_⟩44  intro ι κ _ _ _ _ T hmom45  let X : tests → Matrix ι ι ℂ := fun y => T.adjointMap (observableMatrix y.val)46  have hX (y : tests) : (X y).IsHermitian :=47    T.adjointMap_isHermitian _ (observableMatrix_isHermitian y.val)48  obtain ⟨F,G,hF,hres,hGF,hbound,hloss⟩ := SpectralDamping.exists_damping X hX L hL p hp49  refine ⟨F,G,hF,hres,hGF,?_,?_⟩50  · apply DampingNet.damped_certificate T F hF hres ha hc.le hnet51    intro y hy52    exact hbound ⟨y,hy⟩53  · have hdim : 0 < (Fintype.card ι : ℝ) := by exact_mod_cast Fintype.card_pos54    have hterm (y : tests) :55        L⁻¹^(2*p) * (X y^(2*p)).trace.re / (Fintype.card ι : ℝ) ≤ (c/L)^(2*p) := by56      have h := hmom (observableMatrix y.val) (observableMatrix_isHermitian _)57        (observableMatrix_trace_zero _)58        (by rw [← observable_norm_eq_hsLength]; exact hunit y.val y.property)59      have h' := mul_le_mul_of_nonneg_left h (pow_nonneg (inv_nonneg.mpr hL.le) (2*p))60      convert h' using 1 <;> dsimp only [X]61      · ring62      · rw [div_eq_mul_inv, mul_pow]; ring63    calc64      (1-F*F).trace.re / (Fintype.card ι : ℝ) ≤65          (2 * ∑ y : tests, L⁻¹^(2*p) * (X y^(2*p)).trace.re) /66            (Fintype.card ι : ℝ) := div_le_div_of_nonneg_right hloss hdim.le67      _ = 2 * ∑ y : tests, L⁻¹^(2*p) * (X y^(2*p)).trace.re /68            (Fintype.card ι : ℝ) := by rw [← Finset.sum_div]; ring69      _ ≤ 2 * ∑ _y : tests, (c/L)^(2*p) :=70        mul_le_mul_of_nonneg_left (Finset.sum_le_sum (fun y _ => hterm y)) (by norm_num)71      _ = 2 * (tests.card : ℝ) * (c/L)^(2*p) := by simp; ring72      _ < η := hsmall7374end Nonadditivity.DampedRealization