Holevo Additivity Gap in Lean 4

Lean explorer

Exact Lean source

Nonadditivity.HaarOperatorPolynomial

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

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

33 declarations

Full module

1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.HaarNonbacktrackingLastReturn78/-! # Non-returning polynomials with arbitrary Hilbert-space coefficients910The coefficient ring is the bounded operators on any complete complex Hilbert11space. The regular evaluation, exact last-return identities, coefficient energy,12and full non-returning norm loss therefore remain available during tensor13replacement, when the coefficients include other free regular factors.14-/1516noncomputable section17set_option backward.isDefEq.respectTransparency false1819namespace Nonadditivity.HaarOperatorPolynomial2021open scoped BigOperators ENNReal22open HaarNonbacktracking RegularCoefficientEnergy2324variable {G E : Type*} [Group G] [DecidableEq G]25variable [NormedAddCommGroup E] [InnerProductSpace ℂ E] [CompleteSpace E]2627abbrev Polynomial (G E : Type*) [NormedAddCommGroup E] [NormedSpace ℂ E] :=28  MonoidAlgebra (E →L[ℂ] E) G2930def coefficientHom : (E →L[ℂ] E) →+* (H G E →L[ℂ] H G E) where31  toFun := liftOperator32  map_zero' := by ext x g; rfl33  map_one' := by ext x g; rfl34  map_add' A B := by ext x g; rfl35  map_mul' A B := by ext x g; rfl3637def wordHom : G →* (H G E →L[ℂ] H G E) where38  toFun := MatrixRegularRestriction.leftRegular39  map_one' := by ext x g; simp40  map_mul' a b := by ext x g; simp [mul_assoc]4142def regular : Polynomial G E →+* (H G E →L[ℂ] H G E) :=43  MonoidAlgebra.liftNCRingHom coefficientHom wordHom (by44    intro A g45    change coefficientHom A * wordHom g = wordHom g * coefficientHom A46    ext x h47    rfl)4849omit [DecidableEq G] [CompleteSpace E] in50@[simp] theorem regular_single (g : G) (A : E →L[ℂ] E) :51    regular (MonoidAlgebra.single g A) =52      liftOperator A * MatrixRegularRestriction.leftRegular g := by53  rw [regular, MonoidAlgebra.liftNCRingHom_single]54  rfl5556omit [DecidableEq G] [CompleteSpace E] in57@[simp] theorem regular_single_one (A : E →L[ℂ] E) :58    regular (MonoidAlgebra.single (1 : G) A) = liftOperator A := by59  rw [regular, MonoidAlgebra.liftNCRingHom_single, map_one, mul_one]60  rfl6162omit [DecidableEq G] [CompleteSpace E] in63theorem regular_eq_sum (f : Polynomial G E) :64    regular f = ∑ g ∈ f.support, liftOperator (f g) * MatrixRegularRestriction.leftRegular g := by65  conv_lhs => rw [← MonoidAlgebra.sum_single f]66  change regular (∑ g ∈ f.support, MonoidAlgebra.single g (f g)) = _67  simp only [map_sum, regular_single]6869omit [DecidableEq G] [CompleteSpace E] in70@[simp] theorem regular_apply (f : Polynomial G E) (x : H G E) (h : G) :71    regular f x h = ∑ g ∈ f.support, f g (x (g⁻¹ * h)) := by72  rw [regular_eq_sum]73  simp only [ContinuousLinearMap.sum_apply, lp.coeFn_sum, Finset.sum_apply]74  rfl7576/-- Vacuum coefficients are the literal operator coefficients of the finite sum. -/77theorem regular_vacuum (f : Polynomial G E) (x : E) (g : G) :78    regular f (vacuum x) g = f g x := by79  rw [regular_apply]80  have he (a : G) : a⁻¹ * g = 1 ↔ g = a := by81    rw [inv_mul_eq_one]82    exact eq_comm83  simp only [vacuum_apply, lp.single_apply, Pi.single_apply, he]84  by_cases hg : g ∈ f.support85  · simpa only [apply_ite, map_zero] using86      Finset.sum_ite_eq_of_mem f.support g (fun a => f a x) hg87  · have hz : f g = 0 := Finsupp.notMem_support_iff.mp hg88    simp only [apply_ite, map_zero, hz, ContinuousLinearMap.zero_apply]89    apply Finset.sum_eq_zero90    intro a ha91    have hga : g ≠ a := by intro heq; exact hg (heq.symm ▸ ha)92    simp [hga]9394theorem coefficient_regular (f : Polynomial G E) : coefficient (regular f) = f 1 := by95  ext x96  exact regular_vacuum f x 19798/-- Algebraic and operator non-returning recurrences agree exactly. -/99theorem regular_killed (A T : Polynomial G E) (n : ℕ) :100    regular (killedPolynomial A T n) = killed (regular A) (regular T) n := by101  induction n with102  | zero => rfl103  | succ n ih =>104      rw [killedPolynomial, map_sub, regular_single_one, ← coefficient_regular, map_mul, ih]105      rfl106107/-- Full non-returning operators incur only the stated linear length factor. -/108theorem killed_norm (A T : Polynomial G E) (n : ℕ) :109    ‖regular (killedPolynomial A T n)‖ ≤110      (n + 1 : ℕ) * ‖regular A‖ ^ n * ‖regular T‖ := by111  rw [regular_killed]112  exact killed_norm_le _ _ _113114/-- Non-returning columns have no length loss, in arbitrary coefficient dimension. -/115theorem killed_energy (A T : Polynomial G E) (n : ℕ) (s : Finset G) (x : E) :116    ∑ g ∈ s, ‖killedPolynomial A T n g x‖ ^ 2 ≤117      (‖regular A‖ ^ n * ‖regular T‖) ^ 2 * ‖x‖ ^ 2 := by118  have h := killed_coefficient_energy_le (regular A) (regular T) n s x119  simpa only [← regular_killed, regular_vacuum] using h120121/-- Every coefficient is a compression of the regular polynomial. -/122theorem coefficient_norm_le (f : Polynomial G E) (g : G) : ‖f g‖ ≤ ‖regular f‖ := by123  apply ContinuousLinearMap.opNorm_le_bound _ (norm_nonneg _)124  intro x125  rw [← regular_vacuum f x g]126  calc127    _ ≤ ‖regular f (vacuum x)‖ := lp.norm_apply_le_norm (by norm_num) _ _128    _ ≤ ‖regular f‖ * ‖vacuum (G := G) x‖ := (regular f).le_opNorm _129    _ = _ := by rw [vacuum_apply, lp.norm_single (by norm_num)]130131omit [DecidableEq G] in132/-- Evaluation at a single regular word is contractive in its coefficient. -/133theorem single_norm_le (g : G) (B : E →L[ℂ] E) :134    ‖regular (MonoidAlgebra.single g B)‖ ≤ ‖B‖ := by135  rw [regular_single]136  calc137    _ ≤ ‖liftOperator (G := G) B‖ * ‖MatrixRegularRestriction.leftRegular g‖ :=138      ContinuousLinearMap.opNorm_comp_le _ _139    _ ≤ ‖B‖ * 1 := mul_le_mul (lift_norm_le B)140      (LinearIsometry.norm_toContinuousLinearMap_le _) (norm_nonneg _) (norm_nonneg _)141    _ = _ := mul_one _142143/-- The distinguished-first-step non-returning polynomial used in BC 3.2. -/144def firstStep (A : Polynomial G E) (a : G) (n : ℕ) : Polynomial G E :=145  killedPolynomial A (MonoidAlgebra.single a (A a)) n146147/-- The first-step non-returning factor of total length `n+1` has exactly148that linear length loss, uniformly in the coefficient Hilbert space. -/149theorem firstStep_norm_le (A : Polynomial G E) (a : G) (n : ℕ) :150    ‖regular (firstStep A a n)‖ ≤ (n + 1 : ℕ) * ‖regular A‖ ^ (n + 1) := by151  have hs := (single_norm_le a (A a)).trans (coefficient_norm_le A a)152  calc153    _ ≤ (n + 1 : ℕ) * ‖regular A‖ ^ n *154        ‖regular (MonoidAlgebra.single a (A a))‖ := killed_norm _ _ _155    _ ≤ (n + 1 : ℕ) * ‖regular A‖ ^ n * ‖regular A‖ :=156      mul_le_mul_of_nonneg_left hs (by positivity)157    _ = _ := by rw [pow_succ]; ring158159/-- The vacuum-column energy of a distinguished-first-step factor has no160linear length loss. -/161theorem firstStep_energy_le (A : Polynomial G E) (a : G) (n : ℕ)162    (s : Finset G) (x : E) :163    ∑ g ∈ s, ‖firstStep A a n g x‖ ^ 2 ≤ ‖regular A‖ ^ (2 * (n + 1)) * ‖x‖ ^ 2 := by164  have hs := (single_norm_le a (A a)).trans (coefficient_norm_le A a)165  calc166    _ ≤ (‖regular A‖ ^ n * ‖regular (MonoidAlgebra.single a (A a))‖) ^ 2 * ‖x‖ ^ 2 :=167      killed_energy _ _ _ _ _168    _ ≤ (‖regular A‖ ^ n * ‖regular A‖) ^ 2 * ‖x‖ ^ 2 :=169      mul_le_mul_of_nonneg_right170        (pow_le_pow_left₀ (by positivity) (mul_le_mul_of_nonneg_left hs (by positivity)) 2)171        (sq_nonneg _)172    _ = _ := by rw [← pow_succ, ← pow_mul, Nat.mul_comm (n + 1) 2]173174/-- Individual non-returning first-step coefficients have the sharp power bound. -/175theorem firstStep_coefficient_norm_le (A : Polynomial G E) (a : G) (n : ℕ) (g : G) :176    ‖firstStep A a n g‖ ≤ ‖regular A‖ ^ (n + 1) := by177  apply ContinuousLinearMap.opNorm_le_bound _ (by positivity)178  intro x179  apply (sq_le_sq₀ (norm_nonneg _) (by positivity)).mp180  have h := firstStep_energy_le A a n {g} x181  simpa only [Finset.sum_singleton, mul_pow, ← pow_mul, Nat.mul_comm] using h182183end Nonadditivity.HaarOperatorPolynomial