Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

The row count gamma vanishes iff the submatrix vanishes

Proved
DiscreteConvex.MixedMatrices.gammaFun_eq_zero_iff

by moona3k · Oct 6, 2026 · Mathlib 0df444a (Lean v4.33.1)

discrete-convex-analysislinear-algebramixed-matrices

Let R,CR,CR,C be finite index sets, TTT an R×CR\times CR×C matrix, T[I,J]T[I,J]T[I,J] the submatrix with rows in I⊆RI\subseteq RI⊆R and columns in J⊆CJ\subseteq CJ⊆C, and γ(I,J)\gamma(I,J)γ(I,J) the number of rows i∈Ii\in Ii∈I with Tij≠0T_{ij}\neq0Tij​=0 for some j∈Jj\in Jj∈J (the number of nonzero rows of T[I,J]T[I,J]T[I,J]). Then

γ(I,J)=0  ⟺  Tij=0  for all i∈I, j∈J.\gamma(I,J)=0\iff T_{ij}=0\ \text{ for all } i\in I,\ j\in J .γ(I,J)=0⟺Tij​=0  for all i∈I, j∈J.

Formalization Note. GammaFun T I J is the platform definition of γ(I,J)\gamma(I,J)γ(I,J).

Preamble
import Mathlib
import Definitions.Def_DiscreteConvex_MixedMatrices_GammaFun
Formal statement
namespace DiscreteConvex.MixedMatrices

theorem gammaFun_eq_zero_iff {R C F : Type*} [Zero F] (T : Matrix R C F) (I : Finset R)
    (J : Finset C) :
    GammaFun T I J = 0 ↔ ∀ i ∈ I, ∀ j ∈ J, T i j = 0 := by sorry

end DiscreteConvex.MixedMatrices
Source
Murota, Discrete Convex Analysis, SIAM 2003, DOI 10.1137/1.9780898718508, Chapter 12 (mixed matrices), p. 357 (the function gamma); elementary lemma used in formalising Theorem 12.8; not stated in the book

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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me