Subcontests
(5)Complexity Problem
Let's say a language L⊆{0,1}∗ is in <spanclass=′latex−bold′>P</span>angel if there exists a polynomial p:N↦N, a sequence of strings {αn}n∈N with αn∈{0,1}p(n), and a deterministic polynomial time Turing Machine M such that for every x∈{0,1}n
x∈L⇔M(x,αn)=1
Let us call αn to be the angel string for all x of the length n. Note that the angel string is <spanclass=′latex−bold′>not</span> similar to a witness or certificate as used in the definition of <spanclass=′latex−bold′>NP</span> For example, all unary languages, even UHALT which is undecidable, are in <spanclass=′latex−bold′>P</span>angel because the angel string can simply be a single bit that tells us if the given unary string is in UHALT or not.
\\\\A set S⊆Σ∗ is said to be sparse if there exists a polynomial p:N↦N such that for each n∈N, the number of strings of length n in S is bounded by p(n). In other words, ∣S=n∣≤p(n), where S=n⊆S contains all the strings in S that are of length n.
[*] Given k∈N sparse sets S1,S2…Sk, show that there exists a sparse set S and a deterministic polynomial time TM M with oracle access to S such that given an input ⟨x,i⟩ the TM M will accept it if and only if x∈Si.
\\Define the set S (note that it need not be computable), and give the description of M with oracle S.
\\Note that a TM M with oracle access to S can query whether s∈S and get the correct answer in return in constant time. [/*]
[*] Let us define a variant of <spanclass=′latex−bold′>P</span>angel called <spanclass=′latex−bold′>P</span>bad−angel with a constraint that there should exists a polynomial time algorithm that can compute the angel string for any length n∈N. In other words, there is a poly-time algorithm A such that αn=A(n).
\\Is <spanclass=′latex−bold′>P</span>=<spanclass=′latex−bold′>P</span>bad−angel? Is <spanclass=′latex−bold′>NP</span>=<spanclass=′latex−bold′>P</span>bad−angel? Justify.
[/*]
[*] Let the language L∈ <spanclass=′latex−bold′>P</span>angel. Show that there exists a sparse set SL and a deterministic polynomial time TM M with oracle access to SL that can decide the language L. [/*] Good is regular
Let Σ be a finite set. For x,y∈Σ∗, define x⪯y if x is a sub-string (not necessarily contiguous) of y. For example, ac⪯abc. We call a set S⊆Σ∗ good if ∀x,y∈Σ∗,
x⪯y,y∈S⇒x∈S. Prove or disprove: Every good set is regular.