Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 3.1, proof — perfection is equivalent to the fractional clique-cover min–max (iii)

Proved
ChvatalPolytopes.Perfect.isPerfect_iff_integer_minmax

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

lp-dualitymin-maxp2o-batch-p100ap2o-gran-per-chapterp2o-plan-paperp2o-v1perfect-graphs

Let G=(V,E)G=(V,E)G=(V,E) be a finite graph, S(G)S(G)S(G) the incidence vectors of its stable sets and C(G)C(G)C(G) the vertex sets of its maximal cliques. Then GGG is perfect if and only if the following condition (iii) holds: for every integer-valued vector c=(cu:u∈V)c=(c_u:u\in V)c=(cu​:u∈V),

max⁡{cx:x∈S(G)}=min⁡{∑W∈C(G)λW  :  λW≥0 for all W∈C(G), ∑W∈C(G), u∈WλW≥cu for all u∈V}.\max\{cx : x\in S(G)\}=\min\Big\{\sum_{W\in C(G)}\lambda_W \;:\; \lambda_W\ge0 \text{ for all } W\in C(G),\ \sum_{W\in C(G),\,u\in W}\lambda_W\ge c_u \text{ for all } u\in V\Big\}.max{cx:x∈S(G)}=min{W∈C(G)∑​λW​:λW​≥0 for all W∈C(G), W∈C(G),u∈W∑​λW​≥cu​ for all u∈V}.

Condition (iii) is what Proposition 2.1 turns statement (i) of Theorem 3.1 into; this equivalence is therefore the combinatorial heart of Theorem 3.1. It upgrades the defining zero–one min–max for zero–one weights to a fractional min–max for all integer weights.

Formalization Note "max = min" is written out: some mmm is the maximum of cxcxcx over S(G)S(G)S(G) (IsStableMax), some real λ≥0\lambda\ge0λ≥0 satisfying the covering constraints has ∑WλW=m\sum_W\lambda_W=m∑W​λW​=m, and every such λ\lambdaλ has ∑WλW≥m\sum_W\lambda_W\ge m∑W​λW​≥m. The weights are functions Finset V → ℝ read only on the maximal cliques C(G)C(G)C(G).

Preamble
import Mathlib
import Definitions.Def_ChvatalPolytopes_Perfect_StablePolytope
import Definitions.Def_ChvatalPolytopes_Perfect_IsPerfect
Formal statement
namespace ChvatalPolytopes.Perfect

/-- **Condition (iii) ⇔ (ii)** (Chvátal 1975, §3, proof of Theorem 3.1, p. 141). A graph `G` is
perfect if and only if (iii): for every integer-valued vector `c = (c_u : u ∈ V)`, the maximum of
`{cx : x ∈ S(G)}` is equal to the minimum of
`{Σ (λ_W : W ∈ C(G)) : λ_W ≥ 0 for all W ∈ C(G) and Σ (λ_W : u ∈ W ∈ C(G)) ≥ c_u for all u ∈ V}`.

"max = min" is spelled out: some `m` is the maximum over `S(G)`, is attained by a feasible
nonnegative real `λ`, and is at most the objective of every feasible `λ`. Weights are
`λ : Finset V → ℝ`, read only on `C(G) = maximalCliques G` (maximal cliques). -/
theorem isPerfect_iff_integer_minmax {V : Type*} [Fintype V] [DecidableEq V]
    (G : SimpleGraph V) :
    IsPerfect G ↔
      ∀ c : V → ℤ, ∃ m : ℝ, IsStableMax G (fun u => (c u : ℝ)) m ∧
        (∃ lam : Finset V → ℝ, (∀ W ∈ maximalCliques G, 0 ≤ lam W) ∧
          (∀ u, (c u : ℝ) ≤ ∑ W ∈ (maximalCliques G).filter (fun W => u ∈ W), lam W) ∧
          ∑ W ∈ maximalCliques G, lam W = m) ∧
        (∀ lam : Finset V → ℝ, (∀ W ∈ maximalCliques G, 0 ≤ lam W) →
          (∀ u, (c u : ℝ) ≤ ∑ W ∈ (maximalCliques G).filter (fun W => u ∈ W), lam W) →
          m ≤ ∑ W ∈ maximalCliques G, lam W) := by sorry

