AFTD Auto-Formalizing Theoretical Domains

SM.repCharges

defimported Lean

The representation of (permGroup n) acting on the vector space of charges.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open SM in
open Nat in
open Finset in
open SMCharges in
open BigOperators in
variable {n : ℕ} in
@[simp]
def SM.repCharges {n : ℕ} : Representation ℚ (PermGroup n) (SMCharges n).Charges
Defined in
Physlib, `SM.repCharges`
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.
Verified
10 Oct 2026
Axioms
none listed
Built on 17
Used by 8

Lean source view module on GitHub

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open SM in
open Nat in
open Finset in
open SMCharges in
open BigOperators in
variable {n : ℕ} in
/-- The representation of `(permGroup n)` acting on the vector space of charges. -/
@[simp]
def SM.repCharges {n : ℕ} : Representation ℚ (PermGroup n) (SMCharges n).Charges where
  toFun f := chargeMap f⁻¹
  map_mul' f g := by
    simp only [PermGroup]
    apply LinearMap.ext
    intro S
    rw [charges_eq_toSpecies_eq]
    intro i
    simp only [Module.End.mul_apply]
    erw [toSMSpecies_toSpecies_inv, toSMSpecies_toSpecies_inv, toSMSpecies_toSpecies_inv]
    rfl
  map_one' := by
    apply LinearMap.ext
    intro S
    rw [charges_eq_toSpecies_eq]
    intro i
    exact toSMSpecies_toSpecies_inv _ _
See it in the graphDiscuss this resultChallenge it