The Lautemann matrix language and the Σ₂ form #
The ∃∀ characterization of
Complexitylib.Classes.PH.SipserLautemann.Amplified quantifies over shift
tuples and seeds; the polynomial hierarchy quantifies over bitstrings. This
file bridges the two: matrixLang is the innermost, quantifier-free predicate
as a language of encoded triples, and eq_polyExistsLang_polyForallLang says
that a bounded-error language is literally a polynomially bounded ∃∀ over it.
Both the language and the identity are stated for a general time-bound
function f, but the intended instance takes f to be the evaluation of a
polynomial — see NTM.acceptsWithProb_of_le, which replaces a machine's
arbitrary halting bound by a dominating polynomial. That is what makes the
matrix predicate computable: a decider must recover the per-trial step count
from the input length, which it can do when the count is a fixed polynomial in
|x|, and cannot do for an arbitrary f.
Main definitions #
matrixLang tm f b— onpair (pair x w) r: the decoded shifts of the decoded seed contain one whose amplified majority verdict isbboundPoly— the polynomial bounding the amplified seed length
Main results #
mem_matrixLang_pair— membership on an encoded tripleeq_polyExistsLang_polyForallLang— theΣ₂form of a bounded-error language, andcompl_eq_polyExistsLang_polyForallLangfor its complementboundPoly_bounds— the amplified lengths are polynomially bounded
The matrix language #
The innermost predicate of the Lautemann characterization, as a language of
encoded triples. The components are decoded with the polynomial-time payload
scanners pairFst and pairSnd, which recover them from a
canonical pair; on malformed input the decoders return their partial reads, and
the language's contents there are irrelevant to the Σ₂ identity below.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The matrix as a Bool-valued verdict function, so that the remaining
polynomial-time obligation is about a function, which
Complexitylib.Classes.P.Cobham can discharge inside Cobham's algebra without
constructing a machine.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The Σ₂ form #
The Σ₂ form of a covering characterization. Given a family of events
whose covering-by-shifts characterizes a language A, that language is a
polynomially bounded existential over a polynomially bounded universal over
the matrix language. The existential witness encodes a covering tuple of
shifts, and the universal variable ranges over seeds.
The Σ₂ form of a bounded-error language: L itself.
The Σ₂ form of a bounded-error language: its complement.
Polynomial bounds #
The polynomial bounding the amplified seed length, given a polynomial P
dominating the machine's time bound.
Equations
- Complexity.Lautemann.boundPoly P = (Polynomial.C 12 * P + Polynomial.C 133) * P
Instances For
The amplified seed length is bounded by boundPoly P, and the amplified
witness length by (boundPoly P + 1) * boundPoly P.