Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Proof of Theorem 2.13 — deletion and contraction of the half-integral node have smaller defect

Proved
LovaszSchrijver.Defect.defect_deletion_contraction_lt

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 aTx≤ba^{\mathsf T}x \le baTx≤b be an inequality with a∈Z+Va \in \mathbb Z_+^Va∈Z+V​, b∈Z+b \in \mathbb Z_+b∈Z+​, valid for STAB(G)\mathrm{STAB}(G)STAB(G), whose defect

r=2max⁡{aTx−b:x∈FRAC(G)}r = 2\max\{a^{\mathsf T}x - b : x \in \mathrm{FRAC}(G)\}r=2max{aTx−b:x∈FRAC(G)}

is positive. Let i∈Vi \in Vi∈V be a node with yi=12y_i = \tfrac12yi​=21​ at every vector y∈FRAC(G)y \in \mathrm{FRAC}(G)y∈FRAC(G) maximizing aTxa^{\mathsf T}xaTx (such a node exists by Lemma 2.12). Then both the deletion and the contraction of iii result in constraints with smaller defect:

  1. the deletion aV−iTx≤ba_{V-i}^{\mathsf T}x \le baV−iT​x≤b has a defect, and it is <r< r<r;
  2. the contraction aV−Γ(i)−iTx≤b−aia_{V-\Gamma(i)-i}^{\mathsf T}x \le b - a_iaV−Γ(i)−iT​x≤b−ai​ has a defect, and it is <r< r<r.

This is the claim on which the induction on rrr in the upper bound of Theorem 2.13 rests.

Formalization Note Deletion and contraction are the zero-extended coefficient vectors on the same graph GGG (see the definition item), and their defects are taken over FRAC(G)\mathrm{FRAC}(G)FRAC(G), as in the paper's proof. The contraction's right-hand side b−aib - a_ib−ai​ is computed in R\mathbb RR. The existence of each defect (the maximum being attained) is part of the conclusion.

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

theorem defect_deletion_contraction_lt {V : Type} [Fintype V] [DecidableEq V]
    (G : SimpleGraph V) [DecidableRel G.Adj] (hG : ∀ v, ∃ w, G.Adj v w)
    (a : V → ℕ) (b : ℕ) (hvalid : Valid (STAB G) (fun j => (a j : ℝ)) b)
    (r : ℝ) (hr : IsDefect G (fun j => (a j : ℝ)) b r) (hr0 : 0 < r)
    (i : V) (hi : ∀ y : V → ℝ, IsFRACMaximizer G (fun j => (a j : ℝ)) y → y i = 1 / 2) :
    (∃ r₁ : ℝ, IsDefect G (deletion (fun j => (a j : ℝ)) i) b r₁ ∧ r₁ < r) ∧
    (∃ r₂ : ℝ, IsDefect G (contraction G (fun j => (a j : ℝ)) i) ((b : ℝ) - (a i : ℝ)) r₂ ∧
      r₂ < r) := 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, proof of Theorem 2.13 (upper bound), second paragraph
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. The weights a∈NVa \in \mathbb{N}^Va∈NV and the right-hand side b∈Nb \in \mathbb{N}b∈N are natural numbers, treated as real numbers wherever they appear below. r∈Rr \in \mathbb{R}r∈R and i∈Vi \in Vi∈V.

Hypotheses.

  1. GGG has no isolated vertices.
  2. The inequality a⊤x≤ba^\top x \le ba⊤x≤b is valid for STAB(G)\mathrm{STAB}(G)STAB(G), the convex hull of incidence vectors of independent sets.
  3. rrr is the defect of a⊤x≤ba^\top x \le ba⊤x≤b: r=max⁡{2(a⊤x−b):x∈FRAC(G)}r = \max\{2(a^\top x - b) : x \in \mathrm{FRAC}(G)\}r=max{2(a⊤x−b):x∈FRAC(G)}, and the maximum is attained. Here FRAC(G)={x≥0:xj+xk≤1 for j∼k}\mathrm{FRAC}(G) = \{x \ge 0 : x_j + x_k \le 1 \text{ for } j \sim k\}FRAC(G)={x≥0:xj​+xk​≤1 for j∼k}.
  4. The defect is positive: r>0r > 0r>0.
  5. Every y∈FRAC(G)y \in \mathrm{FRAC}(G)y∈FRAC(G) that maximizes a⊤xa^\top xa⊤x over FRAC(G)\mathrm{FRAC}(G)FRAC(G) has yi=12y_i = \tfrac12yi​=21​.

Conclusion. Both of the following hold.

  1. Deletion. Let a′a'a′ be aaa with aia_iai​ replaced by 000. There is an r1<rr_1 < rr1​<r that is the defect of a′⊤x≤ba'^\top x \le ba′⊤x≤b:
r1=max⁡x∈FRAC(G)2 (a′⊤x−b),attained.r_1 = \max_{x \in \mathrm{FRAC}(G)} 2\,(a'^\top x - b), \quad \text{attained}.r1​=x∈FRAC(G)max​2(a′⊤x−b),attained.
  1. Contraction. Let a′′a''a′′ be aaa with aia_iai​ and every awa_waw​ for www adjacent to iii replaced by 000. There is an r2<rr_2 < rr2​<r that is the defect of a′′⊤x≤b−aia''^\top x \le b - a_ia′′⊤x≤b−ai​:
r2=max⁡x∈FRAC(G)2 (a′′⊤x−(b−ai)),attained.r_2 = \max_{x \in \mathrm{FRAC}(G)} 2\,\big(a''^\top x - (b - a_i)\big), \quad \text{attained}.r2​=x∈FRAC(G)max​2(a′′⊤x−(b−ai​)),attained.

The subtraction b−aib - a_ib−ai​ is ordinary real subtraction, so it can be negative. The graph is still GGG in both parts: nothing is removed from it.

Degenerate cases.

  • If VVV is empty, FRAC(G)\mathrm{FRAC}(G)FRAC(G) is a single point and the defect is −2b≤0-2b \le 0−2b≤0. Hypothesis 4 then fails. In any case, no vertex iii exists, so the statement is vacuous.
  • Hypothesis 1 makes FRAC(G)\mathrm{FRAC}(G)FRAC(G) bounded, so maximizers exist and hypothesis 5 is a real constraint.
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