The modified probabilities satisfy (8/9)·p_i ≤ p′_i ≤ p_i in Case 2
ProvedLubyMIS.Derandomized.pprime_boundsderandomizationinequalitiesp2o-batch-p100ap2o-gran-per-chapterp2o-plan-paperp2o-v1
Let be a prime with and let be a degree with . Put and . Then
Rounding the probability down to a multiple of therefore loses at most a factor in Case 2 of Algorithm C, which is what Lemma D needs.
Formalization Note is computed by natural-number division q / (2 * d).
Preamble
import Mathlib
Formal statement
namespace LubyMIS.Derandomized
/-- The bounds on the modified probabilities (Luby 1986, §4.4, p. 1046): for a prime `n ≤ q ≤ 2n`
and a degree `1 ≤ d < n/16`, `p = 1/(2d)` and `p′ = ⌊p·q⌋/q` satisfy `(8/9) p ≤ p′ ≤ p`. -/
theorem pprime_bounds (n q d : ℕ) (hq : q.Prime) (hnq : n ≤ q) (hq2 : q ≤ 2 * n) (hd : 1 ≤ d)
(h16 : 16 * d < n) :
8 / 9 * (1 / (2 * (d : ℝ))) ≤ ((q / (2 * d) : ℕ) : ℝ) / q ∧
((q / (2 * d) : ℕ) : ℝ) / q ≤ 1 / (2 * (d : ℝ)) := by sorry
end LubyMIS.Derandomized
Source
Luby, A Simple Parallel Algorithm for the Maximal Independent Set Problem, SIAM J. Comput. 15(4), 1986, p. 1046, §4.4, paragraph before LEMMA D
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let be natural numbers with:
- prime;
- ;
- ;
- .
Let denote natural-number (floor) division. The statement asserts
Degenerate cases:
- The hypotheses force , hence . So no denominator is zero.
- The hypotheses are satisfiable, for example with and .
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.