Exact Lean source
Nonadditivity.RegularCoefficientEnergy
Download original .lean · View on GitHub · Jump to source
Direct imports
Nonadditivity.FreeModelNonadditivity.PositiveLinearizationMathlib.Analysis.InnerProductSpace.Positivedependency
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
45 project constants, including generated, internal and private declarations.
45 declarations
Nonadditivity.RegularCoefficientEnergy.CoefficientSpaceNonadditivity.RegularCoefficientEnergy.HilbertNonadditivity.RegularCoefficientEnergy.VectorHilbertNonadditivity.RegularCoefficientEnergy.VectorHilbert._proof_1internal/detail/privateNonadditivity.RegularCoefficientEnergy.coefficientOperatorNonadditivity.RegularCoefficientEnergy.coefficientOperator._proof_1internal/detail/privateNonadditivity.RegularCoefficientEnergy.coefficientOperator._proof_2internal/detail/privateNonadditivity.RegularCoefficientEnergy.coefficientOperator._proof_3internal/detail/privateNonadditivity.RegularCoefficientEnergy.coefficientOperator._proof_4internal/detail/privateNonadditivity.RegularCoefficientEnergy.coefficientOperator.eq_1internal/detail/privateNonadditivity.RegularCoefficientEnergy.coefficient_energy_leNonadditivity.RegularCoefficientEnergy.coefficient_gram_leNonadditivity.RegularCoefficientEnergy.coefficient_gram_le._simp_1_2internal/detail/privateNonadditivity.RegularCoefficientEnergy.differenceSupport_modulus_sum_norm_leNonadditivity.RegularCoefficientEnergy.leftRegularNonadditivity.RegularCoefficientEnergy.leftRegular._proof_1internal/detail/privateNonadditivity.RegularCoefficientEnergy.leftRegular_applyNonadditivity.RegularCoefficientEnergy.leftRegular_singleNonadditivity.RegularCoefficientEnergy.liftFunctionNonadditivity.RegularCoefficientEnergy.liftFunction._proof_1internal/detail/privateNonadditivity.RegularCoefficientEnergy.liftFunction_applyNonadditivity.RegularCoefficientEnergy.liftFunction_norm_leNonadditivity.RegularCoefficientEnergy.liftOperatorNonadditivity.RegularCoefficientEnergy.liftOperator._proof_1internal/detail/privateNonadditivity.RegularCoefficientEnergy.liftOperator._proof_2internal/detail/privateNonadditivity.RegularCoefficientEnergy.liftOperator._proof_3internal/detail/privateNonadditivity.RegularCoefficientEnergy.liftOperator_applyNonadditivity.RegularCoefficientEnergy.liftOperator_singleNonadditivity.RegularCoefficientEnergy.modulus_sum_norm_le_regularNonadditivity.RegularCoefficientEnergy.regularPolynomialNonadditivity.RegularCoefficientEnergy.regularPolynomial._proof_1internal/detail/privateNonadditivity.RegularCoefficientEnergy.regularPolynomial._proof_2internal/detail/privateNonadditivity.RegularCoefficientEnergy.regularPolynomial._proof_3internal/detail/privateNonadditivity.RegularCoefficientEnergy.regularPolynomial.eq_1internal/detail/privateNonadditivity.RegularCoefficientEnergy.regularPolynomial_single_oneNonadditivity.RegularCoefficientEnergy.reindexFunctionNonadditivity.RegularCoefficientEnergy.reindexFunction._proof_1internal/detail/privateNonadditivity.RegularCoefficientEnergy.reindexFunction.eq_1internal/detail/privateNonadditivity.RegularCoefficientEnergy.reindexIsometryNonadditivity.RegularCoefficientEnergy.reindexIsometry._proof_1internal/detail/privateNonadditivity.RegularCoefficientEnergy.reindexIsometry._proof_2internal/detail/privateNonadditivity.RegularCoefficientEnergy.reindexIsometry._proof_3internal/detail/privateNonadditivity.RegularCoefficientEnergy.reindexIsometry._proof_4internal/detail/privateNonadditivity.RegularCoefficientEnergy.reindexIsometry._proof_5internal/detail/private_private.Nonadditivity.RegularCoefficientEnergy.0.Nonadditivity.RegularCoefficientEnergy.square_boundinternal/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 Nonadditivity.PositiveLinearization8import Mathlib.Analysis.InnerProductSpace.Positive910/-! # Coefficient energy of an actual regular-representation polynomial1112Evaluation on a vector supported at the group identity isolates every13coefficient into a distinct orthogonal coordinate of the vector-valued14square-summable Hilbert space.15-/1617noncomputable section1819set_option backward.isDefEq.respectTransparency false2021namespace Nonadditivity.RegularCoefficientEnergy2223open scoped BigOperators ENNReal Matrix Matrix.Norms.L2Operator ComplexOrder MatrixOrder2425abbrev VectorHilbert (G E : Type*) [NormedAddCommGroup E] := lp (fun _ : G => E) 22627section Lift2829variable {G E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E]3031private theorem square_bound (T : E →L[ℂ] E) (x : E) :32‖T x‖ ^ 2 ≤ ‖T‖ ^ 2 * ‖x‖ ^ 2 := by33simpa only [mul_pow] using pow_le_pow_left₀ (norm_nonneg _) (T.le_opNorm x) 23435/-- Apply a bounded coefficient operator independently at every coordinate. -/36def liftFunction (T : E →L[ℂ] E) (f : VectorHilbert G E) : VectorHilbert G E :=37⟨fun g => T (f g), by38apply memℓp_gen39simp only [ENNReal.toReal_ofNat, Real.rpow_two]40refine Summable.of_nonneg_of_le (fun _ => sq_nonneg _) (fun g => square_bound T (f g))41?_42simpa only [ENNReal.toReal_ofNat, Real.rpow_two] using43(f.property.summable (by norm_num)).mul_left (‖T‖ ^ 2)⟩4445@[simp] theorem liftFunction_apply (T : E →L[ℂ] E) (f : VectorHilbert G E) (g : G) :46liftFunction T f g = T (f g) := rfl4748theorem liftFunction_norm_le (T : E →L[ℂ] E) (f : VectorHilbert G E) :49‖liftFunction T f‖ ≤ ‖T‖ * ‖f‖ := by50apply lp.norm_le_of_tsum_le (by norm_num) (mul_nonneg (norm_nonneg _) (norm_nonneg _))51simp only [ENNReal.toReal_ofNat, Real.rpow_two]52calc53(∑' g, ‖T (f g)‖ ^ 2) ≤ ∑' g, ‖T‖ ^ 2 * ‖f g‖ ^ 2 := by54apply Summable.tsum_le_tsum55· exact fun g => square_bound T (f g)56· simpa only [liftFunction_apply, ENNReal.toReal_ofNat, Real.rpow_two] using57(liftFunction T f).property.summable (by norm_num)58· simpa only [ENNReal.toReal_ofNat, Real.rpow_two] using59(f.property.summable (by norm_num)).mul_left (‖T‖ ^ 2)60_ = (‖T‖ * ‖f‖) ^ 2 := by61rw [tsum_mul_left, mul_pow]62congr 163simpa only [ENNReal.toReal_ofNat, Real.rpow_two] using64(lp.norm_rpow_eq_tsum (by norm_num) f).symm6566def liftOperator (T : E →L[ℂ] E) : VectorHilbert G E →L[ℂ] VectorHilbert G E :=67LinearMap.mkContinuous68{ toFun := liftFunction T69map_add' := by intro f h; ext g; simp70map_smul' := by intro c f; ext g; simp }71‖T‖ (liftFunction_norm_le T)7273@[simp] theorem liftOperator_apply (T : E →L[ℂ] E) (f : VectorHilbert G E) (g : G) :74liftOperator T f g = T (f g) := rfl7576theorem liftOperator_single [DecidableEq G] (T : E →L[ℂ] E) (g : G) (x : E) :77liftOperator T (lp.single 2 g x) = lp.single 2 g (T x) := by78ext h79by_cases hh : h = g80· subst h81simp82· simp [lp.single_apply, hh]8384/-- Coordinate permutations are actual Hilbert-space isometries. -/85def reindexFunction (e : G ≃ G) (f : VectorHilbert G E) : VectorHilbert G E :=86⟨fun g => f (e g), by87apply memℓp_gen88exact (e.summable_iff89(f := fun g : G => ‖f g‖ ^ (2 : ℝ≥0∞).toReal)).mpr90(f.property.summable (by norm_num))⟩9192def reindexIsometry (e : G ≃ G) : VectorHilbert G E ≃ₗᵢ[ℂ] VectorHilbert G E where93toFun := reindexFunction e94invFun := reindexFunction e.symm95left_inv := by intro f; ext g; simp [reindexFunction]96right_inv := by intro f; ext g; simp [reindexFunction]97map_add' := by intro f h; ext g; rfl98map_smul' := by intro c f; ext g; rfl99norm_map' := by100intro f101rw [lp.norm_eq_tsum_rpow (by norm_num), lp.norm_eq_tsum_rpow (by norm_num)]102exact congrArg (fun t : ℝ => t ^ (1 / (2 : ℝ≥0∞).toReal))103(e.tsum_eq (fun g => ‖f g‖ ^ (2 : ℝ≥0∞).toReal))104105end Lift106107section Polynomial108109variable {G ι : Type*} [Group G] [DecidableEq G] [Fintype ι] [DecidableEq ι]110111abbrev CoefficientSpace (ι : Type*) [Fintype ι] := EuclideanSpace ℂ ι112abbrev Hilbert (G ι : Type*) [Fintype ι] := VectorHilbert G (CoefficientSpace ι)113114def coefficientOperator (A : Matrix ι ι ℂ) : CoefficientSpace ι →L[ℂ] CoefficientSpace ι :=115Matrix.toEuclideanCLM (n := ι) (𝕜 := ℂ) A116117def leftRegular (g : G) : Hilbert G ι →L[ℂ] Hilbert G ι :=118(reindexIsometry (E := CoefficientSpace ι) (Equiv.mulLeft g⁻¹)).toLinearIsometry.toContinuousLinearMap119120omit [DecidableEq G] [DecidableEq ι] in121@[simp] theorem leftRegular_apply (g : G) (f : Hilbert G ι) (h : G) :122leftRegular g f h = f (g⁻¹ * h) := rfl123124omit [DecidableEq ι] in125theorem leftRegular_single (g h : G) (x : CoefficientSpace ι) :126leftRegular g (lp.single 2 h x) = lp.single 2 (g * h) x := by127ext z128simp only [leftRegular_apply, lp.single_apply, Pi.single_apply]129have heq : g⁻¹ * z = h ↔ z = g * h := by130constructor131· intro hz132have hm := congrArg (fun t => g * t) hz133simpa [mul_assoc] using hm134· intro hz135rw [hz]136simp137simp only [heq]138139/-- The literal finite polynomial `∑ c_w ⊗ λ(w)`, realized on vector-valued ℓ². -/140def regularPolynomial (S : Finset G) (c : G → Matrix ι ι ℂ) : Hilbert G ι →L[ℂ] Hilbert G ι :=141∑ w ∈ S, (liftOperator (coefficientOperator (c w))).comp (leftRegular w)142143/-- At the identity basis vector, different words occupy distinct coordinates. -/144theorem regularPolynomial_single_one (S : Finset G) (c : G → Matrix ι ι ℂ)145(x : CoefficientSpace ι) :146regularPolynomial S c (lp.single 2 (1 : G) x) =147∑ w ∈ S, lp.single 2 w (coefficientOperator (c w) x) := by148simp only [regularPolynomial, ContinuousLinearMap.sum_apply, ContinuousLinearMap.comp_apply,149leftRegular_single, mul_one, liftOperator_single]150151/-- The coefficient energy is bounded by the actual polynomial operator norm,152proved by identity-basis evaluation rather than supplied as a premise. -/153theorem coefficient_energy_le (S : Finset G) (c : G → Matrix ι ι ℂ)154(x : CoefficientSpace ι) :155∑ w ∈ S, ‖coefficientOperator (c w) x‖ ^ 2 ≤156‖regularPolynomial S c‖ ^ 2 * ‖x‖ ^ 2 := by157have h := (regularPolynomial S c).le_opNorm (lp.single 2 (1 : G) x)158rw [regularPolynomial_single_one, lp.norm_single (by norm_num)] at h159have hsq := pow_le_pow_left₀ (norm_nonneg _) h 2160have hnorm := lp.norm_sum_single (p := 2) (by norm_num)161(fun w => coefficientOperator (c w) x) S162simp only [ENNReal.toReal_ofNat, Real.rpow_two] at hnorm163simpa only [hnorm, mul_pow] using hsq164165/-- Matrix Gram energy in the actual positive-semidefinite matrix order. -/166theorem coefficient_gram_le (S : Finset G) (c : G → Matrix ι ι ℂ) :167∑ w ∈ S, (c w).conjTranspose * c w ≤168((‖regularPolynomial S c‖ ^ 2 : ℝ) : ℂ) • (1 : Matrix ι ι ℂ) := by169apply Matrix.le_iff.mpr170apply Matrix.isPositive_toEuclideanLin_iff.mp171change (coefficientOperator172(((‖regularPolynomial S c‖ ^ 2 : ℝ) : ℂ) • (1 : Matrix ι ι ℂ) -173∑ w ∈ S, (c w).conjTranspose * c w)).toLinearMap.IsPositive174apply (ContinuousLinearMap.isPositive_toLinearMap_iff _).mp175apply (ContinuousLinearMap.isPositive_iff_complex _).mpr176intro x177have hsingle (A : Matrix ι ι ℂ) :178inner ℂ ((Matrix.toEuclideanCLM (n := ι) (𝕜 := ℂ) (A.conjTranspose * A)) x) x =179((‖(Matrix.toEuclideanCLM (n := ι) (𝕜 := ℂ) A) x‖ ^ 2 : ℝ) : ℂ) := by180rw [← Matrix.star_eq_conjTranspose, map_mul, map_star,181ContinuousLinearMap.star_eq_adjoint, ContinuousLinearMap.mul_apply,182ContinuousLinearMap.adjoint_inner_left, inner_self_eq_norm_sq_to_K]183norm_cast184have hinner :185inner ℂ (coefficientOperator186(((‖regularPolynomial S c‖ ^ 2 : ℝ) : ℂ) • (1 : Matrix ι ι ℂ) -187∑ w ∈ S, (c w).conjTranspose * c w) x) x =188(((‖regularPolynomial S c‖ ^ 2 * ‖x‖ ^ 2 -189∑ w ∈ S, ‖coefficientOperator (c w) x‖ ^ 2 : ℝ)) : ℂ) := by190change inner ℂ191((Matrix.toEuclideanCLM (n := ι) (𝕜 := ℂ)192(((‖regularPolynomial S c‖ ^ 2 : ℝ) : ℂ) • (1 : Matrix ι ι ℂ) -193∑ w ∈ S, (c w).conjTranspose * c w)) x) x = _194simp only [coefficientOperator, map_sub, map_smul, map_one, map_sum,195ContinuousLinearMap.sub_apply, ContinuousLinearMap.sum_apply,196ContinuousLinearMap.smul_apply, ContinuousLinearMap.one_apply,197inner_sub_left, inner_smul_left, sum_inner]198simp only [hsingle, inner_self_eq_norm_sq_to_K,199Complex.conj_ofReal, ← Complex.ofReal_sum]200norm_cast201simp only [Complex.ofReal_sub, Complex.ofReal_mul]202rfl203rw [hinner]204change205(((‖regularPolynomial S c‖ ^ 2 * ‖x‖ ^ 2 -206∑ w ∈ S, ‖coefficientOperator (c w) x‖ ^ 2 : ℝ) : ℂ).re : ℂ) = _ ∧2070 ≤ ((‖regularPolynomial S c‖ ^ 2 * ‖x‖ ^ 2 -208∑ w ∈ S, ‖coefficientOperator (c w) x‖ ^ 2 : ℝ) : ℂ).re209simp only [Complex.ofReal_re]210exact ⟨trivial, sub_nonneg.mpr (coefficient_energy_le S c x)⟩211212/-- The modulus correction bound now has no supplied coefficient-energy premise. -/213theorem modulus_sum_norm_le_regular (S : Finset G) (c : G → Matrix ι ι ℂ) :214‖∑ w ∈ S, CFC.abs (c w)‖ ≤215Real.sqrt (S.card : ℝ) * ‖regularPolynomial S c‖ := by216apply Linearization.modulus_sum_norm_le_sqrt_card S c217‖regularPolynomial S c‖ (norm_nonneg _)218intro x219exact coefficient_energy_le S c x220221/-- On a difference support `S⁻¹S`, the Appendix A correction is at most222`|S|` times the genuine regular-polynomial norm. -/223theorem differenceSupport_modulus_sum_norm_le (S : Finset G)224(c : G → Matrix ι ι ℂ) :225‖∑ w ∈ Linearization.differenceSupport S, CFC.abs (c w)‖ ≤226(S.card : ℝ) * ‖regularPolynomial (Linearization.differenceSupport S) c‖ := by227apply (modulus_sum_norm_le_regular (Linearization.differenceSupport S) c).trans228apply mul_le_mul_of_nonneg_right _ (norm_nonneg _)229apply Real.sqrt_le_iff.mpr230refine ⟨Nat.cast_nonneg _, ?_⟩231exact_mod_cast Linearization.card_differenceSupport_le S232233end Polynomial234235end Nonadditivity.RegularCoefficientEnergy