The amplified Lautemann characterization #
Combining majority amplification with the covering lemma of
Complexitylib.Classes.PH.SipserLautemann.Covering, this file proves the
∃∀ characterization at the heart of the Sipser–Lautemann theorem.
Amplification exponent for inputs of length n: the amplified error is
2 ^ (-ampExp f n). It is taken large enough to dominate the amplified seed
length, which is what the covering lemma's soundness direction needs.
Equations
- Complexity.Lautemann.ampExp f n = f n + 11
Instances For
Number of independent trials of the source machine, an odd count so that majority votes cannot tie.
Equations
- Complexity.Lautemann.ampRuns f n = 12 * Complexity.Lautemann.ampExp f n + 1
Instances For
Number of shifts used to cover the seed space: one more than the seed length, so that the degenerate zero-length seed space is still covered.
Equations
- Complexity.Lautemann.ampShifts f n = Complexity.Lautemann.ampRuns f n * f n + 1
Instances For
The amplified accepting event: the long seeds on which a strict majority
of the ampRuns f n independent trials accepts.
Equations
- Complexity.Lautemann.ampEvent tm f x = {w : Fin (Complexity.Lautemann.ampRuns f x.length * f x.length) → Bool | Complexity.blockMajority (tm.repeatAcceptEvent x (f x.length)) w = true}
Instances For
Membership in the complement of the amplified event is the rejecting
majority verdict. Not a simp lemma: simp reaches the same normal form
through Finset.mem_compl and mem_ampEvent.
Completeness. On an accepted input the amplified event fails with
probability at most 2 ^ (-ampExp f n), so the covering lemma supplies
ampShifts f n shifts covering the whole seed space.
Soundness. On a rejected input the amplified event holds with
probability at most 2 ^ (-ampExp f n), which is too small for
ampShifts f n shifts of it to cover the seed space.
The Lautemann characterization. For a bounded-error machine deciding
L, membership is equivalent to the existence of a tuple of shifts whose
translates of the amplified accepting event cover the seed space — an ∃∀
form with a deterministic, polynomially-checkable matrix.
The complementary Lautemann characterization. Non-membership is
equivalent to the existence of shifts covering the seed space with translates
of the majority-rejecting event. Together with mem_iff_exists_covers this
puts both L and its complement in the same ∃∀ form, which is what places
BPP in Σ₂ᵖ ∩ Π₂ᵖ rather than only in Σ₂ᵖ.