Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Lemma 2.12 — some node takes the value ½ at every FRAC-maximizer

Proved
LovaszSchrijver.Defect.exists_half_at_every_maximizer

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

graph-theoryp2o-batch-p100bp2o-gran-per-chapterp2o-plan-paperp2o-v1stable-set-polytope

Let G=(V,E)G = (V,E)G=(V,E) be a finite graph with no isolated nodes and let a∈R+Va \in \mathbb R_+^Va∈R+V​. Assume that

max⁡{aTx:x∈STAB(G)}<max⁡{aTx:x∈FRAC(G)}.\max\{a^{\mathsf T}x : x \in \mathrm{STAB}(G)\} < \max\{a^{\mathsf T}x : x \in \mathrm{FRAC}(G)\}.max{aTx:x∈STAB(G)}<max{aTx:x∈FRAC(G)}.

Then there exists a node i∈Vi \in Vi∈V such that every vector y∈FRAC(G)y \in \mathrm{FRAC}(G)y∈FRAC(G) maximizing aTxa^{\mathsf T}xaTx has yi=12y_i = \tfrac12yi​=21​.

In the proof of Theorem 2.13 this node iii is the one whose deletion and contraction lower the defect.

Formalization Note As in Lemma 2.11, the two maxima are numbers sS<sFs_S < s_FsS​<sF​ with IsGreatest hypotheses.

Preamble
import Mathlib
import Definitions.Def_LovaszSchrijver_Defect_Index
Formal statement
namespace LovaszSchrijver.Defect

theorem exists_half_at_every_maximizer {V : Type} [Fintype V] [DecidableEq V]
    (G : SimpleGraph V) [DecidableRel G.Adj] (hG : ∀ v, ∃ w, G.Adj v w)
    (a : V → ℝ) (ha : ∀ i, 0 ≤ a i) (sS sF : ℝ)
    (hS : IsGreatest {s : ℝ | ∃ x ∈ STAB G, s = a ⬝ᵥ x} sS)
    (hF : IsGreatest {s : ℝ | ∃ x ∈ FRAC G, s = a ⬝ᵥ x} sF)
    (hlt : sS < sF) :
    ∃ i : V, ∀ y : V → ℝ, IsFRACMaximizer G a y → y i = 1 / 2 := by sorry

end LovaszSchrijver.Defect
Source
Lovász and Schrijver, Cones of matrices and set-functions and 0–1 optimization, SIAM J. Optim. 1(2) (1991), p. 182, Lemma 2.12
Read-back

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

Setting. VVV is a finite type with decidable equality and GGG is a simple graph on VVV with decidable adjacency. a∈RVa \in \mathbb{R}^Va∈RV and sS,sF∈Rs_S, s_F \in \mathbb{R}sS​,sF​∈R.

Hypotheses.

  1. GGG has no isolated vertices: every vertex has at least one neighbour.
  2. The weights are nonnegative: ai≥0a_i \ge 0ai​≥0 for all iii.
  3. sS=max⁡{a⊤x:x∈STAB(G)}s_S = \max\{a^\top x : x \in \mathrm{STAB}(G)\}sS​=max{a⊤x:x∈STAB(G)}, and the maximum is attained. Here STAB(G)\mathrm{STAB}(G)STAB(G) is the convex hull of incidence vectors of independent sets of GGG.
  4. sF=max⁡{a⊤x:x∈FRAC(G)}s_F = \max\{a^\top x : x \in \mathrm{FRAC}(G)\}sF​=max{a⊤x:x∈FRAC(G)}, and the maximum is attained. Here FRAC(G)={x≥0:xi+xj≤1 for i∼j}\mathrm{FRAC}(G) = \{x \ge 0 : x_i + x_j \le 1 \text{ for } i \sim j\}FRAC(G)={x≥0:xi​+xj​≤1 for i∼j}.
  5. The inequality is strict: sS<sFs_S < s_FsS​<sF​.

Conclusion. There is a single vertex i∈Vi \in Vi∈V such that

yi=12for every y∈FRAC(G) with a⊤y≥a⊤x  ∀x∈FRAC(G).y_i = \tfrac12 \quad \text{for every } y \in \mathrm{FRAC}(G) \text{ with } a^\top y \ge a^\top x \ \ \forall x \in \mathrm{FRAC}(G).yi​=21​for every y∈FRAC(G) with a⊤y≥a⊤x  ∀x∈FRAC(G).

The same iii works for all maximizers at once; it is not chosen separately for each one.

Degenerate cases.

  • Hypothesis 1 makes FRAC(G)\mathrm{FRAC}(G)FRAC(G) bounded. So if VVV is nonempty, maximizers exist and the conclusion is not vacuous.
  • If VVV is empty, or if a=0a = 0a=0, then sS=sFs_S = s_FsS​=sF​. Hypothesis 5 fails and the statement is vacuous.
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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me