Holevo Additivity Gap in Lean 4

Lean explorer

Exact Lean source

Nonadditivity.RegularShiftedDilation

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

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

58 declarations

Full module

1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.RegularDilation7import Mathlib.Analysis.CStarAlgebra.ContinuousLinearMap89/-! # The exact shifted norm of an infinite regular dilation1011The grading unitary makes the spectrum symmetric, so its positive endpoint12is the original polynomial norm. No finite-dimensional spectral assumption13is used.14-/1516noncomputable section17set_option backward.isDefEq.respectTransparency false1819namespace Nonadditivity.RegularShiftedDilation2021open RegularCoefficientEnergy RegularDilation22open scoped BigOperators ENNReal Matrix Matrix.Norms.L2Operator2324section Lift2526variable {G E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℂ E]27  [CompleteSpace E]2829/-- Applying the same bounded operator at each coordinate is a star-algebra map. -/30def liftStarAlgHom : (E →L[ℂ] E) →⋆ₐ[ℂ] (VectorHilbert G E →L[ℂ] VectorHilbert G E) where31  toFun := liftOperator32  map_zero' := by ext f g; simp33  map_one' := by ext f g; simp34  map_add' T R := by ext f g; simp35  map_mul' T R := by ext f g; simp36  commutes' z := by ext f g; simp37  map_star' T := by38    apply ContinuousLinearMap.ext39    intro f40    apply ext_inner_right ℂ41    intro h42    simp only [ContinuousLinearMap.star_eq_adjoint]43    rw [ContinuousLinearMap.adjoint_inner_left]44    change (∑' g, inner ℂ ((star T) (f g)) (h g)) =45      ∑' g, inner ℂ (f g) (T (h g))46    simp_rw [ContinuousLinearMap.star_eq_adjoint, ContinuousLinearMap.adjoint_inner_left]4748end Lift4950variable {G ι : Type*} [Group G] [DecidableEq G] [Fintype ι] [DecidableEq ι]5152def grading : unitary (Hilbert G (ι ⊕ ι) →L[ℂ] Hilbert G (ι ⊕ ι)) :=53  let F : Matrix (ι ⊕ ι) (ι ⊕ ι) ℂ →⋆ₐ[ℂ]54      (Hilbert G (ι ⊕ ι) →L[ℂ] Hilbert G (ι ⊕ ι)) :=55    (liftStarAlgHom (G := G) (E := CoefficientSpace (ι ⊕ ι))).comp56      (StarAlgHomClass.toStarAlgHom (Matrix.toEuclideanCLM (n := ι ⊕ ι) (𝕜 := ℂ)))57  ⟨F Linearization.dilationSign.val, Unitary.map_mem F Linearization.dilationSign.property⟩5859omit [Group G] [DecidableEq G] in60theorem grading_apply (f : Hilbert G (ι ⊕ ι)) (g : G) (i : ι ⊕ ι) :61    (grading (G := G) (ι := ι) : Hilbert G (ι ⊕ ι) →L[ℂ] Hilbert G (ι ⊕ ι)) f g i =62      Sum.elim (fun j => f g (Sum.inl j)) (fun j => -f g (Sum.inr j)) i := by63  change (Linearization.dilationSign.val *ᵥ (f g).ofLp) i = _64  cases i <;>65    simp [Linearization.dilationSign, Matrix.mulVec, dotProduct, Fintype.sum_sum_type, Matrix.one_apply]6667omit [Group G] [DecidableEq G] in68theorem grading_star :69    star (grading (G := G) (ι := ι) : Hilbert G (ι ⊕ ι) →L[ℂ] Hilbert G (ι ⊕ ι)) =70      (grading (G := G) (ι := ι) : Hilbert G (ι ⊕ ι) →L[ℂ] Hilbert G (ι ⊕ ι)) := by71  have hs : star (Linearization.dilationSign (ι := ι) : Matrix (ι ⊕ ι) (ι ⊕ ι) ℂ) =72      (Linearization.dilationSign (ι := ι) : Matrix (ι ⊕ ι) (ι ⊕ ι) ℂ) := by73    simp [Linearization.dilationSign, Matrix.star_eq_conjTranspose,74      Matrix.fromBlocks_conjTranspose]75  change star ((liftStarAlgHom (G := G) (E := CoefficientSpace (ι ⊕ ι)))76    (Matrix.toEuclideanCLM (n := ι ⊕ ι) (𝕜 := ℂ) Linearization.dilationSign.val)) =77      (liftStarAlgHom (G := G) (E := CoefficientSpace (ι ⊕ ι)))78        (Matrix.toEuclideanCLM (n := ι ⊕ ι) (𝕜 := ℂ) Linearization.dilationSign.val)79  rw [← map_star, ← map_star, hs]8081theorem dilation_selfAdjoint (S : Finset G) (hS : ∀ w ∈ S, w⁻¹ ∈ S)82    (a : G → Matrix ι ι ℂ) :83    IsSelfAdjoint (regularPolynomial S (dilationCoefficient a)) := by84  change (regularPolynomial S (dilationCoefficient a)).adjoint = _85  rw [← inverse_transpose_polynomial S hS]86  congr 187  funext w88  simp [dilationCoefficient, Matrix.fromBlocks_conjTranspose]8990omit [DecidableEq G] in91theorem grading_conjugate (S : Finset G) (a : G → Matrix ι ι ℂ) :92    (grading (G := G) (ι := ι) : Hilbert G (ι ⊕ ι) →L[ℂ] Hilbert G (ι ⊕ ι)) *93      regularPolynomial S (dilationCoefficient a) *94      (star (grading (G := G) (ι := ι)) : Hilbert G (ι ⊕ ι) →L[ℂ] Hilbert G (ι ⊕ ι)) =95        -regularPolynomial S (dilationCoefficient a) := by96  rw [grading_star]97  ext f g i98  simp only [ContinuousLinearMap.mul_apply, grading_apply,99    ContinuousLinearMap.neg_apply, lp.coeFn_neg, Pi.neg_apply, WithLp.ofLp_neg]100  cases i with101  | inl i =>102    change (leftSlice (regularPolynomial S (dilationCoefficient a) ((grading (G := G) (ι := ι) : Hilbert G (ι ⊕ ι) →L[ℂ] Hilbert G (ι ⊕ ι)) f))) g i = _103    rw [leftSlice_dilationPolynomial]104    have hr : rightSlice ((grading (G := G) (ι := ι) : Hilbert G (ι ⊕ ι) →L[ℂ] Hilbert G (ι ⊕ ι)) f) = -rightSlice f := by105      ext h j106      exact grading_apply f h (Sum.inr j)107    rw [hr, map_neg]108    exact congrArg Neg.neg (congrArg (fun v : Hilbert G ι => v g i)109      (leftSlice_dilationPolynomial S a f)).symm110  | inr i =>111    simp only [Sum.elim_inr, regularPolynomial_apply,112      WithLp.ofLp_sum, Finset.sum_apply]113    congr 1114    apply Finset.sum_congr rfl115    intro w hw116    change fiberRight (coefficientOperator (dilationCoefficient a w)117      ((grading (G := G) (ι := ι) : Hilbert G (ι ⊕ ι) →L[ℂ] Hilbert G (ι ⊕ ι)) f (w⁻¹ * g))) i =118      fiberRight (coefficientOperator (dilationCoefficient a w) (f (w⁻¹ * g))) i119    rw [fiberRight_dilationCoefficient, fiberRight_dilationCoefficient]120    have hl : fiberLeft ((grading (G := G) (ι := ι) : Hilbert G (ι ⊕ ι) →L[ℂ] Hilbert G (ι ⊕ ι))121        f (w⁻¹ * g)) = fiberLeft (f (w⁻¹ * g)) := by122      ext j123      exact grading_apply f (w⁻¹ * g) (Sum.inl j)124    rw [hl]125126instance hilbertNontrivial [Nonempty ι] : Nontrivial (Hilbert G ι) := by127  classical128  let i : ι := Classical.choice inferInstance129  let x : CoefficientSpace ι := WithLp.toLp 2 (fun _ => (1 : ℂ))130  refine ⟨⟨lp.single 2 (1 : G) x, 0, ?_⟩⟩131  intro h132  have he := congrArg (fun f : Hilbert G ι => f 1 i) h133  simp [x] at he134135theorem norm_mem_dilation_spectrum [Nonempty ι]136    (S : Finset G) (hS : ∀ w ∈ S, w⁻¹ ∈ S) (a : G → Matrix ι ι ℂ) :137    ‖regularPolynomial S a‖ ∈ spectrum ℝ (regularPolynomial S (dilationCoefficient a)) := by138  have hsym : spectrum ℝ (-regularPolynomial S (dilationCoefficient a)) =139      spectrum ℝ (regularPolynomial S (dilationCoefficient a)) := by140    rw [← grading_conjugate S a]141    exact Unitary.spectrum_star_right_conjugate142  rcases CStarAlgebra.norm_or_neg_norm_mem_spectrum (dilation_selfAdjoint S hS a) with h | h143  · simpa only [dilation_polynomial_norm S hS a] using h144  · rw [dilation_polynomial_norm S hS a] at h145    have hneg : ‖regularPolynomial S a‖ ∈146        spectrum ℝ (-regularPolynomial S (dilationCoefficient a)) := by147      rw [← spectrum.neg_eq]148      exact h149    rwa [hsym] at hneg150151/-- The exact infinite-dimensional norm identity needed by Gram factorization. -/152theorem shifted_dilation_polynomial_norm [Nonempty ι]153    (S : Finset G) (hS : ∀ w ∈ S, w⁻¹ ∈ S) (a : G → Matrix ι ι ℂ)154    (θ : ℝ) (hθ : 0 ≤ θ) :155    ‖regularPolynomial S (dilationCoefficient a) +156      algebraMap ℝ (Hilbert G (ι ⊕ ι) →L[ℂ] Hilbert G (ι ⊕ ι)) θ‖ =157        ‖regularPolynomial S a‖ + θ := by158  apply le_antisymm159  · calc160      _ ≤ ‖regularPolynomial S (dilationCoefficient a)‖ +161          ‖algebraMap ℝ (Hilbert G (ι ⊕ ι) →L[ℂ] Hilbert G (ι ⊕ ι)) θ‖ := norm_add_le _ _162      _ = ‖regularPolynomial S a‖ + θ := by163        rw [dilation_polynomial_norm S hS a, norm_algebraMap', Real.norm_eq_abs,164          abs_of_nonneg hθ]165  · have hmem : ‖regularPolynomial S a‖ + θ ∈ spectrum ℝ166        (regularPolynomial S (dilationCoefficient a) +167          algebraMap ℝ (Hilbert G (ι ⊕ ι) →L[ℂ] Hilbert G (ι ⊕ ι)) θ) := by168      rw [← spectrum.add_singleton_eq]169      exact Set.add_mem_add (norm_mem_dilation_spectrum S hS a) (Set.mem_singleton θ)170    have h := spectrum.norm_le_norm_of_mem hmem171    rwa [Real.norm_eq_abs, abs_of_nonneg (add_nonneg (norm_nonneg _) hθ)] at h172173end Nonadditivity.RegularShiftedDilation