Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Chapter PauliCommutant

Definition
ChapterPauliCommutant

by leonardopedro · Oct 1, 2026 · Mathlib 0df444a (Lean v4.33.1)

definitionsformalizationtimepiece

Formal definitions for the timepiece Lean 4 formalization (source chapter BookProof/ChapterPauliCommutant.lean): generated def bundle for ChapterPauliCommutant. See BookProof/ChapterPauliCommutant.lean for full context.

Definition code
import Definitions.Def_ChapterA3
import Mathlib


/-!
# Chapter A, §A.3 — the commutant of the concrete Majorana/Dirac γ-matrices

`BookProof/ChapterA3b.lean` takes the **Pauli fundamental theorem** (Note 36) as
an `EXTERNAL` named hypothesis `PauliFundamental`, because in the stated
generality (all complex Clifford sets on `ℂ⁴`) it is not available in Mathlib.

This file discharges the `EXTERNAL` flag **for the fixed 4×4 model** built in
`BookProof/ChapterA3.lean`: it proves, by an explicit finite computation, the
Schur-type statement

  *any complex `4×4` matrix commuting with all four Majorana matrices `iγ^μ`
  is a scalar multiple of the identity,*

together with its immediate consequences:

* `mgamma_commutant_scalar` / `mgamma_commutant_iff` — the commutant of
  `{iγ⁰, iγ¹, iγ², iγ³}` in `Mat(4, ℂ)` is exactly `ℂ · 1`;
* `mgamma5_of_commutes` — such a matrix automatically commutes with `iγ⁵` too;
* `dgamma_commutant_scalar` — the same for the Dirac matrices `γ^μ = -i(iγ^μ)`;
* `mgamma_conjugation_unique_up_to_scalar` — the **uniqueness clause** of the
  Pauli fundamental theorem for the concrete family: two invertible matrices
  conjugating the `iγ^μ` to the same set differ by a nonzero scalar;
* `mgamma_conj_eq_self_iff` — the stabiliser of the family under conjugation is
  the group of scalars.

Everything is `sorry`-free and `axiom`-free (only `propext`, `Classical.choice`,
`Quot.sound`); **no `EXTERNAL` hypothesis is used**.
-/

open Matrix

namespace BookProof.ChapterA3













/-! ## Irreducibility of the concrete Majorana representation

The commutant computation above is exactly the input Schur's lemma needs.  Here
it is turned around: because the Majorana family is closed under the adjoint (up
to a sign), the orthogonal projection onto an invariant subspace commutes with
every `iγ^μ`, hence is a scalar, hence the subspace is `⊥` or `⊤`.
-/

/-- The Euclidean space `ℂ⁴` carrying the Majorana representation. -/
noncomputable abbrev MajoranaSpace := EuclideanSpace ℂ (Fin 4)

/-- The Majorana matrices acting as linear maps on `ℂ⁴`. -/
noncomputable def mgammaLin (μ : Fin 4) : MajoranaSpace →ₗ[ℂ] MajoranaSpace :=
  Matrix.toEuclideanLin (mgamma μ)













end BookProof.ChapterA3
Source
https://github.com/leonardopedro/timepiece/blob/61595bc/BookProof/ChapterPauliCommutant.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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me