end ChvatalPolytopes.Perfect
Source
Chvátal, On certain polytopes associated with graphs, J. Combin. Theory Ser. B 18 (1975), p. 141, §3, proof of Theorem 3.1, condition (iii) and the equivalence (iii) ⇔ (ii)
Read-back

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

Let GGG be a simple graph on a finite vertex set VVV with decidable equality. Write:

  • S(G)S(G)S(G) for the incidence vectors of independent sets of GGG;
  • C(G)C(G)C(G) for the inclusion-maximal cliques of GGG.

"Perfect" means: for every 0/10/10/1 vector c∈RVc \in \mathbb{R}^Vc∈RV, the maximum of ∑ucuxu\sum_u c_u x_u∑u​cu​xu​ over x∈S(G)x \in S(G)x∈S(G) equals the minimum of ∑W∈C(G)λW\sum_{W \in C(G)} \lambda_W∑W∈C(G)​λW​. The minimum ranges over 0/10/10/1-valued weights λ\lambdaλ on C(G)C(G)C(G) with ∑W∈C(G), u∈WλW≥cu\sum_{W \in C(G),\, u \in W} \lambda_W \ge c_u∑W∈C(G),u∈W​λW​≥cu​ for all uuu, and it must be attained and bound every such λ\lambdaλ from below.

Claim. GGG is perfect if and only if the following holds for every integer vector c∈ZVc \in \mathbb{Z}^Vc∈ZV. There is a real number mmm such that:

  1. m=max⁡x∈S(G)∑ucuxum = \max_{x \in S(G)} \sum_{u} c_u x_um=maxx∈S(G)​∑u​cu​xu​: some x∈S(G)x \in S(G)x∈S(G) attains mmm, and no x∈S(G)x \in S(G)x∈S(G) exceeds it;
  2. some real weight function λ\lambdaλ satisfies all of:
    • λW≥0\lambda_W \ge 0λW​≥0 for all W∈C(G)W \in C(G)W∈C(G);
    • the covering condition
cu≤∑W∈C(G), u∈WλW(u∈V);c_u \le \sum_{W \in C(G),\ u \in W} \lambda_W \quad (u \in V);cu​≤W∈C(G), u∈W∑​λW​(u∈V);
  • ∑W∈C(G)λW=m\sum_{W \in C(G)} \lambda_W = m∑W∈C(G)​λW​=m;
  1. every real λ\lambdaλ with λW≥0\lambda_W \ge 0λW​≥0 on C(G)C(G)C(G) that satisfies the covering condition has m≤∑W∈C(G)λWm \le \sum_{W \in C(G)} \lambda_Wm≤∑W∈C(G)​λW​.

On the right-hand side the weights are arbitrary nonnegative reals, not 0/10/10/1. Values of λ\lambdaλ outside C(G)C(G)C(G) play no role.

Degenerate cases.

  • ccc may have negative entries. Covering constraints with cu≤0c_u \le 0cu​≤0 are automatically satisfied by any nonnegative λ\lambdaλ.
  • If c≤0c \le 0c≤0 throughout, then λ=0\lambda = 0λ=0 is feasible, m=0m = 0m=0 (the empty set gives 000 and no stable vector gives more), and conditions 2 and 3 hold with m=0m = 0m=0.
  • If VVV is empty, then C(G)={∅}C(G) = \{\varnothing\}C(G)={∅} and ccc is the empty vector, and both sides of the equivalence hold with m=0m = 0m=0.
Human review
  • Endorsed by Shuze Chen · Sep 27, 2026

    Confirmed by the moderator at approval.

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