Exact Lean source
Nonadditivity.HaarProfileOrientation
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
11 project constants, including generated, internal and private declarations.
11 declarations
Nonadditivity.HaarProfileCoefficient.last_inverse_wordNonadditivity.HaarProfileCoefficient.last_orientedWordNonadditivity.HaarProfileCoefficient.orientedCoefficientsNonadditivity.HaarProfileCoefficient.orientedCoefficients._proof_1internal/detail/privateNonadditivity.HaarProfileCoefficient.orientedCoefficients_eq_firstStepNonadditivity.HaarProfileCoefficient.orientedWordNonadditivity.HaarProfileCoefficient.orientedWord_injectiveNonadditivity.HaarProfileCoefficient.oriented_coefficient_norm_leNonadditivity.HaarProfileCoefficient.oriented_endpoint_boundsNonadditivity.HaarProfileCoefficient.oriented_singleton_boundNonadditivity.HaarProfileCoefficient.terminalLetter
Full module
1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.HaarProfileCoefficient78/-! # Both orientations of a fixed core-edge profile910A repeated core edge may be traversed in either direction. Inversion preserves11the injectivity of its word family, and the reversed traversal has a fixed12terminal letter determined by the original profile's first letter. Thus the13same sharp endpoint estimates apply without identifying the two orientations.14-/1516noncomputable section17set_option backward.isDefEq.respectTransparency false1819namespace Nonadditivity.HaarProfileCoefficient2021open scoped BigOperators22open HaarPathProfiles HaarNonbacktracking HaarOperatorPolynomial NoncommutativeCS2324variable {d k : ℕ} {p : Profile (Color d)}2526def orientedWord (forward : Bool) (w : Words d k p) : FreeGroup (Fin d) :=27if forward then word w else (word w)⁻¹2829def terminalLetter (forward : Bool) (p : Profile (Color d)) : Color d :=30if forward then p.last else FreeCreation.flip p.first3132theorem last_inverse_word (w : Words d k p) :33(word w)⁻¹.toWord.getLast? = some (FreeCreation.flip p.first) := by34cases hw : List.ofFn w.val with35| nil =>36have hh := w.property.2.137simp [hw] at hh38| cons a l =>39have ha : a = p.first := by simpa [hw] using w.property.2.140simp [FreeGroup.toWord_inv, word_toWord, hw, FreeGroup.invRev, ha, FreeCreation.flip]4142theorem orientedWord_injective (forward : Bool) :43Function.Injective (orientedWord (d := d) (k := k) (p := p) forward) := by44cases forward45· exact fun _ _ h => word_injective (inv_injective h)46· exact word_injective4748theorem last_orientedWord (forward : Bool) (w : Words d k p) :49(orientedWord forward w).toWord.getLast? = some (terminalLetter forward p) := by50cases forward51· exact last_inverse_word w52· exact last_word w5354variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℂ E] [CompleteSpace E]55variable (A : Polynomial (FreeGroup (Fin d)) E)56variable (hA : ∀ a ∈ A.support, a.toWord.length ≤ 1)57variable (n : ℕ) (forward : Bool) (p : Profile (Color d))5859def orientedCoefficients (w : Words d k p) : E →L[ℂ] E :=60killedPolynomial A 1 (n + 1) (orientedWord forward w)6162include hA6364theorem orientedCoefficients_eq_firstStep (w : Words d k p) :65orientedCoefficients A n forward p w =66firstStep A (FreeCreation.letter (terminalLetter forward p)) n (orientedWord forward w) := by67exact killedPolynomial_first_step A hA _ _ (last_orientedWord forward w) n6869theorem oriented_coefficient_norm_le (w : Words d k p) :70‖orientedCoefficients A n forward p w‖ ≤ ‖regular A‖ ^ (n + 1) := by71rw [orientedCoefficients_eq_firstStep A hA]72exact firstStep_coefficient_norm_le _ _ _ _7374theorem oriented_endpoint_bounds :75Real.sqrt ‖columnGram (orientedCoefficients (k := k) A n forward p)‖ ≤76(n + 1 : ℕ) * ‖regular A‖ ^ (n + 1) ∧77Real.sqrt ‖rowGram (orientedCoefficients (k := k) A n forward p)‖ ≤78(n + 1 : ℕ) * ‖regular A‖ ^ (n + 1) := by79have he : orientedCoefficients (k := k) A n forward p =80fun w => firstStep A (FreeCreation.letter (terminalLetter forward p)) n81(orientedWord forward w) := by82funext w83exact orientedCoefficients_eq_firstStep A hA n forward p w84rw [he]85exact firstStep_endpoint_bounds _ _ _ _ (orientedWord_injective forward)8687theorem oriented_singleton_bound :88‖∑ w : Words d k p, orientedCoefficients A n forward p w‖ ≤89Real.sqrt (((2 * d) ^ k : ℕ) : ℝ) * ((n + 1 : ℕ) * ‖regular A‖ ^ (n + 1)) := by90have hc : (Fintype.card (Words d k p) : ℝ) ≤ (2 * d : ℝ) ^ k := by91exact_mod_cast card_words_le d k p92calc93_ ≤ Real.sqrt (Fintype.card (Words d k p) : ℝ) *94Real.sqrt ‖columnGram (orientedCoefficients (k := k) A n forward p)‖ :=95HaarCoefficientBounds.singleton_sum_norm_le _96_ ≤ Real.sqrt ((2 * d : ℝ) ^ k) * ((n + 1 : ℕ) * ‖regular A‖ ^ (n + 1)) :=97mul_le_mul (Real.sqrt_le_sqrt hc) (oriented_endpoint_bounds A hA n forward p).198(Real.sqrt_nonneg _) (Real.sqrt_nonneg _)99_ = _ := by norm_cast100101end Nonadditivity.HaarProfileCoefficient