SMACCs.accQuad_ext
theoremverifiedformalizationimported Lean
Extensionality lemma for accQuad.
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in open SMACCs in open Nat in open BigOperators in open SMCharges in variable {n : ℕ} in set_option backward.isDefEq.respectTransparency false in lemma SMACCs.accQuad_ext {S T : (SMCharges n).Charges} (h : ∀ j, ∑ i, ((fun a => a^2) ∘ toSpecies j S) i = ∑ i, ((fun a => a^2) ∘ toSpecies j T) i) : accQuad S = accQuad T
- Formalizes
- Physlib, `SMACCs.accQuad_ext`
- Lean proof
- By Joseph Tooby-Smith, from github.com/leanprover-community/physlib at
e411c6e89692(Copyright (c) 2024 Joseph Tooby-Smith. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.34.1.SMACCs.accQuad_ext← SMACCs.accQuad_ext (Physlib/Particles/StandardModel/AnomalyCancellation/Basic.lean:256): verbatim
- Verified
- 09 Oct 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 23
- SMCharges.DThe
Dcharges as a mapFin n → ℚ. - BiLinearSymm.mk₂The construction of a symmetric bilinear map from
smulandmap_addin the first factor, and swap. - SMSpeciesThe vector space associated with a single species of fermions.
- BiLinearSymm.toHomogeneousQuadThe homogeneous quadratic equation obtainable from a bilinear function.
- SMACCs.quadBiLinThe quadratic bilinear map.
- ACCSystemCharges.chargesModuleAn instance to provide the necessary operations and properties for
chargesto form a module over the fieldℚ. - SMACCs.accQuadThe quadratic anomaly cancellation condition.
- SMCharges.toSpeciesFor a given
i ∈ Fin 5, the projection of a charge onto that species. - SMChargesAssociate to each (including RHN) SM fermion a set of charges
- SMCharges.LThe
Lcharges as a mapFin n → ℚ. - ACCSystemCharges.ChargesAddCommGroupACCSystemCharges.ChargesAddCommGroup
- ACCSystemCharges.instFiniteRatChargesThe module
χ.Chargesoverℚis finite. - SMCharges.UThe
Ucharges as a mapFin n → ℚ. - BiLinearSymm.instFunA symmetric bilinear form can be treated as a function from
VtoV →ₗ[ℚ] ℚ. - SMCharges.toSpeciesEquivAn equivalence between the set
(SMCharges n).chargesand the set(Fin 5 → Fin n → ℚ). - ACCSystemChargesA system of charges, specified by the number of charges.
- ACCSystemCharges.ChargesThe charges as functions from
Fin χ.numberCharges → ℚ. - HomogeneousQuadraticThe structure defining a homogeneous quadratic equation.
- ACCSystemCharges.chargesAddCommMonoidAn instance to provide the necessary operations and properties for
chargesto form an additive commutative monoid. - HomogeneousQuadratic.instFunA homogeneous quadratic equation can be treated as a function from
Vtoℚ. - SMCharges.EThe
Echarges as a mapFin n → ℚ. - SMCharges.QThe
Qcharges as a mapFin n → ℚ. - BiLinearSymmThe structure of a symmetric bilinear function.
- SMCharges.DThe
- Used by 1
- SM.accQuad_invariantThe quadratic anomaly equation is invariant under family permutations.
Lean source view module on GitHub
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
set_option autoImplicit true inset_option relaxedAutoImplicit true inopen SMACCs inopen Nat inopen BigOperators inopen SMCharges invariable {n : ℕ} inset_option backward.isDefEq.respectTransparency false in/-- Extensionality lemma for `accQuad`. -/lemma SMACCs.accQuad_ext {S T : (SMCharges n).Charges} (h : ∀ j, ∑ i, ((fun a => a^2) ∘ toSpecies j S) i = ∑ i, ((fun a => a^2) ∘ toSpecies j T) i) : accQuad S = accQuad T := by simp only [HomogeneousQuadratic, accQuad, BiLinearSymm.toHomogeneousQuad_apply] simp only [quadBiLin, BiLinearSymm.mk₂_toFun_apply] repeat rw [Finset.sum_add_distrib] repeat rw [← Finset.mul_sum] ring_nf simp_all