Holevo Additivity Gap in Lean 4

Lean explorer

Exact Lean source

Nonadditivity.DampingNet

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

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

2 declarations

Full module

1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.DampedChannel7import Nonadditivity.FiniteRealization8import Mathlib.Analysis.SpecificLimits.Basic910/-! Finite observable tests and the elementary moment choice for deterministic damping. -/1112noncomputable section13set_option backward.isDefEq.respectTransparency false14namespace Nonadditivity.DampingNet15open Channels Channels.KrausChannel AdjointPurity FiniteRealization16open Filter Topology17open scoped Matrix.Norms.L2Operator ComplexOrder MatrixOrder1819/-- A fixed finite number of normalized even moments can be made arbitrarily small. -/20theorem exists_even_moment_small {r η : ℝ} (hr0 : 0 ≤ r) (hr1 : r < 1)21    (M : ℕ) (hη : 0 < η) :22    ∃ p : ℕ, 1 ≤ p ∧ 2 * (M : ℝ) * r ^ (2*p) < η := by23  have hr2 : r^2 < 1 := by nlinarith24  have ht : Tendsto (fun p : ℕ => 2 * (M : ℝ) * (r^2)^p) atTop (𝓝 0) := by25    simpa using (tendsto_pow_atTop_nhds_zero_of_lt_one (sq_nonneg r) hr2).const_mul26      (2 * (M : ℝ))27  have hs : ∀ᶠ p : ℕ in atTop, 2 * (M : ℝ) * (r^2)^p < η :=28    ht.eventually (gt_mem_nhds hη)29  obtain ⟨p, hp, hsmall⟩ := ((eventually_ge_atTop 1).and hs).exists30  exact ⟨p, hp, by simpa only [pow_mul] using hsmall⟩3132variable {ι ο κ : Type*} [Fintype ι] [DecidableEq ι]33  [Fintype ο] [DecidableEq ο] [Nonempty ο] [Fintype κ]3435/-- Compression bounds on a finite net give the full actual damped-channel certificate. -/36theorem damped_certificate (T : KrausChannel ι ο κ) (F : Matrix ι ι ℂ)37    (hF : F.IsHermitian) (hres : (1-F*F).PosSemidef)38    {tests : Finset (ObservableSpace ο)} {a c : ℝ}39    (ha : 1 < a) (hc : 0 ≤ c)40    (hnet : UnitSphereNet tests ((a-1)/(a+1)))41    (htests : ∀ y ∈ tests,42      ‖F * T.adjointMap (observableMatrix y) * F‖ ≤ (1+(a-1)/(a+1))*c) :43    ∀ A : Matrix ο ο ℂ, A.IsHermitian → A.trace=0 →44      ‖(DampedChannel.damped T F hF hres).adjointMap A‖ ≤ a*c*hsLength A := by45  apply matrix_certificate_of_observable_bound46  apply kappa_net_certificate _ ha hc hnet47  intro y hy48  change ‖(DampedChannel.damped T F hF hres).adjointMap (observableMatrix y)‖ ≤ _49  rw [DampedChannel.damped_adjointMap_traceless _ _ _ _ _50    (observableMatrix_trace_zero y)]51  exact htests y hy5253end Nonadditivity.DampingNet