Theorem 19: eliminating a variable through an equation with coefficient ±1 keeps total unimodularity
ProvedCongruencyTU.theorem_19congruency-constraintsinteger-programmingp2o-gran-per-chapterp2o-plan-paperp2o-v1strongly-polynomialtotally-unimodular
Let be a totally unimodular matrix with . Then the matrix is totally unimodular, and the two systems
are equivalent.
Combined with Theorem 18, this removes the variable through the equation and makes progress in the number of variables.
Formalization Note Equivalence means the same solutions for all , .
Differences from the source:
- reading: "the two systems … are equivalent" (domain unspecified) → the same solution sets (x, y) ∈ ℝⁿ × ℝ for every real right-hand side b, β; reason: linear systems are compared on their real solution sets; integer solutions and integer data are a special case
Preamble
import Mathlib open Matrix
Formal statement
namespace CongruencyTU
/-- **Theorem 19** (Nägele–Santiago–Zenklusen, *Congruency-Constrained TU Problems Beyond the Bimodular Case*, arXiv:2109.03148v3 (preprint), p.11, PDF p.12): "Let (A a₁; a₂⊤ α) be a TU matrix with α ≠ 0. Then, the
matrix A − αa₁a₂⊤ is TU, and the two systems {Ax + a₁y ≤ b, a₂⊤x + αy = β} and
{(A − αa₁a₂⊤)x ≤ b − αβa₁, y = αβ − αa₂⊤x} are equivalent."
**Formalization Note.** `(A a₁; a₂⊤ α)` is `Matrix.fromBlocks A (a₁ as a column) (a₂⊤ as a row) [α]`.
"Equivalent" is read as: the two systems have the same solutions `(x, y) ∈ ℝⁿ × ℝ`, for every
right-hand side `b ∈ ℝᵏ`, `β ∈ ℝ` (this contains the integral case). -/
theorem theorem_19 {k n : ℕ} (A : Matrix (Fin k) (Fin n) ℤ) (a₁ : Fin k → ℤ) (a₂ : Fin n → ℤ)
(α : ℤ)
(hTU : (fromBlocks A (replicateCol (Fin 1) a₁) (replicateRow (Fin 1) a₂) !![α]).IsTotallyUnimodular)
(hα : α ≠ 0) :
(A - α • vecMulVec a₁ a₂).IsTotallyUnimodular ∧
∀ (b : Fin k → ℝ) (β : ℝ) (x : Fin n → ℝ) (y : ℝ),
((A.map (Int.cast : ℤ → ℝ)) *ᵥ x + y • (fun i => (a₁ i : ℝ)) ≤ b ∧
(fun j => (a₂ j : ℝ)) ⬝ᵥ x + (α : ℝ) * y = β) ↔
(((A - α • vecMulVec a₁ a₂).map (Int.cast : ℤ → ℝ)) *ᵥ x ≤
b - ((α : ℝ) * β) • (fun i => (a₁ i : ℝ)) ∧
y = (α : ℝ) * β - (α : ℝ) * ((fun j => (a₂ j : ℝ)) ⬝ᵥ x)) := by sorry
end CongruencyTU
Source
Nägele, Santiago, Zenklusen, Congruency-Constrained TU Problems Beyond the Bimodular Case, arXiv:2109.03148v3 [math.OC] (preprint, 25 Apr 2023), https://arxiv.org/abs/2109.03148v3, p.11 (PDF p.12), Theorem 19
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.