Exact Lean source
Nonadditivity.HaarOperatorPathSum
Download original .lean · View on GitHub · Jump to source
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.HaarOperatorPathBridge.exists_reducedWordNonadditivity.HaarOperatorPathBridge.mixedLengthContribution_le_of_pathSumNonadditivity.HaarOperatorPathBridge.norm_operatorLengthContribution_eqNonadditivity.HaarOperatorPathBridge.operatorLengthContribution_eq_colorSumNonadditivity.HaarOperatorPathBridge.operatorLengthContribution_eq_colorSum._proof_1_1internal/detail/privateNonadditivity.HaarOperatorPathBridge.operatorLengthContribution_eq_pathSumNonadditivity.HaarOperatorPathBridge.operatorLengthContribution_eq_pathSum._simp_1_2internal/detail/privateNonadditivity.HaarOperatorPathBridge.pathEquiv.eq_1internal/detail/privateNonadditivity.HaarOperatorPathBridge.pathOperatorSumNonadditivity.HaarOperatorPathBridge.pathOperatorSum._proof_1internal/detail/privateNonadditivity.HaarOperatorPathBridge.pathOperatorSum._proof_2internal/detail/privateNonadditivity.HaarOperatorPathBridge.pathOperatorSum._proof_3internal/detail/privateNonadditivity.HaarOperatorPathBridge.pathOperatorSum.congr_simpNonadditivity.HaarOperatorPathBridge.pathOperatorSum_eq_zero_of_not_evenNonadditivity.HaarOperatorPathBridge.pathWeightNonadditivity.HaarOperatorPathBridge.pathWeight.eq_1internal/detail/privateNonadditivity.HaarOperatorPathBridge.pathWeight_eq_zero_of_not_even
Full module
1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.HaarOperatorPathBridge7import Nonadditivity.HaarPathSupport89/-! # Exact grouped operator sum over all literal Haar paths -/10noncomputable section11set_option backward.isDefEq.respectTransparency false12set_option maxHeartbeats 120000013set_option synthInstance.maxHeartbeats 20000014namespace Nonadditivity.HaarOperatorPathBridge15open MeasureTheory HaarModel HaarWordExpansion HaarOperatorCurry16open HaarIteratedMoments HaarOnePairAssembly HaarPathExpansion HaarPathWeights17open HaarPathGraph HaarPathProfiles HaarVacuumFunctional RegularCoefficientEnergy18open scoped BigOperators Matrix Matrix.Norms.L2Operator1920theorem exists_reducedWord {t : ℕ} (g : FreeGroup (Fin 2))21(hg : FreeGroup.norm g=t) : ∃ c : ReducedColors t, reducedWord c=g := by22subst t23exact ⟨colorsOfWord g,colorsOfWord_word g⟩2425def pathWeight {N t : ℕ} (P : Path (Fin (N+1)) 2 t) : ℂ :=26∫ U : LocalUnitary N × LocalUnitary N, pathProduct P U ∂(haar N).prod (haar N)2728def pathOperatorSum {E : Type} [NormedAddCommGroup E] [InnerProductSpace ℂ E]29[CompleteSpace E] (N : ℕ)30(A : HaarOperatorPolynomial.Polynomial (FreeGroup (Fin 2)) E) (p t : ℕ) :31E →L[ℂ] E :=32∑ P : Path (Fin (N+1)) 2 t,33pathWeight P • (A^p) (FreeGroup.mk (List.ofFn P.colors))3435theorem pathWeight_eq_zero_of_not_even {N t : ℕ}36(P : Path (Fin (N+1)) 2 t) (ht : ¬Even t) : pathWeight P=0 := by37by_contra hn38exact ht (even_length_of_integral_ne_zero P hn)3940theorem pathOperatorSum_eq_zero_of_not_even {E : Type} [NormedAddCommGroup E]41[InnerProductSpace ℂ E] [CompleteSpace E] (N : ℕ)42(A : HaarOperatorPolynomial.Polynomial (FreeGroup (Fin 2)) E) (p t : ℕ)43(ht : ¬Even t) : pathOperatorSum N A p t=0 := by44apply Finset.sum_eq_zero45intro P hP46rw [pathWeight_eq_zero_of_not_even P ht,zero_smul]4748variable {H ι : Type} [Group H] [DecidableEq H] [Fintype ι] [DecidableEq ι]4950theorem operatorLengthContribution_eq_colorSum (N p t : ℕ) (ht : 0<t)51(f : MatrixPolynomial (FreeGroup (Fin 2) × H) ι) :52operatorLengthContribution (pairMeasure N) (pairMatrix N) f p t =53∑ c : ReducedColors t,54(∫ U : Pair N, normalizedTrace (pairMatrix N U (reducedWord c)) ∂pairMeasure N) •55operatorCurry (f^p) (reducedWord c) := by56classical57let W : Finset (FreeGroup (Fin 2)) := Finset.univ.image (@reducedWord t)58have hmem (g : FreeGroup (Fin 2)) : g ∈ W ↔ FreeGroup.norm g=t := by59constructor60· intro hg61obtain ⟨c,hc,rfl⟩ := Finset.mem_image.mp hg62exact reducedWord_norm c63· intro hg64obtain ⟨c,rfl⟩ := exists_reducedWord g hg65exact Finset.mem_image.mpr ⟨c,Finset.mem_univ _,rfl⟩66have he := Finset.sum_image (s := (Finset.univ : Finset (ReducedColors t)))67(g := @reducedWord t)68(f := fun g => (∫ U : Pair N, normalizedTrace (pairMatrix N U g) ∂pairMeasure N) •69operatorCurry (f^p) g)70(fun _ _ _ _ h => reducedWord_injective h)71rw [←he]72unfold operatorLengthContribution73apply Finset.sum_subset74· intro g hg75exact (hmem g).mpr (Finset.mem_filter.mp hg).276· intro g hg hn77have hgt := (hmem g).mp hg78have hne : g ≠ 1 := by79intro heq80simp only [heq,FreeGroup.norm_one] at hgt81omega82have hn' : g ∉ (MonoidAlgebra.curryRingEquiv (f^p)).support := by83intro hs84exact hn (Finset.mem_filter.mpr ⟨Finset.mem_erase.mpr ⟨hne,hs⟩,hgt⟩)85have hz := Finsupp.notMem_support_iff.mp hn'86rw [operatorCurry_apply,hz,map_zero,smul_zero]8788/-- The exact normalized grouped trace contribution; all paths are literal,89and operator coefficients are kept together before taking norms. -/90theorem operatorLengthContribution_eq_pathSum (N p t : ℕ) (ht : 0<t)91(f : MatrixPolynomial (FreeGroup (Fin 2) × H) ι) :92operatorLengthContribution (pairMeasure N) (pairMatrix N) f p t =93(1/(N+1:ℂ)) • pathOperatorSum N (operatorCurry f) p t := by94rw [operatorLengthContribution_eq_colorSum N p t ht f]95have hw (c : ReducedColors t) := integral_normalized_word (N := N) c.val c.property96change ∀ c : ReducedColors t,97(∫ U : Pair N, normalizedTrace (pairMatrix N U (reducedWord c)) ∂pairMeasure N) = _ at hw98simp_rw [hw, mul_smul, Finset.sum_smul,99←Finset.smul_sum]100congr 1101unfold pathOperatorSum102rw [←(pathEquiv (V := Fin (N+1)) t).sum_comp]103simp only [Fintype.sum_prod_type,pathEquiv,assignmentPath,pathWeight,map_pow]104rfl105106theorem norm_operatorLengthContribution_eq (N p t : ℕ) (ht : 0<t)107(f : MatrixPolynomial (FreeGroup (Fin 2) × H) ι) :108‖operatorLengthContribution (pairMeasure N) (pairMatrix N) f p t‖ =109‖pathOperatorSum N (operatorCurry f) p t‖ / (N+1:ℝ) := by110rw [operatorLengthContribution_eq_pathSum N p t ht f,norm_smul,norm_div,norm_one]111have hnorm : ‖(N:ℂ)+1‖ = (N:ℝ)+1 := by112exact_mod_cast Complex.norm_natCast (N+1)113rw [hnorm]114ring115116theorem mixedLengthContribution_le_of_pathSum [Nonempty ι]117(N p t : ℕ) (ht : 0<t)118(f : MatrixPolynomial (FreeGroup (Fin 2) × H) ι) {B : ℝ}119(hb : ‖pathOperatorSum N (operatorCurry f) p t‖ ≤ (N+1:ℝ)*B) :120‖HaarMixedWordExpansion.mixedLengthContribution (pairMeasure N) (pairMatrix N) f p t‖ ≤ B := by121apply (norm_mixedLengthContribution_le (pairMeasure N) (pairMatrix N) f p t).trans122rw [norm_operatorLengthContribution_eq N p t ht f]123exact (div_le_iff₀ (by positivity : (0:ℝ)<N+1)).mpr (by simpa only [mul_comm] using hb)124125end Nonadditivity.HaarOperatorPathBridge