Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Close maxima of two groups of shifted exponentials

Proved
StabilityDichotomies.Bijunctive.two_group_maxima_close_probability

by wcysai · Nov 13, 2026 · Mathlib 0df444a (Lean v4.33.1)

Let S,TS,TS,T partition a finite index set into two nonempty groups, and let ZiZ_iZi​ be independent rate-β\betaβ exponential variables minus fixed real offsets. For r≥0r\ge0r≥0, the probability that the maxima of the two groups differ by at most rrr is at most 1−e−βr1-e^{-\beta r}1−e−βr. This is the shifted-exponential estimate used for the violation probability of a retained non-unit clause.

Preamble
import Mathlib
open scoped Classical ENNReal
open MeasureTheory ProbabilityTheory Set
Formal statement
theorem StabilityDichotomies.Bijunctive.two_group_maxima_close_probability {α : Type} [Fintype α] (s t : Finset α)
    (hs : s.Nonempty) (ht : t.Nonempty) (hdis : Disjoint s t) (hcover : s ∪ t = Finset.univ)
    (β r : ℝ) (hβ : 0 < β) (hr : 0 ≤ r) (d : α → ℝ) :
    ((Measure.pi (fun _ : α => expMeasure β))
      {δ : α → ℝ | ∃ a ∈ s, ∃ b ∈ t,
        (∀ k ∈ s, δ k - d k ≤ δ a - d a) ∧
        (∀ k ∈ t, δ k - d k ≤ δ b - d b) ∧
        (δ a - d a) - (δ b - d b) ≤ r ∧
        (δ b - d b) - (δ a - d a) ≤ r}).toReal ≤ 1 - Real.exp (-β*r) := by
  sorry
Source
Wang and Yoshida, Stability Dichotomies for Boolean CSPs, STOC 2027, https://github.com/sigact-stoc/stoc2027/releases/download/papers-1/535.pdf, proof of Theorem 4.9, approximation paragraph.

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me