NEXP-complete bounded nondeterministic acceptance #
Cslib.Complexity.NEXPBoundedAcceptance Arora and Barak, draft, Chapter 2 Exercises
§9 is the set of instances ⟨α, x, T⟩
(Cslib.Complexity.NEXPBoundedAcceptanceInstance), with T encoded in binary (encNat), such
that some certificate c : List Bool of length |c| ≤ T makes the machine described by α accept
⟨x, c⟩ = encPair encBits encBits (x, c) within T steps.
- Membership in
NEandNEXP(Cslib.Complexity.NEXPBoundedAcceptance.mem_NE,Cslib.Complexity.NEXPBoundedAcceptance.mem_NEXP): a certificatecwith|c| ≤ Tis carried inside a fixed-length framed wordwof length2 * T + 1viaunframe w = c(padded with trailingfalsebits afterframe c), and the deterministic verifier simulates the machine formin |w| Tsteps usingComputableInPolyTime.binary_min_unary'. SinceT < 2 ^ |enc a|,Cslib.Complexity.setOf_exists_mem_NTIMEplaces the language inNE, hence inNEXP. NE- andNEXP-completeness (Cslib.Complexity.NEXPBoundedAcceptance.polyTimeComplete_NE,Cslib.Complexity.NEXPBoundedAcceptance.polyTimeComplete_NEXP): every language inNTIME enc (fun n => 2 ^ p n)for a polynomial-time unary boundpreduces toNEXPBoundedAcceptancein polynomial time (Cslib.Complexity.NEXPBoundedAcceptance.polyTimeReducible) by compiling the nondeterministic decider's choice verifierntm.checkChoices encBitsinto a deterministic linear-time machine and settingT = 2 ^ (p |enc a| + |enc a| + C).NEXP = EXPcollapse criterion (Cslib.Complexity.NEXPBoundedAcceptance.NEXP_eq_EXP_of_mem_EXP,Cslib.Complexity.NEXPBoundedAcceptance.NEXP_eq_EXP_iff): ifNEXPBoundedAcceptancebelongs toEXP, thenNEXP = EXPfor every instance encoding.
Main definitions #
Cslib.Complexity.NEXPBoundedAcceptanceInstance: instances⟨α, x, T⟩with binaryT.Cslib.Complexity.encNEXPBoundedAcceptanceInstance: their structured tuple encoding.Cslib.Complexity.NEXPBoundedAcceptanceInstance.decoder: total polynomial-time decoder forencNEXPBoundedAcceptanceInstance.Cslib.Complexity.NEXPBoundedAcceptanceInstance.Accepts: acceptance of a certificatecwithina.stepssteps.Cslib.Complexity.NEXPBoundedAcceptance: the language{⟨α, x, T⟩ | ∃ c, |c| ≤ T ∧ Accepts c}.Cslib.Complexity.NEXPBoundedAcceptance.verifier: polynomial-time verifier on framed certificates with step budgetmin |w| T.
Main results #
Cslib.Complexity.NEXPBoundedAcceptanceInstance.accepts_desc_iff: acceptance on the description of a machine.Cslib.Complexity.NEXPBoundedAcceptance.mem_NE,Cslib.Complexity.NEXPBoundedAcceptance.mem_NEXP: membership inNEandNEXP.Cslib.Complexity.NEXPBoundedAcceptance.exists_instance_of_mem_NTIME: a language inNTIME enc (fun n => 2 ^ p n)is decided by a fixed description and constant.Cslib.Complexity.NEXPBoundedAcceptance.polyTimeReducible: reduction fromNTIME enc (fun n => 2 ^ p n)for polynomial-timep.Cslib.Complexity.NEXPBoundedAcceptance.polyTimeHard_NE,Cslib.Complexity.NEXPBoundedAcceptance.polyTimeHard_NEXP,Cslib.Complexity.NEXPBoundedAcceptance.polyTimeComplete_NE,Cslib.Complexity.NEXPBoundedAcceptance.polyTimeComplete_NEXP: hardness and completeness forNEandNEXP.Cslib.Complexity.NEXPBoundedAcceptance.NEXP_eq_EXP_of_mem_EXP,Cslib.Complexity.NEXPBoundedAcceptance.NEXP_eq_EXP_iff: collapse ofNEXPtoEXPfrom deterministic exponential-time membership.
References #
An instance ⟨α, x, T⟩ of Cslib.Complexity.NEXPBoundedAcceptance
Arora and Barak, draft, Chapter 2 Exercises §9, with the step and
certificate-length bound T encoded in binary.
- machine : Turing.MultiTapeTM.Universal.Desc
The description
αof the machine. The input
x.- steps : ℕ
The step and certificate-length bound
T(encoded in binary).
The tuple of the fields of encNEXPBoundedAcceptanceInstance.
Encoding of NEXPBoundedAcceptanceInstance as the tuple of the machine description (eDesc),
the input bits (encBits), and the step bound in binary (encNat).
The certificate c makes the machine of a accept ⟨a.input, c⟩ = frame a.input ++ c within
a.steps steps: run by the universal interpreter for a.steps steps, it has halted with the
output [true].
Instances For
Acceptance on the description of a machine: the machine, run on ⟨x, c⟩ for T steps,
has halted with output [true].
Bounded nondeterministic acceptance with a binary time bound
Arora and Barak, draft, Chapter 2 Exercises §9:
the instances ⟨α, x, T⟩ for which some certificate c : List Bool of length |c| ≤ T makes the
machine described by α accept ⟨x, c⟩ within T steps.
Membership in NE and NEXP #
The framed-certificate verifier for NEXPBoundedAcceptance: decode c = unframe w from the
certificate word w and simulate a.machine on ⟨a.input, unframe w⟩ for min |w| a.steps
steps. When |w| = 2 * a.steps + 1, min |w| a.steps = a.steps and unframe ranges over all
words c of length at most a.steps.
An instance a belongs to NEXPBoundedAcceptance iff some framed certificate w of exact
length 2 * a.steps + 1 satisfies verifier (a, w) = true.
NEXPBoundedAcceptance.verifier is computable in polynomial time because min |w| a.steps is
computed in unary in polynomial time from the unary length |w| and the binary bound a.steps.
The binary step bound a.steps is strictly below 2 ^ |enc a|.
Hardness and completeness for NE and NEXP #
A fixed machine description and constant decide a language in NTIME (2 ^ p n).
For A ∈ NTIME enc (fun n => 2 ^ p n) there are a description m and a constant C, depending
on A only, such that a ∈ A exactly when ⟨m, enc a, 2 ^ (p |enc a| + |enc a| + C)⟩ is in
NEXPBoundedAcceptance. This is the reduction of polyTimeReducible, with its dependence on A
isolated: the description and the constant come from a machine deciding A.
Nondeterministic exponential-time problems reduce to NEXPBoundedAcceptance.
Every language in NTIME enc (fun n => 2 ^ p n) for a polynomial-time unary function p reduces
to NEXPBoundedAcceptance in polynomial time.
NEXPBoundedAcceptance is hard for NE under polynomial-time many-one reductions.
NEXPBoundedAcceptance is hard for NEXP under polynomial-time many-one reductions.
NEXPBoundedAcceptance is NE-complete under polynomial-time many-one reductions.
NEXPBoundedAcceptance is NEXP-complete under polynomial-time many-one reductions
Arora and Barak, draft, Chapter 2 Exercises §9.
If NEXPBoundedAcceptance is in EXP, then NEXP = EXP
Arora and Barak, draft, Chapter 2 Exercises §9.
NEXP = EXP for every instance encoding iff NEXPBoundedAcceptance ∈ EXP.