AFTD Auto-Formalizing Theoretical Domains

MSSMACCs.accQuad_ext

theoremverifiedformalizationimported Lean

Extensionality lemma for accQuad.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open Nat in
open BigOperators in
open MSSMCharges in
set_option backward.isDefEq.respectTransparency false in
lemma MSSMACCs.accQuad_ext {S T : (MSSMCharges).Charges}
    (h : ∀ j, ∑ i, ((fun a => a^2) ∘ toSMSpecies j S) i =
    ∑ i, ((fun a => a^2) ∘ toSMSpecies j T) i)
    (hd : Hd S = Hd T) (hu : Hu S = Hu T) :
    accQuad S = accQuad T
Formalizes
Physlib, `MSSMACCs.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.
Verified
10 Oct 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 25
Used by 3

Lean source view module on GitHub

set_option autoImplicit true inset_option relaxedAutoImplicit true inopen Nat inopen BigOperators inopen MSSMCharges inset_option backward.isDefEq.respectTransparency false in/-- Extensionality lemma for `accQuad`. -/lemma MSSMACCs.accQuad_ext {S T : (MSSMCharges).Charges}    (h : ∀ j, ∑ i, ((fun a => a^2) ∘ toSMSpecies j S) i =    ∑ i, ((fun a => a^2) ∘ toSMSpecies j T) i)    (hd : Hd S = Hd T) (hu : Hu S = Hu T) :    accQuad S = accQuad T := by  have h1 : ∀ j, ∑ i, (toSMSpecies j S i)^2 = ∑ i, (toSMSpecies j T i)^2 := h  simp only [HomogeneousQuadratic, accQuad, BiLinearSymm.toHomogeneousQuad_apply, quadBiLin,    BiLinearSymm.mk₂_toFun_apply, ← pow_two, Finset.sum_add_distrib, ← Finset.mul_sum, h1, hd, hu]
See it in the graphDiscuss this resultChallenge it