Multiplicative soundness bounds for sampled tests
Lax253009.BernoulliSampling · concepts/Lax253009/BernoulliSampling.lean · lax-253009
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Theorem
If a test accepts with probability at most , the probability that at least of independent samples accept is at most . The exponent is linear in , which is essential for the randomized PCP-to-clique reduction: an additive bound with exponent gives a weaker approximation exponent.
For a family of at most tests, a union bound gives failure probability at most . If , this is at most .
Concept map
Evidence
Lean source view on GitHub
| 1 | import Lax253009.FiniteProbability |
| 2 | import Mathlib.Analysis.SpecialFunctions.Exp |
| 3 | import Mathlib.Data.Fintype.Pi |
| 4 | |
| 5 | /-! |
| 6 | --- |
| 7 | title: Multiplicative soundness bounds for sampled tests |
| 8 | type: theorem |
| 9 | --- |
| 10 | If a test accepts with probability at most , the probability that at |
| 11 | least of independent samples accept is at most . |
| 12 | The exponent is linear in , which is essential for the randomized |
| 13 | PCP-to-clique reduction: an additive bound with exponent gives |
| 14 | a weaker approximation exponent. |
| 15 | |
| 16 | For a family of at most tests, a union bound gives failure probability |
| 17 | at most . If , this is at most . |
| 18 | -/ |
| 19 | |
| 20 | namespace Lax253009.BernoulliSampling |
| 21 | |
| 22 | open FiniteProbability |
| 23 | |
| 24 | noncomputable def count {Ω : Type} [Fintype Ω] (N : ℕ) (P : Ω → Prop) |
| 25 | (z : Fin N → Ω) : ℕ := by |
| 26 | classical |
| 27 | exact (Finset.univ.filter (fun i ↦ P (z i))).card |
| 28 | |
| 29 | axiom upper_tail {Ω : Type} [Fintype Ω] [Nonempty Ω] |
| 30 | (N : ℕ) (P : Ω → Prop) (p : ℝ) (hp : 0 ≤ p) (hP : probability P ≤ p) : |
| 31 | probability (fun z : Fin N → Ω ↦ 4 * N * p ≤ (count N P z : ℝ)) ≤ |
| 32 | Real.exp (-(N : ℝ) * p) |
| 33 | |
| 34 | axiom uniform_upper_tail {Ω I : Type} [Fintype Ω] [Nonempty Ω] [Fintype I] |
| 35 | (N m : ℕ) (P : I → Ω → Prop) (p : ℝ) (hp : 0 ≤ p) |
| 36 | (hI : Fintype.card I ≤ 2 ^ m) (hP : ∀ i, probability (P i) ≤ p) |
| 37 | (hN : (m : ℝ) + 2 ≤ N * p) : |
| 38 | probability (fun z : Fin N → Ω ↦ ∃ i, 4 * N * p ≤ (count N (P i) z : ℝ)) ≤ 1 / 4 |
| 39 | |
| 40 | end Lax253009.BernoulliSampling |
| 41 |
Builds on
Used by
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments