feynlag.invariance¶
Symmetry and consistency checks for Lagrangian terms.
Strategy (see plan): explicit component transformation.
Gauge groups: infinitesimal variation
δφ = i α^a T^a φwith constantα^a; the O(α) coefficient of every generator must vanish. For terms written with covariant derivatives this global check is the correct tree-level invariance test. Fermion legs (living insideBilinearatoms asIndexedcomponents with a flavor index) get a parallel transform that preserves the flavor index — see_fermion_transform().Discrete groups: substitute each finite generator map; the term must be unchanged after
expand. Fermion legs get the same finite substitution as bosons, index-preserved via.replace()(no linearization needed — discrete transforms are finite, not infinitesimal) — see_fermion_transform_discrete().Global U(1)s: infinitesimal phase
φ → (1 + iqα)φwith per-flavour fermion charges — seecheck_global_invariance().Hermiticity:
expand(L − L*) = 0, for every sector — a fermionBilinearconjugates viaBilinear._eval_conjugate((ψ̄₁Γψ₂)† = ψ̄₂Γ̄ψ₁), so a term missing its+ h.c.fails.Mass dimension: symbolic power counting (renormalizability: ≤ 4). A fermion
Bilinearcontributes exactly 3 (two spin-½ legs).
Functions
|
Whether |
|
Whether |
|
Whether |
|
Whether a Lagrangian (sector) is hermitian: |
|
Whether every monomial of |
|
O(α) variation coefficients of |
|
Monomials of |