Exact Lean source
Nonadditivity.HaarOnePairAssembly
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
9 project constants, including generated, internal and private declarations.
9 declarations
Nonadditivity.HaarOnePairAssembly.OnePairLengthBoundsNonadditivity.HaarOnePairAssembly.OnePairLengthBounds._proof_1internal/detail/privateNonadditivity.HaarOnePairAssembly.OnePairLengthBounds._proof_2internal/detail/privateNonadditivity.HaarOnePairAssembly.OnePairLengthBounds._proof_3internal/detail/privateNonadditivity.HaarOnePairAssembly.continuous_mixed_momentNonadditivity.HaarOnePairAssembly.continuous_pair_word_traceNonadditivity.HaarOnePairAssembly.integrable_pair_word_traceNonadditivity.HaarOnePairAssembly.onePairTraceBound_of_lengthBoundsNonadditivity.HaarOnePairAssembly.pairMatrix
Full module
1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.HaarMixedWordExpansion7import Nonadditivity.HaarEncodingSlack8import Nonadditivity.HaarIteratedMoments910/-! # Assembling the mixed one-pair trace estimate from path-length bounds1112This module assembles a bound on the actual length contributions into the13one-pair trace comparison consumed by the checked tensor induction. The length14bound itself is proved in `HaarPrescribedBound.onePairLengthBounds`. The corrected15majorant includes the extra `t^3` and all local color marks.16-/17noncomputable section18set_option backward.isDefEq.respectTransparency false19set_option maxHeartbeats 100000020namespace Nonadditivity.HaarOnePairAssembly21open MeasureTheory HaarWordExpansion HaarTensorReplacement HaarMixedWordExpansion22open HaarMomentConstants HaarIteratedMoments ProductHaagerupProduct23open scoped BigOperators Matrix Matrix.Norms.L2Operator2425def pairMatrix (N : ℕ) (U : Pair N) := representationMatrix (pairRepresentation N U)2627theorem continuous_pair_word_trace (N : ℕ) (g : FreeGroup (Fin 2)) :28Continuous (fun U : Pair N => normalizedTrace (pairMatrix N U g)) := by29unfold normalizedTrace Matrix.trace30apply Continuous.div_const31exact continuous_finset_sum _ (fun i _ => (continuous_pairRepresentation N g).matrix_elem i i)3233theorem integrable_pair_word_trace (N : ℕ) (g : FreeGroup (Fin 2)) :34Integrable (fun U : Pair N => normalizedTrace (pairMatrix N U g)) (pairMeasure N) :=35(continuous_pair_word_trace N g).integrable_of_hasCompactSupport36(HasCompactSupport.of_compactSpace _)3738theorem continuous_mixed_moment (N p j : ℕ) {ι : Type} [Fintype ι] [DecidableEq ι]39(f : MatrixPolynomial (GroupIndex (Fin 2) (j+1)) ι) :40Continuous (fun U : Pair N => vacuumTrace ((partialEval (pairMatrix N U) f)^p)) := by41simp only [vacuumTrace_partialEval_pow]42apply continuous_finset_sum43intro w hw44split_ifs45· exact (continuous_pair_word_trace N w.1).const_mul _46· exact continuous_const4748/-- The actual grouped path-length estimate, proved by49`HaarPrescribedDimension.onePairLengthBounds` in `HaarPrescribedBound.lean`. -/50def OnePairLengthBounds (N p : ℕ) : Prop :=51∀ (j : ℕ) (ι : Type) [Fintype ι] [DecidableEq ι] [Nonempty ι]52(f : MatrixPolynomial (GroupIndex (Fin 2) (j+1)) ι),53IsSelfAdjoint (regularEval f) →54(∀ w ∈ f.support, RadiusLe 1 w) →55∀ t ∈ Finset.Icc 1 p,56‖mixedLengthContribution (pairMeasure N) (pairMatrix N) f p t‖ ≤57encodingMajorant p (N+1) t (p+1) (p+1) * ‖regularEval f‖^p5859/-- The grouped length bounds, at the manuscript's moment range, imply the60exact one-pair hypothesis of the tensor induction. -/61theorem onePairTraceBound_of_lengthBounds {N p : ℕ} (hp : 2 ≤ p)62(hN : 2^80*(p:ℝ)^80 ≤ N+1) (hpaths : OnePairLengthBounds N p) :63OnePairTraceBound N p := by64intro j ι _ _ _ f hf hlinear65have hfirst : ∀ w ∈ f.support, FreeGroup.norm w.1 ≤ 1 := by66intro w hw67exact (hlinear w hw).168have he := integral_mixed_error_by_length (pairMeasure N) (pairMatrix N) f p hfirst69(integrable_pair_word_trace N)70let D : ℕ → ℝ := fun t =>71(mixedLengthContribution (pairMeasure N) (pairMatrix N) f p t).re72have hb := sum_encoding_errors_le hp hN73(norm_nonneg (regularEval f)) D (fun _ => p+1) (fun _ => p+1) (by74intro t ht75exact (Complex.abs_re_le_norm _).trans (hpaths j ι f hf hlinear t ht))76have hi := (continuous_mixed_moment N p j f).integrable_of_hasCompactSupport77(μ := pairMeasure N) (HasCompactSupport.of_compactSpace _)78have hre := congrArg Complex.re he79rw [Complex.sub_re, Complex.re_sum] at hre80have hir := integral_re hi81simp only [RCLike.re_eq_complex_re] at hir82change (∫ U : Pair N, (vacuumTrace ((partialEval (pairMatrix N U) f)^p)).re83∂pairMeasure N) ≤ _84rw [hir]85have hsum : (∫ U : Pair N, vacuumTrace ((partialEval (pairMatrix N U) f)^p)86∂pairMeasure N).re - (vacuumTrace (f^p)).re = ∑ t ∈ Finset.Icc 1 p, D t := hre87have hupper := le_trans (le_abs_self (∑ t ∈ Finset.Icc 1 p, D t)) hb88linarith8990end Nonadditivity.HaarOnePairAssembly