Proof of Theorem 1, first display — E[Y_k − Y_{k+1}] ≥ ½·Σ d(i)·Pr[i ∈ I′ ∪ N(I′)] ≥ ½·Σ d(i)·Pr[i ∈ N(I′)]
ProvedLubyMIS.MonteCarlo.eliminated_ge_half_degree_sumLet be a finite simple graph, and let be a random subset of with an arbitrary finite distribution: with probability , where and . Let be the number of edges of with at least one endpoint in . Then
This is the first step of the proof of Theorem 1: it reduces the expected number of eliminated edges to per-vertex probabilities, which Lemmas A and B bound. It uses nothing about how is chosen, so it applies to Algorithm A, Algorithm B and the derandomized Algorithm D alike.
Formalization Note The paper states the display for Algorithm B's . It is formalized for an arbitrary finite random choice of , which contains both Algorithm A's and Algorithm B's laws as instances. Probabilities are written as . The two inequalities of the display are the two conjuncts.
import Mathlib import Definitions.Def_LubyMIS_MonteCarlo_Basic
namespace LubyMIS.MonteCarlo
/-- First display of the proof of Theorem 1 (Luby 1986, §3.4, p. 1041), for an arbitrary random
selection `I′ = S ω` drawn with probabilities `w ω`:
`E[Y_k − Y_{k+1}] ≥ ½ ∑_i d(i) Pr[i ∈ I′ ∪ N(I′)] ≥ ½ ∑_i d(i) Pr[i ∈ N(I′)]`. -/
theorem eliminated_ge_half_degree_sum {V : Type*} [Fintype V] [DecidableEq V]
(H : SimpleGraph V) [DecidableRel H.Adj] {Ω : Type*} [Fintype Ω] (w : Ω → ℝ)
(hw0 : ∀ ω, 0 ≤ w ω) (hw1 : ∑ ω, w ω = 1) (S : Ω → Finset V) :
(∑ ω, w ω * (eliminated H (S ω) : ℝ)) ≥
1 / 2 * ∑ i, (H.degree i : ℝ) * (∑ ω, if i ∈ S ω ∪ nbhd H (S ω) then w ω else 0) ∧
1 / 2 * ∑ i, (H.degree i : ℝ) * (∑ ω, if i ∈ S ω ∪ nbhd H (S ω) then w ω else 0) ≥
1 / 2 * ∑ i, (H.degree i : ℝ) * (∑ ω, if i ∈ nbhd H (S ω) then w ω else 0) := 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, a simple graph on with degree function , and a finite type. Let be weights with:
- for every ;
- .
Let be arbitrary; the sets need not be independent. Write
and let be the neighbourhood (vertices adjacent to some member of the set).
The statement asserts both of the following:
and
Here is the number of edges of with at least one endpoint in .
Degenerate cases.
- cannot be empty, because the weights must sum to .
- If is empty or has no edges, every term is and both inequalities read .
- If for all , every term is again .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.