tensor_prod_end_nodes
def
Given 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 (Fin n → Fin d) with entries at (u, v) given by ∏ i : Fin n, A i (u i) (v i).
Statement
def tensor_prod_end_nodes (n d : ℕ) (A : Fin n → Matrix (Fin d) (Fin d) ℂ) :
Matrix (Fin n → Fin d) (Fin n → Fin d) ℂ- Defined in
- arXiv:2610.35838 Sec. III.1
- Verified
- 17 Nov 2026
- Axioms
- none listed
- Used by 2
- closed_network_correlator_IGiven n, d, m : ℕ, end-node observables B : Fin n → Fin 2 → Matrix (Fin d) (Fin d) ℂ, central observable F0 : Matrix (Fin m) (Fin m) ℂ,…
- closed_network_correlator_JGiven n, d, m : ℕ, end-node observables B : Fin n → Fin 2 → Matrix (Fin d) (Fin d) ℂ, central observable F1 : Matrix (Fin m) (Fin m) ℂ,…
Read back from the Lean
Given natural numbers $n$ and $d$, and a family of $d \times d$ complex matrices $A : \mathrm{Fin}\ n \to \mathrm{Matrix}\ (\mathrm{Fin}\ d)\ (\mathrm{Fin}\ d)\ \mathbb{C}$, tensor_prod_end_nodes n d A is defined as the matrix with rows and columns indexed by functions $u, v : \mathrm{Fin}\ n \to \mathrm{Fin}\ d$, whose $(u, v)$-th entry is the product $\prod_{i : \mathrm{Fin}\ n} A(i)_{u(i), v(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 tensor product of n local end-node observables on (C^d)^n. -/ def tensor_prod_end_nodes (n d : ℕ) (A : Fin n → Matrix (Fin d) (Fin d) ℂ) : Matrix (Fin n → Fin d) (Fin n → Fin d) ℂ := fun u v => ∏ i : Fin n, A i (u i) (v i)