Exact Lean source
Nonadditivity.RegularRestriction
Download original .lean · View on GitHub · Jump to source
Direct imports
Nonadditivity.FreeModelMathlib.GroupTheory.Coset.BasicdependencyMathlib.Topology.Algebra.InfiniteSum.RealdependencyMathlib.Tactic.Positivitydependency
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
49 project constants, including generated, internal and private declarations.
49 declarations
Nonadditivity.FreeModel.freeNorm.eq_1internal/detail/privateNonadditivity.FreeModel.gamma.eq_1internal/detail/privateNonadditivity.RegularRestriction.RightCosetsNonadditivity.RegularRestriction.cosetSliceNonadditivity.RegularRestriction.cosetSlice._proof_1internal/detail/privateNonadditivity.RegularRestriction.cosetSlice_applyNonadditivity.RegularRestriction.cosetSlice_regularPolynomialNonadditivity.RegularRestriction.coset_energyNonadditivity.RegularRestriction.extendZeroNonadditivity.RegularRestriction.extendZero._proof_1internal/detail/privateNonadditivity.RegularRestriction.extendZero.congr_simpNonadditivity.RegularRestriction.extendZero.eq_1internal/detail/privateNonadditivity.RegularRestriction.extendZero_apply_imageNonadditivity.RegularRestriction.extendZero_apply_outsideNonadditivity.RegularRestriction.extendZero_normNonadditivity.RegularRestriction.extendZero_regularPolynomialNonadditivity.RegularRestriction.extendZero_subgroup_regularPolynomialNonadditivity.RegularRestriction.freeGroup_map_injectiveNonadditivity.RegularRestriction.gammaInfiniteNonadditivity.RegularRestriction.gammaInfinite._proof_1internal/detail/privateNonadditivity.RegularRestriction.gammaInfinite._proof_2internal/detail/privateNonadditivity.RegularRestriction.gammaInfinite._proof_3internal/detail/privateNonadditivity.RegularRestriction.gammaInfinite._proof_4internal/detail/privateNonadditivity.RegularRestriction.gammaInfinite.eq_1internal/detail/privateNonadditivity.RegularRestriction.gammaInfinite_norm_eqNonadditivity.RegularRestriction.norm_sqNonadditivity.RegularRestriction.productFreeInclusionNonadditivity.RegularRestriction.productFreeInclusion._proof_1internal/detail/privateNonadditivity.RegularRestriction.productFreeInclusion._proof_2internal/detail/privateNonadditivity.RegularRestriction.productFreeInclusion_injectiveNonadditivity.RegularRestriction.productFree_regularPolynomial_norm_eqNonadditivity.RegularRestriction.regularPolynomialNonadditivity.RegularRestriction.regularPolynomial._proof_1internal/detail/privateNonadditivity.RegularRestriction.regularPolynomial._proof_2internal/detail/privateNonadditivity.RegularRestriction.regularPolynomial._proof_3internal/detail/privateNonadditivity.RegularRestriction.regularPolynomial._proof_4internal/detail/privateNonadditivity.RegularRestriction.regularPolynomial.eq_1internal/detail/privateNonadditivity.RegularRestriction.regularPolynomial_applyNonadditivity.RegularRestriction.regularPolynomial_equiv_norm_eqNonadditivity.RegularRestriction.regularPolynomial_injective_norm_eqNonadditivity.RegularRestriction.regularPolynomial_norm_le_of_injectiveNonadditivity.RegularRestriction.regularPolynomial_subgroup_norm_eqNonadditivity.RegularRestriction.regularPolynomial_subgroup_norm_geNonadditivity.RegularRestriction.regularPolynomial_subgroup_norm_leNonadditivity.RegularRestriction.rightCosetEquivNonadditivity.RegularRestriction.rightCosetEquiv._proof_1internal/detail/privateNonadditivity.RegularRestriction.rightCosetEquiv_applyNonadditivity.RegularRestriction.summable_coset_energy_private.Nonadditivity.RegularRestriction.0.Nonadditivity.RegularRestriction.rightCoset_mk_mulinternal/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.FreeModel7import Mathlib.GroupTheory.Coset.Basic8import Mathlib.Topology.Algebra.InfiniteSum.Real9import Mathlib.Tactic.Positivity1011noncomputable section1213namespace Nonadditivity.RegularRestriction1415open scoped BigOperators ENNReal1617set_option maxHeartbeats 80000018open Nonadditivity.FreeModel1920variable {G : Type*} [Group G]2122abbrev RightCosets (H : Subgroup G) := Quotient (QuotientGroup.rightRel H)2324private theorem rightCoset_mk_mul (H : Subgroup G) (q : RightCosets H) (h : H) :25Quotient.mk'' ((h : G) * q.out) = q := by26rw [← Quotient.out_eq q]27apply Quotient.sound28apply QuotientGroup.rightRel_apply.mpr29simp3031/-- Right coset coordinates realize the subgroup regular action on every fiber. -/32def rightCosetEquiv (H : Subgroup G) : RightCosets H × H ≃ G :=33Equiv.ofBijective (fun p => (p.2 : G) * p.1.out) (by34constructor35· intro p r heq36dsimp only at heq37have hq : p.1 = r.1 := by38rw [← rightCoset_mk_mul H p.1 p.2, ← rightCoset_mk_mul H r.1 r.2, heq]39apply Prod.ext hq40apply Subtype.ext41rw [hq] at heq42exact mul_right_cancel heq43· intro g44let q : RightCosets H := Quotient.mk'' g45have hm : g * q.out⁻¹ ∈ H := by46apply QuotientGroup.rightRel_apply.mp47exact Quotient.exact (Quotient.out_eq q)48refine ⟨(q, ⟨g * q.out⁻¹, hm⟩), ?_⟩49simp [mul_assoc])5051@[simp] theorem rightCosetEquiv_apply (H : Subgroup G) (q : RightCosets H) (h : H) :52rightCosetEquiv H (q, h) = (h : G) * q.out := rfl5354theorem norm_sq {α : Type*} (f : Hilbert α) :55‖f‖ ^ 2 = ∑' x, ‖f x‖ ^ 2 := by56simpa using lp.norm_rpow_eq_tsum (p := (2 : ℝ≥0∞)) (by norm_num) f5758/-- Restriction to one right coset, identified with the subgroup. -/59def cosetSlice (H : Subgroup G) (q : RightCosets H) (f : Hilbert G) : Hilbert H :=60⟨fun h => f (rightCosetEquiv H (q, h)), by61apply memℓp_gen62exact (f.property.summable (by norm_num)).comp_injective (by63intro a b heq64exact (Prod.mk.inj (rightCosetEquiv H |>.injective heq)).2)⟩6566@[simp] theorem cosetSlice_apply (H : Subgroup G) (q : RightCosets H)67(f : Hilbert G) (h : H) : cosetSlice H q f h = f ((h : G) * q.out) := rfl6869/-- The square norm splits exactly as the sum of the square norms on right cosets. -/70theorem coset_energy (H : Subgroup G) (f : Hilbert G) :71‖f‖ ^ 2 = ∑' q : RightCosets H, ‖cosetSlice H q f‖ ^ 2 := by72rw [norm_sq, ← (rightCosetEquiv H).tsum_eq (fun x => ‖f x‖ ^ 2)]73have hs : Summable (fun p : RightCosets H × H => ‖f (rightCosetEquiv H p)‖ ^ 2) :=74(rightCosetEquiv H).summable_iff (f := fun x => ‖f x‖ ^ 2) |>.mpr75(by simpa using f.property.summable (by norm_num))76rw [hs.tsum_prod]77apply tsum_congr78intro q79exact (norm_sq (cosetSlice H q f)).symm8081theorem summable_coset_energy (H : Subgroup G) (f : Hilbert G) :82Summable (fun q : RightCosets H => ‖cosetSlice H q f‖ ^ 2) := by83have hs : Summable (fun p : RightCosets H × H => ‖f (rightCosetEquiv H p)‖ ^ 2) :=84(rightCosetEquiv H).summable_iff (f := fun x => ‖f x‖ ^ 2) |>.mpr85(by simpa using f.property.summable (by norm_num))86convert hs.prod using 187funext q88exact norm_sq (cosetSlice H q f)8990/-- A finite scalar polynomial in the concrete regular shifts. -/91def regularPolynomial {α : Type*} [Group α] {I : Type*} [Fintype I]92(w : I → α) (a : I → ℂ) : Hilbert α →L[ℂ] Hilbert α :=93∑ i, a i • leftRegular (w i)9495@[simp] theorem regularPolynomial_apply {α : Type*} [Group α] {I : Type*} [Fintype I]96(w : I → α) (a : I → ℂ) (f : Hilbert α) (x : α) :97regularPolynomial w a f x = ∑ i, a i * f ((w i)⁻¹ * x) := by98simp only [regularPolynomial, ContinuousLinearMap.sum_apply, ContinuousLinearMap.smul_apply]99rw [lp.coeFn_sum]100simp [lp.coeFn_smul, Finset.sum_apply]101102/-- The restricted operator acts identically on every right coset. -/103theorem cosetSlice_regularPolynomial (H : Subgroup G) {I : Type*} [Fintype I]104(w : I → H) (a : I → ℂ) (q : RightCosets H) (f : Hilbert G) :105cosetSlice H q (regularPolynomial (fun i => (w i : G)) a f) =106regularPolynomial w a (cosetSlice H q f) := by107ext h108simp [mul_assoc]109110/-- The ambient regular norm cannot exceed the subgroup regular norm. -/111theorem regularPolynomial_subgroup_norm_le (H : Subgroup G) {I : Type*} [Fintype I]112(w : I → H) (a : I → ℂ) :113‖regularPolynomial (fun i => (w i : G)) a‖ ≤ ‖regularPolynomial w a‖ := by114apply ContinuousLinearMap.opNorm_le_bound _ (norm_nonneg _)115intro f116apply (sq_le_sq₀ (norm_nonneg _) (mul_nonneg (norm_nonneg _) (norm_nonneg _))).mp117rw [coset_energy H, mul_pow, coset_energy H,118← tsum_mul_left]119apply Summable.tsum_le_tsum120· intro q121rw [cosetSlice_regularPolynomial]122simpa only [mul_pow] using123(sq_le_sq₀ (norm_nonneg _) (mul_nonneg (norm_nonneg _) (norm_nonneg _))).mpr124((regularPolynomial w a).le_opNorm (cosetSlice H q f))125· exact summable_coset_energy H _126· exact (summable_coset_energy H f).mul_left _127128/-- Extension by zero through an injection is an actual square-summable function. -/129def extendZero {α β : Type*} (j : α → β) (hj : Function.Injective j)130(f : Hilbert α) : Hilbert β :=131⟨Function.extend j f 0, by132apply memℓp_gen133have hs := (summable_extend_zero hj).mpr (f.property.summable (by norm_num))134convert hs using 1135funext y136simpa [Function.comp_def] using137Function.apply_extend (g := (⇑f)) (fun z : ℂ => ‖z‖ ^ (2 : ℝ≥0∞).toReal) j (0 : β → ℂ) y⟩138139@[simp] theorem extendZero_apply_image {α β : Type*} (j : α → β)140(hj : Function.Injective j) (f : Hilbert α) (x : α) :141extendZero j hj f (j x) = f x := hj.extend_apply _ _ _142143theorem extendZero_apply_outside {α β : Type*} (j : α → β)144(hj : Function.Injective j) (f : Hilbert α) (x : β) (hx : x ∉ Set.range j) :145extendZero j hj f x = 0 := Function.extend_apply' _ _ _ hx146147/-- Extension by zero preserves the Hilbert norm exactly. -/148theorem extendZero_norm {α β : Type*} (j : α → β)149(hj : Function.Injective j) (f : Hilbert α) : ‖extendZero j hj f‖ = ‖f‖ := by150apply (sq_eq_sq₀ (norm_nonneg _) (norm_nonneg _)).mp151rw [norm_sq, norm_sq]152have heq : (fun y => ‖extendZero j hj f y‖ ^ 2) =153Function.extend j (fun x => ‖f x‖ ^ 2) 0 := by154funext y155simpa [extendZero, Function.comp_def] using156Function.apply_extend (g := (⇑f)) (fun z : ℂ => ‖z‖ ^ (2 : ℕ)) j (0 : β → ℂ) y157rw [heq, tsum_extend_zero hj]158159/-- The embedded subgroup subspace intertwines the two regular polynomials. -/160theorem extendZero_subgroup_regularPolynomial (H : Subgroup G) {I : Type*} [Fintype I]161(w : I → H) (a : I → ℂ) (f : Hilbert H) :162regularPolynomial (fun i => (w i : G)) a (extendZero Subtype.val Subtype.val_injective f) =163extendZero Subtype.val Subtype.val_injective (regularPolynomial w a f) := by164classical165ext g166by_cases hg : g ∈ H167· let h : H := ⟨g, hg⟩168change regularPolynomial (fun i => (w i : G)) a169(extendZero Subtype.val Subtype.val_injective f) (h : G) =170extendZero Subtype.val Subtype.val_injective (regularPolynomial w a f) (h : G)171rw [extendZero_apply_image]172simp only [regularPolynomial_apply]173apply Finset.sum_congr rfl174intro i hi175change a i * extendZero Subtype.val Subtype.val_injective f (((w i)⁻¹ * h : H) : G) = _176rw [extendZero_apply_image]177· have houtside : g ∉ Set.range (Subtype.val : H → G) := by simpa using hg178rw [extendZero_apply_outside _ _ _ _ houtside, regularPolynomial_apply]179apply Finset.sum_eq_zero180intro i hi181have hm : (w i : G)⁻¹ * g ∉ Set.range (Subtype.val : H → G) := by182simp only [Subtype.range_coe_subtype, Set.mem_setOf_eq]183exact fun ht => hg (by simpa [mul_assoc] using H.mul_mem (w i).property ht)184rw [extendZero_apply_outside _ _ _ _ hm, mul_zero]185186/-- The subgroup regular norm cannot exceed the ambient regular norm. -/187theorem regularPolynomial_subgroup_norm_ge (H : Subgroup G) {I : Type*} [Fintype I]188(w : I → H) (a : I → ℂ) :189‖regularPolynomial w a‖ ≤ ‖regularPolynomial (fun i => (w i : G)) a‖ := by190apply ContinuousLinearMap.opNorm_le_bound _ (norm_nonneg _)191intro f192have hb := (regularPolynomial (fun i => (w i : G)) a).le_opNorm193(extendZero Subtype.val Subtype.val_injective f)194rw [extendZero_subgroup_regularPolynomial, extendZero_norm, extendZero_norm] at hb195exact hb196197/-- Passing from a subgroup to its ambient group preserves every finite regular norm. -/198theorem regularPolynomial_subgroup_norm_eq (H : Subgroup G) {I : Type*} [Fintype I]199(w : I → H) (a : I → ℂ) :200‖regularPolynomial (fun i => (w i : G)) a‖ = ‖regularPolynomial w a‖ :=201le_antisymm (regularPolynomial_subgroup_norm_le H w a)202(regularPolynomial_subgroup_norm_ge H w a)203204/-- Extension by zero intertwines a finite polynomial along any group embedding. -/205theorem extendZero_regularPolynomial {H : Type*} [Group H] (φ : H →* G)206(hφ : Function.Injective φ) {I : Type*} [Fintype I]207(w : I → H) (a : I → ℂ) (f : Hilbert H) :208regularPolynomial (fun i => φ (w i)) a (extendZero φ hφ f) =209extendZero φ hφ (regularPolynomial w a f) := by210classical211ext g212by_cases hg : g ∈ Set.range φ213· obtain ⟨h, rfl⟩ := hg214rw [extendZero_apply_image]215simp only [regularPolynomial_apply]216apply Finset.sum_congr rfl217intro i hi218rw [← map_inv, ← map_mul, extendZero_apply_image]219· rw [extendZero_apply_outside _ _ _ _ hg, regularPolynomial_apply]220apply Finset.sum_eq_zero221intro i hi222have hm : (φ (w i))⁻¹ * g ∉ Set.range φ := by223rintro ⟨h, hh⟩224apply hg225refine ⟨w i * h, ?_⟩226rw [map_mul, hh]227simp228rw [extendZero_apply_outside _ _ _ _ hm, mul_zero]229230/-- The regular polynomial on an embedded group has at least the original norm. -/231theorem regularPolynomial_norm_le_of_injective {H : Type*} [Group H] (φ : H →* G)232(hφ : Function.Injective φ) {I : Type*} [Fintype I] (w : I → H) (a : I → ℂ) :233‖regularPolynomial w a‖ ≤ ‖regularPolynomial (fun i => φ (w i)) a‖ := by234apply ContinuousLinearMap.opNorm_le_bound _ (norm_nonneg _)235intro f236have hb := (regularPolynomial (fun i => φ (w i)) a).le_opNorm (extendZero φ hφ f)237rw [extendZero_regularPolynomial, extendZero_norm, extendZero_norm] at hb238exact hb239240/-- An injective group homomorphism preserves every finite regular polynomial norm.241The proof uses actual square-summable right coset fibers and extension by zero. -/242theorem regularPolynomial_injective_norm_eq {H : Type*} [Group H] (φ : H →* G)243(hφ : Function.Injective φ) {I : Type*} [Fintype I] (w : I → H) (a : I → ℂ) :244‖regularPolynomial (fun i => φ (w i)) a‖ = ‖regularPolynomial w a‖ := by245let e : H ≃* φ.range := MonoidHom.ofInjective hφ246apply le_antisymm247· calc248‖regularPolynomial (fun i => φ (w i)) a‖ =249‖regularPolynomial (fun i => (e (w i) : G)) a‖ := rfl250_ ≤ ‖regularPolynomial (fun i => e (w i)) a‖ :=251regularPolynomial_subgroup_norm_le φ.range _ a252_ ≤ ‖regularPolynomial w a‖ := by253simpa using regularPolynomial_norm_le_of_injective e.symm.toMonoidHom254e.symm.injective (fun i => e (w i)) a255· exact regularPolynomial_norm_le_of_injective φ hφ w a256257/-- Group isomorphisms preserve the norm of the actual regular polynomial. -/258theorem regularPolynomial_equiv_norm_eq {H : Type*} [Group H] (e : H ≃* G)259{I : Type*} [Fintype I] (w : I → H) (a : I → ℂ) :260‖regularPolynomial (fun i => e (w i)) a‖ = ‖regularPolynomial w a‖ :=261regularPolynomial_injective_norm_eq e.toMonoidHom e.injective w a262263/-- An injection of nonempty generator sets induces an injective free-group homomorphism. -/264theorem freeGroup_map_injective {α β : Type*} [Nonempty α] (f : α → β)265(hf : Function.Injective f) : Function.Injective (FreeGroup.map f) := by266apply Function.LeftInverse.injective (g := FreeGroup.map (Function.invFun f))267intro x268rw [FreeGroup.map.comp]269have heq : Function.invFun f ∘ f = id := Function.invFun_comp hf270rw [heq, FreeGroup.map.id]271272/-- The canonical embedding of finitely many free generators into countably many. -/273def productFreeInclusion (K n : ℕ) : ProductFreeGroup K n →* (Fin n → FreeGroup ℕ) where274toFun x j := FreeGroup.map (fun i : Fin K => i.val) (x j)275map_one' := by ext j; exact map_one _276map_mul' x y := by ext j; exact map_mul _ _ _277278/-- This inclusion is faithful in each factor. -/279theorem productFreeInclusion_injective (K n : ℕ) [NeZero K] :280Function.Injective (productFreeInclusion K n) := by281intro x y hxy282funext j283apply freeGroup_map_injective (fun i : Fin K => i.val) Fin.val_injective284exact congrFun hxy j285286/-- Finitely and countably generated ambient free groups give exactly the same norm. -/287theorem productFree_regularPolynomial_norm_eq (K n : ℕ) [NeZero K]288{I : Type*} [Fintype I] (w : I → ProductFreeGroup K n) (a : I → ℂ) :289‖regularPolynomial (fun i => productFreeInclusion K n (w i)) a‖ =290‖regularPolynomial w a‖ :=291regularPolynomial_injective_norm_eq (productFreeInclusion K n)292(productFreeInclusion_injective K n) w a293294/-- The manuscript's exact normalized polynomial in the countably generated model. -/295def gammaInfinite {K n : ℕ} (A : Matrix (Branch K n) (Branch K n) ℂ) :296Hilbert (Fin n → FreeGroup ℕ) →L[ℂ] Hilbert (Fin n → FreeGroup ℕ) :=297(1 / ((K : ℂ) ^ n)) •298∑ a : Branch K n, ∑ b : Branch K n,299A a b • leftRegular (productFreeInclusion K n ((branchWord a)⁻¹ * branchWord b))300301/-- The concrete finite-generator model needs no new norm assumption. -/302theorem gammaInfinite_norm_eq {K n : ℕ} [NeZero K]303(A : Matrix (Branch K n) (Branch K n) ℂ) : ‖gammaInfinite A‖ = freeNorm A := by304have hpoly := productFree_regularPolynomial_norm_eq K n305(fun p : Branch K n × Branch K n => (branchWord p.1)⁻¹ * branchWord p.2)306(fun p => A p.1 p.2)307simp only [regularPolynomial, Fintype.sum_prod_type] at hpoly308simp only [gammaInfinite, freeNorm, gamma, norm_smul]309rw [hpoly]310311end Nonadditivity.RegularRestriction