Proposition 2.1 — convex hull via LP min–max for integer objectives
ProvedChvatalPolytopes.Substitution.convexHull_iff_minmaxLet and be finite index sets, and (, ) real numbers, and consider the linear system
Let be a finite nonempty set of solutions of (2.1). Then the set of all solutions of (2.1) is the convex hull of if and only if, for every integer-valued vector ,
The proposition converts "(2.1) is a defining linear system of " into a family of min–max equalities, one for each integral objective. The proof of Theorem 5.1 applies it four times: once to each of , to obtain dual multipliers, and once more to conclude that (5.1) defines .
Formalization Note "min = max" is stated as two clauses: every feasible has , and some feasible attains equality. The hypothesis that is nonempty is added (the paper's requires it). The nonnegativity rows are kept, as a separate conjunct of the solution set; without them the statement is false. is a finite type and are real; ranges over .
import Mathlib
namespace ChvatalPolytopes.Substitution
/-- **Proposition 2.1** (Chvátal 1975, pp. 139–140). Let `S` be a finite set of solutions
`x = (x_u : u ∈ V)` of the system (2.1)
`−x_u ≤ 0 (u ∈ V)`, `Σ (a_{iu} x_u : u ∈ V) ≤ b_i (i ∈ J)`.
Then the set of all solutions of (2.1) is the convex hull of `S` if and only if, for every
integer-valued vector `c = (c_u : u ∈ V)`,
`max {cx : x ∈ S} = min {Σ (λ_i b_i : i ∈ J) : λ_i ≥ 0 for all i ∈ J and
Σ (λ_i a_{iu} : i ∈ J) ≥ c_u for all u ∈ V}`.
"min = max" is stated as: (a) every feasible `λ` has objective `≥ max_{x ∈ S} cx`, and (b) some
feasible `λ` has objective equal to it. The hypothesis `S.Nonempty` is added (the paper's
`max {cx : x ∈ S}` requires it). The nonnegativity rows `−x_u ≤ 0` are kept as the conjunct
`∀ u, 0 ≤ x u`; `J` is a finite index type and the coefficients `a`, `b` are real. -/
theorem convexHull_iff_minmax {V : Type*} [Fintype V] {J : Type*} [Fintype J]
(a : J → V → ℝ) (b : J → ℝ) (S : Finset (V → ℝ)) (hS : S.Nonempty)
(hSsol : ∀ x ∈ S, (∀ u, 0 ≤ x u) ∧ ∀ i, ∑ u, a i u * x u ≤ b i) :
{x : V → ℝ | (∀ u, 0 ≤ x u) ∧ ∀ i, ∑ u, a i u * x u ≤ b i} = convexHull ℝ (S : Set (V → ℝ)) ↔
∀ c : V → ℤ,
(∀ lam : J → ℝ, (∀ i, 0 ≤ lam i) → (∀ u, (c u : ℝ) ≤ ∑ i, lam i * a i u) →
S.sup' hS (fun x => ∑ u, (c u : ℝ) * x u) ≤ ∑ i, lam i * b i) ∧
(∃ lam : J → ℝ, (∀ i, 0 ≤ lam i) ∧ (∀ u, (c u : ℝ) ≤ ∑ i, lam i * a i u) ∧
∑ i, lam i * b i = S.sup' hS (fun x => ∑ u, (c u : ℝ) * x u)) := by sorry
end ChvatalPolytopes.Substitution
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting.
- and are finite types, and either may be empty.
- The data are real coefficients for , , and real right-hand sides for .
- is a finite, nonempty set of vectors in . Every solves the system: for all , and for all .
- is the set of all solutions of this system:
Claim. , the real convex hull of , if and only if the following holds for every integer-valued vector . Write
which is a genuine maximum because is finite and nonempty. Call feasible if for all and for all . Then both of the following hold:
- (a) every feasible satisfies ;
- (b) some feasible satisfies .
The dual vectors are real, while ranges only over integer vectors. The equivalence is a biconditional.
Degenerate cases:
- empty: there is exactly one , the empty vector, with objective . It is feasible iff for every . is the nonnegative orthant, and for any with some condition (b) fails.
- empty: is a single point, is that point, and every gives .
- a single point: is just applied to that point.
The nonemptiness hypothesis on is required for to be defined. No integrality or boundedness condition on is assumed separately.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.