Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Bernoulli mask marginal under occurrence reindexing and deletion

Proved
StabilityDichotomies.Approximability.bernoulli_mask_restriction

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

combinatoricsprobability

Let a finite original occurrence set be bijective to an optional index of a finite retained set. For any real p and any real-valued function of the retained Boolean mask, summing against the original Bernoulli product weights gives exactly the Bernoulli-p weighted sum on the retained set. In the range 0 ≤ p ≤ 1 this states that deleting one coordinate and reindexing preserves the independent retention law. This supplies the probability marginal needed for the source deletion coupling.

Preamble
import Mathlib
noncomputable section
open scoped Classical BigOperators
Formal statement
theorem StabilityDichotomies.Approximability.bernoulli_mask_restriction {α β : Type} [Fintype α] [Fintype β]
    (e : α ≃ Option β) (p : ℝ) (g : (β → Bool) → ℝ) :
    (∑ x : α → Bool, (∏ j : α, if x j then p else 1-p) *
      g (fun k => x (e.symm (some k)))) =
    ∑ y : β → Bool, (∏ k : β, if y k then p else 1-p) * g y := by sorry
Source
Wang and Yoshida, Stability Dichotomies for Boolean Constraint Satisfaction Problems, STOC 2027 submission #535, deletion coupling in proof of Theorem 4.3, p. 17, 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