Holevo Additivity Gap in Lean 4

Lean explorer

Exact Lean source

Nonadditivity.HaarBranchCoefficients

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

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

12 declarations

Full module

1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.HaarStationaryCoefficients78/-! # First-letter branches and their actual coefficient bounds910The initial operator is one literal coefficient and its regular shift. Thus11its norm budget is derived from the original operator, not supplied as an12extra estimate. All results allow arbitrary complete Hilbert coefficients.13-/14noncomputable section15set_option backward.isDefEq.respectTransparency false16namespace Nonadditivity.HaarNonbacktracking17open scoped BigOperators ENNReal InnerProduct18open RegularCoefficientEnergy NoncommutativeCS19variable {G E J : Type*} [Group G] [DecidableEq G]20variable [NormedAddCommGroup E] [InnerProductSpace ℂ E] [CompleteSpace E]21variable [Fintype J]2223omit [CompleteSpace E] in24theorem wordCoefficient_regularPolynomial (w : J → G) (hw : Function.Injective w)25    (a : J → E →L[ℂ] E) (j : J) :26    wordCoefficient (MatrixRegularRestriction.coefficientPolynomial w a) (w j) = a j := by27  classical28  ext x29  simp only [wordCoefficient_apply, MatrixRegularRestriction.coefficientPolynomial_apply,30    vacuum_apply, lp.single_apply, Pi.single_apply, inv_mul_eq_one, hw.eq_iff]31  simp only [apply_ite, map_zero]32  simp3334/-- The first-letter term of a stationary operator. -/35def firstLetter (A : H G E →L[ℂ] H G E) (g : G) : H G E →L[ℂ] H G E :=36  liftOperator (wordCoefficient A g) ∘L MatrixRegularRestriction.leftRegular g3738theorem firstLetter_norm_le (A : H G E →L[ℂ] H G E) (g : G) :39    ‖firstLetter A g‖ ≤ ‖A‖ := by40  have hc : ‖wordCoefficient A g‖ ≤ ‖A‖ := by41    simpa only [killed, pow_zero, one_mul] using killed_wordCoefficient_norm_le A A 0 g42  have hs : ‖MatrixRegularRestriction.leftRegular (E := E) g‖ ≤ 1 :=43    LinearIsometry.norm_toContinuousLinearMap_le _44  calc45    _ ≤ ‖liftOperator (G := G) (wordCoefficient A g)‖ *46        ‖MatrixRegularRestriction.leftRegular (E := E) g‖ := ContinuousLinearMap.opNorm_comp_le _ _47    _ ≤ ‖A‖ * 1 := mul_le_mul ((lift_norm_le _).trans hc) hs (norm_nonneg _) (norm_nonneg _)48    _ = _ := mul_one _4950omit [CompleteSpace E] in51theorem stationary_firstLetter (A : H G E →L[ℂ] H G E) (g : G) :52    IsStationary (firstLetter A g) := by53  have hs : IsStationary (MatrixRegularRestriction.leftRegular (E := E) g) := by54    intro h55    ext x z56    simp only [ContinuousLinearMap.comp_apply, MatrixRegularRestriction.leftRegular_apply,57      rightShift_apply, mul_assoc]58  exact (stationary_lift _).mul hs5960/-- The non-returning branch of total time `r+1`, starting with letter `g`. -/61def branch (A : H G E →L[ℂ] H G E) (g : G) (r : ℕ) :=62  killed A (firstLetter A g) r6364theorem branch_word_norm_le (A : H G E →L[ℂ] H G E) (g : G) (r : ℕ) (v : G) :65    ‖wordCoefficient (branch A g r) v‖ ≤ ‖A‖^(r+1) := by66  apply (killed_wordCoefficient_norm_le A (firstLetter A g) r v).trans67  simpa only [pow_succ] using68    mul_le_mul_of_nonneg_left (firstLetter_norm_le A g) (pow_nonneg (norm_nonneg A) r)6970theorem branch_column_norm_le (A : H G E →L[ℂ] H G E) (g : G) (r : ℕ)71    (w : J → G) (hw : Function.Injective w) :72    ‖column (fun j => wordCoefficient (branch A g r) (w j))‖ ≤ ‖A‖^(r+1) := by73  apply (killed_coefficient_column_norm_le A (firstLetter A g) r w hw).trans74  simpa only [pow_succ] using75    mul_le_mul_of_nonneg_left (firstLetter_norm_le A g) (pow_nonneg (norm_nonneg A) r)7677theorem branch_row_norm_le {A : H G E →L[ℂ] H G E} (hA : IsStationary A)78    (g : G) (r : ℕ) (w : J → G) (hw : Function.Injective w) :79    ‖row (fun j => wordCoefficient (branch A g r) (w j))‖ ≤80      (r+1:ℕ) * ‖A‖^(r+1) := by81  apply (killed_coefficient_row_norm_le hA (stationary_firstLetter A g) r w hw).trans82  have h := mul_le_mul_of_nonneg_left (firstLetter_norm_le A g)83    (by positivity : 0 ≤ (r+1:ℕ) * ‖A‖^r)84  simpa only [pow_succ, mul_assoc] using h8586/-- A chain visited only once incurs exactly a square root of its number of87allowed words; no coefficient-space dimension enters the bound. -/88theorem branch_singleton_norm_le (A : H G E →L[ℂ] H G E) (g : G) (r : ℕ)89    (w : J → G) (hw : Function.Injective w) :90    ‖∑ j, wordCoefficient (branch A g r) (w j)‖ ≤91      Real.sqrt (Fintype.card J : ℝ) * ‖A‖^(r+1) := by92  have hb := HaarCoefficientBounds.singleton_sum_norm_le93    (fun j => wordCoefficient (branch A g r) (w j))94  rw [← HaarCoefficientBounds.column_norm_sq, Real.sqrt_sq (norm_nonneg (column (fun j => wordCoefficient (branch A g r) (w j))))] at hb95  exact hb.trans (mul_le_mul_of_nonneg_left (branch_column_norm_le A g r w hw)96    (Real.sqrt_nonneg _))9798end Nonadditivity.HaarNonbacktracking