Parameterized randomized runtime rates, error models, rETH, and rSETH #
Fine-grained randomized complexity studies how bounded-error and one-sided-error randomness affect
exponential runtime exponents 2 ^ (δ * μ a) · poly(L) [ImpagliazzoPaturi2001;
ImpagliazzoPaturiZane2001; CalabroImpagliazzoPaturi2006]. This module packages error orientations
explicitly in a documented structure Cslib.Complexity.ErrorModel and develops parameterized
promise-problem runtime bounds:
Cslib.Complexity.ErrorModelrecords(yesErr, noErr)with0 ≤ yesErr,0 ≤ noErr, andyesErr + noErr < 1, covering deterministic (⟨0, 0⟩), symmetric two-sided error (ErrorModel.twoSided ε,ErrorModel.boundedat1 / 3), one-sidedRPerror (ErrorModel.oneSidedRP ε,ErrorModel.rpat1 / 2), and one-sidedcoRPerror (ErrorModel.oneSidedCoRP ε,ErrorModel.coRPat1 / 2).Cslib.Complexity.SolvesPromiseInTimeO,SolvesPromiseInExpTime, andSolvesPromiseInSubexpTimeformalize deterministic parameterized promise solvers, agreeing withDecidableInTimeOonPromiseProblem.ofSet Aand withPromisePon polynomial length bounds.Cslib.Complexity.SolvesWithErrorInTimeO,SolvesWithErrorInExpTime, andSolvesWithErrorInSubexpTimeformalize seeded randomized promise solvers(ℓ, V)whose unary coin-length preparation and verifier execution together takeO(T a)time; they compile to halting fair-coinMultiTapePTMmachines (exists_ptm_of_solvesWithErrorInTimeO) and agree withPromiseBPP,PromiseRP, andPromiseCoRPon polynomial length bounds.- Rate-preserving error amplification (
solvesWithErrorInTimeO_twoSided_iff,solvesWithErrorInTimeO_oneSidedRP_iff,SolvesWithErrorInTimeO.oneSidedRP_to_twoSided): repeating a seeded solver a constant number of times via linear-timebitsTake/bitsDropslicing preservesO(T a)and every exponential rateδ, so any constant two-sided thresholdε ∈ (0, 1 / 2)(and any one-sided thresholdε ∈ (0, 1)) defines the exact same runtime rates and exponents. - Randomized
k-SAT exponents and hypotheses (rSatExponent,rpSatExponent,rETH,rSETH):0 ≤ rSatExponent k ≤ rpSatExponent k ≤ satExponent k ≤ 1,rETH ↔ 0 < rSatExponent 3,rSETH ↔ Tendsto rSatExponent atTop (𝓝 1),rETH → ETH, andrSETH → SETH.
Main definitions #
Cslib.Complexity.ErrorModel: structured(yesErr, noErr)error bounds (yesErr + noErr < 1).Cslib.Complexity.SolvesPromiseInTimeO,Cslib.Complexity.SolvesPromiseInExpTime,Cslib.Complexity.SolvesPromiseInSubexpTime: deterministic parameterized promise bounds.Cslib.Complexity.SolvesWithErrorInTimeO,Cslib.Complexity.SolvesWithErrorInExpTime,Cslib.Complexity.SolvesWithErrorInSubexpTime: randomized parameterized promise bounds.Cslib.Complexity.ComputesWithErrorInTimeO: the seeded time bound for exact outputs.Cslib.Complexity.rSatExponent,Cslib.Complexity.rpSatExponent,Cslib.Complexity.rETH,Cslib.Complexity.rSETH: randomizedk-SAT exponents and hypotheses.
Main results #
Cslib.Complexity.solvesWithErrorInTimeO_deterministic_iff,Cslib.Complexity.solvesWithErrorInExpTime_deterministic_iff,Cslib.Complexity.mem_PromiseBPP_iff_exists_solvesWithErrorInTimeO,Cslib.Complexity.mem_PromiseRP_iff_exists_solvesWithErrorInTimeO,Cslib.Complexity.exists_ptm_of_solvesWithErrorInTimeO: bridges to deterministic solvers, polynomial promise classes, and closed fair-coinMultiTapePTMmachines.Cslib.Complexity.solvesWithErrorInTimeO_twoSided_iff,Cslib.Complexity.solvesWithErrorInTimeO_oneSidedRP_iff,Cslib.Complexity.SolvesWithErrorInTimeO.oneSidedRP_to_twoSided: rate-preserving threshold invariance.Cslib.Complexity.computableInO_amplifySeededMajority: a seed-length certificate, verifier clock, and pointwise error bound for input-dependent repetition.Cslib.Complexity.ComputesWithErrorInTimeO.of_reduction: exact-output preprocessing.Cslib.Complexity.SolvesWithErrorInTimeO.of_promiseReduction: preserve the error profile along a deterministic promise reduction, including the cost of the reduced encoded input.Cslib.Complexity.rSatExponent_le_rpSatExponent,Cslib.Complexity.rpSatExponent_le_satExponent,Cslib.Complexity.rETH_iff_rSatExponent_pos,Cslib.Complexity.rSETH_iff_tendsto,Cslib.Complexity.rETH.eth,Cslib.Complexity.rSETH.seth: exponent hierarchy and characterizations.
References #
Structured error models for randomized promise solvers #
Error profile of a randomized promise-problem solver: yesErr bounds the false-negative
fraction on yes-instances, noErr bounds the false-positive fraction on no-instances, and
yesErr + noErr < 1 guarantees a strict separation noErr < 1 - yesErr between no-instance and
yes-instance acceptance probabilities.
- yesErr : ℝ
Upper bound on the rejection probability on yes-instances.
- noErr : ℝ
Upper bound on the acceptance probability on no-instances.
Rejection error bound is nonnegative.
Acceptance error bound is nonnegative.
Sum of yes-instance and no-instance error bounds is strictly below
1.
Instances For
Zero error on both yes-instances and no-instances (deterministic solvers).
Symmetric two-sided error ε ∈ [0, 1 / 2).
Standard bounded two-sided error 1 / 3 (BPP / PromiseBPP).
One-sided RP error ε ∈ [0, 1): false-negative bound ε on yes-instances and zero false
positives on no-instances.
One-sided coRP error ε ∈ [0, 1): zero false negatives on yes-instances and false-positive
bound ε on no-instances.
Dual error profile under promise-problem complement (Qᶜ).
deterministic is the least error profile.
Deterministic parameterized promise-problem bounds #
Q is solved deterministically within time O(T a) when a Boolean function computable within
O(T a) answers true on Q.yes and false on Q.no.
Q is solved deterministically within time 2 ^ (δ * μ a) · poly(L).
Q is solved deterministically in subexponential time in μ.
Weakening the deterministic runtime bound up to constants.
Larger exponents allow more deterministic promise solvers.
Rescaling the parameter linearly rescales the deterministic exponential rate.
Subexponential deterministic promise solving transfers along linear parameter bounds.
Transfer of SolvesPromiseInExpTime along a linear-parameter polynomial-time promise
reduction.
Transfer of SolvesPromiseInSubexpTime along a linear-parameter promise reduction.
On PromiseProblem.ofSet A, SolvesPromiseInTimeO agrees with DecidableInTimeO.
On PromiseProblem.ofSet A, SolvesPromiseInExpTime agrees with DecidableInExpTime.
On PromiseProblem.ofSet A, SolvesPromiseInSubexpTime agrees with DecidableInSubexpTime.
PromiseP is polynomial-degree SolvesPromiseInTimeO.
Any PromiseP solver has deterministic exponential rate 0 in any parameter μ.
Seeded randomized promise-problem bounds #
Q is solved with error profile E within time O(T a) when a unary coin-length function
ℓ : α → ℕ and a deterministic seeded verifier V : α × List Bool → Bool run together in time
O(T a) across all seeds of length ℓ a, rejecting at most an E.yesErr fraction of seeds on
yes-instances and accepting at most an E.noErr fraction of seeds on no-instances.
A seeded multitape computation of f returns an encoded value. Its unary seed-length
program and output program fit a common O(T a) bound on every seed of the chosen length.
At most an ε fraction of those seeds return a value different from f a.
Q is solved with error profile E within time 2 ^ (δ * μ a) · poly(L).
Q is solved with error profile E in subexponential time in μ.
Relaxing the error bounds preserves SolvesWithErrorInTimeO.
Weakening the runtime bound up to constants preserves SolvesWithErrorInTimeO.
Larger exponents allow more randomized promise solvers.
Relaxing the error bounds preserves SolvesWithErrorInExpTime.
Rescaling the parameter linearly rescales the randomized exponential rate.
Subexponential randomized promise solving transfers along linear parameter bounds.
Negating the verifier solves Qᶜ with the symmetric error profile E.symm.
Deterministic vs. zero-error randomized solvers. When the target time bound is at least
the encoded input length ((enc a).length ≤ T a), SolvesWithErrorInTimeO at
ErrorModel.deterministic is equivalent to SolvesPromiseInTimeO.
Deterministic vs. zero-error exponential rates. For δ ≥ 0, SolvesWithErrorInExpTime at
ErrorModel.deterministic is equivalent to SolvesPromiseInExpTime.
Every deterministic 2 ^ (δ * μ a) · poly(L) promise solver (δ ≥ 0) solves Q under any
error profile E.
A deterministic promise reduction preserves the error profile. If the reduction takes
time O(P a), and YTime b bounds the target solver's non-polynomial factor, a bound
YTime (r a) ≤ C * XTime a gives source time O(XTime a * (P a) ^ (e + 1));
e is the polynomial degree in the target encoded input length.
Deterministic preprocessing preserves the error of an exact-output solver. The time
includes evaluating the map and reading the unchanged seed. The polynomial degree e
charges the length of the reduced instance.
Transfer of SolvesWithErrorInExpTime along a linear-parameter polynomial-time promise
reduction.
Transfer of SolvesWithErrorInSubexpTime along a linear-parameter promise reduction.
Bridges to MultiTapePTM, PromiseBPP, PromiseRP, and PromiseCoRP #
Native MultiTapePTM compilation. Every SolvesWithErrorInTimeO Q enc E T solver (with
0 ≤ T a) compiles to a closed fair-coin multi-tape machine that halts on every run within clock
O(T a) and outputs [true] / [false] achieving error profile E.
Polynomial-time sample-and-verify characterization for arbitrary ErrorModels.
Q is solved at error profile E within polynomial time ((enc a).length + 1) ^ d for some d
if and only if there exist a polynomial coin-count bound p : Polynomial ℕ and a polynomial-time
verifier V : α × List Bool → Bool achieving error profile E on p.eval (enc a).length random
bits.
PromiseBPP in terms of SolvesWithErrorInTimeO. A promise problem lies in PromiseBPP
if and only if it is solved at ErrorModel.bounded (1 / 3) within polynomial time
((enc a).length + 1) ^ d.
PromiseRP in terms of SolvesWithErrorInTimeO. A promise problem lies in PromiseRP
if and only if it is solved at ErrorModel.rp (yesErr = 1 / 2, noErr = 0) within polynomial
time ((enc a).length + 1) ^ d.
PromiseCoRP in terms of SolvesWithErrorInTimeO.
Rate-preserving error amplification (O(T a) and exact rate δ) #
Rate-preserving two-sided error amplification. Repeating a two-sided ε₁-error solver
2 r times and taking strict majority reduces the error to (4 * ε₁ * (1 - ε₁)) ^ r ≤ ε₂ while
preserving O(T a) up to a constant factor.
Two-sided threshold invariance. Any two error bounds ε₁, ε₂ ∈ (0, 1 / 2) yield the exact
same SolvesWithErrorInTimeO predicate (for 0 ≤ T a).
Rate-preserving one-sided RP error amplification. Taking the disjunction of m runs
reduces false-negative error from ε₁ ∈ [0, 1) to ε₁ ^ m ≤ ε₂ while keeping zero false-positive
error and runtime O(T a).
One-sided RP threshold invariance. Any two error bounds ε₁, ε₂ ∈ (0, 1) yield the exact
same SolvesWithErrorInTimeO predicate (for 0 ≤ T a).
One-sided coRP threshold invariance.
Any one-sided RP solver (ε₁ ∈ [0, 1)) amplifies to any two-sided threshold
ε₂ ∈ (0, 1 / 2) at the exact same O(T a) runtime.
Exponential-rate invariance for any two-sided thresholds ε₁, ε₂ ∈ (0, 1 / 2).
Exponential-rate invariance for any one-sided RP thresholds ε₁, ε₂ ∈ (0, 1).
Input-dependent seeded amplification #
Certify the seed length and verifier for strict majority of 2 * r a independent
runs. The unary repetition schedule and seed width depend on the instance alone. The verifier
clock needs a bound only on seeds of the original width. For either expected answer, the
fraction of wrong amplified answers is at most (4 * ε * (1 - ε)) ^ r a whenever a single run
errs with probability at most ε < 1 / 2.
Width transfer for randomized k-SAT solvers: a solver for KSAT k' with k ≤ k' yields a
solver for KSAT k at the same rate δ ≥ 0 and error profile E.
The bounded-error randomized k-SAT exponent s^r_k: the infimum (Cslib.rateExponent) of
δ ≥ 0 for which KSAT k is solved with bounded two-sided error within time
2 ^ (δ * n) · poly(L).
The one-sided (RP) randomized k-SAT exponent s^{RP}_k: the infimum (Cslib.rateExponent)
of δ ≥ 0 for which KSAT k is solved with RP error (yesErr = 1 / 2, noErr = 0) within time
2 ^ (δ * n) · poly(L).
rETH (the randomized exponential time hypothesis): for some δ > 0, 3-SAT cannot be
solved with bounded two-sided error within time 2 ^ (δ * n) · poly(L).
rSETH (the randomized strong exponential time hypothesis): for every ε > 0 there is a
width k such that k-SAT cannot be solved with bounded two-sided error within time
2 ^ ((1 - ε) * n) · poly(L).
rSatExponent k is independent of the choice of two-sided error threshold ε ∈ (0, 1 / 2).
rpSatExponent k is independent of the choice of one-sided RP threshold ε ∈ (0, 1).
Exhaustive search solves KSAT k in randomized time 2 ^ n * poly(L) under any error
profile.
rSatExponent k is nonnegative.
rpSatExponent k is nonnegative.
rSatExponent k ≤ 1 for every k.
rpSatExponent k ≤ 1 for every k.
rSatExponent k is bounded by every attainable bounded-error rate δ ≥ 0.
rpSatExponent k is bounded by every attainable RP rate δ ≥ 0.
Below rSatExponent k there is no bounded-error k-SAT solver.
An unattainable bounded-error rate bounds rSatExponent k from below.
rSatExponent is monotone in the clause width k.
rpSatExponent is monotone in the clause width k.
Two-sided vs. one-sided RP exponent: rSatExponent k ≤ rpSatExponent k.
One-sided RP vs. deterministic exponent: rpSatExponent k ≤ satExponent k.
Two-sided vs. deterministic exponent: rSatExponent k ≤ satExponent k.
rETH holds iff 3-SAT has no bounded-error subexponential solver in numVars.
rETH in terms of rSatExponent: rETH ↔ 0 < rSatExponent 3.
rSETH in terms of rSatExponent: rSETH ↔ rSatExponent k → 1.
Dropping any finite prefix k < K leaves ⨆ k, rSatExponent k unchanged.
rSETH holds iff ⨆ k : ℕ, rSatExponent k = 1.
rSETH holds iff ⨆ k ≥ 3, rSatExponent k = 1.
Randomized ETH implies deterministic ETH (rETH → ETH).
Randomized SETH implies deterministic SETH (rSETH → SETH).