Proof of Theorem 1, closing chain — ½·Σ_{sum(i)≤2} d(i)·sum(i) + Σ_{sum(i)>2} d(i) ≥ |E′|
ProvedLubyMIS.MonteCarlo.degree_sum_ge_edgesLet be a finite simple graph with degrees , and let (the empty sum for an isolated vertex). Then
This is the purely graph-theoretic closing chain of the proof of Theorem 1. Combined with the first display of that proof and Lemma B, which give times the left-hand side, it yields .
Formalization Note The page writes the chain with the common factor in front of every line; the statement divides it out. Isolated vertices have and degree , so they fall in the first sum with weight , matching the page, where they carry no edges.
import Mathlib import Definitions.Def_LubyMIS_MonteCarlo_Basic
namespace LubyMIS.MonteCarlo
/-- Closing chain of the proof of Theorem 1 (Luby 1986, §3.4, p. 1041), with the common factor `⅛`
divided out: `½ ∑_{sum(i) ≤ 2} d(i) sum(i) + ∑_{sum(i) > 2} d(i) ≥ |E′|`. -/
theorem degree_sum_ge_edges {V : Type*} [Fintype V] [DecidableEq V]
(H : SimpleGraph V) [DecidableRel H.Adj] :
(∑ i ∈ Finset.univ.filter (fun i => sumInv H i ≤ 2), (H.degree i : ℝ) * sumInv H i / 2) +
(∑ i ∈ Finset.univ.filter (fun i => 2 < sumInv H i), (H.degree i : ℝ)) ≥
(H.edgeFinset.card : ℝ) := by sorry
end LubyMIS.MonteCarlo
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let be a finite type and any simple graph on with degree function and edge set . Write
The statement asserts
There are no hypotheses.
Degenerate cases.
- An isolated vertex has (empty sum). It falls in the first group and contributes .
- If is empty or has no edges, both sides are .
- No division by zero occurs, since every in belongs to a neighbour and so .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.