Exact Lean source
Nonadditivity.HaarPathClassSums
Download original .lean · View on GitHub · Jump to source
Direct imports
Imported by project modules
3 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
14 project constants, including generated, internal and private declarations.
14 declarations
Nonadditivity.HaarOperatorPathBridge.pathOperatorSum_eq_refinedSumNonadditivity.HaarOperatorPathBridge.pathOperatorSum_eq_weighted_refinedSumNonadditivity.HaarOperatorPathBridge.refinedCoefficientSumNonadditivity.HaarOperatorPathBridge.refinedCoefficientSum._proof_1internal/detail/privateNonadditivity.HaarPathClasses.norm_sum_paths_smul_leNonadditivity.HaarPathClasses.refinedQuotientFibreEquivNonadditivity.HaarPathClasses.refinedQuotientFibreEquiv._proof_1internal/detail/privateNonadditivity.HaarPathClasses.refinedQuotientFibreEquiv._proof_2internal/detail/privateNonadditivity.HaarPathClasses.refinedQuotientFibreEquiv._proof_3internal/detail/privateNonadditivity.HaarPathClasses.refinedQuotientFibreEquiv._proof_4internal/detail/privateNonadditivity.HaarPathClasses.refinedQuotientFibreEquiv._proof_5internal/detail/privateNonadditivity.HaarPathClasses.refinedQuotientFibreEquiv._proof_6internal/detail/privateNonadditivity.HaarPathClasses.sum_paths_eq_sum_refinedNonadditivity.HaarPathClasses.sum_paths_smul_eq_sum_refined
Full module
1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.HaarPathRefinedCounting7import Nonadditivity.HaarRefinedVertexFibre8import Nonadditivity.HaarOperatorPathSum910/-! # Exact regrouping over the genuine refined path quotient1112The finite path sum is transported to literal refined fibres. The resulting13operator coefficient sum remains inside each class before any norm is taken.14-/15noncomputable section16set_option backward.isDefEq.respectTransparency false17namespace Nonadditivity.HaarPathClasses18open HaarPathGraph HaarRefinedVertexFibre19open scoped BigOperators20attribute [local instance] Classical.propDecidable21variable {V : Type*} [Fintype V] [DecidableEq V] {d m : ℕ}2223/-- A quotient fibre is exactly the literal refined class of its chosen24representative. -/25def refinedQuotientFibreEquiv (C : RefinedClass V d m) :26{P : Path V d m // Quotient.mk refinedPathSetoid P=C} ≃27HaarRefinedVertexFibre.Fibre (Quotient.out C) where28toFun P := ⟨P.val,by29apply @Quotient.exact _ refinedPathSetoid30exact (Quotient.out_eq C).trans P.property.symm⟩31invFun P := ⟨P.val,by32exact (Quotient.sound P.property).symm.trans (Quotient.out_eq C)⟩33left_inv _ := rfl34right_inv _ := rfl3536/-- Exact class regrouping; this statement uses no invariance assumption. -/37theorem sum_paths_eq_sum_refined {R : Type*} [AddCommMonoid R]38(f : Path V d m → R) :39∑ P, f P = ∑ C : RefinedClass V d m,40∑ P : HaarRefinedVertexFibre.Fibre (Quotient.out C), f P.val := by41classical42rw [← Fintype.sum_fiberwise (Quotient.mk refinedPathSetoid) f]43apply Finset.sum_congr rfl44intro C _45exact (refinedQuotientFibreEquiv C).sum_comp (fun P => f P.val)4647/-- Pulling an invariant scalar through the genuine class fibre leaves the48operator coefficients grouped together. -/49theorem sum_paths_smul_eq_sum_refined {R : Type*} [AddCommMonoid R] [Module ℂ R]50(w : Path V d m → ℂ) (f : Path V d m → R)51(hw : ∀ P Q, RefinedPattern P Q → w P=w Q) :52∑ P, w P • f P = ∑ C : RefinedClass V d m,53w (Quotient.out C) • ∑ P : HaarRefinedVertexFibre.Fibre (Quotient.out C), f P.val := by54rw [sum_paths_eq_sum_refined]55apply Finset.sum_congr rfl56intro C _57rw [Finset.smul_sum]58apply Finset.sum_congr rfl59intro P _60rw [hw (Quotient.out C) P.val P.property]6162/-- Norms are taken after summing all coefficients in the refined class. -/63theorem norm_sum_paths_smul_le {R : Type*} [NormedAddCommGroup R] [NormedSpace ℂ R]64(w : Path V d m → ℂ) (f : Path V d m → R)65(hw : ∀ P Q, RefinedPattern P Q → w P=w Q) :66‖∑ P, w P • f P‖ ≤ ∑ C : RefinedClass V d m,67‖w (Quotient.out C)‖ *68‖∑ P : HaarRefinedVertexFibre.Fibre (Quotient.out C), f P.val‖ := by69rw [sum_paths_smul_eq_sum_refined w f hw]70exact (norm_sum_le _ _).trans_eq (by simp only [norm_smul])7172end Nonadditivity.HaarPathClasses7374namespace Nonadditivity.HaarOperatorPathBridge75open HaarPathGraph HaarPathClasses HaarRefinedVertexFibre76open scoped BigOperators7778/-- The exact operator contribution partitioned into actual refined classes. -/79theorem pathOperatorSum_eq_refinedSum {E : Type} [NormedAddCommGroup E]80[InnerProductSpace ℂ E] [CompleteSpace E] (N : ℕ)81(A : HaarOperatorPolynomial.Polynomial (FreeGroup (Fin 2)) E) (p t : ℕ) :82pathOperatorSum N A p t = ∑ C : RefinedClass (Fin (N+1)) 2 t,83∑ P : HaarRefinedVertexFibre.Fibre (Quotient.out C),84pathWeight P.val • (A^p) (FreeGroup.mk (List.ofFn P.val.colors)) := by85exact sum_paths_eq_sum_refined _8687/-- The grouped coefficient sum needed by the profile Cauchy--Schwarz estimate. -/88def refinedCoefficientSum {E : Type} [NormedAddCommGroup E]89[InnerProductSpace ℂ E] [CompleteSpace E] {V : Type*} [Fintype V] [DecidableEq V]90(A : HaarOperatorPolynomial.Polynomial (FreeGroup (Fin 2)) E) (p : ℕ)91{t : ℕ} (P : Path V 2 t) : E →L[ℂ] E :=92∑ Q : HaarRefinedVertexFibre.Fibre P, (A^p) (FreeGroup.mk (List.ofFn Q.val.colors))9394/-- The only analytic input required to extract the weight is its equality95on the refined relation; the partition itself has already been constructed. -/96theorem pathOperatorSum_eq_weighted_refinedSum {E : Type} [NormedAddCommGroup E]97[InnerProductSpace ℂ E] [CompleteSpace E] (N : ℕ)98(A : HaarOperatorPolynomial.Polynomial (FreeGroup (Fin 2)) E) (p t : ℕ)99(hw : ∀ P Q : Path (Fin (N+1)) 2 t, RefinedPattern P Q → pathWeight P=pathWeight Q) :100pathOperatorSum N A p t = ∑ C : RefinedClass (Fin (N+1)) 2 t,101pathWeight (Quotient.out C) • refinedCoefficientSum A p (Quotient.out C) := by102exact sum_paths_smul_eq_sum_refined pathWeight _ hw103104end Nonadditivity.HaarOperatorPathBridge