AFTD Auto-Formalizing Theoretical Domains

central_observable_zero

def

Given m : ℕ and a family of m × m complex matrices M : Fin 2 → Fin 2 → Matrix (Fin m) (Fin m) ℂ, central_observable_zero m M is the m × m complex matrix defined by the double sum ∑ s0 : Fin 2, ∑ s1 : Fin 2, (if s0 = 0 then (1 : ℂ) else (-1 : ℂ)) • M s0 s1.

Statement

def central_observable_zero (m : ℕ) (M : Fin 2 → Fin 2 → Matrix (Fin m) (Fin m) ℂ) :
    Matrix (Fin m) (Fin m) ℂ
Defined in
arXiv:2610.35838 Sec. III.1
Verified
17 Nov 2026
Axioms
none listed

Read back from the Lean

Given a natural number m and a function M assigning to each pair (s₀, s₁) ∈ Fin 2 × Fin 2 an m × m complex matrix, central_observable_zero m M is defined as the m × m complex matrix given by the double sum ∑_{s₀ : Fin 2} ∑_{s₁ : Fin 2} (if s₀ = 0 then 1 else -1) • M s₀ s₁ (that is, M 0 0 + M 0 1 - M 1 0 - M 1 1).

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

/-- The central observable corresponding to sign f_0. -/
def central_observable_zero (m : ℕ) (M : Fin 2 → Fin 2 → Matrix (Fin m) (Fin m) ℂ) :
    Matrix (Fin m) (Fin m) ℂ := ∑ s0 : Fin 2, ∑ s1 : Fin 2, (if s0 = 0 then (1 : ℂ) else (-1 : ℂ)) • M s0 s1
See it in the graphDiscuss this resultChallenge it