AFTD Auto-Formalizing Theoretical Domains

complexLorentzTensor.repDim

abbrevimported Lean

The dimensions of each of the different types of complex Lorentz vector space.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open Matrix in
open MatrixGroups in
open Complex in
open TensorProduct in
abbrev complexLorentzTensor.repDim (c : Color) : ℕ
Defined in
Physlib, `complexLorentzTensor.repDim`
Lean proof
By Joseph Tooby-Smith, Nikolai Kashcheev, 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
Built on 3
Used by 1

Lean source view module on GitHub

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open Matrix in
open MatrixGroups in
open Complex in
open TensorProduct in
/-- The dimensions of each of the different types of complex Lorentz vector space. -/
abbrev complexLorentzTensor.repDim (c : Color) : ℕ :=
  match c with
  | Color.upL => 2
  | Color.downL => 2
  | Color.upR => 2
  | Color.downR => 2
  | Color.up => 4
  | Color.down => 4
See it in the graphDiscuss this resultChallenge it