Holevo Additivity Gap in Lean 4

Lean explorer

Exact Lean source

Nonadditivity.HaarNonbacktrackingRenewal

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

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

23 declarations

Full module

1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.HaarNonbacktracking7import Nonadditivity.HaarWordExpansion89/-! # Exact finite return-time sums and matrix-word non-returning pieces -/1011noncomputable section12set_option backward.isDefEq.respectTransparency false1314namespace Nonadditivity.HaarNonbacktracking1516open scoped BigOperators ENNReal Matrix Matrix.Norms.L2Operator17open HaarWordExpansion RegularCoefficientEnergy1819section Operator20variable {E G : Type*} [NormedAddCommGroup E] [InnerProductSpace ℂ E] [CompleteSpace E]21variable [Group G] [DecidableEq G]2223theorem killed_vacuum_eq (A T : H G E →L[ℂ] H G E) (n : ℕ) (x : E) :24    killed A T n (vacuum x) =25      (((CollinsYounTensor.mask (E := E) (fun g : G => g ≠ 1) * A) ^ n :26        H G E →L[ℂ] H G E)) (T (vacuum x)) := by27  induction n with28  | zero => rfl29  | succ n ih =>30      rw [killed, kill_vacuum, ContinuousLinearMap.mul_apply, ih, pow_succ']31      rfl3233omit [CompleteSpace E] in34/-- Exact expansion by the time of the first return to the removed vertex. -/35theorem firstReturnSum_eq_sum (A T : H G E →L[ℂ] H G E) (n : ℕ) :36    firstReturnSum A T n = ∑ j ∈ Finset.range n,37      A ^ (n - 1 - j) * liftOperator (returnCoefficient A T j) := by38  induction n with39  | zero => simp [firstReturnSum]40  | succ n ih =>41      rw [firstReturnSum, ih, Finset.mul_sum, Finset.sum_range_succ]42      simp only [Nat.add_sub_cancel, Nat.sub_self, pow_zero, one_mul]43      congr 144      apply Finset.sum_congr rfl45      intro j hj46      have hj' : j < n := Finset.mem_range.mp hj47      have he : n - j = (n - 1 - j) + 1 := by omega48      rw [he, pow_succ', mul_assoc]4950omit [CompleteSpace E] in51/-- A finite first-return identity for actual powers of the operator. -/52theorem first_return_sum_decomposition (A T : H G E →L[ℂ] H G E) (n : ℕ) :53    A ^ n * T = killed A T n + ∑ j ∈ Finset.range n,54      A ^ (n - 1 - j) * liftOperator (returnCoefficient A T j) := by55  rw [first_return_decomposition, firstReturnSum_eq_sum]5657/-- Every finite subset of coefficient coordinates has the sharp column energy. -/58theorem killed_coefficient_energy_le (A T : H G E →L[ℂ] H G E) (n : ℕ)59    (s : Finset G) (x : E) :60    ∑ g ∈ s, ‖killed A T n (vacuum x) g‖ ^ 2 ≤61      (‖A‖ ^ n * ‖T‖) ^ 2 * ‖x‖ ^ 2 := by62  calc63    _ ≤ ‖killed A T n (vacuum x)‖ ^ 2 := by64      simpa using lp.sum_rpow_le_norm_rpow (by norm_num)65        (killed A T n (vacuum x)) s66    _ ≤ _ := by67      simpa only [mul_pow] using68        pow_le_pow_left₀ (norm_nonneg _) (killed_vacuum_norm_le A T n x) 26970end Operator7172section Polynomial7374variable {G ι : Type*} [Group G] [DecidableEq G] [Fintype ι] [DecidableEq ι]7576/-- The actual finite matrix-coefficient non-returning polynomial recurrence. -/77def killedPolynomial {R : Type*} [Ring R] (A T : MonoidAlgebra R G) : ℕ → MonoidAlgebra R G78  | 0 => T79  | n + 1 => A * killedPolynomial A T n -80      MonoidAlgebra.single 1 ((A * killedPolynomial A T n) 1)8182theorem regularEval_single_one (B : Matrix ι ι ℂ) :83    regularEval (G := G) (MonoidAlgebra.single 1 B) = liftOperator (coefficientOperator B) := by84  rw [regularEval_single]85  ext x g i86  simp [RegularFactorization.term, RegularFactorization.rectLift_apply,87    RegularCoefficientEnergy.coefficientOperator]8889theorem coefficient_regularEval (f : MatrixPolynomial G ι) :90    coefficient (regularEval f) = coefficientOperator (f 1) := by91  apply ContinuousLinearMap.ext92  intro x93  exact regularEval_vacuum f x9495/-- Finite word coefficients agree exactly with the killed-operator recurrence. -/96theorem regularEval_killedPolynomial (A T : MatrixPolynomial G ι) (n : ℕ) :97    regularEval (killedPolynomial A T n) = killed (regularEval A) (regularEval T) n := by98  induction n with99  | zero => rfl100  | succ n ih =>101      rw [killedPolynomial, map_sub, regularEval_single_one, ← coefficient_regularEval,102        map_mul, ih]103      rfl104105/-- The literal non-returning matrix polynomial has the linear norm loss. -/106theorem killedPolynomial_norm_le (A T : MatrixPolynomial G ι) (n : ℕ) :107    ‖regularEval (killedPolynomial A T n)‖ ≤108      (n + 1 : ℕ) * ‖regularEval A‖ ^ n * ‖regularEval T‖ := by109  rw [regularEval_killedPolynomial]110  exact killed_norm_le _ _ _111112theorem regularEval_vacuum_at (f : MatrixPolynomial G ι) (x : CoefficientSpace ι) (g : G) :113    regularEval f (vacuum x) g = coefficientOperator (f g) x := by114  rw [regularEval_eq_regularPolynomial, vacuum_apply, regularPolynomial_single_one]115  simp only [lp.coeFn_sum, Finset.sum_apply, lp.single_apply, Pi.single_apply]116  by_cases h : g ∈ f.support117  · simp [h]118  · simp [h, Finsupp.notMem_support_iff.mp h, coefficientOperator]119120/-- The whole family of literal non-returning coefficients has sharp energy,121without the linear loss in the full polynomial norm. -/122theorem killedPolynomial_coefficient_energy_le (A T : MatrixPolynomial G ι) (n : ℕ)123    (s : Finset G) (x : CoefficientSpace ι) :124    ∑ g ∈ s, ‖coefficientOperator (killedPolynomial A T n g) x‖ ^ 2 ≤125      (‖regularEval A‖ ^ n * ‖regularEval T‖) ^ 2 * ‖x‖ ^ 2 := by126  have h := killed_coefficient_energy_le (regularEval A) (regularEval T) n s x127  simpa only [← regularEval_killedPolynomial, regularEval_vacuum_at] using h128129omit [DecidableEq G] in130@[simp] theorem killedPolynomial_succ_one (A T : MatrixPolynomial G ι) (n : ℕ) :131    killedPolynomial A T (n + 1) 1 = 0 := by132  change (A * killedPolynomial A T n) 1 -133    (MonoidAlgebra.single 1 ((A * killedPolynomial A T n) 1)) 1 = 0134  simp135136end Polynomial137138end Nonadditivity.HaarNonbacktracking