Calling a contraction algorithm behind a guard #
Applications of the contraction interface
(Cslib.Complexity.CountingSimulation.ContractionAlgorithm) evaluate a polynomial-time guard and
then either compute a precision and a network in polynomial time and run the contraction algorithm
on them, or return a polynomial-time fallback answer. When the networks of the inputs passing the
guard are admissible at a size s ≥ 2 with a fixed constant, with a precision between 1 and a
fixed multiple of s, this machine runs in time 2 ^ E times a polynomial and in polynomial space
for every exponent E that bounds the interface's exponent K s / √⌊log₂ s⌋ on those inputs
(Cslib.Complexity.CountingSimulation.ContractionAlgorithm.expTimePolySpace_branch).
Main results #
Cslib.Complexity.CountingSimulation.ContractionAlgorithm.expTimePolySpace_branch: the time and space of a guarded call.
A guarded call of a contraction algorithm runs in time 2 ^ E times a polynomial and in
polynomial space. The machine evaluates a polynomial-time guard; on the inputs passing it, it
computes a precision and a network by the polynomial-time input and runs the contraction
algorithm A, and elsewhere it returns the polynomial-time fallback. If the network of every
input a passing the guard is admissible at a size s a ≥ 2 with constant C, with a precision
between 1 and D * s a, then for some K the machine runs in time 2 ^ E times a polynomial
and in polynomial space for every exponent E with K * s a / √⌊log₂ (s a)⌋ ≤ E a on those
inputs.