AFTD Auto-Formalizing Theoretical Domains

closed_network_correlator_I

def

Given n, d, m : ℕ, end-node observables B : Fin n → Fin 2 → Matrix (Fin d) (Fin d) ℂ, central observable F0 : Matrix (Fin m) (Fin m) ℂ, and state ρ : Matrix ((Fin n → Fin d) × Fin m) ((Fin n → Fin d) × Fin m) ℂ, closed_network_correlator_I n d m B F0 ρ is (1 / 2 : ℝ) ^ n * ∑ y : Fin n → Fin 2, (((tensor_prod_end_nodes n d (fun i => B i (y i))).kronecker F0 * ρ).trace).re.

Statement

noncomputable def closed_network_correlator_I (n d m : ℕ)
    (B : Fin n → Fin 2 → Matrix (Fin d) (Fin d) ℂ)
    (F0 : Matrix (Fin m) (Fin m) ℂ)
    (ρ : Matrix ((Fin n → Fin d) × Fin m) ((Fin n → Fin d) × Fin m) ℂ) : ℝ
Defined in
arXiv:2610.35838 Eq. 8
Verified
17 Nov 2026
Axioms
none listed
Built on 1
  • tensor_prod_end_nodesGiven a family of d × d complex matrices A : Fin n → Matrix (Fin d) (Fin d) ℂ, their tensor product on (ℂ^d)^⊗n is the matrix indexed by…

Read back from the Lean

Definition of closed_network_correlator_I, which takes: - natural numbers n, d, and m, - a family of matrices B : Fin n → Fin 2 → Matrix (Fin d) (Fin d) ℂ (representing a pair of $d \times d$ complex matrices for each $i \in \{0, \dots, n-1\}$), - a matrix F0 : Matrix (Fin m) (Fin m) ℂ (an $m \times m$ complex matrix), - a matrix ρ : Matrix ((Fin n → Fin d) × Fin m) ((Fin n → Fin d) × Fin m) ℂ, and produces a real number equal to: $$(1/2)^n \sum_{y : \text{Fin } n \to \text{Fin } 2} \operatorname{Re}\left(\operatorname{Tr}\left( \left( \left(\bigotimes_{i=0}^{n-1} B(i, y(i))\right) \otimes_{\text{kron}} F_0 \right) \rho \right)\right)$$ where $\bigotimes_{i=0}^{n-1} B(i, y(i))$ is defined by tensor_prod_end_nodes n d (fun i => B i (y 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

/-- The closed network correlator I for n tripartite sources. -/
noncomputable def closed_network_correlator_I (n d m : ℕ)
    (B : Fin n → Fin 2 → Matrix (Fin d) (Fin d) ℂ)
    (F0 : Matrix (Fin m) (Fin m) ℂ)
    (ρ : Matrix ((Fin n → Fin d) × Fin m) ((Fin n → Fin d) × Fin m) ℂ) : ℝ := (1 / 2 : ℝ) ^ n * ∑ y : Fin n → Fin 2,
    (((tensor_prod_end_nodes n d (fun i => B i (y i))).kronecker F0 * ρ).trace).re
See it in the graphDiscuss this resultChallenge it