AFTD Auto-Formalizing Theoretical Domains

lorentzAlgebra.boostGenerator

defimported Lean

The boost generator K_i in the Lorentz algebra so(1,3). This matrix generates infinitesimal Lorentz boosts in the i-th spatial direction. The matrix has non-zero entries only at positions (0, i+1) and (i+1, 0) with value 1, where we use the index convention 0 = time, 1,2,3 = space. ## Properties - Symmetric: K_iᵀ = K_i - Traceless: tr(K_i) = 0 - Satisfies Lorentz algebra condition: K_iᵀ η = -η K_i ## Physical Meaning Exponentiating β·K_i produces a finite Lorentz boost with rapidity β in direction i.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
def lorentzAlgebra.boostGenerator (i : Fin 3) : Matrix (Fin 1 ⊕ Fin 3) (Fin 1 ⊕ Fin 3) ℝ
Defined in
Physlib, `lorentzAlgebra.boostGenerator`
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

Lean source view module on GitHub

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
/-- The boost generator K_i in the Lorentz algebra so(1,3). This matrix generates infinitesimal Lorentz boosts in the i-th spatial direction. The matrix has non-zero entries only at positions (0, i+1) and (i+1, 0) with value 1, where we use the index convention 0 = time, 1,2,3 = space. ## Properties - Symmetric: K_iᵀ = K_i - Traceless: tr(K_i) = 0 - Satisfies Lorentz algebra condition: K_iᵀ η = -η K_i ## Physical Meaning Exponentiating β·K_i produces a finite Lorentz boost with rapidity β in direction i. -/
def lorentzAlgebra.boostGenerator (i : Fin 3) : Matrix (Fin 1 ⊕ Fin 3) (Fin 1 ⊕ Fin 3) ℝ :=
  fun μ ν =>
    if (μ = Sum.inl 0 ∧ ν = Sum.inr i) ∨ (μ = Sum.inr i ∧ ν = Sum.inl 0) then 1
    else 0
See it in the graphDiscuss this resultChallenge it