AFTD Auto-Formalizing Theoretical Domains

is_orthogonal_projection

def

A matrix P on C^d is an orthogonal projection if P is Hermitian and P^2 = P.

Statement

def is_orthogonal_projection {d : ℕ} (P : Matrix (Fin d) (Fin d) ℂ) : Prop
Defined in
arXiv:2610.37347 Sec. 'Incompatibility in proper subspaces'
Verified
07 Nov 2026
Axioms
none listed

Read back from the Lean

For a natural number $d$ and a $d \times d$ complex matrix $P$, is_orthogonal_projection P is defined as the proposition that $P$ is Hermitian ($P$ is equal to its conjugate transpose) and idempotent ($P * P = P$).

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

/-- An orthogonal projection on C^d: a Hermitian idempotent matrix P. -/
def is_orthogonal_projection {d : ℕ} (P : Matrix (Fin d) (Fin d) ℂ) : Prop := P.IsHermitian ∧ P * P = P
See it in the graphDiscuss this resultChallenge it