Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 2.1 — convex hull via LP min–max for integer objectives

Proved
ChvatalPolytopes.Substitution.convexHull_iff_minmax

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

convex-hulllp-dualityp2o-batch-p100ap2o-gran-per-chapterp2o-plan-paperp2o-v1polyhedral-combinatorics

Let VVV and JJJ be finite index sets, aiua_{iu}aiu​ and bib_ibi​ (i∈Ji\in Ji∈J, u∈Vu\in Vu∈V) real numbers, and consider the linear system

−xu≤0(u∈V),∑u∈Vaiuxu≤bi(i∈J).(2.1)-x_u\le 0\quad(u\in V),\qquad \sum_{u\in V}a_{iu}x_u\le b_i\quad(i\in J).\tag{2.1}−xu​≤0(u∈V),u∈V∑​aiu​xu​≤bi​(i∈J).(2.1)

Let SSS be a finite nonempty set of solutions of (2.1). Then the set of all solutions of (2.1) is the convex hull of SSS if and only if, for every integer-valued vector c=(cu:u∈V)c=(c_u:u\in V)c=(cu​:u∈V),

max⁡{cx:x∈S}=min⁡{∑i∈Jλibi  :  λi≥0 for all i∈J, ∑i∈Jλiaiu≥cu for all u∈V}.\max\{cx : x\in S\}=\min\Big\{\sum_{i\in J}\lambda_ib_i \;:\; \lambda_i\ge0 \text{ for all } i\in J,\ \sum_{i\in J}\lambda_ia_{iu}\ge c_u \text{ for all } u\in V\Big\}.max{cx:x∈S}=min{i∈J∑​λi​bi​:λi​≥0 for all i∈J, i∈J∑​λi​aiu​≥cu​ for all u∈V}.

The proposition converts "(2.1) is a defining linear system of conv⁡S\operatorname{conv}SconvS" 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 G1G_1G1​, G2G_2G2​ to obtain dual multipliers, and once more to conclude that (5.1) defines P(G)P(G)P(G).

Formalization Note "min = max" is stated as two clauses: every feasible λ≥0\lambda\ge0λ≥0 has ∑iλibi≥max⁡x∈Scx\sum_i\lambda_ib_i\ge\max_{x\in S}cx∑i​λi​bi​≥maxx∈S​cx, and some feasible λ≥0\lambda\ge0λ≥0 attains equality. The hypothesis that SSS is nonempty is added (the paper's max⁡{cx:x∈S}\max\{cx:x\in S\}max{cx:x∈S} requires it). The nonnegativity rows −xu≤0-x_u\le0−xu​≤0 are kept, as a separate conjunct x≥0x\ge0x≥0 of the solution set; without them the statement is false. JJJ is a finite type and a,ba,ba,b are real; ccc ranges over ZV\mathbb Z^VZV.

Preamble
import Mathlib
Formal statement
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
Source
Chvátal, On certain polytopes associated with graphs, J. Combin. Theory Ser. B 18 (1975), pp. 139–140, Proposition 2.1
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Setting.

  • VVV and JJJ are finite types, and either may be empty.
  • The data are real coefficients ai,ua_{i,u}ai,u​ for i∈Ji \in Ji∈J, u∈Vu \in Vu∈V, and real right-hand sides bib_ibi​ for i∈Ji \in Ji∈J.
  • SSS is a finite, nonempty set of vectors in RV\mathbb R^VRV. Every x∈Sx \in Sx∈S solves the system: xu≥0x_u \ge 0xu​≥0 for all u∈Vu \in Vu∈V, and ∑uai,uxu≤bi\sum_{u} a_{i,u} x_u \le b_i∑u​ai,u​xu​≤bi​ for all i∈Ji \in Ji∈J.
  • PPP is the set of all solutions of this system:
P={x∈RV:xu≥0 ∀u, ∑uai,uxu≤bi ∀i}.P = \Bigl\{x \in \mathbb R^V : x_u \ge 0\ \forall u,\ \textstyle\sum_u a_{i,u}x_u \le b_i\ \forall i\Bigr\}.P={x∈RV:xu​≥0 ∀u, ∑u​ai,u​xu​≤bi​ ∀i}.

Claim. P=conv⁡(S)P = \operatorname{conv}(S)P=conv(S), the real convex hull of SSS, if and only if the following holds for every integer-valued vector c∈ZVc \in \mathbb Z^Vc∈ZV. Write

Mc=max⁡x∈S∑u∈Vcuxu,M_c = \max_{x \in S} \sum_{u \in V} c_u x_u,Mc​=x∈Smax​u∈V∑​cu​xu​,

which is a genuine maximum because SSS is finite and nonempty. Call λ∈RJ\lambda \in \mathbb R^Jλ∈RJ feasible if λi≥0\lambda_i \ge 0λi​≥0 for all iii and ∑i∈Jλiai,u≥cu\sum_{i \in J} \lambda_i a_{i,u} \ge c_u∑i∈J​λi​ai,u​≥cu​ for all u∈Vu \in Vu∈V. Then both of the following hold:

  • (a) every feasible λ\lambdaλ satisfies Mc≤∑iλibiM_c \le \sum_{i} \lambda_i b_iMc​≤∑i​λi​bi​;
  • (b) some feasible λ\lambdaλ satisfies ∑iλibi=Mc\sum_i \lambda_i b_i = M_c∑i​λi​bi​=Mc​.

The dual vectors λ\lambdaλ are real, while ccc ranges only over integer vectors. The equivalence is a biconditional.

Degenerate cases:

  • JJJ empty: there is exactly one λ\lambdaλ, the empty vector, with objective 000. It is feasible iff cu≤0c_u \le 0cu​≤0 for every uuu. PPP is the nonnegative orthant, and for any ccc with some cu>0c_u > 0cu​>0 condition (b) fails.
  • VVV empty: RV\mathbb R^VRV is a single point, SSS is that point, and every ccc gives Mc=0M_c = 0Mc​=0.
  • SSS a single point: McM_cMc​ is just ccc applied to that point.

The nonemptiness hypothesis on SSS is required for McM_cMc​ to be defined. No integrality or boundedness condition on PPP is assumed separately.

Human review
  • Endorsed by Shuze Chen · Sep 28, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 28, 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