AFTD Auto-Formalizing Theoretical Domains

nc_rank_blow_up_rank_one_less_tight_r_two

theoremverifiedoriginal

For every field F there exist natural numbers a, b, m and a family A : Fin (m + 1) → Matrix (Fin a) (Fin b) F of coefficient matrices (A 0 the constant coefficient, A 1, ..., A m the others) such that every A (i.succ) for i : Fin m has rank at most 2, and the 1st blow-up rank matrix_blow_up_rank F (2 - 1) A (the commutative rank of the linear symbolic matrix) is strictly less than (2 - 1) times the noncommutative rank noncommutative_rank F A. That is, the case r = 2 of the question: with coefficients of rank at most r = 2, the (r - 1)-th blow-up can fail to attain the nc-rank.

Statement

theorem nc_rank_blow_up_rank_one_less_tight_r_two (F : Type*) [Field F] :
    ∃ (a b m : ℕ) (A : Fin (m + 1) → Matrix (Fin a) (Fin b) F),
      (∀ i : Fin m, (A i.succ).rank ≤ 2) ∧
      matrix_blow_up_rank F (2 - 1) A < (2 - 1) * noncommutative_rank F A
Related work
Case r = 2 of OP-2318 (tightness of the blow-up size k >= r in arXiv:2611.31963, Theorem 1.1). The witness is the classical 3x3 generic skew-symmetric linear matrix (coefficients E_ij - E_ji of rank 2), whose commutative rank 2 is below its nc-rank 3; arXiv:2611.31963 Section 1 recalls that skew-symmetric rank-two coefficients need k = 2.
Verified
28 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 2
  • matrix_blow_up_rankFor an explicit field F, implicit natural numbers a and b, an arbitrary finite type ι, a natural number k, and a family of rectangular…
  • noncommutative_rankFor an explicit field F, implicit dimensions a and b, an arbitrary indexing type ι, and a family of rectangular matrices A : ι → Matrix…

Read back from the Lean

For any field F, there exist natural numbers a, b, and m, and a family A of (m + 1) matrices over F of size a × b (indexed by Fin (m + 1)), such that: 1. For every i : Fin m, the matrix A (i.succ) (that is, each matrix A 1, ..., A m, excluding A 0) has rank at most 2; and 2. The blow-up rank matrix_blow_up_rank F (2 - 1) A (which is the blow-up rank at k = 1) is strictly less than (2 - 1) * noncommutative_rank F A (which is 1 * noncommutative_rank F A).

Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.

The proof, explained

