Holevo Additivity Gap in Lean 4

Lean explorer

Exact Lean source

Nonadditivity.HaarOperatorCoefficient

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

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

10 declarations

Full module

1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.HaarOperatorPolynomial78/-! # Sharp row and column factors for actual operator-word coefficients910Restricting to any finite injective family of group words costs no coefficient11space dimension. Applied to first-step non-returning polynomials, these are12the marked endpoint factors in the high-moment path argument.13-/1415noncomputable section16set_option backward.isDefEq.respectTransparency false1718namespace Nonadditivity.HaarOperatorPolynomial1920open scoped BigOperators ENNReal InnerProduct21open HaarNonbacktracking RegularCoefficientEnergy NoncommutativeCS2223variable {G E I : Type*} [Group G] [DecidableEq G]24variable [NormedAddCommGroup E] [InnerProductSpace ℂ E] [CompleteSpace E]25variable [Fintype I]2627omit [DecidableEq G] [CompleteSpace E] in28/-- The regular evaluation is the literal finite-support coefficient polynomial. -/29theorem regular_eq_supportPolynomial (f : Polynomial G E) :30    regular f = MatrixRegularRestriction.coefficientPolynomial31      (fun g : f.support => (g : G)) (fun g => f g) := by32  rw [regular_eq_sum, MatrixRegularRestriction.coefficientPolynomial]33  exact (Finset.sum_attach f.support34    (fun g => liftOperator (f g) * MatrixRegularRestriction.leftRegular g)).symm3536/-- The adjoint vacuum coefficient is the adjoint of the inverse-word coefficient. -/37theorem regular_adjoint_vacuum (f : Polynomial G E) (x : E) (g : G) :38    (regular f).adjoint (vacuum x) g = (f g⁻¹).adjoint x := by39  rw [regular_eq_supportPolynomial, vacuum_apply,40    HaarCoefficientBounds.polynomial_adjoint_single]41  simp only [lp.coeFn_sum, Finset.sum_apply, lp.single_apply, Pi.single_apply]42  rw [show (∑ a : f.support, if g = (a : G)⁻¹ then (f a).adjoint x else 0) =43      ∑ a ∈ f.support, if g = a⁻¹ then (f a).adjoint x else 0 from44    Finset.sum_coe_sort f.support (fun a : G => if g = a⁻¹ then (f a).adjoint x else 0)]45  have he (a : G) : g = a⁻¹ ↔ g⁻¹ = a := by46    constructor47    · intro h; rw [h, inv_inv]48    · intro h; rw [← h, inv_inv]49  simp only [he]50  by_cases hg : g⁻¹ ∈ f.support51  · exact Finset.sum_ite_eq_of_mem _ _ _ hg52  · have hz : f g⁻¹ = 0 := Finsupp.notMem_support_iff.mp hg53    rw [hz, map_zero, ContinuousLinearMap.zero_apply]54    apply Finset.sum_eq_zero55    intro a ha56    have hne : g⁻¹ ≠ a := by intro h; exact hg (h.symm ▸ ha)57    simp [hne]5859/-- Arbitrary finite coefficient columns are bounded by the genuine regular norm. -/60theorem coefficient_energy_le (f : Polynomial G E) (w : I → G)61    (hw : Function.Injective w) (x : E) :62    ∑ i, ‖f (w i) x‖ ^ 2 ≤ ‖regular f‖ ^ 2 * ‖x‖ ^ 2 := by63  classical64  have h := lp.sum_rpow_le_norm_rpow (by norm_num)65    (regular f (vacuum x)) (Finset.univ.image w)66  simp only [ENNReal.toReal_ofNat, Real.rpow_two, Finset.sum_image hw.injOn,67    regular_vacuum] at h68  have hnorm := (regular f).le_opNorm (vacuum (G := G) x)69  rw [vacuum_apply, lp.norm_single (by norm_num)] at hnorm70  exact h.trans (by simpa only [mul_pow] using pow_le_pow_left₀ (norm_nonneg _) hnorm 2)7172/-- The same bound holds for coefficient rows, via the actual adjoint evaluation. -/73theorem adjoint_coefficient_energy_le (f : Polynomial G E) (w : I → G)74    (hw : Function.Injective w) (x : E) :75    ∑ i, ‖(f (w i)).adjoint x‖ ^ 2 ≤ ‖regular f‖ ^ 2 * ‖x‖ ^ 2 := by76  classical77  have hinv : Function.Injective (fun i => (w i)⁻¹) := fun i j h => hw (inv_injective h)78  have h := lp.sum_rpow_le_norm_rpow (by norm_num)79    ((regular f).adjoint (vacuum x)) (Finset.univ.image (fun i => (w i)⁻¹))80  simp only [ENNReal.toReal_ofNat, Real.rpow_two, Finset.sum_image hinv.injOn,81    regular_adjoint_vacuum, inv_inv] at h82  have hnorm := (regular f).adjoint.le_opNorm (vacuum (G := G) x)83  rw [vacuum_apply, lp.norm_single (by norm_num), LinearIsometryEquiv.norm_map] at hnorm84  exact h.trans (by simpa only [mul_pow] using pow_le_pow_left₀ (norm_nonneg _) hnorm 2)8586theorem coefficient_column_norm_le (f : Polynomial G E) (w : I → G)87    (hw : Function.Injective w) : ‖column (fun i => f (w i))‖ ≤ ‖regular f‖ := by88  apply ContinuousLinearMap.opNorm_le_bound _ (norm_nonneg _)89  intro x90  apply (sq_le_sq₀ (norm_nonneg _) (by positivity)).mp91  rw [PiLp.norm_sq_eq_of_L2, mul_pow]92  exact coefficient_energy_le f w hw x9394theorem coefficient_row_norm_le (f : Polynomial G E) (w : I → G)95    (hw : Function.Injective w) : ‖row (fun i => f (w i))‖ ≤ ‖regular f‖ := by96  rw [row, LinearIsometryEquiv.norm_map]97  apply ContinuousLinearMap.opNorm_le_bound _ (norm_nonneg _)98  intro x99  apply (sq_le_sq₀ (norm_nonneg _) (by positivity)).mp100  rw [PiLp.norm_sq_eq_of_L2, mul_pow]101  exact adjoint_coefficient_energy_le f w hw x102103theorem coefficient_columnGram_le (f : Polynomial G E) (w : I → G)104    (hw : Function.Injective w) : ‖columnGram (fun i => f (w i))‖ ≤ ‖regular f‖ ^ 2 := by105  rw [← HaarCoefficientBounds.column_norm_sq]106  exact pow_le_pow_left₀ (norm_nonneg (column (fun i => f (w i)))) (coefficient_column_norm_le f w hw) 2107108theorem coefficient_rowGram_le (f : Polynomial G E) (w : I → G)109    (hw : Function.Injective w) : ‖rowGram (fun i => f (w i))‖ ≤ ‖regular f‖ ^ 2 := by110  rw [← HaarCoefficientBounds.row_norm_sq]111  exact pow_le_pow_left₀ (norm_nonneg (row (fun i => f (w i)))) (coefficient_row_norm_le f w hw) 2112113/-- Both marked endpoint Gram factors are bounded by the linear first-step loss. -/114theorem firstStep_endpoint_bounds (A : Polynomial G E) (a : G) (n : ℕ)115    (w : I → G) (hw : Function.Injective w) :116    Real.sqrt ‖columnGram (fun i => firstStep A a n (w i))‖ ≤117        (n + 1 : ℕ) * ‖regular A‖ ^ (n + 1) ∧118    Real.sqrt ‖rowGram (fun i => firstStep A a n (w i))‖ ≤119        (n + 1 : ℕ) * ‖regular A‖ ^ (n + 1) := by120  constructor121  · exact (Real.sqrt_le_sqrt (coefficient_columnGram_le (firstStep A a n) w hw)).trans122      (by rw [Real.sqrt_sq (norm_nonneg _)]; exact firstStep_norm_le _ _ _)123  · exact (Real.sqrt_le_sqrt (coefficient_rowGram_le (firstStep A a n) w hw)).trans124      (by rw [Real.sqrt_sq (norm_nonneg _)]; exact firstStep_norm_le _ _ _)125126/-- A singly occurring profile family costs only the square root of its size. -/127theorem firstStep_singleton_bound (A : Polynomial G E) (a : G) (n : ℕ)128    (w : I → G) (hw : Function.Injective w) :129    ‖∑ i, firstStep A a n (w i)‖ ≤ Real.sqrt (Fintype.card I : ℝ) *130      ((n + 1 : ℕ) * ‖regular A‖ ^ (n + 1)) := by131  exact (HaarCoefficientBounds.singleton_sum_norm_le _).trans132    (mul_le_mul_of_nonneg_left (firstStep_endpoint_bounds A a n w hw).1 (Real.sqrt_nonneg _))133134end Nonadditivity.HaarOperatorPolynomial