The minimum sampling density controls the probability of missing all disagreements
ProvedPvsNP.stratified_miss_boundcomplexity-theoryformal-verificationprobability
For each finite stratum, fix its positive width, its nonnegative number of disagreements bounded by the width, and its number of draws. Suppose the ratio of draws to width is at least d in every stratum. The product of the individual miss factors, raised to their draw counts, is at most the exponential of minus d times the total number of disagreements.
Preamble
import Mathlib.Analysis.SpecialFunctions.Exp import Mathlib.Tactic.Linarith import Mathlib.Tactic.Ring set_option autoImplicit false
Formal statement
theorem PvsNP.stratified_miss_bound {Index : Type}
(strata : Finset Index) (width misses : Index → ℝ)
(draws : Index → ℕ) (density : ℝ)
(positive : ∀ i ∈ strata, 0 < width i)
(nonneg : ∀ i ∈ strata, 0 ≤ misses i)
(bounded : ∀ i ∈ strata, misses i ≤ width i)
(enough : ∀ i ∈ strata, density * width i ≤ (draws i : ℝ)) :
(∏ i ∈ strata, (1 - misses i / width i) ^ draws i) ≤
Real.exp (-density * ∑ i ∈ strata, misses i) := by sorrySource
Dyadic stratified sampling for bare one-tape Gap-MCSP inputs of unknown arity.