Exact Lean source
Nonadditivity.HaarProfileCoefficient
Download original .lean · View on GitHub · Jump to source
Direct imports
Imported by project modules
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
17 project constants, including generated, internal and private declarations.
17 declarations
Nonadditivity.HaarProfileCoefficient.WordsNonadditivity.HaarProfileCoefficient.card_words_leNonadditivity.HaarProfileCoefficient.last_wordNonadditivity.HaarProfileCoefficient.ordinaryCoefficientsNonadditivity.HaarProfileCoefficient.ordinary_coefficient_norm_leNonadditivity.HaarProfileCoefficient.ordinary_endpoint_boundsNonadditivity.HaarProfileCoefficient.returningCoefficientsNonadditivity.HaarProfileCoefficient.returningCoefficients._proof_1internal/detail/privateNonadditivity.HaarProfileCoefficient.returningCoefficients_eq_firstStepNonadditivity.HaarProfileCoefficient.returning_coefficient_norm_leNonadditivity.HaarProfileCoefficient.returning_endpoint_boundsNonadditivity.HaarProfileCoefficient.returning_singleton_boundNonadditivity.HaarProfileCoefficient.wordNonadditivity.HaarProfileCoefficient.word_injectiveNonadditivity.HaarProfileCoefficient.word_ne_oneNonadditivity.HaarProfileCoefficient.word_toWordNonadditivity.HaarProfileCoefficient.wordsFintype
Full module
1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.HaarOperatorCoefficient7import Nonadditivity.HaarNonbacktrackingFirstStep8import Nonadditivity.HaarPathProfiles910/-! # Actual reduced profile families and their coefficient factors1112A profile family consists of finite reduced words with prescribed endpoints13and letter counts. Its map into the free group is proved injective, and the14row, column, individual, and singleton factors are bounded for the literal15ordinary or non-returning coefficients. No norm hypothesis on a profile family16is introduced.17-/1819noncomputable section20set_option backward.isDefEq.respectTransparency false2122namespace Nonadditivity.HaarProfileCoefficient2324open scoped BigOperators25open HaarPathProfiles HaarNonbacktracking HaarOperatorPolynomial NoncommutativeCS2627/-- Words of exactly `k` letters with the indicated literal reduced-word profile. -/28def Words (d k : ℕ) (p : Profile (Color d)) :=29{w : Fin k → Color d // FreeGroup.IsReduced (List.ofFn w) ∧30(List.ofFn w).head? = some p.first ∧ (List.ofFn w).getLast? = some p.last ∧31∀ a, (List.ofFn w).count a = p.count a}3233instance wordsFintype (d k : ℕ) (p : Profile (Color d)) : Fintype (Words d k p) :=34by35classical36unfold Words37infer_instance3839def word {d k : ℕ} {p : Profile (Color d)} (w : Words d k p) : FreeGroup (Fin d) :=40FreeGroup.mk (List.ofFn w.val)4142@[simp] theorem word_toWord {d k : ℕ} {p : Profile (Color d)} (w : Words d k p) :43(word w).toWord = List.ofFn w.val := by44exact FreeGroup.toWord_mk.trans (FreeGroup.isReduced_iff_reduce_eq.mp w.property.1)4546theorem word_injective {d k : ℕ} {p : Profile (Color d)} :47Function.Injective (word (d := d) (k := k) (p := p)) := by48intro v w h49apply Subtype.ext50apply List.ofFn_injective51simpa only [word_toWord] using congrArg FreeGroup.toWord h5253theorem last_word {d k : ℕ} {p : Profile (Color d)} (w : Words d k p) :54(word w).toWord.getLast? = some p.last := by55rw [word_toWord]56exact w.property.2.2.15758theorem word_ne_one {d k : ℕ} {p : Profile (Color d)} (w : Words d k p) :59word w ≠ 1 := by60intro h61have hh := last_word w62rw [h] at hh63simp at hh6465/-- A profile family has at most all words of its fixed length. -/66theorem card_words_le (d k : ℕ) (p : Profile (Color d)) :67Fintype.card (Words d k p) ≤ (2 * d) ^ k := by68have h := Fintype.card_le_of_injective (fun w : Words d k p => w.val)69Subtype.val_injective70simpa only [Fintype.card_fun, Fintype.card_fin, Fintype.card_prod,71Fintype.card_bool, Nat.mul_comm d 2] using h7273variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℂ E] [CompleteSpace E]74variable {d k : ℕ} (A : Polynomial (FreeGroup (Fin d)) E)75variable (hA : ∀ a ∈ A.support, a.toWord.length ≤ 1)76variable (n : ℕ) (p : Profile (Color d))7778/-- The coefficient family after a cut is the actual killed-return polynomial. -/79def returningCoefficients (w : Words d k p) : E →L[ℂ] E :=80killedPolynomial A 1 (n + 1) (word w)8182include hA8384/-- Every word with the same profile has the same distinguished first step. -/85theorem returningCoefficients_eq_firstStep (w : Words d k p) :86returningCoefficients A n p w = firstStep A (FreeCreation.letter p.last) n (word w) := by87exact killedPolynomial_first_step A hA p.last (word w) (last_word w) n8889/-- Interior blocks have the sharp power bound and incur no factor `n+1`. -/90theorem returning_coefficient_norm_le (w : Words d k p) :91‖returningCoefficients A n p w‖ ≤ ‖regular A‖ ^ (n + 1) := by92rw [returningCoefficients_eq_firstStep A hA]93exact firstStep_coefficient_norm_le _ _ _ _9495/-- First/last visits of a repeated profile use row or column Gram factors. -/96theorem returning_endpoint_bounds :97Real.sqrt ‖columnGram (returningCoefficients (k := k) A n p)‖ ≤98(n + 1 : ℕ) * ‖regular A‖ ^ (n + 1) ∧99Real.sqrt ‖rowGram (returningCoefficients (k := k) A n p)‖ ≤100(n + 1 : ℕ) * ‖regular A‖ ^ (n + 1) := by101have he : returningCoefficients (k := k) A n p =102fun w => firstStep A (FreeCreation.letter p.last) n (word w) := by103funext w104exact returningCoefficients_eq_firstStep A hA n p w105rw [he]106exact firstStep_endpoint_bounds _ _ _ word word_injective107108/-- A once-visited profile costs only the square root of its number of words. -/109theorem returning_singleton_bound :110‖∑ w : Words d k p, returningCoefficients A n p w‖ ≤111Real.sqrt (((2 * d) ^ k : ℕ) : ℝ) * ((n + 1 : ℕ) * ‖regular A‖ ^ (n + 1)) := by112have hc : (Fintype.card (Words d k p) : ℝ) ≤ (2 * d : ℝ) ^ k := by113exact_mod_cast card_words_le d k p114calc115_ ≤ Real.sqrt (Fintype.card (Words d k p) : ℝ) *116Real.sqrt ‖columnGram (returningCoefficients (k := k) A n p)‖ :=117HaarCoefficientBounds.singleton_sum_norm_le _118_ ≤ Real.sqrt ((2 * d : ℝ) ^ k) * ((n + 1 : ℕ) * ‖regular A‖ ^ (n + 1)) :=119mul_le_mul (Real.sqrt_le_sqrt hc) (returning_endpoint_bounds A hA n p).1120(Real.sqrt_nonneg _) (Real.sqrt_nonneg _)121_ = _ := by norm_cast122123omit hA124125/-- Ordinary power coefficients, used by the initial block. -/126def ordinaryCoefficients (w : Words d k p) : E →L[ℂ] E := (A ^ (n + 1)) (word w)127128theorem ordinary_coefficient_norm_le (w : Words d k p) :129‖ordinaryCoefficients A n p w‖ ≤ ‖regular A‖ ^ (n + 1) := by130exact (coefficient_norm_le (A ^ (n + 1)) (word w)).trans (by131rw [map_pow]132exact norm_pow_le' _ (Nat.succ_pos _))133134theorem ordinary_endpoint_bounds :135Real.sqrt ‖columnGram (ordinaryCoefficients (k := k) A n p)‖ ≤ ‖regular A‖ ^ (n + 1) ∧136Real.sqrt ‖rowGram (ordinaryCoefficients (k := k) A n p)‖ ≤ ‖regular A‖ ^ (n + 1) := by137have hn : ‖regular (A ^ (n + 1))‖ ≤ ‖regular A‖ ^ (n + 1) := by138rw [map_pow]139exact norm_pow_le' _ (Nat.succ_pos _)140constructor141· exact (Real.sqrt_le_sqrt (coefficient_columnGram_le (A ^ (n + 1)) word word_injective)).trans142(by rw [Real.sqrt_sq (norm_nonneg _)]; exact hn)143· exact (Real.sqrt_le_sqrt (coefficient_rowGram_le (A ^ (n + 1)) word word_injective)).trans144(by rw [Real.sqrt_sq (norm_nonneg _)]; exact hn)145146end Nonadditivity.HaarProfileCoefficient