Proof of Theorem 1, closing chain — ½ Σ_{sum(i) ≤ 2} d(i)·sum(i) + Σ_{sum(i) > 2} d(i) ≥ |E′|
ProvedLubyMIS.Derandomized.degree_sum_ge_edgesLet be a finite simple graph, with degrees and . Then
Multiplied by this is the closing chain of the proof of Theorem 1; it turns the per-vertex bounds into a bound proportional to the number of edges. Theorems 2 and 3 use it in place of Theorem 1's Lemma B.
Formalization Note The page's chain carries the common factor , divided out here. Vertices of degree have in Lean and fall in the first sum with weight . The statement is identical to the one in the companion mission on Algorithms A and B.
import Mathlib import Definitions.Def_LubyMIS_Derandomized_Basic
namespace LubyMIS.Derandomized
/-- 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.Derandomized
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let be a finite vertex type with decidable equality, and a simple graph on with degrees and edge set . Let
the sum of reciprocal degrees of the neighbours of .
The statement asserts
Degenerate cases:
- Isolated vertices have . They fall in the first sum and contribute .
- If is empty or has no edges, the claim is .
- No division by zero occurs, since every neighbour has .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.