Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Nonsingularity of a submatrix

Definition
DiscreteConvex_MixedMatrices_IsNonsingularSub

by Shuze Chen · Sep 28, 2026 · Mathlib 0df444a (Lean v4.33.1)

combinatoricsdiscrete-convex-analysis

The submatrix M[I,J]M[I,J]M[I,J] is nonsingular: III and JJJ have the same (finite) size and M[I,J]M[I,J]M[I,J] has full rank.

Formalization Note. This is the standard restatement of nonsingularity via rank, used because I⊆RI \subseteq RI⊆R and J⊆CJ \subseteq CJ⊆C are (potentially) different types even when ∣I∣=∣J∣|I|=|J|∣I∣=∣J∣, so Matrix.det (which needs a single square-matrix index type) is not directly available; for a genuinely square matrix (same index type, full rank) this coincides with the usual notion.

(Murota, Discrete Convex Analysis, SIAM 2003, DOI 10.1137/1.9780898718508, p.357, Proposition 12.6.)

Definition code
import Mathlib
import Definitions.Def_DiscreteConvex_MixedMatrices_MatrixSubRank

/-!
Murota, *Discrete Convex Analysis*, SIAM 2003, p.357, Proposition 12.6: nonsingularity of a
submatrix, in `DiscreteConvex.MixedMatrices`.
-/

namespace DiscreteConvex.MixedMatrices

/-- The submatrix `M[I,J]` is **nonsingular**: `I` and `J` have the same (finite) size and
`M[I,J]` has full rank. Standard restatement of nonsingularity via rank, used here because
`I : Finset R` and `J : Finset C` are (potentially) different types even when `I.card = J.card`,
so `Matrix.det` (which needs a single square-matrix index type) is not directly available; for a
genuinely square matrix (same index type, full rank) this coincides with the usual notion. -/
def IsNonsingularSub {R C 𝔽 : Type*} [Fintype R] [Fintype C] [Field 𝔽] (M : Matrix R C 𝔽)
    (I : Finset R) (J : Finset C) : Prop :=
  I.card = J.card ∧ MatrixSubRank M I J = I.card

end DiscreteConvex.MixedMatrices
Source
Murota, Discrete Convex Analysis, SIAM 2003, DOI 10.1137/1.9780898718508, p.357, Proposition 12.6

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me