Randomized time bounds with a power in the exponent #
The power-exponential time bound for seeded promise solvers uses the same parameter and encoded-length factors as the deterministic bound.
Main definitions #
Cslib.Complexity.SolvesWithErrorInPowerExpTime: a worst-case time bound for seeded solvers.Cslib.Complexity.ComputesWithErrorInPowerExpTime: the bound for returning exact values.
Main results #
Cslib.Complexity.solvesWithErrorInPowerExpTime_deterministic_iff: at zero error, the bound for a language agrees with deterministic decidability.Cslib.Complexity.SolvesWithErrorInPowerExpTime.of_promiseReduction: transfer the power bound through a deterministic promise reduction.Cslib.Complexity.ComputesWithErrorInPowerExpTime.of_reduction: transfer an exact-output solver through deterministic preprocessing.Cslib.Complexity.SolvesWithErrorInPowerExpTime.of_seededVerifier: allocate a unary seed when the verifier's error guarantees hold at every length above a power-exponential bound.Cslib.Complexity.ComputesWithErrorInPowerExpTime.of_seededVerifier: the same seed preparation for exact-output computations.Cslib.Complexity.SolvesWithErrorInPowerExpTime.exists_amplifiedVerifier: amplify with an input-dependent unary error schedule, preserving the power in the time bound.Cslib.Complexity.ComputesWithErrorInPowerExpTime.exists_amplifiedVerifier: amplify exact-output computations using the same schedule and a plurality verifier.Cslib.Complexity.ComputesWithErrorInPowerExpTime.combine_polyTime: apply a polynomial-time function to two exact outputs with the same error and power bounds.
A solver with error profile E runs in time
2 ^ (C * (μ a + 1) ^ p) * (L + 1) ^ e up to constant factors for some C,e : ℕ,
where L is the encoded input length. The time bound holds on every seed.
Exact-output randomized computation with time exponential in the p-th power of
μ a + 1 and polynomial in the original encoded input length.
Relaxing the error profile preserves the power-exponential running time.
A verifier whose error guarantees hold at every seed length above a power-exponential threshold yields a seeded solver. The chosen seed length is computable in unary, and the solver accounts for generating it and running on the full framed input at a power below one.
An exact-output verifier with error at most ε at every seed width above a
power-exponential threshold yields a native solver. Preparing the unary seed width and
running the verifier on the whole framed input keep the exponent power below one.
A polynomial-time unary schedule target can lower bounded two-sided error to
(1 / 3) / 2 ^ target a by strict majority. Both the amplified unary seed length and the
verifier retain the solver's power in the exponent. The verifier's bound charges the length
of the whole framed seed input and applies even to seeds of a different length.
Plurality of independent runs amplifies exact output at error 1 / 3 to
(1 / 3) / 2 ^ target a for a polynomial-time unary schedule. Both the new seed width and
the verifier retain the original power in the exponent. The verifier's time bound applies
to every supplied tape, and the error bound uses a uniform tape of the prescribed width.
Two exact-output solvers with error at most one third can be combined by a polynomial-time function of their answers at the same exponent power and error bound. Amplify each solver to error at most one sixth and give it a prefix of a common uniform seed. The prefixes may overlap since the error analysis only needs a union bound.
Zero-error seeded solvers of a language and deterministic deciders have the same power bound. The polynomial factor can absorb the cost of reading the encoded input.
A deterministic promise reduction of power q with parameter blowup
O((μA + 1) ^ b) transports a target solver of power p ≥ 0 to power max q (b * p),
preserving its error profile. The reduction's time also bounds the length it writes.
Deterministic input reduction with power q and parameter blowup O((μ + 1) ^ b)
preserves the exact-output error and gives power max q (b * p).
Polynomial-time deterministic preprocessing with parameter blowup O((μ + 1) ^ b)
preserves the exact-output error and multiplies the exponent power by b.
A polynomial-time promise reduction with parameter blowup O((μA + 1) ^ b) transports
power p to b * p with the same error profile.