Lemma 8 (corrected: singleton intervals allowed): a sum in R that cannot be shortened has at most m − |R| terms
ProvedCongruencyTU.lemma_8congruency-constraintsinteger-programmingp2o-correctedp2o-gran-per-chapterp2o-plan-paperp2o-v1strongly-polynomialtotally-unimodular
Let , and with . If there is no interval with and such that , then
As printed, the lemma requires , which excludes one-element intervals, and is then false: for , , the only interval with is , whose complement has sum , yet . The paper's own proof removes the singleton interval .
The lemma bounds how many elementary steps are needed to return to a feasible residue, which is the source of every width bound in the paper.
Formalization Note is indexed .
Differences from the source:
- correction: intervals I = {i₁, …, i₂} with i₁ < i₂ → intervals with i₁ ≤ i₂ (singletons allowed); reason: as printed the lemma is false: m = 2, R = {1}, (r₁, r₂) = (1, 0) meets the hypothesis but ℓ = 2 > 1 = m − |R|; the paper's proof uses the singleton interval {ℓ}
- reading: Σ_{i∈[ℓ]∖I} rᵢ ∈ R → Σ_{i∈[ℓ]∖I} rᵢ ≡ r (mod m) for some r ∈ R; reason: membership in R is modulo m throughout the lemma, as in its first hypothesis and its proof
- encoding: indices [ℓ] = {1, …, ℓ} → Fin ℓ = {0, …, ℓ − 1}; reason: Lean indexing; same intervals
Preamble
import Mathlib import Definitions.Def_CongruencyTU_Pattern
Formal statement
namespace CongruencyTU
/-- **Lemma 8** (Nägele–Santiago–Zenklusen, *Congruency-Constrained TU Problems Beyond the Bimodular Case*, arXiv:2109.03148v3 (preprint), p.5, PDF p.6), **corrected**: "Let m ∈ ℤ_{>0}, R ⊆ {0, …, m − 1}, and
r₁, …, r_ℓ ∈ ℤ with Σ_{i∈[ℓ]} rᵢ ∈ R (mod m). If there is no interval I = {i₁, …, i₂} with
i₁, i₂ ∈ [ℓ] and i₁ < i₂ such that Σ_{i∈[ℓ]∖I} rᵢ ∈ R, then ℓ ≤ m − |R|."
As printed (`i₁ < i₂`, no singleton intervals) the lemma is false: `m = 2`, `R = {1}`, `ℓ = 2`,
`(r₁, r₂) = (1, 0)` satisfies the hypothesis (the only interval `{1, 2}` leaves the empty sum
`0 ∉ R`) but `ℓ = 2 > 1 = m − |R|`. The paper's proof uses the singleton interval `{ℓ}`. Stated here
with `i₁ ≤ i₂`.
**Formalization Note.** `[ℓ]` is `Fin ℓ` (0-based); the interval is `{i : i₁ ≤ i ≤ i₂}`. "∈ R" for
the sum over `[ℓ] ∖ I` is read modulo `m`, as for the full sum. -/
theorem lemma_8 (m : ℕ) (hm : 0 < m) (R : Finset ℕ) (hR : ∀ r ∈ R, r < m) (ℓ : ℕ)
(r : Fin ℓ → ℤ) (hsum : InRes m R (∑ i, r i))
(hno : ¬ ∃ i₁ i₂ : Fin ℓ, i₁ ≤ i₂ ∧
InRes m R (∑ i ∈ Finset.univ.filter (fun i => ¬ (i₁ ≤ i ∧ i ≤ i₂)), r i)) :
ℓ ≤ m - R.card := 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.5 (PDF p.6), Lemma 8
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.