AFTD Auto-Formalizing Theoretical Domains

SMRHN.PlusU1.QuadSol.add_AFL_quad

theoremverifiedformalizationimported Lean

SMRHN.PlusU1.QuadSol.add_AFL_quad

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open SMRHN SMRHN.PlusU1 in
open SMνCharges in
open SMνACCs in
open BigOperators in
variable {n : ℕ} in
variable (C : (PlusU1 n).QuadSols) in
set_option backward.isDefEq.respectTransparency false in
lemma SMRHN.PlusU1.QuadSol.add_AFL_quad (S : (PlusU1 n).LinSols) (a b : ℚ) :
    accQuad (a • S.val + b • C.val) =
    a * (a * accQuad S.val + 2 * b * quadBiLin S.val C.val)
Formalizes
Physlib, `SMRHN.PlusU1.QuadSol.add_AFL_quad`
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
09 Oct 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 38
Used by 2

Lean source view module on GitHub

set_option autoImplicit true inset_option relaxedAutoImplicit true inopen SMRHN SMRHN.PlusU1 inopen SMνCharges inopen SMνACCs inopen BigOperators invariable {n : ℕ} invariable (C : (PlusU1 n).QuadSols) inset_option backward.isDefEq.respectTransparency false inlemma SMRHN.PlusU1.QuadSol.add_AFL_quad (S : (PlusU1 n).LinSols) (a b : ℚ) :    accQuad (a • S.val + b • C.val) =    a * (a * accQuad S.val + 2 * b * quadBiLin S.val C.val) := by  erw [BiLinearSymm.toHomogeneousQuad_add, quadSol (b • C)]  rw [quadBiLin.map_smul₁, quadBiLin.map_smul₂]  erw [accQuad.map_smul]  ring
See it in the graphDiscuss this resultChallenge it