Proposition 6.6 — column-partition test for total unimodularity
ProvedPochetWolsey.Decomposition.tu_column_partitionLet . Suppose that every subset of its columns can be partitioned into disjoint sets such that, for each row ,
Then is totally unimodular: every square submatrix has determinant in . This is a sufficient recognition criterion used in integral formulation arguments.
Formalization Note Matrices have real entries with the displayed entry restriction. Finite indices start at zero; an empty row or column family is allowed and satisfies the usual determinant convention.
import Mathlib
namespace PochetWolsey.Decomposition
theorem tu_column_partition {m n : ℕ} (A : Matrix (Fin m) (Fin n) ℝ)
(hentries : ∀ i j, A i j = 0 ∨ A i j = 1 ∨ A i j = -1)
(hpartition : ∀ J : Finset (Fin n), ∃ J₁ J₂ : Finset (Fin n),
Disjoint J₁ J₂ ∧ J₁ ∪ J₂ = J ∧
∀ i, |(∑ j ∈ J₁, A i j) - ∑ j ∈ J₂, A i j| ≤ 1) :
A.IsTotallyUnimodular := by sorry
end PochetWolsey.Decomposition
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let be natural numbers and a real matrix. The hypotheses are:
- Every entry is , or .
- For every subset of columns there exist disjoint subsets with such that, for every row ,
The conclusion is that is totally unimodular. This means: for every , every injective choice of rows and every injective choice of columns , the matrix with entries has determinant in . The rows and columns may be chosen in any order.
Degenerate cases:
- . The submatrix has determinant , which lies in .
- or . Then is the only possible square submatrix size, and the row condition in hypothesis 2 is vacuous when .
- . Hypothesis 2 is satisfied by , which gives difference .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.