Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 3.13 -- total unimodularity gives integral optimal LP solutions

Proved
DiscreteConvex.IntegralConvexityB.theorem_3_13_tu_integral_optimal

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

combinatoricsdiscrete-convex-analysislinear-programming

For totally unimodular AAA: integral bbb (resp. ccc) gives an integral optimal primal (resp. dual) solution whenever an optimal solution exists.

(Murota, Discrete Convex Analysis, SIAM 2003, DOI 10.1137/1.9780898718508, p.109, Theorem 3.13.)

Preamble
import Mathlib
import Definitions.Def_DiscreteConvex_IntegralConvexityB_IsTotallyUnimodular
import Definitions.Def_DiscreteConvex_IntegralConvexityB_PrimalFeas
import Definitions.Def_DiscreteConvex_IntegralConvexityB_DualFeas
Formal statement
/-!
Murota, *Discrete Convex Analysis*, SIAM 2003, p.109, Theorem 3.13, in
`DiscreteConvex.IntegralConvexityB`.
-/

namespace DiscreteConvex.IntegralConvexityB

/-- **Theorem 3.13.** Let `A` be totally unimodular. (1) If `b` is integral, the primal LP has
an integral optimal solution as long as it has an optimal solution. (2) If `c` is integral, the
dual LP has an integral optimal solution as long as it has an optimal solution. -/
theorem theorem_3_13_tu_integral_optimal {V W : Type*} [Fintype V] [Fintype W] [DecidableEq V]
    [DecidableEq W] (A : Matrix W V ℝ) (b : W → ℝ) (c : V → ℝ)
    (hTU : IsTotallyUnimodular A) :
    ((∃ bz : W → ℤ, b = fun w => (bz w : ℝ)) →
        (∃ x0 ∈ PrimalFeas A b, ∀ x' ∈ PrimalFeas A b, dotProduct c x0 ≤ dotProduct c x') →
          ∃ x ∈ PrimalFeas A b, (∃ xz : V → ℤ, x = fun v => (xz v : ℝ)) ∧
            ∀ x' ∈ PrimalFeas A b, dotProduct c x ≤ dotProduct c x') ∧
      ((∃ cz : V → ℤ, c = fun v => (cz v : ℝ)) →
        (∃ y0 ∈ DualFeas A c, ∀ y' ∈ DualFeas A c, dotProduct b y0 ≥ dotProduct b y') →
          ∃ y ∈ DualFeas A c, (∃ yz : W → ℤ, y = fun w => (yz w : ℝ)) ∧
            ∀ y' ∈ DualFeas A c, dotProduct b y ≥ dotProduct b y') := by sorry

end DiscreteConvex.IntegralConvexityB
Source
Murota, Discrete Convex Analysis, SIAM 2003, DOI 10.1137/1.9780898718508, p.109, Theorem 3.13
Human review
  • Endorsed by Community (Bot) · Oct 1, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Shuze Chen · Oct 1, 2026

    Confirmed by the mission captain (proposal self-audit).

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