Exact Lean source
Nonadditivity.FreeCreation
Download original .lean · View on GitHub · Jump to source
Direct imports
Nonadditivity.FreeModelMathlib.GroupTheory.FreeGroup.ReducedependencyMathlib.Analysis.InnerProductSpace.Adjointdependency
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
43 project constants, including generated, internal and private declarations.
43 declarations
Nonadditivity.FreeCreation.ConeNonadditivity.FreeCreation.Cone.congr_simpNonadditivity.FreeCreation.Cone.eq_1internal/detail/privateNonadditivity.FreeCreation.LetterNonadditivity.FreeCreation.cone_disjointNonadditivity.FreeCreation.cone_shift_iffNonadditivity.FreeCreation.creationNonadditivity.FreeCreation.creation._proof_1internal/detail/privateNonadditivity.FreeCreation.creation._proof_2internal/detail/privateNonadditivity.FreeCreation.creation.eq_1internal/detail/privateNonadditivity.FreeCreation.creation_adjointNonadditivity.FreeCreation.creation_adjoint_comp_zeroNonadditivity.FreeCreation.creation_applyNonadditivity.FreeCreation.creation_comp_creation_eq_shiftNonadditivity.FreeCreation.creation_domainNonadditivity.FreeCreation.creation_inner_zeroNonadditivity.FreeCreation.creation_norm_leNonadditivity.FreeCreation.flipNonadditivity.FreeCreation.flip.eq_1internal/detail/privateNonadditivity.FreeCreation.flip_flipNonadditivity.FreeCreation.leftRegular_adjointNonadditivity.FreeCreation.leftRegular_innerNonadditivity.FreeCreation.leftRegular_letter_decompositionNonadditivity.FreeCreation.length_two_decompositionNonadditivity.FreeCreation.letterNonadditivity.FreeCreation.letter.eq_1internal/detail/privateNonadditivity.FreeCreation.letter_flipNonadditivity.FreeCreation.letter_toWordNonadditivity.FreeCreation.maskNonadditivity.FreeCreation.mask._proof_1internal/detail/privateNonadditivity.FreeCreation.maskFunctionNonadditivity.FreeCreation.maskFunction._proof_1internal/detail/privateNonadditivity.FreeCreation.maskFunction_applyNonadditivity.FreeCreation.maskFunction_norm_leNonadditivity.FreeCreation.maskLinearNonadditivity.FreeCreation.maskLinear._proof_1internal/detail/privateNonadditivity.FreeCreation.maskLinear._proof_2internal/detail/privateNonadditivity.FreeCreation.maskLinear._proof_3internal/detail/privateNonadditivity.FreeCreation.maskLinear.eq_1internal/detail/privateNonadditivity.FreeCreation.mask_add_complementNonadditivity.FreeCreation.mask_adjointNonadditivity.FreeCreation.mask_applyNonadditivity.FreeCreation.mask_norm_le
Full module
1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.FreeModel7import Mathlib.GroupTheory.FreeGroup.Reduce8import Mathlib.Analysis.InnerProductSpace.Adjoint910/-! # Concrete reduced-word projections and free creation operators1112These operators act on the actual square-summable functions used by FreeModel.13They are the cancellation decomposition underlying the length-two estimate.14-/1516noncomputable section1718namespace Nonadditivity.FreeCreation1920open Nonadditivity.FreeModel21open scoped BigOperators InnerProductSpace2223attribute [local instance] Classical.propDecidable2425section Mask2627variable {G : Type*}2829/-- An actual coordinate projection on the regular Hilbert space. -/30def maskFunction (P : G → Prop) (f : Hilbert G) : Hilbert G :=31⟨fun x => if P x then f x else 0, by32classical33apply memℓp_gen34apply Summable.of_nonneg_of_le (fun _ => Real.rpow_nonneg (norm_nonneg _) _)35(fun x => ?_) (f.property.summable (by norm_num))36split_ifs <;> simp⟩3738@[simp] theorem maskFunction_apply (P : G → Prop) (f : Hilbert G) (x : G) :39maskFunction P f x = if P x then f x else 0 := rfl4041theorem maskFunction_norm_le (P : G → Prop) (f : Hilbert G) :42‖maskFunction P f‖ ≤ ‖f‖ := by43apply lp.norm_le_of_tsum_le (by norm_num) (norm_nonneg f)44rw [lp.norm_rpow_eq_tsum (by norm_num)]45apply Summable.tsum_le_tsum46(fun x => ?_) ((maskFunction P f).property.summable (by norm_num))47(f.property.summable (by norm_num))48classical49simp only [maskFunction_apply]50split_ifs <;> simp5152def maskLinear (P : G → Prop) : Hilbert G →ₗ[ℂ] Hilbert G where53toFun := maskFunction P54map_add' := by55intro f h56ext x57classical58simp only [maskFunction_apply, lp.coeFn_add, Pi.add_apply]59split_ifs <;> simp60map_smul' := by61intro c f62ext x63classical64simp only [maskFunction_apply, lp.coeFn_smul, Pi.smul_apply]65split_ifs <;> simp6667/-- The coordinate mask is a genuine bounded linear projection. -/68def mask (P : G → Prop) : Hilbert G →L[ℂ] Hilbert G :=69(maskLinear P).mkContinuous 1 (by70intro f71simpa [maskLinear] using maskFunction_norm_le P f)7273@[simp] theorem mask_apply (P : G → Prop) (f : Hilbert G) (x : G) :74mask P f x = if P x then f x else 0 := rfl7576theorem mask_norm_le (P : G → Prop) (f : Hilbert G) : ‖mask P f‖ ≤ ‖f‖ :=77maskFunction_norm_le P f7879theorem mask_adjoint (P : G → Prop) : (mask P).adjoint = mask P := by80apply ContinuousLinearMap.ext81intro f82apply ext_inner_right ℂ83intro h84rw [ContinuousLinearMap.adjoint_inner_left]85change (∑' x, inner ℂ (f x) (mask P h x)) =86∑' x, inner ℂ (mask P f x) (h x)87apply tsum_congr88intro x89classical90simp only [mask_apply]91split_ifs <;> simp9293theorem mask_add_complement (P : G → Prop) :94mask P + mask (fun x => ¬ P x) = ContinuousLinearMap.id ℂ (Hilbert G) := by95ext f x96classical97simp only [ContinuousLinearMap.add_apply, lp.coeFn_add, Pi.add_apply,98mask_apply, ContinuousLinearMap.id_apply]99by_cases h : P x <;> simp [h]100101end Mask102103section Word104105variable {α : Type*} [DecidableEq α]106107abbrev Letter (α : Type*) := α × Bool108109def flip (s : Letter α) : Letter α := (s.1, !s.2)110111omit [DecidableEq α] in112@[simp] theorem flip_flip (s : Letter α) : flip (flip s) = s := by113rcases s with ⟨a,b⟩114cases b <;> rfl115116def letter (s : Letter α) : FreeGroup α :=117if s.2 then FreeGroup.of s.1 else (FreeGroup.of s.1)⁻¹118119omit [DecidableEq α] in120@[simp] theorem letter_flip (s : Letter α) : letter (flip s) = (letter s)⁻¹ := by121rcases s with ⟨a,b⟩122cases b <;> simp [letter, flip]123124@[simp] theorem letter_toWord (s : Letter α) : (letter s).toWord = [s] := by125rcases s with ⟨a,b⟩126cases b <;> simp [letter, FreeGroup.invRev]127128/-- Words whose reduced first letter is the specified letter. -/129def Cone (s : Letter α) (x : FreeGroup α) : Prop := ∃ t, x.toWord = s :: t130131theorem cone_disjoint {s t : Letter α} (hne : s ≠ t) (x : FreeGroup α) :132¬ (Cone s x ∧ Cone t x) := by133rintro ⟨⟨u,hu⟩, ⟨v,hv⟩⟩134exact hne (List.cons.inj (hu.symm.trans hv)).1135136theorem cone_shift_iff (s : Letter α) (x : FreeGroup α) :137Cone s (letter s * x) ↔ ¬ Cone (flip s) x := by138have hword : (letter s * x).toWord = FreeGroup.reduce (s :: x.toWord) := by139rw [FreeGroup.toWord_mul, letter_toWord]140rfl141cases hx : x.toWord with142| nil =>143simp [Cone, hword, hx, FreeGroup.reduce]144| cons t tail =>145have hred : FreeGroup.reduce (t :: tail) = t :: tail := by146rw [← hx]147exact FreeGroup.reduce_toWord x148unfold Cone149rw [hword, FreeGroup.reduce.cons, hx, hred]150by_cases he : s.1 = t.1 ∧ s.2 = !t.2151· have ht : t = flip s := by152rcases s with ⟨a,b⟩153rcases t with ⟨c,d⟩154cases b <;> cases d <;> simp_all [flip]155simp only [he]156have hn : ¬ ∃ u, tail = s :: u := by157rintro ⟨u, rfl⟩158have hr := FreeGroup.isReduced_toWord (x := x)159rw [hx, FreeGroup.isReduced_cons_cons] at hr160have hb := hr.1 (by simp [ht, flip])161have hb' : (flip s).2 = s.2 := by simpa [ht] using hb162rcases s with ⟨a,b⟩163cases b <;> simp [flip] at hb'164simp [ht, hn]165· have ht : t ≠ flip s := by166intro ht167apply he168rw [ht]169rcases s with ⟨a,b⟩170cases b <;> simp [flip]171simp [he, ht]172173end Word174175section Operators176177variable {α : Type*} [DecidableEq α]178179theorem leftRegular_adjoint {G : Type*} [Group G] (g : G) :180(leftRegular g).adjoint = leftRegular g⁻¹ := by181change ContinuousLinearMap.adjoint182((reindexIsometry (Equiv.mulLeft g⁻¹)) : Hilbert G →L[ℂ] Hilbert G) = _183rw [LinearIsometryEquiv.adjoint_eq_symm]184ext f x185change f ((Equiv.mulLeft g⁻¹).symm x) = f ((g⁻¹)⁻¹ * x)186simp187188theorem leftRegular_inner {G : Type*} [Group G] (g : G) (f h : Hilbert G) :189inner ℂ (leftRegular g f) (leftRegular g h) = inner ℂ f h :=190(reindexIsometry (Equiv.mulLeft g⁻¹)).inner_map_map f h191192/-- A letter creation shift, retaining only words where the new letter does193not cancel. Its range consists of words with that reduced first letter. -/194def creation (s : Letter α) : Hilbert (FreeGroup α) →L[ℂ] Hilbert (FreeGroup α) :=195(mask (Cone s)).comp (leftRegular (letter s))196197@[simp] theorem creation_apply (s : Letter α) (f : Hilbert (FreeGroup α))198(x : FreeGroup α) :199creation s f x = if Cone s x then f ((letter s)⁻¹ * x) else 0 := rfl200201/-- Creation is equally the full shift restricted to its noncancelling input cone. -/202theorem creation_domain (s : Letter α) :203creation s = (leftRegular (letter s)).comp (mask (fun x => ¬ Cone (flip s) x)) := by204ext f x205have hc : Cone s x ↔ ¬ Cone (flip s) ((letter s)⁻¹ * x) := by206simpa [mul_assoc] using cone_shift_iff s ((letter s)⁻¹ * x)207simp [creation_apply, ContinuousLinearMap.comp_apply, leftRegular_apply, mask_apply, hc]208209theorem creation_adjoint (s : Letter α) :210(creation s).adjoint = (leftRegular (letter s)⁻¹).comp (mask (Cone s)) := by211rw [creation, ContinuousLinearMap.adjoint_comp, mask_adjoint, leftRegular_adjoint]212213/-- The actual regular generator is the sum of creation and inverse annihilation. -/214theorem leftRegular_letter_decomposition (s : Letter α) :215leftRegular (letter s) = creation s + (creation (flip s)).adjoint := by216rw [creation_domain, creation_adjoint, letter_flip, inv_inv]217ext f x218simp only [ContinuousLinearMap.add_apply, ContinuousLinearMap.comp_apply,219lp.coeFn_add, Pi.add_apply, leftRegular_apply, mask_apply]220by_cases hx : Cone (flip s) ((letter s)⁻¹ * x) <;> simp [hx]221222theorem creation_norm_le (s : Letter α) (f : Hilbert (FreeGroup α)) :223‖creation s f‖ ≤ ‖f‖ :=224(mask_norm_le (Cone s) (leftRegular (letter s) f)).trans_eq225(leftRegular_preserves_norm (letter s) f)226227/-- Different first-letter creation ranges are orthogonal. -/228theorem creation_inner_zero {s t : Letter α} (hne : s ≠ t)229(f h : Hilbert (FreeGroup α)) : inner ℂ (creation s f) (creation t h) = 0 := by230change (∑' x, inner ℂ (creation s f x) (creation t h x)) = 0231have hz : ∀ x, inner ℂ (creation s f x) (creation t h x) = 0 := by232intro x233by_cases hs : Cone s x234· have ht : ¬ Cone t x := fun ht => cone_disjoint hne x ⟨hs,ht⟩235simp [creation_apply, ht]236· simp [creation_apply, hs]237simp_rw [hz]238exact tsum_zero239240/-- The middle cancellation term vanishes for different letters. -/241theorem creation_adjoint_comp_zero {s t : Letter α} (hne : s ≠ t) :242(creation s).adjoint.comp (creation t) = 0 := by243rw [creation_adjoint]244ext f x245simp only [ContinuousLinearMap.comp_apply, leftRegular_apply, mask_apply,246creation_apply, ContinuousLinearMap.zero_apply, lp.coeFn_zero, Pi.zero_apply]247by_cases hs : Cone s (letter s * x)248· have ht : ¬ Cone t (letter s * x) := fun ht => cone_disjoint hne _ ⟨hs,ht⟩249simp [hs, ht]250· simp [hs]251252/-- On another first-letter range, creation has no cancellation and is a full isometry. -/253theorem creation_comp_creation_eq_shift {s t : Letter α} (hne : flip s ≠ t) :254(creation s).comp (creation t) = (leftRegular (letter s)).comp (creation t) := by255rw [creation_domain]256ext f x257simp only [ContinuousLinearMap.comp_apply, leftRegular_apply, mask_apply, creation_apply]258by_cases hs : Cone (flip s) ((letter s)⁻¹ * x)259· have ht : ¬ Cone t ((letter s)⁻¹ * x) := fun ht => cone_disjoint hne _ ⟨hs,ht⟩260simp [hs, ht]261· simp [hs]262263/-- A reduced length-two shift has exactly three cancellation components. -/264theorem length_two_decomposition {s t : Letter α} (hne : flip s ≠ t) :265leftRegular (letter s * letter t) =266(creation s).comp (creation t) +267(creation s).comp (creation (flip t)).adjoint +268(creation (flip s)).adjoint.comp (creation (flip t)).adjoint := by269rw [leftRegular_mul, leftRegular_letter_decomposition s,270leftRegular_letter_decomposition t]271rw [ContinuousLinearMap.add_comp, ContinuousLinearMap.comp_add,272ContinuousLinearMap.comp_add, creation_adjoint_comp_zero hne, zero_add]273274end Operators275276end Nonadditivity.FreeCreation