LeanProofs.Foundations.GradeProjection
DefinitionGrade4_LeanProofs_Foundations_GradeProjectionclifford-algebraleanproofs-grade4rosetta
Foundational definitions and structural lemmas from LeanProofs.Foundations.GradeProjection, required by the selected LeanProofs theorem graph.
Definition code
/-
Z-grading infrastructure for the Spacetime Algebra Cl(1,3).
Transfers the ℕ-grading from the exterior algebra (via CliffordAlgebra.equivExterior)
to define grade-k submodules of STA for k = 0, 1, 2, 3, 4.
Key results:
- `staEquivExterior`: STA ≃ₗ[ℝ] ExteriorAlgebra ℝ (Fin 4 → ℝ)
- `grade k`: Submodule ℝ STA (the grade-k component)
- `scalar_mem_grade0`: algebraMap image lands in grade 0
- `vector_mem_grade1`: ι image lands in grade 1
- `gammaProd_mem_grade2`: products γ_μ * γ_ν (μ ≠ ν) land in grade 2
Paper reference: §2.1 (grade decomposition of Cl(1,3))
-/
import Definitions.Def_Grade4_LeanProofs_Foundations_BasisElements
import Mathlib.LinearAlgebra.CliffordAlgebra.Contraction
import Mathlib.LinearAlgebra.ExteriorAlgebra.Grading
namespace LeanProofsGrade4P2M
noncomputable section
open CliffordAlgebra
-- Invertible (2 : ℝ) needed for equivExterior.
instance inv2Real : Invertible (2 : ℝ) := invertibleOfNonzero (by norm_num)
/-! ## The linear equivalence STA ≃ ExteriorAlgebra -/
/-- The linear equivalence between STA = Cl(1,3) and the exterior algebra on ℝ⁴.
This is a module isomorphism (not an algebra isomorphism). -/
def staEquivExterior : STA ≃ₗ[ℝ] ExteriorAlgebra ℝ (Fin 4 → ℝ) :=
CliffordAlgebra.equivExterior Q13
/-- `staEquivExterior` applied to `x` equals `changeForm` applied to `x`. -/
theorem staEquivExterior_apply (x : STA) :
staEquivExterior x =
CliffordAlgebra.changeForm
(changeForm.associated_neg_proof (Q := Q13)) x := by
rfl
/-! ## Grade submodules -/
/-! ## Grade 0: Scalars -/
/-- The equivalence sends algebraMap to algebraMap (scalars preserved). -/
theorem equivExterior_algebraMap (r : ℝ) :
staEquivExterior (algebraMap ℝ STA r) =
algebraMap ℝ (ExteriorAlgebra ℝ (Fin 4 → ℝ)) r := by
rw [staEquivExterior_apply, changeForm_algebraMap]
/-! ## Grade 1: Vectors -/
/-! ## Grade 2: Bivectors -/
/-! ## Submodule properties -/
end
end LeanProofsGrade4P2M
Source