Exact Lean source
Nonadditivity.HaarRefinedCoefficientBound
Download original .lean · View on GitHub · Jump to source
Catalog entries: Corrected marked-position and middle-run accounting
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
3 project constants, including generated, internal and private declarations.
3 declarations
Nonadditivity.HaarOperatorPathBridge.coefficient_boundNonadditivity.HaarOperatorPathBridge.coefficient_bound._proof_1_1internal/detail/privateNonadditivity.HaarOperatorPathBridge.coefficient_bound._proof_1_2internal/detail/private
Full module
1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.HaarRefinedCoefficientFibre7import Nonadditivity.HaarProfileSingletonWeight8import Nonadditivity.HaarActualScanWords9import Nonadditivity.HaarDecodedCoefficientBound1011/-! # The actual refined-class coefficient bound1213The bound is proved for the literal finite refined class. All profile variables,14operator factors, duration compositions, and graph counts are instantiated from15the actual path; no factorization, fibre, or local norm hypothesis is assumed.16-/17noncomputable section18set_option backward.isDefEq.respectTransparency false19set_option maxHeartbeats 150000020namespace Nonadditivity.HaarOperatorPathBridge21open scoped BigOperators22open HaarPathGraph HaarPathClasses HaarPathProfiles HaarProfileCoefficient23HaarOperatorPolynomial NoncommutativeCS HaarPaletteDecoder HaarSkeletonSegmentation24HaarProfileAssignmentBound HaarProfilePadding25variable {E : Type} [NormedAddCommGroup E] [InnerProductSpace ℂ E] [CompleteSpace E]26variable {V : Type*} [Fintype V] [DecidableEq V] {m : ℕ}2728/-- The prescribed BC coefficient budget for the actual refined path class. -/29theorem coefficient_bound30(A : Polynomial (FreeGroup (Fin 2)) E)31(hA : ∀ g ∈ A.support, g.toWord.length ≤ 1)32(p : ℕ) (hp : 1 ≤ p) (P : Path V 2 m) (hm : 0 < m) :33‖refinedCoefficientSum A p P‖ ≤34(Fintype.card V : ℝ)^P.vertices.card *35(2:ℝ)^(HaarPathMultiplicity.singletonEdges P.edgeList).card *36(p:ℝ)^(9*P.defectTwice+11) * ‖regular A‖^p := by37classical38obtain ⟨cs,hcs⟩ := P.exists_traversal_chain_decomposition hm39have hcover : ∀ e : P.unorientedChains, e ∈ (cs.map P.chainLabel).reverse := by40intro e41obtain ⟨c,hc,he⟩ := P.chainLabels_cover cs hcs e42exact List.mem_reverse.mpr (List.mem_map.mpr ⟨c,hc,he⟩)43obtain ⟨R,hw,hR,hn,hc,hexp⟩ := EndpointSkeleton.exists_closed_compiler44(cs.map P.chainLabel).reverse hcover45have hcsne : cs≠[] := by46intro he47have hh := congrArg List.length hcs48simp only [he,List.map_nil,List.flatten_nil,List.length_nil,49Path.traversalList,List.length_ofFn] at hh50omega51have hword : R.word≠[] := by52rw [hw]53intro he54have hl := congrArg List.length he55simp only [List.length_reverse,List.length_map,List.length_nil] at hl56exact hcsne (List.length_eq_zero_iff.mp hl)57have hblocks : 1 ≤ R.markedFlags.length := by58by_contra h59have he : R.blocks=[] := List.length_eq_zero_iff.mp (by rw [R.length_blocks]; omega)60exact hword (by rw [←R.flatten_blocks,he]; rfl)61let size : P.unorientedChains → ℕ := fun e => (P.representative e).val.length62let profile : P.unorientedChains → Profile (Color 2) :=63fun e => (P.coreChainProfile (P.representative e)).val64let hsize : ∀ e, size e≤m := fun e => P.coreChain_length_le (P.representative e)65let directions := blockDirections P (R.occurrenceBlocks cs.reverse)66let target : P.ChainPalette → FreeGroup (Fin 2) :=67fun σ => FreeGroup.mk (List.ofFn (P.paletteColoring σ).path.colors)68have hdecode : ∀ (σ : P.ChainPalette) k i,69decode directions k [i] [embedAssignment size profile hsize σ i]=70orientedWord (forward directions k i) (σ i) :=71fun σ k i => decode_embedAssignment directions size profile hsize σ k i72have htarget : ∀ σ : P.ChainPalette,73(scanWords R (decode directions) (embedAssignment size profile hsize σ)).reverse.prod=target σ := by74intro σ75exact (HaarActualScanWords.actualScanWords_spec P cs R hcs hR hw σ).176have hne : ∀ (σ : P.ChainPalette) g,77g∈(scanWords R (decode directions) (embedAssignment size profile hsize σ)).reverse → g≠1 := by78intro σ79exact (HaarActualScanWords.actualScanWords_spec P cs R hcs hR hw σ).2.180have hred : ∀ σ : P.ChainPalette,81FreeGroup.IsReduced82((scanWords R (decode directions) (embedAssignment size profile hsize σ)).reverse.flatMap FreeGroup.toWord) := by83intro σ84exact (HaarActualScanWords.actualScanWords_spec P cs R hcs hR hw σ).2.285have hpal := HaarDecodedCoefficientBound.decoded_coefficient_sum_norm_le R hR hn hc hblocks86A hA size profile hsize (forward directions) (decode directions) hdecode p hp target htarget hne hred87rw [R.singletonWeight_chain_labels_reverse P cs hcs hn hw] at hpal88have hpow : (p:ℝ)^(6*Fintype.card P.unorientedChains-1) ≤ (p:ℝ)^(9*P.defectTwice+11) :=89pow_le_pow_right₀ (by exact_mod_cast hp) (EndpointSkeleton.coefficient_exponent_chain_le P)90calc91_ ≤ (Fintype.card V : ℝ)^P.vertices.card *92‖∑ σ : P.ChainPalette, (A^p) (target σ)‖ :=93norm_refinedCoefficientSum_le_palette A p P hm94_ ≤ (Fintype.card V : ℝ)^P.vertices.card *95((2:ℝ)^(HaarPathMultiplicity.singletonEdges P.edgeList).card *96(p:ℝ)^(6*Fintype.card P.unorientedChains-1) * ‖regular A‖^p) :=97mul_le_mul_of_nonneg_left hpal (by positivity)98_ ≤ (Fintype.card V : ℝ)^P.vertices.card *99((2:ℝ)^(HaarPathMultiplicity.singletonEdges P.edgeList).card *100(p:ℝ)^(9*P.defectTwice+11) * ‖regular A‖^p) := by101apply mul_le_mul_of_nonneg_left _ (by positivity)102apply mul_le_mul_of_nonneg_right _ (by positivity)103exact mul_le_mul_of_nonneg_left hpow (by positivity)104_ = _ := by ring105106end Nonadditivity.HaarOperatorPathBridge