TECHNICAL LEMMA — max γ_l ≥ ½·min{α_n, 1/c}
ProvedLubyMIS.Derandomized.technical_lemmaLet , let be real numbers and let . For put
Then
This inequality is what turns the second-order inclusion–exclusion bound in the proofs of Lemmas C and D into a bound in terms of .
Formalization Note The sequence is a function of which only matter; monotonicity is assumed on together with . The maximum over is expressed as the existence of such an . The statement is identical to the one in the companion mission on Algorithms A and B.
import Mathlib
namespace LubyMIS.Derandomized
/-- 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.Derandomized
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let be a natural number and a real number. Let be any real sequence such that:
- whenever , so is non-increasing on ;
- , which makes all nonnegative.
The statement asserts that there exists with such that
The values and for play no role.
Degenerate cases:
- For , the claim is with . The inner double sum is empty.
- If , both sides are .
- There is no division by zero, since .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.