TECHNICAL LEMMA — max{γ_l : 1 ≤ l ≤ n} ≥ ½·min{α_n, 1/c}
ProvedLubyMIS.MonteCarlo.technical_lemmaLet , let be real numbers and let . For put
Then
The quantity is the second Bonferroni lower bound for the probability of a union of events with probabilities whose pairwise intersections have probability at most . The lemma turns that bound into a lower bound for the union in terms of the total mass ; it is used with in Lemma A and in Lemma B.
Formalization Note The sequence is a function of which only matter; "" is stated as antitonicity on together with . The maximum over is expressed as the existence of such an .
import Mathlib
namespace LubyMIS.MonteCarlo
/-- TECHNICAL LEMMA (Luby 1986, §3.4, p. 1043). Let `p₁ ≥ ⋯ ≥ pₙ ≥ 0` and `c > 0`. With
`α_l = ∑_{j=1}^{l} p_j`, `β_l = ∑_{j=1}^{l} ∑_{k=j+1}^{l} p_j p_k`, `γ_l = α_l − c β_l`, some
`1 ≤ l ≤ n` has `γ_l ≥ ½ · min {α_n, 1/c}`. -/
theorem technical_lemma (n : ℕ) (hn : 1 ≤ n) (p : ℕ → ℝ)
(hanti : ∀ j k : ℕ, 1 ≤ j → j ≤ k → k ≤ n → p k ≤ p j) (hpn : 0 ≤ p n)
(c : ℝ) (hc : 0 < c) :
∃ l : ℕ, 1 ≤ l ∧ l ≤ n ∧
(∑ j ∈ Finset.Icc 1 l, p j) - c * (∑ j ∈ Finset.Icc 1 l, ∑ k ∈ Finset.Ioc j l, p j * p k)
≥ 1 / 2 * min (∑ j ∈ Finset.Icc 1 n, p j) (1 / c) := by sorry
end LubyMIS.MonteCarlo
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let be a natural number and a real sequence (write for ). Let be a real number. Assume:
- ;
- is non-increasing on : for all , ;
- , so ;
- .
Then there exists an integer with such that
The values and for play no role.
Degenerate cases.
- is excluded.
- For , the only choice is . The double sum is empty, so the claim is .
- If every is zero, the claim is .
- The hypotheses are satisfiable, so the statement is not vacuous.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.