Holevo Additivity Gap in Lean 4

Lean explorer

Exact Lean source

Nonadditivity.HaarProfileBlockCoefficients

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

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

19 declarations

Full module

1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.HaarProfileOrientation7import Nonadditivity.HaarProfilePadding89/-! # Actual ordinary and non-returning whole-block profile coefficients1011Every norm estimate in this file is proved for the actual operator polynomial.12The ordinary/non-returning switch accommodates the initial block of the13last-return expansion. Zero padding preserves the sharp endpoint factors.14-/1516noncomputable section17set_option backward.isDefEq.respectTransparency false18set_option linter.unusedSectionVars false19namespace Nonadditivity.HaarProfileBlockCoefficients20open scoped BigOperators21open HaarOperatorPolynomial HaarNonbacktracking HaarProfileCoefficient22  HaarProfilePadding HaarPathProfiles NoncommutativeCS2324variable {G E : Type*} [Group G] [DecidableEq G]25variable [NormedAddCommGroup E] [InnerProductSpace ℂ E] [CompleteSpace E]2627/-- A single coefficient of a killed-return polynomial has no length loss. -/28theorem killed_coefficient_norm_le (A : Polynomial G E) (n : ℕ) (g : G) :29    ‖killedPolynomial A 1 n g‖ ≤ ‖regular A‖ ^ n := by30  have hone : ‖regular (1 : Polynomial G E)‖ ≤ 1 := by31    rw [map_one]32    exact ContinuousLinearMap.norm_id_le33  apply ContinuousLinearMap.opNorm_le_bound _ (by positivity)34  intro x35  apply (sq_le_sq₀ (norm_nonneg _) (by positivity)).mp36  have h := killed_energy A 1 n {g} x37  simp only [Finset.sum_singleton] at h38  rw [mul_pow]39  apply h.trans40  gcongr41  simpa only [mul_one] using mul_le_mul_of_nonneg_left hone (pow_nonneg (norm_nonneg _) n)4243def blockPolynomial (A : Polynomial G E) (ordinary : Bool) (n : ℕ) : Polynomial G E :=44  if ordinary then A ^ n else killedPolynomial A 1 n4546theorem block_coefficient_norm_le (A : Polynomial G E) (ordinary : Bool)47    {n : ℕ} (hn : 1 ≤ n) (g : G) :48    ‖blockPolynomial A ordinary n g‖ ≤ ‖regular A‖ ^ n := by49  cases ordinary50  · exact killed_coefficient_norm_le A n g51  · exact (coefficient_norm_le (A ^ n) g).trans (by52      rw [map_pow]53      exact norm_pow_le' _ (by omega))5455variable {d k m : ℕ}5657def family (A : Polynomial (FreeGroup (Fin d)) E) (ordinary : Bool) (n : ℕ)58    (forward : Bool) (p : Profile (Color d)) (w : Words d k p) : E →L[ℂ] E :=59  blockPolynomial A ordinary n (orientedWord forward w)6061theorem family_endpoint_bounds (A : Polynomial (FreeGroup (Fin d)) E)62    (hA : ∀ a ∈ A.support, a.toWord.length ≤ 1) (ordinary : Bool)63    {n : ℕ} (hn : 1 ≤ n) (forward : Bool) (p : Profile (Color d)) :64    Real.sqrt ‖columnGram (family (k := k) A ordinary n forward p)‖ ≤65      (n : ℝ) * ‖regular A‖ ^ n ∧66    Real.sqrt ‖rowGram (family (k := k) A ordinary n forward p)‖ ≤67      (n : ℝ) * ‖regular A‖ ^ n := by68  cases ordinary69  · have he : family (k := k) A false n forward p =70        orientedCoefficients A (n - 1) forward p := by71      funext w72      simp only [family, blockPolynomial, Bool.false_eq_true, if_false,73        orientedCoefficients, Nat.sub_add_cancel hn]74    rw [he]75    simpa only [Nat.sub_add_cancel hn] using oriented_endpoint_bounds (k := k) A hA76      (n - 1) forward p77  · have hnorm : ‖regular (A ^ n)‖ ≤ ‖regular A‖ ^ n := by78      rw [map_pow]79      exact norm_pow_le' _ (by omega)80    have hmul : ‖regular A‖ ^ n ≤ (n : ℝ) * ‖regular A‖ ^ n := by81      have hn' : (1 : ℝ) ≤ n := by exact_mod_cast hn82      simpa using mul_le_mul_of_nonneg_right hn' (pow_nonneg (norm_nonneg _) n)83    constructor84    · exact (Real.sqrt_le_sqrt (coefficient_columnGram_le (A ^ n)85        (orientedWord forward) (orientedWord_injective forward))).trans (by86        rw [Real.sqrt_sq (norm_nonneg _)]87        exact hnorm.trans hmul)88    · exact (Real.sqrt_le_sqrt (coefficient_rowGram_le (A ^ n)89        (orientedWord forward) (orientedWord_injective forward))).trans (by90        rw [Real.sqrt_sq (norm_nonneg _)]91        exact hnorm.trans hmul)9293theorem family_singleton_bound (A : Polynomial (FreeGroup (Fin d)) E)94    (hA : ∀ a ∈ A.support, a.toWord.length ≤ 1) (ordinary : Bool)95    {n : ℕ} (hn : 1 ≤ n) (forward : Bool) (p : Profile (Color d)) :96    ‖∑ w : Words d k p, family A ordinary n forward p w‖ ≤97      Real.sqrt (((2 * d) ^ k : ℕ) : ℝ) * ((n : ℝ) * ‖regular A‖ ^ n) := by98  have hc : (Fintype.card (Words d k p) : ℝ) ≤ (((2 * d) ^ k : ℕ) : ℝ) := by99    exact_mod_cast card_words_le d k p100  exact (HaarCoefficientBounds.singleton_sum_norm_le _).trans101    (mul_le_mul (Real.sqrt_le_sqrt hc)102      (family_endpoint_bounds (k := k) A hA ordinary hn forward p).1103      (Real.sqrt_nonneg _) (Real.sqrt_nonneg _))104105def paddedFamily (A : Polynomial (FreeGroup (Fin d)) E) (ordinary : Bool) (n : ℕ)106    (forward : Bool) (p : Profile (Color d)) (hk : k ≤ m) : Palette d m → E →L[ℂ] E :=107  Function.extend (embedWords hk) (family A ordinary n forward p) 0108109theorem padded_endpoint_bounds (A : Polynomial (FreeGroup (Fin d)) E)110    (hA : ∀ a ∈ A.support, a.toWord.length ≤ 1) (ordinary : Bool)111    {n : ℕ} (hn : 1 ≤ n) (forward : Bool) (p : Profile (Color d)) (hk : k ≤ m) :112    Real.sqrt ‖columnGram (paddedFamily A ordinary n forward p hk)‖ ≤113      (n : ℝ) * ‖regular A‖ ^ n ∧114    Real.sqrt ‖rowGram (paddedFamily A ordinary n forward p hk)‖ ≤115      (n : ℝ) * ‖regular A‖ ^ n := by116  unfold paddedFamily117  rw [columnGram_extend_zero _ (embedWords_injective hk),118    rowGram_extend_zero _ (embedWords_injective hk)]119  exact family_endpoint_bounds A hA ordinary hn forward p120121theorem padded_singleton_bound (A : Polynomial (FreeGroup (Fin d)) E)122    (hA : ∀ a ∈ A.support, a.toWord.length ≤ 1) (ordinary : Bool)123    {n : ℕ} (hn : 1 ≤ n) (forward : Bool) (p : Profile (Color d)) (hk : k ≤ m) :124    ‖∑ j : Palette d m, paddedFamily A ordinary n forward p hk j‖ ≤125      Real.sqrt (((2 * d) ^ k : ℕ) : ℝ) * ((n : ℝ) * ‖regular A‖ ^ n) := by126  rw [paddedFamily, sum_extend_zero _ (embedWords_injective hk)]127  exact family_singleton_bound A hA ordinary hn forward p128129theorem padded_norm_le (A : Polynomial (FreeGroup (Fin d)) E) (ordinary : Bool)130    {n : ℕ} (hn : 1 ≤ n) (forward : Bool) (p : Profile (Color d)) (hk : k ≤ m)131    (j : Palette d m) :132    ‖paddedFamily A ordinary n forward p hk j‖ ≤ ‖regular A‖ ^ n := by133  exact norm_extend_zero_le _ (embedWords_injective hk) _ _ (by positivity)134    (fun w => block_coefficient_norm_le A ordinary hn (orientedWord forward w)) j135136end Nonadditivity.HaarProfileBlockCoefficients