AFTD Auto-Formalizing Theoretical Domains

is_orthonormal_hermitian_basis

def

The predicate asserting that a family T : Fin (d^2 - 1) → Matrix (Fin d) (Fin d) ℂ is an orthonormal Hermitian operator basis: every T a is Hermitian, every T a has trace zero, and for all a and b, the trace of T a * T b equals if a = b then 1 else 0.

Statement

def is_orthonormal_hermitian_basis (d : ℕ) (T : Fin (d^2 - 1) → Matrix (Fin d) (Fin d) ℂ) : Prop
Defined in
arXiv:2610.36076 Sec. 6
Verified
02 Nov 2026
Axioms
none listed
Used by 3

Read back from the Lean

Given a natural number d and a family T of d × d complex matrices indexed by Fin (d^2 - 1), the declaration asserts the conjunction of three conditions: 1. For every index a : Fin (d^2 - 1), the matrix T a is Hermitian (i.e., (T a)ᴴ = T a). 2. For every index a : Fin (d^2 - 1), the trace of T a is 0. 3. For all indices a, b : Fin (d^2 - 1), the trace of the product (T a * T b) equals 1 if a = b and 0 if a ≠ b.

Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.

Lean source view module on GitHub

/-- A family T of d^2 - 1 matrices in Mat_d(C) is an orthonormal Hermitian operator basis if each T a is Hermitian, each has trace zero, and Tr(T a * T b) = delta_{ab}. -/
def is_orthonormal_hermitian_basis (d : ℕ) (T : Fin (d^2 - 1) → Matrix (Fin d) (Fin d) ℂ) : Prop := (∀ a, (T a).IsHermitian) ∧
  (∀ a, Matrix.trace (T a) = 0) ∧
  (∀ a b, Matrix.trace (T a * T b) = if a = b then 1 else 0)
See it in the graphDiscuss this resultChallenge it