Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Per-occurrence violation bound for the thinning output law

Proved
StabilityDichotomies.Solvability.integrated_occurrence_violation

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

constraint-satisfactionprobability

Let I be a satisfiable Horn or dual-Horn instance and 0 < ε ≤ 1. Under the exact thinning experiment of Definition 4.2, any fixed constraint occurrence is violated by the extremal output with probability at most ε/2. The formula represents the uniform mixture of the independent Bernoulli-p mask weights and applies separately to each occurrence, including duplicates. This establishes the individual error bound in the approximation part of Theorem 4.3.

Preamble
import Definitions.Def_StabilityDichotomies_Approximability_Thinning
noncomputable section
open scoped Classical BigOperators Interval
open MeasureTheory StabilityDichotomies.Solvability
Formal statement
theorem StabilityDichotomies.Solvability.integrated_occurrence_violation (Γ : Language) (b : Bool)
    (hΓ : ∀ R ∈ Γ.relations, ∀ x y : Fin R.arity → Bool,
      x ∈ R.tuples → y ∈ R.tuples →
      (fun i => if b then x i || y i else x i && y i) ∈ R.tuples)
    (V : Type) [Fintype V] (I : Instance Γ V) (hSat : Satisfiable I)
    (i : Fin I.constraints.card) (ε : ℝ) (hε : 0 < ε) (hε1 : ε ≤ 1) :
    ε⁻¹ * ∫ p in (1 - ε)..1,
      ∑ mask : Fin I.constraints.card → Bool, retentionWeight p mask *
      (if (occurrenceAt I i).Satisfied (extremalSolution (thinnedInstance I mask) b) then 0 else 1) ≤ ε / 2 := by sorry
Source
Wang and Yoshida, Stability Dichotomies for Boolean Constraint Satisfaction Problems, STOC 2027 submission #535, Definition 4.2 and proof of Theorem 4.3, p. 16, https://github.com/sigact-stoc/stoc2027/releases/download/papers-1/535.pdf

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