ncabp_matrix
def
Given a commutative semiring F, parameters m, S : ℕ, and an ncABP A : NcABP F m S, ncabp_matrix A is the transition matrix in Matrix (Fin S) (Fin S) (FreeAlgebra F (Fin m)) whose (u, v) entry is affine_form_to_free_algebra (A.edge u v).
Statement
def ncabp_matrix {F : Type*} [CommSemiring F] {m S : ℕ} (A : NcABP F m S) : Matrix (Fin S) (Fin S) (FreeAlgebra F (Fin m))
- Defined in
- arXiv:2610.37677, Section 3.2
- Verified
- 30 Oct 2026
- Axioms
- none listed
- Built on 3
- AffineFormAn affine linear form parameterized by a type F and an arity m : ℕ consists of a constant term c0 : F and a tuple of linear coefficients c…
- affine_form_to_free_algebraGiven a commutative semiring F, a natural number m, and an affine form a : AffineForm F m, affine_form_to_free_algebra a is the element of…
- NcABPAn affine noncommutative algebraic branching program (ncABP) parameterized by a type F with zero and parameters m, S : ℕ consists of a…
- Used by 3
- ncabp_eval_poly_zero_directionGiven a field F, natural numbers m, S, R, a matrix tuple T : Fin m → Matrix (Fin R) (Fin R) F, and an ncABP A : NcABP F m S such that…
- ncabp_eval_polyGiven a commutative semiring F, parameters m, S : ℕ, and an ncABP A : NcABP F m S, ncabp_eval_poly A is the polynomial in FreeAlgebra F…
- is_ncabp_hitting_tupleGiven a field F and natural numbers m, S, R, a tuple of matrices T : Fin m → Matrix (Fin R) (Fin R) F is an ncABP hitting tuple if for…
Read back from the Lean
For a commutative semiring F, natural numbers m and S, and a noncommutative algebraic branching program A : NcABP F m S, ncabp_matrix A is the S × S matrix (of type Matrix (Fin S) (Fin S) (FreeAlgebra F (Fin m))) whose (u, v)-th entry is affine_form_to_free_algebra (A.edge u v).
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 transition matrix of an ncABP with entries in FreeAlgebra F (Fin m). -/ def ncabp_matrix {F : Type*} [CommSemiring F] {m S : ℕ} (A : NcABP F m S) : Matrix (Fin S) (Fin S) (FreeAlgebra F (Fin m)) := fun u v => affine_form_to_free_algebra (A.edge u v)