Exact Lean source
Nonadditivity.DampedRealization
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
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,29G*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 ι : ℝ) < η := by33classical34let δ : ℝ := (a-1)/(a+1)35have hδ : 0 < δ := div_pos (by linarith) (by linarith)36let L : ℝ := (1+δ)*c37have hL : 0 < L := mul_pos (by linarith) hc38have hcL : c < L := by dsimp [L]; nlinarith39have hr0 : 0 ≤ c/L := div_nonneg hc.le hL.le40have hr1 : c/L < 1 := (div_lt_one hL).mpr hcL41obtain ⟨tests, hunit, hnet⟩ := exists_unitSphereNet (E := ObservableSpace ο) hδ42obtain ⟨p, hp, hsmall⟩ := DampingNet.exists_even_moment_small hr0 hr1 tests.card hη43refine ⟨p, hp, ?_⟩44intro ι κ _ _ _ _ T hmom45let X : tests → Matrix ι ι ℂ := fun y => T.adjointMap (observableMatrix y.val)46have hX (y : tests) : (X y).IsHermitian :=47T.adjointMap_isHermitian _ (observableMatrix_isHermitian y.val)48obtain ⟨F,G,hF,hres,hGF,hbound,hloss⟩ := SpectralDamping.exists_damping X hX L hL p hp49refine ⟨F,G,hF,hres,hGF,?_,?_⟩50· apply DampingNet.damped_certificate T F hF hres ha hc.le hnet51intro y hy52exact hbound ⟨y,hy⟩53· have hdim : 0 < (Fintype.card ι : ℝ) := by exact_mod_cast Fintype.card_pos54have hterm (y : tests) :55L⁻¹^(2*p) * (X y^(2*p)).trace.re / (Fintype.card ι : ℝ) ≤ (c/L)^(2*p) := by56have h := hmom (observableMatrix y.val) (observableMatrix_isHermitian _)57(observableMatrix_trace_zero _)58(by rw [← observable_norm_eq_hsLength]; exact hunit y.val y.property)59have h' := mul_le_mul_of_nonneg_left h (pow_nonneg (inv_nonneg.mpr hL.le) (2*p))60convert h' using 1 <;> dsimp only [X]61· ring62· rw [div_eq_mul_inv, mul_pow]; ring63calc64(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) :=70mul_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