Documentation

CslibFrontier.Computability.Complexity.Classes.RangeAvoidance.Uniform

Uniform stretching-family characterization of APEPP #

Every uniform polynomial-time stretching family F : α × List Bool → List Bool mapping {0, 1} ^ (n a) into {0, 1} ^ (m a) with unary-computable widths n a < m a compiles via Cslib.Complexity.CircuitValue.exists_uniformCircuitFamily_exact into admitted Cslib.Complexity.RangeAvoidanceInstance values in polynomial time, preserving exact input/output widths n a and m a and carrying an explicit polynomial circuit-size bound p(|enc a|).

Consequently, every uniform polynomial-time stretching family avoidRel n m F search-reduces (preserving witnesses identically) to RangeAvoidance and therefore belongs to APEPP. Conversely, pulling RangeAvoidance back along a search reduction via SearchReducible.exists_reindex yields a uniform polynomial-time stretching family on the same instance type α, giving an exact characterization of APEPP (Cslib.Complexity.mem_APEPP_iff_exists_uniformStretchingFamily).

Main results #

References #

theorem Cslib.Complexity.exists_uniformRangeAvoidanceInstances {α : Type} {enc : α ↪ List Bool} {n m : α → ℕ} {F : α × List Bool → List Bool} (hn : Turing.MultiTapeTM.ComputableInPolyTime n enc Turing.MultiTapeTM.encUnary) (hm : Turing.MultiTapeTM.ComputableInPolyTime m enc Turing.MultiTapeTM.encUnary) (hF : Turing.MultiTapeTM.ComputableInPolyTime F (Turing.MultiTapeTM.encPair enc Turing.MultiTapeTM.encBits) Turing.MultiTapeTM.encBits) (hstretch : ∀ (a : α), n a < m a) (hlen : ∀ (a : α) (u : List Bool), u.length = n a → (F (a, u)).length = m a) :
∃ (f : α → RangeAvoidanceInstance) (p : Polynomial ℕ), Turing.MultiTapeTM.ComputableInPolyTime f enc encRangeAvoidance ∧ (∀ (a : α), (↑(f a)).inputLen = n a) ∧ (∀ (a : α), (↑(f a)).outputLen = m a) ∧ (∀ (a : α), (f a).toCircuit.size ≤ Polynomial.eval (enc a).length p) ∧ ∀ (a : α) (u : List Bool), u.length = n a → evalCircuitCode (↑(f a)).outputLen (↑(f a)).code u = F (a, u)

Compile a uniform polynomial-time stretching family F : {0, 1} ^ (n a) → {0, 1} ^ (m a) (with n a < m a and exact output width m a) into admitted RangeAvoidanceInstance values in polynomial time, preserving exact input/output widths n a and m a, admitting an explicit polynomial circuit-size bound p(|enc a|), and agreeing with F on every n a-bit input.

Every uniform polynomial-time stretching family avoidRel n m F search-reduces to RangeAvoidance, preserving witnesses identically.

Every uniform polynomial-time stretching family belongs to APEPP.

Uniform stretching-family characterization of APEPP: a search problem R on (α, enc) belongs to APEPP enc if and only if it polynomial-time search-reduces (on the same instance type α) to avoidRel n m F for some uniform polynomial-time stretching family F : α × List Bool → List Bool with unary-computable widths n a < m a and exact output length m a on {0, 1} ^ (n a).