To show that the 1st blow-up rank can fail to reach the noncommutative rank when the coefficient matrices have rank at most 2, we choose the standard basis of 3 × 3 skew-symmetric matrices as the matrix family A₀, A₁, A₂. Each non-constant matrix A₁ and A₂ has rank 2 because it factors through F². The 1st blow-up matrix M = ∑ xᵢ Aᵢ is the generic skew-symmetric matrix representing the cross product y ↦ x × y, which annihilates x = (x₀, x₁, x₂)ᵀ and thus has rank at most 2. Meanwhile, any pair of subspaces U, V ⊆ F³ with Aᵢ(U) ⊆ V admits an injective linear map (u, w) ↦ (A₀ u + A₁ w, A₁ u + A₂ w) from U × U to V × V, forcing dim U ≤ dim V and establishing that the noncommutative rank is at least 3.

  1. We choose a = 3, b = 3, m = 2 and define A₀, A₁, A₂ as the standard basis matrices for 3 × 3 skew-symmetric matrices.

    We instantiate the existential quantifier with a = 3, b = 3, m = 2, and the family A consisting of the three standard basis matrices of the Lie algebra so(3) of 3 × 3 skew-symmetric matrices. This leaves two goals: showing that A₁ and A₂ have rank at most 2, and showing that the 1st blow-up rank is strictly less than the noncommutative rank.

    lines 5–8

      let A : Fin 3 → Matrix (Fin 3) (Fin 3) F :=
        ![!![0, 0, 0; 0, 0, -1; 0, 1, 0], !![0, 0, 1; 0, 0, 0; -1, 0, 0],
          !![0, -1, 0; 1, 0, 0; 0, 0, 0]]
      refine ⟨3, 3, 2, A, ?_, ?_⟩
  2. The non-constant coefficient matrices A₁ and A₂ each have rank at most 2.

    By case analysis on the index i ∈ Fin 2, we show that A₁ factors as the product of a 3 × 2 matrix and a 2 × 3 matrix, and similarly for A₂. Each factorization is verified by expanding every entry. By Matrix.rank_mul_le_left and Matrix.rank_le_width, the rank of each product is bounded by the intermediate dimension 2.

    lines 9–21

    uses Matrix.rank_mul_le_left, Matrix.rank_le_width

      · -- each coefficient factors through Fin 2
        intro i
        fin_cases i
        · have : A 1 = (!![0, 1; 0, 0; -1, 0] : Matrix (Fin 3) (Fin 2) F) *
              (!![1, 0, 0; 0, 0, 1] : Matrix (Fin 2) (Fin 3) F) := by
            ext p q; fin_cases p <;> fin_cases q <;> simp [A]
          show (A 1).rank ≤ 2
          rw [this]; exact (Matrix.rank_mul_le_left _ _).trans (Matrix.rank_le_width _)
        · have : A 2 = (!![0, -1; 1, 0; 0, 0] : Matrix (Fin 3) (Fin 2) F) *
              (!![1, 0, 0; 0, 1, 0] : Matrix (Fin 2) (Fin 3) F) := by
            ext p q; fin_cases p <;> fin_cases q <;> simp [A]
          show (A 2).rank ≤ 2
          rw [this]; exact (Matrix.rank_mul_le_left _ _).trans (Matrix.rank_le_width _)
  3. To show that the noncommutative rank of A is at least 3, it suffices to show that 3 - dim U + dim V ≥ 3 for all subspaces U, V ⊆ F³ with Aᵢ(U) ⊆ V for all i.

    We unfold the definition of noncommutative rank as an infimum over shrinkable pairs of subspaces (U, V). Applying le_csInf, we first check that the set is non-empty by testing the trivial subspaces U = ⊥ and V = ⊥, and then reduce the goal to showing 3 ≤ 3 - dim U + dim V (that is, dim U ≤ dim V) for any arbitrary pair satisfying Aᵢ(U) ⊆ V for all i.

    lines 22–27

    uses le_csInf

      · -- the nc-rank is at least 3
        have hnc : 3 ≤ noncommutative_rank F A := by
          unfold noncommutative_rank
          apply le_csInf
          · exact ⟨_, ⊥, ⊥, fun i => by simp, rfl⟩
          rintro k ⟨U, V, hUV, rfl⟩
  4. There is a well-defined linear map h : U × U → V × V given by h(u, w) = (A₀ u + A₁ w, A₁ u + A₂ w).

    Because each Aᵢ maps U into V, the linear combinations A₀ u + A₁ w and A₁ u + A₂ w lie in V for all u, w ∈ U. Restricting the codomain to V in each coordinate yields the linear map h.

    lines 28–38

    uses Submodule.mem_map_of_mem

          have mem : ∀ i, ∀ u ∈ U, (A i).mulVecLin u ∈ V := fun i u hu =>
            hUV i (Submodule.mem_map_of_mem hu)
          -- the map (u, w) ↦ (A0 u + A1 w, A1 u + A2 w) restricted to U × U → V × V
          let h : ↥U × ↥U →ₗ[F] ↥V × ↥V :=
            LinearMap.prod
              ((((A 0).mulVecLin ∘ₗ U.subtype ∘ₗ LinearMap.fst F _ _ +
                  (A 1).mulVecLin ∘ₗ U.subtype ∘ₗ LinearMap.snd F _ _)).codRestrict V
                (fun x => V.add_mem (mem 0 _ x.1.2) (mem 1 _ x.2.2)))
              ((((A 1).mulVecLin ∘ₗ U.subtype ∘ₗ LinearMap.fst F _ _ +
                  (A 2).mulVecLin ∘ₗ U.subtype ∘ₗ LinearMap.snd F _ _)).codRestrict V
                (fun x => V.add_mem (mem 1 _ x.1.2) (mem 2 _ x.2.2)))
  5. The linear map h : U × U → V × V is injective.

    We show that ker h is trivial. Given (u, w) ∈ U × U with h(u, w) = 0, evaluating the matrix-vector products coordinatewise produces a system of six linear equations: w₂ = 0, -u₂ = 0, u₁ - w₀ = 0, u₂ - w₁ = 0, w₀ = 0, and -u₀ = 0. Solving this system by elementary linear combinations yields u = 0 and w = 0, so (u, w) = 0.

    lines 39–64

    uses LinearMap.ker_eq_bot, LinearMap.ker_eq_bot', Fin.sum_univ_three, Prod.ext, Subtype.ext

          have hinj : Function.Injective h := by
            rw [← LinearMap.ker_eq_bot, LinearMap.ker_eq_bot']
            rintro ⟨⟨u, hu⟩, ⟨w, hw⟩⟩ hx
            have h1 := congrArg (fun z => ((z.1 : ↥V) : Fin 3 → F)) hx
            have h2 := congrArg (fun z => ((z.2 : ↥V) : Fin 3 → F)) hx
            simp only [h, LinearMap.prod_apply,
              LinearMap.add_apply, LinearMap.comp_apply, LinearMap.fst_apply, LinearMap.snd_apply,
              Submodule.coe_subtype, Matrix.mulVecLin_apply, Prod.fst_zero, Prod.snd_zero,
              ZeroMemClass.coe_zero] at h1 h2
            have e := fun j => congrFun h1 j
            have e' := fun j => congrFun h2 j
            simp [A, Matrix.mulVec, dotProduct, Fin.sum_univ_three] at e e'
            have e0 := e 0; have e1 := e 1; have e2 := e 2
            have e0' := e' 0; have e1' := e' 1; have e2' := e' 2
            simp at e0 e1 e2 e0' e1' e2'
            have hu0 : u = 0 := by
              funext j; fin_cases j
              · simpa using e2'
              · simp; linear_combination e2 + e1'
              · simpa using e1
            have hw0 : w = 0 := by
              funext j; fin_cases j
              · simpa using e1'
              · simp; linear_combination e1 - e0'
              · simpa using e0
            exact Prod.ext (Subtype.ext hu0) (Subtype.ext hw0)
  6. The noncommutative rank of A is at least 3.

    Because h is an injective linear map from U × U to V × V, we have dim(U × U) ≤ dim(V × V), so 2 dim U ≤ 2 dim V and hence dim U ≤ dim V. Since U is a subspace of F³, dim U ≤ 3. It follows by linear arithmetic that 3 - dim U + dim V ≥ 3, proving that the noncommutative rank of A is at least 3.

    lines 65–69

    uses LinearMap.finrank_le_finrank_of_injective, Module.finrank_prod, Submodule.finrank_le

          have := LinearMap.finrank_le_finrank_of_injective hinj
          rw [Module.finrank_prod, Module.finrank_prod] at this
          have hU : Module.finrank F U ≤ 3 := by
            have := Submodule.finrank_le U; simpa using this
          omega
  7. The symbolic matrix M = x₀ A₀ + x₁ A₁ + x₂ A₂ over K = Frac(F[x₀, x₁, x₂]) has the non-zero vector v = (x₀, x₁, x₂)ᵀ in its kernel.

    We unfold the definition of the 1st blow-up rank as the rank of the generic matrix M = ∑ xᵢ Aᵢ over the fraction field K of the polynomial ring in three variables. The matrix M is skew-symmetric and represents the cross-product operation y ↦ x × y. Evaluating M v corresponds to x × x = 0, so v lies in the kernel of M.

    lines 70–88

    uses LinearMap.mem_ker, Subsingleton.elim, Fin.sum_univ_three, Fin.sum_univ_one

        have hbl : matrix_blow_up_rank F (2 - 1) A ≤ 2 := by
          show matrix_blow_up_rank F 1 A ≤ 2
          unfold matrix_blow_up_rank
          set K := FractionRing (MvPolynomial (Fin 3 × Fin 1 × Fin 1) F)
          set M : Matrix (Fin 3 × Fin 1) (Fin 3 × Fin 1) K := open scoped Kronecker in
            ∑ i : Fin 3, ((A i).map (algebraMap F K)) ⊗ₖ
              (fun u v => algebraMap (MvPolynomial (Fin 3 × Fin 1 × Fin 1) F) K
                (MvPolynomial.X (i, u, v))) with hM
          let x : Fin 3 → K := fun i =>
            algebraMap (MvPolynomial (Fin 3 × Fin 1 × Fin 1) F) K (MvPolynomial.X (i, 0, 0))
          let v : Fin 3 × Fin 1 → K := fun p => x p.1
          have hv : v ∈ LinearMap.ker M.mulVecLin := by
            rw [LinearMap.mem_ker, Matrix.mulVecLin_apply]
            funext ⟨p, u⟩
            have hu : u = 0 := Subsingleton.elim _ _
            subst hu
            simp only [hM, Matrix.mulVec, dotProduct, Matrix.sum_apply, Matrix.kroneckerMap, Matrix.of_apply,
              Fintype.sum_prod_type, Fin.sum_univ_three, Matrix.map_apply, v, x]
            fin_cases p <;> simp [A, Fin.sum_univ_one] <;> ring
  8. The 1st blow-up rank of A is at most 2.

    The indeterminate x₀ is non-zero, so its canonical image in the fraction field K is non-zero, meaning v ≠ 0. Hence the kernel of M has dimension at least 1. By the rank-nullity theorem, rank(M) + dim ker(M) = 3 × 1 = 3, which implies rank(M) ≤ 2.

    lines 89–101

    uses map_eq_zero_iff, IsFractionRing.injective, MvPolynomial.X_ne_zero, Module.finrank_pos_iff_exists_ne_zero, LinearMap.finrank_range_add_finrank_ker, Module.finrank_fintype_fun_eq_card, Fintype.card_prod, Fintype.card_fin

          have hne : v ≠ 0 := by
            intro h0
            have := congrFun h0 (0, 0)
            simp only [v, x, Pi.zero_apply] at this
            rw [map_eq_zero_iff _ (IsFractionRing.injective _ _)] at this
            exact MvPolynomial.X_ne_zero _ this
          have hker : 0 < Module.finrank K (LinearMap.ker M.mulVecLin) :=
            Module.finrank_pos_iff_exists_ne_zero.mpr ⟨⟨v, hv⟩, by simpa using hne⟩
          have hsum := LinearMap.finrank_range_add_finrank_ker M.mulVecLin
          rw [Module.finrank_fintype_fun_eq_card] at hsum
          simp only [Fintype.card_prod, Fintype.card_fin] at hsum
          change Module.finrank K (LinearMap.range M.mulVecLin) ≤ 2
          omega
  9. The 1st blow-up rank of A is strictly less than (2 - 1) times the noncommutative rank of A.

    We have shown that the 1st blow-up rank is at most 2 and that the noncommutative rank is at least 3. Since 2 < 1 × 3 = 3, linear arithmetic closes the theorem.

    line 102

        omega
Fintype.card_fin
The cardinality of the set {0, ..., n - 1} is n.
Fintype.card_prod
The cardinality of the Cartesian product of two finite sets is the product of their cardinalities.
Fin.sum_univ_one
A sum over the single-element set {0} equals the value of the summand at 0.
Fin.sum_univ_three
A sum over the three-element set {0, 1, 2} is the sum of the summand evaluated at 0, 1, and 2.
IsFractionRing.injective
The canonical algebra map from an integral domain to its field of fractions is injective.
LinearMap.finrank_le_finrank_of_injective
An injective linear map between finite-dimensional spaces implies that the dimension of the domain is at most the dimension of the codomain.
LinearMap.finrank_range_add_finrank_ker
The rank-nullity theorem: the dimension of the range of a linear map plus the dimension of its kernel equals the dimension of its domain.
LinearMap.ker_eq_bot
A linear map is injective if and only if its kernel is the trivial subspace.
LinearMap.ker_eq_bot'
A linear map has trivial kernel if and only if every element it sends to zero is zero.
LinearMap.mem_ker
An element lies in the kernel of a linear map if and only if the map evaluates to zero on it.
Matrix.rank_le_width
The rank of a matrix is bounded by its number of columns.
Matrix.rank_mul_le_left
The rank of a matrix product AB is at most the rank of the left factor A.
Module.finrank_fintype_fun_eq_card
The dimension of the space of functions from a finite set η to a field R is the cardinality of η.
Module.finrank_pos_iff_exists_ne_zero
A vector space over a field has positive dimension if and only if it contains a non-zero vector.
Module.finrank_prod
The dimension of the direct product of two vector spaces is the sum of their dimensions.
MvPolynomial.X_ne_zero
A single indeterminate in a multivariate polynomial ring over a nontrivial ring is non-zero.
Prod.ext
Two pairs are equal if and only if their respective first and second projections are equal.
Submodule.finrank_le
The dimension of a subspace is at most the dimension of the ambient space.
Submodule.mem_map_of_mem
The image under a linear map of an element of a submodule belongs to the pushforward submodule.
Subsingleton.elim
Any two elements of a subsingleton type are equal.
Subtype.ext
Two elements of a subtype are equal if their underlying values are equal.
le_csInf
If every element of a nonempty set is at least a given bound, then the infimum of the set is at least that bound.
map_eq_zero_iff
An injective homomorphism maps an element to zero if and only if that element is zero.

Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.

Lean source view module on GitHub

theorem nc_rank_blow_up_rank_one_less_tight_r_two (F : Type*) [Field F] :    ∃ (a b m : ℕ) (A : Fin (m + 1) → Matrix (Fin a) (Fin b) F),      (∀ i : Fin m, (A i.succ).rank ≤ 2) ∧      matrix_blow_up_rank F (2 - 1) A < (2 - 1) * noncommutative_rank F A := by  let A : Fin 3 → Matrix (Fin 3) (Fin 3) F :=    ![!![0, 0, 0; 0, 0, -1; 0, 1, 0], !![0, 0, 1; 0, 0, 0; -1, 0, 0],      !![0, -1, 0; 1, 0, 0; 0, 0, 0]]  refine ⟨3, 3, 2, A, ?_, ?_⟩  · -- each coefficient factors through Fin 2    intro i    fin_cases i    · have : A 1 = (!![0, 1; 0, 0; -1, 0] : Matrix (Fin 3) (Fin 2) F) *          (!![1, 0, 0; 0, 0, 1] : Matrix (Fin 2) (Fin 3) F) := by        ext p q; fin_cases p <;> fin_cases q <;> simp [A]      show (A 1).rank ≤ 2      rw [this]; exact (Matrix.rank_mul_le_left _ _).trans (Matrix.rank_le_width _)    · have : A 2 = (!![0, -1; 1, 0; 0, 0] : Matrix (Fin 3) (Fin 2) F) *          (!![1, 0, 0; 0, 1, 0] : Matrix (Fin 2) (Fin 3) F) := by        ext p q; fin_cases p <;> fin_cases q <;> simp [A]      show (A 2).rank ≤ 2      rw [this]; exact (Matrix.rank_mul_le_left _ _).trans (Matrix.rank_le_width _)  · -- the nc-rank is at least 3    have hnc : 3 ≤ noncommutative_rank F A := by      unfold noncommutative_rank      apply le_csInf      · exact ⟨_, ⊥, ⊥, fun i => by simp, rfl⟩      rintro k ⟨U, V, hUV, rfl⟩      have mem : ∀ i, ∀ u ∈ U, (A i).mulVecLin u ∈ V := fun i u hu =>        hUV i (Submodule.mem_map_of_mem hu)      -- the map (u, w) ↦ (A0 u + A1 w, A1 u + A2 w) restricted to U × U → V × V      let h : ↥U × ↥U →ₗ[F] ↥V × ↥V :=        LinearMap.prod          ((((A 0).mulVecLin ∘ₗ U.subtype ∘ₗ LinearMap.fst F _ _ +              (A 1).mulVecLin ∘ₗ U.subtype ∘ₗ LinearMap.snd F _ _)).codRestrict V            (fun x => V.add_mem (mem 0 _ x.1.2) (mem 1 _ x.2.2)))          ((((A 1).mulVecLin ∘ₗ U.subtype ∘ₗ LinearMap.fst F _ _ +              (A 2).mulVecLin ∘ₗ U.subtype ∘ₗ LinearMap.snd F _ _)).codRestrict V            (fun x => V.add_mem (mem 1 _ x.1.2) (mem 2 _ x.2.2)))      have hinj : Function.Injective h := by        rw [← LinearMap.ker_eq_bot, LinearMap.ker_eq_bot']        rintro ⟨⟨u, hu⟩, ⟨w, hw⟩⟩ hx        have h1 := congrArg (fun z => ((z.1 : ↥V) : Fin 3 → F)) hx        have h2 := congrArg (fun z => ((z.2 : ↥V) : Fin 3 → F)) hx        simp only [h, LinearMap.prod_apply,          LinearMap.add_apply, LinearMap.comp_apply, LinearMap.fst_apply, LinearMap.snd_apply,          Submodule.coe_subtype, Matrix.mulVecLin_apply, Prod.fst_zero, Prod.snd_zero,          ZeroMemClass.coe_zero] at h1 h2        have e := fun j => congrFun h1 j        have e' := fun j => congrFun h2 j        simp [A, Matrix.mulVec, dotProduct, Fin.sum_univ_three] at e e'        have e0 := e 0; have e1 := e 1; have e2 := e 2        have e0' := e' 0; have e1' := e' 1; have e2' := e' 2        simp at e0 e1 e2 e0' e1' e2'        have hu0 : u = 0 := by          funext j; fin_cases j          · simpa using e2'          · simp; linear_combination e2 + e1'          · simpa using e1        have hw0 : w = 0 := by          funext j; fin_cases j          · simpa using e1'          · simp; linear_combination e1 - e0'          · simpa using e0        exact Prod.ext (Subtype.ext hu0) (Subtype.ext hw0)      have := LinearMap.finrank_le_finrank_of_injective hinj      rw [Module.finrank_prod, Module.finrank_prod] at this      have hU : Module.finrank F U ≤ 3 := by        have := Submodule.finrank_le U; simpa using this      omega    have hbl : matrix_blow_up_rank F (2 - 1) A ≤ 2 := by      show matrix_blow_up_rank F 1 A ≤ 2      unfold matrix_blow_up_rank      set K := FractionRing (MvPolynomial (Fin 3 × Fin 1 × Fin 1) F)      set M : Matrix (Fin 3 × Fin 1) (Fin 3 × Fin 1) K := open scoped Kronecker in        ∑ i : Fin 3, ((A i).map (algebraMap F K)) ⊗ₖ          (fun u v => algebraMap (MvPolynomial (Fin 3 × Fin 1 × Fin 1) F) K            (MvPolynomial.X (i, u, v))) with hM      let x : Fin 3 → K := fun i =>        algebraMap (MvPolynomial (Fin 3 × Fin 1 × Fin 1) F) K (MvPolynomial.X (i, 0, 0))      let v : Fin 3 × Fin 1 → K := fun p => x p.1      have hv : v ∈ LinearMap.ker M.mulVecLin := by        rw [LinearMap.mem_ker, Matrix.mulVecLin_apply]        funext ⟨p, u⟩        have hu : u = 0 := Subsingleton.elim _ _        subst hu        simp only [hM, Matrix.mulVec, dotProduct, Matrix.sum_apply, Matrix.kroneckerMap, Matrix.of_apply,          Fintype.sum_prod_type, Fin.sum_univ_three, Matrix.map_apply, v, x]        fin_cases p <;> simp [A, Fin.sum_univ_one] <;> ring      have hne : v ≠ 0 := by        intro h0        have := congrFun h0 (0, 0)        simp only [v, x, Pi.zero_apply] at this        rw [map_eq_zero_iff _ (IsFractionRing.injective _ _)] at this        exact MvPolynomial.X_ne_zero _ this      have hker : 0 < Module.finrank K (LinearMap.ker M.mulVecLin) :=        Module.finrank_pos_iff_exists_ne_zero.mpr ⟨⟨v, hv⟩, by simpa using hne⟩      have hsum := LinearMap.finrank_range_add_finrank_ker M.mulVecLin      rw [Module.finrank_fintype_fun_eq_card] at hsum      simp only [Fintype.card_prod, Fintype.card_fin] at hsum      change Module.finrank K (LinearMap.range M.mulVecLin) ≤ 2      omega    omega
See it in the graphDiscuss this resultChallenge it