Exact Lean source
Nonadditivity.HaarNonbacktrackingSupport
Download original .lean · View on GitHub · Jump to source
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
3 project constants, including generated, internal and private declarations.
3 declarations
Nonadditivity.HaarNonbacktracking.coefficient_factorization_of_reduced_appendNonadditivity.HaarNonbacktracking.killedPolynomial_eq_zero_of_last_neNonadditivity.HaarNonbacktracking.killedPolynomial_eq_zero_of_reduced_append
Full module
1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.HaarNonbacktrackingLastReturn7import Nonadditivity.FreeGroupCut89/-! # Non-returning paths stay in one component of the free Cayley tree -/1011noncomputable section12set_option backward.isDefEq.respectTransparency false1314namespace Nonadditivity.HaarNonbacktracking1516open scoped BigOperators1718variable {α R : Type*} [DecidableEq α] [Ring R]1920/-- A nearest-neighbor polynomial, with the constant coordinate removed at21every step, cannot move a supported word across the identity. -/22theorem killedPolynomial_eq_zero_of_last_ne23(A : MonoidAlgebra R (FreeGroup α))24(hA : ∀ a ∈ A.support, a.toWord.length ≤ 1)25(u : FreeGroup α) (hu : u ≠ 1) (B : R) (n : ℕ) (g : FreeGroup α)26(hg : g = 1 ∨ g.toWord.getLast? ≠ u.toWord.getLast?) :27killedPolynomial A (MonoidAlgebra.single u B) n g = 0 := by28induction n generalizing g with29| zero =>30have hgu : u ≠ g := by31intro heq32subst g33rcases hg with hg | hg34· exact hu hg35· exact hg rfl36simp [killedPolynomial, hgu]37| succ n ih =>38by_cases hg1 : g = 139· subst g40change (A * killedPolynomial A (MonoidAlgebra.single u B) n) 1 -41(MonoidAlgebra.single 1 ((A * killedPolynomial A (MonoidAlgebra.single u B) n) 1)) 1 = 042simp43· have hglast := hg.resolve_left hg144change (A * killedPolynomial A (MonoidAlgebra.single u B) n) g -45(MonoidAlgebra.single 146((A * killedPolynomial A (MonoidAlgebra.single u B) n) 1)) g = 047rw [MonoidAlgebra.single_apply, if_neg (Ne.symm hg1), sub_zero,48MonoidAlgebra.mul_apply_left]49apply Finset.sum_eq_zero50intro a ha51have hzero : killedPolynomial A (MonoidAlgebra.single u B) n (a⁻¹ * g) = 0 := by52apply ih53by_cases hpre : a⁻¹ * g = 154· exact Or.inl hpre55· right56intro heq57apply hglast58have hstep := FreeGroupCut.getLast?_mul_of_length_le_one a (a⁻¹ * g)59(hA a ha) hpre (by simpa using hg1)60simpa using hstep.trans heq61dsimp only62rw [hzero, mul_zero]6364/-- A reduced concatenation has no non-returning contribution from the far65side of its separating identity vertex. -/66theorem killedPolynomial_eq_zero_of_reduced_append67(A : MonoidAlgebra R (FreeGroup α))68(hA : ∀ a ∈ A.support, a.toWord.length ≤ 1)69(g h : FreeGroup α) (hh : h ≠ 1)70(hred : FreeGroup.IsReduced (g.toWord ++ h.toWord)) (B : R) (n : ℕ) :71killedPolynomial A (MonoidAlgebra.single h⁻¹ B) n g = 0 := by72apply killedPolynomial_eq_zero_of_last_ne A hA h⁻¹ (inv_ne_one.mpr hh) B n g73exact Or.inr (FreeGroupCut.getLast?_ne_inv_of_reduced_append g h hh hred)7475/-- The exact coefficient factorization for a reduced concatenation, with76the Cayley-tree separation fully proved from the linear support condition. -/77theorem coefficient_factorization_of_reduced_append78(A : MonoidAlgebra R (FreeGroup α))79(hA : ∀ a ∈ A.support, a.toWord.length ≤ 1)80(n : ℕ) (g h : FreeGroup α) (hh : h ≠ 1)81(hred : FreeGroup.IsReduced (g.toWord ++ h.toWord)) :82(A ^ n) (g * h) = ∑ k ∈ Finset.range n,83killedPolynomial A 1 k g * (A ^ (n - k)) h := by84exact coefficient_factorization_at_cut A n g h85(killedPolynomial_eq_zero_of_reduced_append A hA g h hh hred 1 n)8687end Nonadditivity.HaarNonbacktracking