AFTD Auto-Formalizing Theoretical Domains

IsPauliPhase

def

A complex number $c$ is a Pauli phase if $c \in \{1, -1, i, -i\}$.

Statement

def IsPauliPhase (c : ℂ) : Prop
Defined in
arXiv:2610.37807 Definition 2
Verified
08 Nov 2026
Axioms
none listed

Read back from the Lean

A complex number c satisfies IsPauliPhase if and only if c = 1, c = -1, c = Complex.I, or c = -Complex.I.

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 scalar phase is a Pauli phase if it is in {1, -1, i, -i}. -/
def IsPauliPhase (c : ℂ) : Prop := c = 1 ∨ c = -1 ∨ c = Complex.I ∨ c = -Complex.I
See it in the graphDiscuss this resultChallenge it