Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

LeanProofs.Foundations.Cl60Def

Definition
Grade4_LeanProofs_Foundations_Cl60Def

by lisamegawatts · Sep 18, 2026 · Mathlib c5ea003 (Lean v4.30.0)

clifford-algebraleanproofs-grade4rosetta

Foundational definitions and structural lemmas from LeanProofs.Foundations.Cl60Def, required by the selected LeanProofs theorem graph.

Definition code
/-
  Euclidean Clifford algebra Cl(6,0).

  The 6D Euclidean Clifford algebra with signature (+,+,+,+,+,+).
  This is needed because Spin(6) = SU(4) acts naturally on Cl(6,0),
  and the exceptional isomorphism gives:

    Spin(6) = SU(4) superset SU(3)

  The even subalgebra Cl(6,0)^+ contains Spin(6), and the su(3)
  embedding lives inside it.

  Key properties:
  - dim Cl(6,0) = 2^6 = 64
  - 15 bivectors (grade 2): C(6,2) = 15
  - Bivector squares: (e_i*e_j)^2 = -1 (Euclidean)
  - The bivectors form the Lie algebra so(6) = su(4)
  - dim so(6) = 15 = dim su(4) (the exceptional isomorphism)

  Paper reference: Paper IV, Equation (2)
-/
import Definitions.Def_Grade4_LeanProofs_Foundations_Cl50Def

namespace LeanProofsGrade4P2M


noncomputable section

/-! ## The Euclidean quadratic form Q₆₀ -/

/-- Signature signs for (p,q) = (6,0): all positive. -/
 def euclidean6Signs : Fin 6 → ℝ := fun _ => 1

/-- The Euclidean quadratic form Q₆₀ = diag(+1,+1,+1,+1,+1,+1). -/
def Q60 : QuadraticForm ℝ (Fin 6 → ℝ) :=
  QuadraticMap.weightedSumSquares ℝ euclidean6Signs

/-- All basis vectors have Q₆₀ = 1. -/
theorem Q60_basis (i : Fin 6) : Q60 (Pi.single i 1) = 1 := by
  simp [Q60, QuadraticMap.weightedSumSquares_apply, euclidean6Signs, Pi.single,
        Function.update]

/-! ## The Clifford algebra Cl(6,0) -/

/-- The Euclidean Clifford algebra in 6 dimensions. -/
abbrev Cl60 : Type := CliffordAlgebra Q60

/-- Basis vectors in Cl(6,0). -/
def e6 (i : Fin 6) : Cl60 := CliffordAlgebra.ι Q60 (Pi.single i 1)

/-- Each basis vector squares to +1. -/
theorem e6_sq (i : Fin 6) : e6 i * e6 i = 1 := by
  rw [show e6 i * e6 i = algebraMap ℝ Cl60 (Q60 (Pi.single i 1)) from
    CliffordAlgebra.ι_sq_scalar Q60 _]
  rw [Q60_basis, map_one]

/-- Distinct basis vectors are orthogonal under Q₆₀. -/
theorem Q60_isOrtho {i j : Fin 6} (h : i ≠ j) :
    Q60.IsOrtho (Pi.single i 1) (Pi.single j 1) := by
  rw [QuadraticMap.isOrtho_def]
  simp only [Q60, QuadraticMap.weightedSumSquares_apply, Pi.add_apply]
  rw [← Finset.sum_add_distrib]
  apply Finset.sum_congr rfl
  intro k _
  have hi : (Pi.single i (1 : ℝ) : Fin 6 → ℝ) k = if k = i then 1 else 0 := by
    simp [Pi.single, Function.update]
  have hj : (Pi.single j (1 : ℝ) : Fin 6 → ℝ) k = if k = j then 1 else 0 := by
    simp [Pi.single, Function.update]
  rw [hi, hj]
  by_cases hki : k = i
  · subst hki; simp [h, euclidean6Signs]
  · by_cases hkj : k = j
    · subst hkj; simp [hki, euclidean6Signs]
    · simp [hki, hkj]

/-- Distinct basis vectors anticommute: e_i * e_j = -(e_j * e_i). -/
theorem e6_anticomm {i j : Fin 6} (h : i ≠ j) :
    e6 i * e6 j = -(e6 j * e6 i) :=
  CliffordAlgebra.ι_mul_ι_comm_of_isOrtho (Q60_isOrtho h)

/-! ## Bivectors in Cl(6,0)

  The 15 bivectors e_i * e_j (i < j) form the Lie algebra so(6).
  The exceptional isomorphism so(6) = su(4) means these 15 generators
  are exactly the generators of SU(4).
-/

/-- Bivector product in Cl(6,0). -/
def e6Prod (i j : Fin 6) : Cl60 := e6 i * e6 j







/-- Bivectors square to -1 in Euclidean signature. -/
theorem e6Prod_sq {i j : Fin 6} (h : i ≠ j) :
    e6Prod i j * e6Prod i j = -1 := by
  unfold e6Prod
  have hac : e6 j * e6 i = -(e6 i * e6 j) := e6_anticomm (Ne.symm h)
  calc e6 i * e6 j * (e6 i * e6 j)
      = e6 i * (e6 j * e6 i) * e6 j := by simp [mul_assoc]
    _ = e6 i * (-(e6 i * e6 j)) * e6 j := by rw [hac]
    _ = -(e6 i * (e6 i * e6 j) * e6 j) := by simp [mul_neg, neg_mul]
    _ = -(e6 i * e6 i * (e6 j * e6 j)) := by simp [mul_assoc]
    _ = -(1 * 1) := by rw [e6_sq i, e6_sq j]
    _ = -1 := by norm_num

/-! ## Dimension formulas -/







end


end LeanProofsGrade4P2M
Source
https://github.com/MonumentalSystems/LeanProofs/blob/b656238b73d5f0f74515f6574a1dcb4e0216129f/LeanProofs/Foundations/Cl60Def.lean

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me