AFTD Auto-Formalizing Theoretical Domains

matrix_blow_up_rank

def

For an explicit field F, implicit natural numbers a and b, an arbitrary finite type ι, a natural number k, and a family of rectangular matrices A : ι → Matrix (Fin a) (Fin b) F, matrix_blow_up_rank F k A is the matrix rank over FractionRing (MvPolynomial (ι × Fin k × Fin k) F) of the k-th blow-up matrix ∑ i : ι, (A i mapped into the fraction ring) ⊗ₖ (fun u v => X (i, u, v)).

Statement

noncomputable def matrix_blow_up_rank (F : Type*) [Field F] {a b : ℕ} {ι : Type*} [Fintype ι] (k : ℕ)
    (A : ι → Matrix (Fin a) (Fin b) F) : ℕ
Defined in
arXiv:2611.31963 Section 2.1
Verified
26 Nov 2026
Axioms
none listed
Used by 1

Read back from the Lean

Given: - a field F (as a type F : Type* with [Field F]), - natural numbers a, b : ℕ, - a finite index type ι (with [Fintype ι]), - a natural number k : ℕ, and - a family of a × b matrices over F indexed by ι, A : ι → Matrix (Fin a) (Fin b) F, matrix_blow_up_rank F k A defines the natural number equal to the rank (over the fraction field of the multivariate polynomial ring F[X_{(i, u, v)} : i ∈ ι, u ∈ Fin k, v ∈ Fin k]) of the sum over all i : ι of the Kronecker product of: 1. A i (viewed over the fraction field via the canonical map), and 2. the k × k matrix whose (u, v)-entry is the indeterminate X_{(i, u, v)} (viewed in the fraction field).

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 rank of the k-th blow-up of a linear symbolic matrix over the fraction field of polynomials in commuting matrix variables. -/
noncomputable def matrix_blow_up_rank (F : Type*) [Field F] {a b : ℕ} {ι : Type*} [Fintype ι] (k : ℕ)
    (A : ι → Matrix (Fin a) (Fin b) F) : ℕ := open scoped Kronecker in
  (∑ i : ι, ((A i).map (algebraMap F (FractionRing (MvPolynomial (ι × Fin k × Fin k) F)))) ⊗ₖ
    (fun u v => algebraMap (MvPolynomial (ι × Fin k × Fin k) F) (FractionRing (MvPolynomial (ι × Fin k × Fin k) F))
      (MvPolynomial.X (i, u, v)))).rank
See it in the graphDiscuss this resultChallenge it