Manuscript Offprint
arXiv:2610.19162The Gap Between Average-Case and Worst-Case Complexity
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Understanding the average-case complexity of NP is a central goal in complexity theory and cryptography. A necessary milestone is to understand the corresponding average-case versus worst-case question for the polynomial hierarchy (PH). In a celebrated result, Hirahara [Hir21] proved that if every distributional problem in PH is easy on average, then every language in PH admits worst-case algorithms running in time . Remarkably, although the statement of Hirahara's theorem makes no reference to meta-complexity, all known proofs appear to use time-bounded Kolmogorov complexity and its associated meta-computational problems in an essential way.
We show that the reliance on techniques and perspectives from meta-complexity is not simply a coincidence. Building on previous work of Hirahara [Hir20] and on a recent result of Hu, Lu, and Oliveira [HLO26], we prove that relating the average-case and worst-case complexities of PH is in fact equivalent to a purely meta-computational implication: efficient algorithms for a standard gap version of MINpKT with PH oracle access imply efficient algorithms for a mild gap version. Crucially, in these promise problems the standard gap separates a YES instance with time bound t from a NO instance with time bound poly(t), whereas the mild gap keeps the YES threshold t and moves the NO threshold to .
Together with prior work, this equivalence points to the study of gap reductions as a potentially promising route toward understanding the relation between average-case and worst-case complexity. We make progress by proving that the gap in running time can be eliminated in the average-case setting. Finally, we prove that in the worst-case setting any efficient reduction between the two computational problems must use nonrelativizing techniques.
*University of Warwick. E-mail: halley.goldberg@warwick.ac.uk
University of Warwick. E-mail: jinqiao.hu@warwick.ac.uk
University of Victoria. E-mail: zhenjianlu@uvic.ca
University of Michigan. E-mail: jylyu@umich.edu
University of Warwick. E-mail: igor.oliveira@warwick.ac.uk
Contents
1 Introduction 3
1.1 Overview 3
1.2 Results 4
1.3 Techniques 5
1.4 Related Work 10
2 Preliminaries 12
2.1 Computational Models 12
2.2 Time-Bounded Kolmogorov Complexity 13
2.3 Meta-Complexity 14
2.4 Useful Tools 15
2.5 Average-Case Complexity 17
3 Proof of the Equivalence Theorem 19
3.1 Characterizing Easiness of NP via Easiness of Mild-Gap-MINpKT 19
3.1.1 The Easy Direction 20
3.1.2 The Hard Direction 20
3.2 Worst-Case Easiness of Gap-MINpKT from Average-Case Easiness of PH 27
3.3 Average-Case Easiness of PH from Worst-Case Easiness of Gap-MINpKT 27
3.3.1 Technical Tools 27
3.3.2 Proof of Lemma 3.13 33
4 The Deterministic Case 34
5 Equivalence of Gap and No-Gap Hardness in the Average-Case Setting 35
5.1 The Zero-Error Case 35
5.2 The Two-Sided-Error Case 36
6 A Relativization Barrier 38
1.1 Overview
Understanding the average-case complexity of NP is a fundamental research direction in complexity theory. A central problem in this area asks whether worst-case hardness of NP can be transformed into average-case hardness of NP against efficient algorithms. This question is particularly relevant to the complexity-theoretic foundations of cryptography, where one would ideally like to base cryptographic primitives on worst-case intractability assumptions about NP problems. We refer to the survey of Bogdanov and Trevisan [BT06] for background on average-case complexity and its connections to cryptography.
Formally, before resolving the average-case complexity of NP, one must first understand the analogous question for the Polynomial Hierarchy (PH). In the language of Impagliazzo’s five worlds [Imp95], the desired statement is the exclusion of PH Heuristica:
Equivalently, if every problem in PH is easy on every polynomial-time samplable distribution, then every problem in PH is easy in the worst case.
A few years ago, a breakthrough result of Hirahara [Hir21] (see also [GKLO22]) showed that a weaker worst-case conclusion follows from the average-case easiness of PH:
Hirahara’s Theorem (Equation (2)) offered the first significant progress on this problem after a long gap. Note that the theorem itself is a statement about complexity classes and their relation. Nevertheless, Hirahara’s argument seems to employ Meta-Complexity in an essential way, through Kolmogorov complexity and related compression problems.
Recall that meta-complexity studies the complexity of computational tasks whose inputs are themselves computational objects, such as strings, or truth tables. A central example is time-bounded Kolmogorov complexity, which measures the length of the shortest program that outputs a given string within a prescribed time bound. The associated meta-computational problem asks for the time-bounded Kolmogorov complexity of a given input string. For more information about meta-complexity, we refer to [Sim23]. For a modern treatment of time-bounded Kolmogorov complexity and its extensions to randomized computation, see [LO22].
Subsequent works have provided simplifications to the original proof of [Hir21] and extensions of the result [GK22, GKLO22, CHV22]. All of these developments continue to rely on meta-complexity. We refer to [Hir22a] for a comprehensive treatment of the meta-complexity approach to average-case complexity.
Motivated by these developments and the intriguing role of meta-complexity, we consider the following natural question:
Is Meta-Complexity formally necessary for understanding the relation between average-case and worst-case complexity?
As our main contribution, we give a positive answer to this question. We show that excluding PH Heuristica (Equation (1)) is equivalent to proving a gap reduction between two worst-case meta-computational tasks. This gives a precise sense in which meta-complexity is inevitable: any proof excluding PH Heuristica can be converted into a proof of the gap reduction from the standard gap meta-complexity problem to the mild-gap meta-complexity problem; conversely, any proof of this gap reduction excludes PH Heuristica.
In other words, the implication follows from the implication .
1.2 Results
We now state our results in more detail.
Average-Case vs Worst-Case Complexity as Meta-Complexity. We use to denote probabilistic -time bounded Kolmogorov complexity with oracle access to . Informally, Gap-MINpKT asks one to distinguish strings with small complexity from strings whose complexity is larger by a logarithmic term. This is the standard gap setting for several time-bounded Kolmogorov complexity estimation problems in meta-complexity. In contrast, the mild version Mild-Gap-MINpKT asks for the analogous distinction when the larger time bound is only rather than . We refer to Section 2 for the formal notions. Figure 1 informally describes the input instances of the two gap problems and their inclusion relations.
YES
for both problems
pK is at most s
Nonpromise
for both problems
outside YES and Mild NO
NO at time
Mild NO
Standard gap
nonpromise
NO at time
poly(t)
NO for both
Standard gap NO
Standard gap promise = YES ∪ NO
Mild gap promise = YES ∪ NO
Figure 1: Instance sets for the standard and mild gap problems for fixed description length bound and time bound . Under , monotonicity of time-bounded probabilistic Kolmogorov complexity gives . Consequently, .
For an oracle-dependent problem A such as Gap-MINpKT or Mild-Gap-MINpKT, the notation means that the corresponding promise problem is in randomized polynomial time for every oracle language .
Theorem 1.1 (Main Equivalence). The following statements are equivalent:
-
(Exclusion of PH Heuristica). DistPH ⊆ AvgBPP ⇒ PH ⊆ BPP.
-
(Gap Reduction for pK ). Gap-MINpKT .
Note that the second item refers to the worst-case complexities of the corresponding meta-computational problems. Thus, the average-case versus worst-case complexity of PH is equivalent to a comparison between two approximation regimes for probabilistic time-bounded Kolmogorov complexity with PH oracle access. Roughly speaking, the standard gap problem captures average-case complexity, while the mild gap problem
A preliminary version of a subset of these results appeared as part of the unpublished ECCC preprint [GHL 25].
captures worst-case complexity. Establishing a gap reduction, namely that an efficient algorithm for the former yields an efficient algorithm for the latter, is exactly what is needed to rule out PH Heuristica. The proof of Theorem 1.1 appears in Section 3.
There is a deterministic analogue of the characterization: replacing by deterministic and replacing randomized algorithms by deterministic algorithms gives the corresponding equivalence between
and the implication from the deterministic standard gap version of MINKT to its deterministic mild gap version. We refer to Section 4 for the details.
Eliminating the Gap in the Average-Case Setting. In our next result, we show that the implication in Theorem 1.1 (Item 2) can be established in the average-case setting. Indeed, we are able to prove in this case that the easiness of Gap-MINpKT implies the easiness of MINpKT , where there is no gap in the running time when comparing positive and negative instances. We consider both the zero-error setting of AvgBPP and the two-sided error setting of HeurBPP.
Theorem 1.2 (Average-Case Gap Reductions). The following two equivalences hold:
• “Gap-MINpKT ∈ AvgBPP” ⇔ “MINpKT ∈ AvgBPP”.
• “Gap-MINpKT ∈ HeurBPP” ⇔ “MINpKT ∈ HeurBPP”.
In other words, the time gap between instances can be eliminated in these average-case settings. The necessary definitions are presented in Section 2.5, while the proof of Theorem 1.2 appears in Section 5.
Limits of Relativizing Techniques. The natural next step is to obtain a gap reduction in the worst case, which by Theorem 1.1 is both necessary and sufficient to exclude PH Heuristica. We finish with a proof that the implication between the two meta computational tasks in Theorem 1.1 (Item 2) cannot be established by relativizing techniques alone.
Theorem 1.3 (Relativization Barrier). There is an oracle O such that
Thus, in a relativized world, the standard gap problem can be easy even while the mild gap problem remains hard. We refer to Section 6 for the proof of this result and related discussions.
1.3 Techniques
In this section, we provide an overview of our proofs and techniques.
Main Equivalence. The proof of Theorem 1.1 builds heavily on the approaches and techniques from [Hir20] and [HLO26]. The result follows from two correspondences between structural complexity and meta-complexity. As explained below, the average-case easiness of PH is captured by the complexity of the standard gap problem, where a negative instance is allowed to use a much larger time bound poly(t). In contrast, the worst-case easiness of PH is captured by the complexity of the mild gap problem, where a negative instance only receives an additive increase of the form . Figure 2 provides an overview.
For completeness, we spell out here a reduction that is sufficient for excluding PH Heuristica. Fix an arbitrary oracle . Exhibit a polynomial and an oracle such that, for every large enough polynomial , separating vs reduces in randomized polynomial time to separating vs .

Figure 2: Relating the average-case and worst-case complexities of the polynomial hierarchy (PH) is equivalent to a question from meta-complexity: Is there a gap reduction for computing ?
The first correspondence identifies average-case easiness of PH with easiness of the standard gap problem:
This correspondence is a randomized extension of Hirahara’s characterization of DistPH ⊆ AvgP by deterministic worst-case meta-complexity [Hir20]. We note that in the deterministic setting, a substantial part of the argument from [Hir20] is the construction of an explicit pseudorandom generator from the assumed easiness of Gap-MINKT . This is used not just to conclude DistPH ⊆ AvgP but also as a key technical element of the proof, which manipulates the (deterministic) time-bounded Kolmogorov complexity measure . By working directly with probabilistic Kolmogorov complexity and with randomized procedures, we are able to bypasses this specific pseudorandom generator construction. Moreover, we provide an induction-based proof that differs somewhat from, and simplifies, the argument of [Hir20]. We briefly outline the proof below.
The forward direction follows from a worst-case-to-average-case reduction for estimating time-bounded Kolmogorov complexity. If every language in PH is easy on every samplable distribution, then MINKT is easy on average for every . This average-case easiness can then be upgraded to a worst-case algorithm for Gap-MINpKT using standard techniques from meta-complexity.
We now discuss the backward direction. Fix and a language that is complete for . Assuming that Gap-MINKT , our goal is to decide any language in , for , on input in time roughly
Since is close to for a typical , we have on average. Consequently, Equation (3) yields an average-case polynomial-time algorithm for PH.
To establish Equation (3), standard techniques from meta-complexity imply that the assumption Gap-MINKT yields a symmetry-of-information statement of the following form: for every and every ,
Now let be an instance of the language that we wish to decide, and, if is a YES instance, let denote the lexicographically smallest witness corresponding to the first existential quantifier. Taking to be
As in [Hir20], the remaining steps of the proof still rely on techniques from computational pseudorandomness and on the reconstruction procedure of another pseudorandom generator.
a sufficiently large polynomial, the symmetry-of-information inequality gives
The second inequality above uses the fact that can be generated efficiently from x given oracle access to , since is complete for a sufficiently high level of PH.
A natural next step is therefore to enumerate all programs of length at most s, run them on input x, and consider their outputs as candidate witnesses y. The difficulty is that checking whether a candidate y is a valid witness requires solving a problem on the instance . At first sight, one might try to invoke the inductive hypothesis directly. However, doing so would only give a running time bounded by
whereas we need the overall running time to remain within
For an arbitrary candidate y, there is no reason for to be comparable to .
The key observation is that we only need to guarantee successful verification of , when such a witness exists. For this particular witness, we have
because can be recovered from x in polynomial time using oracle access to O. Thus, before invoking the inductive-hypothesis algorithm on a candidate y, we can first test whether
Since Gap-MINKT , this test can be implemented efficiently (up to the usual approximation slack). Candidates that fail the test are discarded. Crucially, passes the test, while every candidate that passes can be verified using the inductive hypothesis within time
up to the suppressed polynomial factors. This gives the desired inductive running-time bound.
As alluded to above, the second correspondence identifies the worst-case easiness of PH with the easiness of the mild gap problem:
The easy direction works as follows: it is possible to show that the mild gap problem has an Arthur-Merlin protocol relative to the oracle, and this allows us to prove that if PH BPP then Mild-Gap-MINpKT .
The hard direction relies on the witness compression framework of [HLO26]. Suppose Mild-Gap-MINpKT is easy. Since PH BPP follows from NP BPP, it is enough to establish the latter inclusion. Crucially, we derive from the easiness assumption the following consequence: For every NP verifier, every yes instance x, and every witness y for x,
(4) where is the witness set of x. Therefore, by choosing a random short program and random coins, one samples an accepting witness with inverse polynomial probability. Repetition then gives a BPP-algorithm for every NP-language, as desired.
An important ingredient in the proof of Equation (4) in [HLO26] is that probabilistic nondeterministic Kolmogorov complexity (pnK ) admits a language compression theorem: witnesses for an NP instance can be described using essentially the logarithm of the number of witnesses. Our first observation is that pK ,SAT is strong enough to inherit this compression property, since SAT oracle access can simulate the nondeterministic choices appearing in pnK with only polynomial overhead. Note that this is not sufficient to prove Equation (4), where we need an upper bound on pK instead of pK ,SAT.
The remaining task is precisely to remove the SAT oracle from the description of given . The key ingredient here is that the assumption Mild-Gap-MINpKT provides an ordinary probabilistic polynomial-time algorithm for testing whether a string has low complexity. Although the complexity measure tested by allows its programs to query SAT, the algorithm itself has no oracle access. Consequently, if can be used as a distinguisher in a reconstruction argument, the resulting reconstruction procedure is also an ordinary probabilistic procedure. It therefore yields a bound on the unrelativized complexity , rather than merely on . This is the mechanism by which the proof removes the SAT oracle.
Concretely, we compare the SAT-oracle pK complexity of in two ways. The upper bound describes x using a SAT oracle program and then describes y given x using another such program:
For the lower bound, fix slightly below the ordinary complexity and compare the distributions and , where DP (Direct Product) is a pseudorandom generator with suitable pseudorandomness and reconstruction properties. Weak symmetry of information implies that a uniformly random extension of usually has high SAT relative complexity, so rejects it at an appropriate threshold. If behaved noticeably differently on the generated extension, the reconstruction property of the direct product generator would turn into an ordinary probabilistic description of given of length at most , contradicting the choice of . Thus, must also reject some generated extension. With some additional work, this can be used to prove the following inequality:
The important asymmetry is that the term involving remains SAT relative, while the term involving is now unrelativized.
Combining the upper and lower bounds then rearranging gives
Thus, the SAT oracle has been removed from the description of y, at the cost of a computational depth term measuring the decrease in the SAT relative complexity of x between the two time bounds t and .
To eliminate this remaining cost, we use a relativized extension of the lifted measure from [HLO26]. Crucially, this measure admits a more efficient form of symmetry of information, allowing the two relevant time bounds to differ by only an additive poly(n) amount. The assumed algorithm for Mild-Gap-MINpKT lifts to the corresponding meta-computational problem for the relativized variant considered here, and a standard telescoping argument now finds a polynomially bounded time scale at which the lifted complexity of changes by only . At this time scale, the two SAT relative terms involving cancel up to logarithmic overhead, leaving
Combining this oracle removal inequality with language compression for is sufficient to prove Equation (4).
Finally, the two correspondences described above yield Theorem 1.1.
Equivalence of Gap and No-Gap Hardness in the Average-Case Setting. Here we describe the ideas behind the proof of Theorem 1.2. It is not hard to see that the tractability of MINpKT implies that of Gap-MINpKT . Therefore, it suffices to prove the converse implication in each item.
We first consider the zero-error setting of AvgBPP. The starting point is the observation that standard worst-case-to-average-case reduction techniques for meta-complexity problems, developed in [Hir18, GKLO22], allow us to obtain that if Gap-MINpKT admits a zero-error average-case algorithm, then it also admits a worst-case algorithm. In other words, Gap-MINpKT . Then by Correspondence I (illustrated in Figure 1), this yields DistPH AvgBPP. Finally, we observe that the non-gap problem, MINpKT , is decidable in (promise) AM . Consequently, MINpKT also admits a zero-error average-case algorithm.
We now turn to the two-sided-error setting of HeurBPP. First, it is worth noting that existing work implicitly establishes that the (two-sided-error) average-case tractability of Gap-MINpKT and MINpKT are equivalent. Indeed, [IRS22] showed that the (two-sided-error) average-case hardness of approximating the time-unbounded Kolmogorov complexity K is equivalent to the existence of one-way functions. Their proof can be adapted to to show that the (two-sided-error) average-case hardness of Gap-MINpKT is equivalent to the existence of one-way functions (and hence to the existence of pseudorandom generators [HILL99]). On the other hand, [LP23] established that the (two-sided-error) average-case hardness of MINpKT is also equivalent to the existence of one-way functions.
It is therefore natural to try to extend these equivalences to the setting with PH oracles by considering PH-computable one-way functions. However, there are a couple of obstacles. First, it is unclear how to adapt the ideas of [IRS22] to show that if Gap-MINpKT is easy on average, then no PH-computable pseudorandom generators (equivalently, PH-computable one-way functions) exist. Ideally, one would use an average-case algorithm for Gap-MINpKT to break the security of such a generator, since every output of a PH-computable generator has small time-bounded Kolmogorov complexity with PH oracles. The issue is that a PH-computable pseudorandom generator induces a distribution that is polynomial-time samplable only with access to a PH oracle, whereas our assumption asserts only that Gap-MINpKT is easy over polynomial-time samplable distributions without such oracle access. Second, the techniques of [LP23] yield only the following relativized statement: for every oracle (for example, ), if there are no one-way functions computable with oracle access to that are secure against probabilistic polynomial-time algorithms with oracle access to , then MINpKT . Thus, these results do not yield the desired equivalence between the average-case tractability of Gap-MINpKT and that of MINpKT via PH-computable one-way functions.
Instead, we take a different route based on [HS22]. Specifically, [HS22] proved that
DistPH ∉ HeurBPP
is equivalent to the existence of PH-computable pseudorandom generators that are secure against probabilistic polynomial-time algorithms. Moreover, the pseudorandom generators obtained there satisfy a certain entropy-preserving property that allows us to break them using an average-case algorithm
In fact, here we will only use the implication that if one can efficiently approximate -complexity, then pseudorandom generators do not exist. The intuition is that such an approximation would allow us to break any candidate pseudorandom generator: the output of a generator has small time-bounded Kolmogorov complexity, roughly bounded by the length of its seed, whereas a truly random string has high complexity. For the converse direction, the result in [IRS22] relies on the coding theorem for K-complexity. The same argument extends to by applying the optimal coding theorem for -complexity established in [LOZ22].
for Gap-MINpKT over the uniform distribution. Consequently, the (two-sided-error) average-case tractability of Gap-MINpKT implies that
Again, since the non-gap problem MINpKT is decidable in (promise) AM = PH, it follows that MINpKT also admits a two-sided-error average-case algorithm.
One technical point omitted from the discussion above is that the characterization of [HS22] only concerns pseudorandom generators with arbitrary logarithmic stretch. A minor extension of their result is nevertheless sufficient for our purposes, because it is enough to establish the desired connection with the tractability of -MINpKT , where is any fixed polynomial (see Claim 5.6 for details).
Relativization Barrier. Finally, we briefly comment on the proof of Theorem 1.3. The relativization barrier is proved by applying the same correspondences described above inside a suitable oracle world. Impagliazzo [Imp11], followed by Hirahara and Nanashima [HN21], give an oracle for which but . The first property feeds into the relativized average-case correspondence, giving Gap-MINpKT. On the other hand, if the corresponding mild gap problem were also easy, the relativized worst-case correspondence would imply and hence , contradicting the oracle separation. Most of the work goes into the verification that the techniques employed to establish these correspondences relativize.
1.4 Related Work
The modern theory of average-case complexity for distributional problems was initiated by Levin [Lev86] and developed into the framework surveyed by Bogdanov and Trevisan [BT06]. Impagliazzo's five worlds [Imp95] placed the average-case versus worst-case question at the center of complexity theory and cryptography. The particular question relevant here is the exclusion of PH Heuristica, namely whether DistPH ⊆ AvgBPP implies PH ⊆ BPP.
Classical barrier results explain why this question has resisted the most direct reduction based approaches. Feigenbaum and Fortnow [FF93] showed that strong forms of random self reducibility for complete sets would imply unexpected collapses of the polynomial hierarchy. Bogdanov and Trevisan [BT03] extended this barrier to nonadaptive self correction with respect to samplable distributions: if an NP complete problem had such a self corrector, then coNP ⊆ NP/poly and the polynomial hierarchy collapses. Thus, black box nonadaptive reductions cannot by themselves base average-case hardness in NP on worst case hardness of an NP-complete problem, except under unlikely collapses. Gutfreund, Shaltiel, and Ta Shma [GSTS07] obtained a positive but weaker connection: if NP ⊆ BPP, then for every fixed algorithm there is a polynomial time samplable distribution on which it errors often. The caveat is that the hard distribution may depend on the algorithm, so this does not produce a single distributional problem hard for all efficient algorithms.
Hirahara developed the meta-complexity approach to this question through a series of works (see, e.g., [Hir22a]). The first step was a non-black-box worst-case to average-case reduction for time-bounded Kolmogorov complexity [Hir18]. Hirahara then characterized DistPH ⊆ AvgP by the worst-case easiness of Gap-MINKT [Hir20], and later proved that average-case easiness of PH yields worst case algorithms for PH running in time [Hir21]. Goldberg, Kabanets, Lu, and Oliveira [GKLO22] lifted the original result to the probabilistic setting and simplified the proof using probabilistic Kolmogorov complexity.
Other works have refined and extended this paradigm. Chen, Hirahara, and Vafa [CHV22] obtained average-case hardness consequences for NP and PH from fine-grained worst-case hardness assumptions. Hirahara [Hir22c] related the exclusion of Heuristica to symmetry of information and hardness of approximating conditional time-bounded Kolmogorov complexity.
Our work is different in that the main theorem offers an equivalence for the implication DistPH ⊆ AvgBPP ⇒ PH ⊆ BPP, rather than only a sufficient condition. Moreover, the equivalence is between this complexity-theoretic implication and a reduction between two meta-computational approximation regimes, the standard gap and mild gap versions of MINpKT .
Relativization has also played an important role in understanding what meta-complexity methods can and cannot prove. Impagliazzo [Imp11] constructed relativized separations between worst-case and average-case complexity for NP, and Hirahara and Nanashima [HN21] studied worst-case learning in relativized Heuristica. Ren and Santhanam [RS22] initiated a systematic study of relativization in meta-complexity. Among other oracle worlds, they separate decision and search versions of MCSP, show that different MCSP thresholds can lead to different complexities, that Kt can become efficiently approximable, and that robust reductions from DistNP to Gap-MINKT face oracle barriers. Hirahara, Lu, and Ren [HLR23] later introduced bounded relativization as a finer way to classify proof techniques that may go beyond ordinary relativization while still relativizing against restricted oracle classes.
In contrast, our relativization theorem deals with a delicate regime of parameters and constructs an oracle world where the standard gap version of MINpKT is easy while the mild gap version remains hard. In this sense, the oracle result isolates the exact nonrelativizing step needed by our main equivalence: transforming average-case easiness into worst-case easiness of the standard gap problem is relativizing, but upgrading the standard gap regime to the mild gap regime cannot be done by relativizing arguments alone.
Nonrelativizing techniques have also played an important role in establishing hardness results for meta-computational problems. Hirahara [Hir22b] employed ideas from algorithmic information theory to overcome a relativization barrier for showing hardness of learning programs and, in the same work, proved NP-hardness under randomized polynomial-time reductions for the partial function variant MCSP* and related problems such as MKTP* and MINKT*. The proof uses conditional Kolmogorov complexity and pseudorandom generators to quantify the information available to a small program, providing a complementary example of nonrelativizing techniques in meta-complexity.
A separate line of work has sought to reduce the compression gap between the description length thresholds in the yes and no cases of meta-computational promise problems. Beginning with Hirahara's non-black-box worst-case to average-case reduction for time-bounded Kolmogorov complexity, subsequent results progressively reduced this loss [Hir18, Hir21, GKLO22]. Most recently, Liu and Pass [LP26] eliminated the compression gap entirely in the large threshold regime, where the description length threshold is close to the input length, obtaining a worst-case to average-case reduction for the exact problem under a standard derandomization assumption. This progress concerns the gap between description lengths. By contrast, reducing the separate time gap between the running time bounds in the two promise cases appears to have received less attention. Investigation of changes in the time bound appear in the fine-grained reductions of Chen, Hirahara, and Vafa [CHV22] and in the recent witness compression framework of Hu, Lu, and Oliveira [HLO26]. Our work shows that the time gap is fundamental to our understanding of average-case complexity.
Use of AI Tools. All ideas, arguments, and proofs presented in this paper were developed by the authors. The proofs were checked for correctness using GPT 5.6 and GPT 6.0.
Acknowledgements. This work received support from the UKRI Frontier Research Guarantee Grant EP/Y007999/1 and the Centre for Discrete Mathematics and its Applications (DIMAP) at the University of Warwick. The authors would also like to thank the Isaac Newton Institute for Mathematical Sciences, Cambridge, for support and hospitality during the programme Logical Foundations of Complexity Theory (LFC), where part of the work on this paper was undertaken. The LFC programme was supported by EPSRC grant EP/Z000580/1.
2 Preliminaries
We use to denote the empty string. The length of a string is denoted . Given strings and , we let denote their concatenation.
We write to denote that is sampled according to the distribution . For an element in the support of , we let denote its probability. We use to denote the uniform distribution over .
2.1 Computational Models
We consider multi-tape Turing machines over the alphabet . In addition to the usual input tape and work tapes, in some contexts we allow a machine to access three additional tapes: one holding an auxiliary string, one holding a non-deterministic guess, and one holding the randomness. We assume that the machine has sequential access (i.e., no random access) to the randomness tape and the non-deterministic tape.
For a machine , time bound , and string , we let be the minimum length of a string such that outputs on input string when running for at most steps. We say that a (universal) machine is time-efficient if for every machine there is a constant such that, for every string and time bound , we have . It is known that time-efficient machines exist (see, e.g., [LV19]). We fix such a machine when specifying Kolmogorov complexity.
We also assume an encoding function for machines (which we omit for notational simplicity) such that , when given (the encoding of) a machine , an input , an auxiliary string , a non-deterministic guess , and a random string , runs in time and outputs the string produced by , where denotes the encoding length of and is the number of steps runs on .
A program is defined as a pair , where is a valid encoding of a machine and is an “advice” string. The output of on (which corresponds to the auxiliary input, the non-deterministic guess, and the randomness), denoted , is given by .
The running time of the program on input is defined to be the number of steps runs on input .
We also define the size of the program . To encode a machine-advice pair , we use the following format:
where is an encoding of the machine , and (resp. ) is the binary representation of the integer specifying the length of (resp. ), with each bit duplicated. The size of , denoted , is the total bit length of this description.
We say that a program non-deterministically outputs y on input in time t if:
• , outputs either or in time , and
• , outputs in time .
A Computational Model with Efficient Composition. The above computational model suffices for most of our results, except for Theorem 1.1. As in the main result of [HLO26], Theorem 1.1 requires a computational model that possesses an additional natural efficiency property called “efficient composition”. Specifically, this property states that there exists a polynomial such that the following holds. For any , if:
To avoid confusion, sequential access means that the tape head can remain at a given tape cell or move left or right at each step of the computation. In particular, we do not require read-only or one-way access to the tape.
As noted above, we assume a fixed standard encoding for Turing machines.
• there is a program of size that outputs y on input in time , and
• there is a program of size that outputs z on input y in time ,
then there is a program of size that outputs on input in time . (As discussed in detail in [HLO26], this property is typically implicitly assumed in the literature on time-bounded Kolmogorov complexity.)
To guarantee the efficient composition property, we consider a sequence of machine-advice pairs. More formally, a program is now defined as
where each is a valid encoding of a machine and . The output of on (which corresponds to the auxiliary input and the randomness), denoted , is obtained as follows:
• Let be the output of . Let be the number of steps takes to produce .
• Let be the output of , and let be the corresponding running time.
• Let be the output of , and let be the corresponding running time.
• Output .
The running time of the program on input is given by .
We now describe how the program is encoded. A machine-advice pair is encoded as described before. The full description of is obtained by concatenating the encodings of all pairs for . The size of , denoted , is the total bit length of this description.
It can be shown that this definition of a program satisfies the efficient composition property (see [HLO26, Proposition 57]). The definition can be extended to programs that have oracle access to a language O in the natural way.
2.2 Time-Bounded Kolmogorov Complexity
We record only the Kolmogorov notions used in the main results and their proofs.
Definition 2.1 (K ). For , , and an oracle , define
We write for and for . We write for the corresponding unbounded plain Kolmogorov complexity. If oracle queries are non adaptive, we write .
Definition 2.2 (pK ). For , , , and an oracle , define
We omit when it is empty and omit when .
For a string of length and a subset , where , we let denote the substring of obtained by concatenating the bits of at indices in . For , we let denote the set .
Definition 2.3 (nK ). For and , define
We write for .
Definition 2.4 (pnK ). For , , and , define
We omit when .
2.3 Meta-Complexity
We now define the promise problems that appear in the theorem statements. The deterministic problems for the deterministic analogue are included in Theorem 4.1.
Definition 2.5 (MINKT). For an oracle , we define the promise language as
Definition 2.6 (Gap-MINKT). For an oracle and , we define the promise language
as
For a complexity class , we say that if there exists a constant such that with .
Definition 2.7 (Mild-Gap-MINKT). For an oracle and a function , we define the promise language Mild-Gap -MINKT as
For a complexity class , we say that Mild-Gap-MINKT if there exists a constant such that Mild-Gap -MINKT with .
Definition 2.8 (MINpKT). For an oracle , we define the promise language MINpKT as
Definition 2.9 (Gap-MINpKT). For an oracle and , we define the promise language
as
For a complexity class , we say that Gap-MINpKT if there exists a constant such that with .
Definition 2.10 (Mild-Gap-MINpKT). For an oracle and a function , we define the promise language Mild-Gap-MINpKT (YES, NO) as
For a complexity class , we say that Mild-Gap-MINpKT if there exists a constant such that Mild-Gap-MINpKT with .
For all the promise problems
we adopt the following convention. For complexity classes and , we say that if, for every language , there exists a constant such that with gap parameter . In particular, note that may depend on the choice of .
2.4 Useful Tools
Here, we state some useful tools about Kolmogorov complexity.
Lemma 2.11 (Standard Counting Argument). For every , , and every , we have
Also, for every , , , and every , , we have
Moreover, the inequalities above continue to hold in the presence of an oracle and when conditioning on a fixed string y.
Proof. For simplicity, we consider the oracle-free case and . (The general case is analogous.) The case of K directly follows from counting. Indeed, the number of programs with length less than is at most . Therefore,
The deterministic and nondeterministic time bounded cases follow similarly, since each program of length less than contributes at most one output string.
For , , consider a bipartite graph where the left vertices represent randomness-program pairs , and the right vertices represent strings in . There is an edge between a left vertex and a right vertex if outputs . For a right vertex to have -complexity at most , it must have degree at least .
However, there are less than total edges in the graph. Therefore, the number of right vertices with degree at least is less than .
Lemma 2.12 (Following [GKLO22, Lemma 18]). Let be any computable language. There exists a constant such that for any , time bound , .
Theorem 2.13 (Language Compression for [HLO26]). There is a polynomial such that for every set , and for all and ,
Direct Product Generator. For , we denote their inner product by .
Definition 2.14 (Direct Product Generator (DPG) [Hir21]). For , the -wise direct product generator is the function
defined by
Lemma 2.15 (pK Reconstruction Lemma [GKLO22]). There is a polynomial such that the following holds. For every , , let be a function that -distinguishes from . Then
A SAT Oracle Simulation Lemma
Lemma 2.16. There exists a constant such that for any strings and ,
where .
Proof. Let and . We assume without loss of generality that . Define , and let be a program that nondeterministically outputs on input in time .
Given , , , and , we reconstruct as follows: For each , we use the SAT oracle to answer the following query:
Does there exist a such that outputs a string in time and the -th bit of is 1?
We then set the i-th bit of x to be 1 if and only if the answer to this query is yes.
It is easy to verify that the above procedure runs in time . Also, by the fact that nondeterministically outputs on input in time , it can correctly recover . Thus, for , we obtain
as desired.
16
□
Lemma 2.17. For every oracle and every language that is hard for under deterministic polynomial-time reductions, there exists a constant such that, for all and ,
Proof. The proof follows the same idea as Lemma 2.16. Let , and suppose that with probability at least over , there exist such that, on input and with oracle access to , non-deterministically outputs within time .
Let be the following language:
Then, with probability at least over , given as above hard-coded, one can recover the string within time given oracle access to . In particular, one can simply query to for every and return the concatenation of the answers from the oracle. By definition of and , this process is guaranteed to output .
Lastly, for any NP -complete language L, we may replace the -oracle with an L-oracle by simulating the reduction from to L. This increases the time to produce x by at most a factor of .
Overall, we have
as desired.
2.5 Average-Case Complexity
Basic Definitions and Facts. We review some basic definitions and facts in average-case complexity. For more information about average-case complexity, we refer to [BT06].
Recall that a pair is a distributional problem if and is a distribution family, where each is a distribution over .
We let DistNP denote the set of distributional problems such that and is polynomial-time samplable. Here, a distribution family is polynomial-time samplable if there exists a randomized polynomial-time algorithm such that for every , the output of is distributed according to . We let PSAMP be the collection of distribution families that can be sampled in polynomial time. For a complexity class (e.g., ), we let Dist denote the set of distributional problems with and .
A distributional problem is said to admit an errorless heuristic scheme if there exists a deterministic polynomial-time algorithm such that, for every ,
- for every ,
- and
We let AvgP denote the class of distributional problems that admit an errorless heuristic scheme.
The above definition naturally extends to randomized algorithms. A distributional problem is said to admit a randomized errorless heuristic scheme if there exists a probabilistic polynomial-time algorithm such that, for every ,
- for every ,
- and
We let AvgBPP denote the class of distributional problems that admit randomized errorless heuristic schemes.
The above definitions require the heuristic algorithm to be errorless, allowing it only to output instead of an incorrect answer. We can relax this requirement by permitting the algorithm to err on both yes- and no-instances.
A distributional problem is said to admit a randomized two-sided-error heuristic scheme if there exists a probabilistic polynomial-time algorithm such that, for every ,
We let HeurBPP denote the class of distributional problems that admit randomized two-sided-error heuristic schemes.
We will need the following result.
Theorem 2.18 ([IL90]). Let be any oracle. If , then for every distribution and , we have .
Notions of Average-Case Tractability for Meta-Complexity Problems. Let be an algorithm, be a promise problem, and , we write “ decides on ” if the following holds.
Definition 2.19 (“Gap-MINpKT ∈ HeurBPP”). Let O be an oracle and let . We say that is easy on average with two-sided error if for every polynomial-time samplable distribution family supported over , there exist a PPT algorithm A such that for every ,
We say that Gap-MINpKT is easy on average with two-sided error, denoted as “Gap-MINpKT ∈ HeurBPP”, if for every , there exist a polynomial such that is easy on average with two-sided error.
In the following zero error setting, we further require that the algorithm will never output an incorrect answer on both the positive and negative instances (except with small probability over the internal randomness of the algorithm), while it can output to indicate that it does not know the correct answer.
Definition 2.20 (“Gap-MINpKT ∈ AvgBPP”). Let O be an oracle and let . We say that is easy on average with zero error if for every polynomial-time sampleable distribution family supported over , there exist a PPT algorithm A such that for all ,
and for every ,
We say that Gap-MINpKT is easy on average with zero error, denoted as “Gap-MINpKT ”, if for every , there exist a polynomial such that is easy on average with zero error.
It is straightforward to extend the above definitions to Mild-Gap-MINpKT and MINpKT .
3 Proof of the Equivalence Theorem
In this section, we prove Theorem 1.1, which is restated below.
Theorem 1.1 (Main Equivalence). The following statements are equivalent:
-
(Exclusion of PH Heuristica). DistPH ⊆ AvgBPP ⇒ PH ⊆ BPP.
-
(Gap Reduction for pK ). Gap-MINpKT ∈ prBPP Mild-Gap-MINpKT ∈ prBPP.
Theorem 1.1 follows directly from the following two theorems using that NP BPP implies PH BPP.
Theorem 3.1. The following holds.
Theorem 3.2. The following holds.
In the remainder of this section, we show Theorem 3.1 and Theorem 3.2. We prove Theorem 3.1 in Section 3.1. The forward direction of Theorem 3.2 is established by Lemma 3.11, which is proved in Section 3.2. The backward direction follows from Lemma 3.13, with the proof provided in Section 3.3.
3.1 Characterizing Easiness of NP via Easiness of Mild-Gap-MINpKT
In this section, we prove Theorem 3.1. The theorem follows directly from Lemma 3.3 and Lemma 3.4, which are proved in the subsections below.
3.1.1 The Easy Direction
Lemma 3.3. If NP ⊆ BPP, then Mild-Gap-MINpKT ∈ prBPP.
Proof. It is easy to see that, for any oracle , we have Mild-Gap-MINpKT. Also, if NP BPP, then PH BPP. It follows that .
3.1.2 The Hard Direction
Lemma 3.4. If Mild-Gap-MINpKT ∈ prBPP, then NP ⊆ BPP.
The proof of Lemma 3.4 follows the approach in [HLO26], which shows that if MINnKT ∈ BPP, then NP ⊆ BPP. Here, we sketch the proof and highlight the key steps and modifications.
We begin by describing the approach at a high level. Let , and let be an input instance. Our goal is to find a witness for . To this end, suppose , and let denote the set of -witnesses for . We aim to establish the following: for every ,
The above is a consequence of a result known as language compression (for ), which states that every witness can be compressed to approximately bits.
Note that if , then by the definition of , if we randomly sample a string and a program , and output , we obtain with probability at least . Then, by Equation (5), for every , the above procedure samples with probability at least . Since this holds for each of the elements in , it follows that we obtain some string in with probability at least . By repeating this procedure, we can obtain a witness for with high probability.
It is not known whether admits a language compression property as stated in Equation (5). However, it was shown in [HLO26] that its nondeterministic variant, , indeed admits such a property. Since is a more powerful notion than , it follows that also admits this language compression property. In particular, we get that for every witness ,
(by Lemma 2.17)
(by Theorem 2.13)
Thus, it suffices to show that if Mild-Gap-MINpKT , then for every and every that is a sufficiently large polynomial in ,
We first note that, following previous work, one can establish a weaker form of Equation (6), which states that
Note that this weaker bound is not sufficient for our purposes, since the term , known as the (time-bounded) computational depth, can be large for some . Nevertheless, we sketch how Equation (7) can be shown under the assumption that Mild-Gap-MINpKT is easy.
This is true even for MINpKT .
The idea is to show both an upper bound and a lower bound for the quantity
Roughly speaking, we aim to show that:
• (Upper bound)
• (Lower bound)
It is easy to combine the two inequalities above to obtain Equation (7).
The upper bound is straightforward. The lower bound can be established under the assumption that Mild-Gap-MINpKT is easy. For simplicity, let us assume that we have a deterministic polynomial-time algorithm that given decides whether .
Let be the direct product generator defined in Definition 2.14, where
for some large constant to be specified later. We then consider the following two distributions:
The goal is to show that and are indistinguishable under the algorithm for some and constant to be specified later. The reason for doing this is that, assuming Mild-Gap-MINpKT is easy, one can show a weak time-bounded symmetry of information [Hir21] (see also [Ila23]), which states that, with high probability over , we have
where is a constant. Therefore, with high probability (over ), for .
Now if is indeed indistinguishable from , then with high probability (over ), we also have , which implies that there exists some such that
Also, since is efficiently computable given y and z, by letting d be a sufficiently large constant, we have
Combining the above two inequalities, we get
which gives the desired lower bound.
Now, let us explain why and are indistinguishable. Indeed, if could distinguish from , then by the fact that is polynomial-time computable and by the reconstruction property of (Lemma 2.15), we would obtain
which contradicts our choice of k be letting c be a sufficiently large constant.
Next, let us return to Equation (7). It turns out that if we could show a more fine-grained form:
where is a polynomial independent of t, then we could aim to conclude the proof by showing that
While this may not hold for a particular value of , one can argue, via a telescoping sum trick, that such a bound holds for some that is not too large. More concretely, for any fixed time bound , let for . Note that , since any -bit string can be described using at most bits. Therefore,
which implies that there exists an index such that . In particular, for some time bound , we have , which would be sufficient for our purpose.
Unfortunately, it is not clear how to prove Equation (8) exactly. As illustrated earlier, a key difficulty lies in the use of weak symmetry of information, which introduces a time overhead of the form rather than an additive overhead of the form .
Here, we follow the approach developed in [HLO26] which incorporates the ideas described above and suffices to prove Lemma 3.4. A key ingredient is the following new notion of time-bounded Kolmogorov complexity.
Definition 3.5 ( ). For , an oracle , and a string , we define
It can be shown that is a well-defined measure that satisfies several basic properties one would expect from a Kolmogorov complexity measure; see [HLO26, Section 4.2.1]. Moreover, if the mild-gap version of approximating is easy, then so is approximating .
Definition 3.6 (Mild-Gap-MIN -pKT). For an oracle and , we define the promise language Mild-Gap -MIN -pKT (YES, NO) as
We say that Mild-Gap-MIN -pKT if there is a constant such that Mild-Gap -MIN -pKT with .
Lemma 3.7. For every oracle , if Mild-Gap-MINpKT , then Mild-Gap-MIN -pKT .
Proof. The proof is adapted from that of [HLO26, Lemma 69], which shows a similar result for the case of and without the mild gap. For simplicity, we assume ; it is straightforward to verify that the proof also holds for any oracle .
Let be a probabilistic polynomial-time algorithm that decides Mild-Gap-MINpKT with error at most , for some polynomial . Let denote the algorithm that runs times and returns the majority vote. By the Chernoff bound, the error of is bounded by .
Suppose we are given an instance
of Mild-Gap -MIN -pKT.
On the one hand, if is a yes-instance, then , and by the definition of , we have
Then by the correctness of A, we get
which, by a union bound, yields
On the other hand, if z is a no-instance, then
and hence
Note that the above implies
Again, by the correctness of A, the above implies
which, by an averaging argument, gives
Comparing Equation (9) and Equation (10), we obtain a polynomial-time algorithm that distinguishes yes- and no-instances with a gap of at least . Such a gap can be amplified by repeating the algorithm poly(c) times.
Next, assume that Mild-Gap-MIN -pKT . We will show a result that informally states the following: for every and for appropriate settings of parameters and , we have
Observe the similarity between the above and Equation (8). The precise technical lemma is as follows:
Lemma 3.8. Suppose Mild-Gap-MIN-pKT. Then there exist a polynomial and an integer such that the following holds. For any and any strings and satisfying the following constraints:
•
•
•
•
we have
Proof Sketch. The proof closely follows that of [HLO26, Lemma 74], which establishes a similar result for the measure -pnK. The main difference is that the former assumes the easiness of the non-gap version, whereas here we assume the easiness of the mild-gap version. We provide a proof sketch below.
Let and . Similar to the earlier discussion, the idea is to show both upper and lower bounds for the quantity
Upper Bound
Claim 3.9. There exists a polynomial such that
Proof Sketch of Claim 3.9. Intuitively, the claim states that if there is a program that outputs in time , and a program that outputs given in time , then one can obtain a program that outputs in time . This intuition was shown to hold for -pK in [HLO26]. See the proof of [HLO26, Lemma 72] for details.
Lower Bound
Claim 3.10. There exists a polynomial such that
Proof of Claim 3.10. Let be the direct product generator (Definition 2.14), where
and q is a sufficiently large polynomial specified later.
As in the previous case, we consider two distributions:
We may assume without loss of generality that . Indeed, if , then the claim follows trivially from standard monotonicity properties of -pK (see [HLO26, Lemmas 66 and 67]).
We aim to show that and are indistinguishable, and that with high probability over an element from , its complexity is large. To show the latter, we again use weak symmetry of information. However, the key difference here is that we will be able to use a highly efficient weak symmetry of information for the notion of -pK. More specifically, we have the following: For any , any satisfying , and any string , we have
The proof of this result appears in [HLO26, Lemma 71].
Now, suppose there exists a (randomized) polynomial-time algorithm that solves Mild-Gap -MIN -pKT for some polynomial . Without loss of generality, by applying standard error reduction, we may assume that has error probability at most on every promise instance. Let
and
We get
(by Equation (11) with and )
In fact, for the first inequality, we need the notion to be monotone in , meaning that decreases as increases (see [HLO26, Lemma 66]).
Note that the above implies that, with probability at least over , (with probability at least over its internal randomness) outputs 0 on . This yields
For the sake of contradiction, suppose the procedure can -distinguish and , i.e.,
Then, by the fact that A is a polynomial-time algorithm and by the reconstruction property of (Lemma 2.15; see also [HLO26, Corollary 24]), we would obtain
which contradicts our choice of k, provided that q is chosen to be a sufficiently large polynomial.
In other words, the quantity in Equation (12) is at least . It follows that there exists such that
Moreover, it can also be shown (see [HLO26, Lemma 70]) that, for q a sufficiently large polynomial,
Intuitively, this is because is efficiently computable given y and the seed z.
It follows from Equation (13) and Equation (14) that
where the last inequality uses the monotonicity of in (see [HLO26, Lemma 67]), which roughly states that for any sufficiently large polynomial , we have that for every , and ,
Finally, we can conclude that there exists a polynomial such that
This completes the proof of the lower bound.
◇
Putting It All Together. By combining the upper and lower bounds (Claim 3.9 and Claim 3.10) and rearranging, we obtain
which, by the monotonicity of with respect to , implies the existence of a polynomial such that
as desired.
Proof Sketch of Lemma 3.4. The proof is essentially the same as that of [HLO26, Lemma 75]. We sketch the high-level ideas here and refer the reader to [HLO26] for full details.
Suppose Mild-Gap-MINpKT , which, by Lemma 3.7, implies Mild-Gap-MIN -pKT . Given Lemma 3.8, we can apply a slightly more sophisticated telescoping sum argument than described earlier and show that for every and any that is a large enough polynomial in , there exist that are at most such that
is at most . Again, this can be achieved because the increase in the time bounds between the two quantities is only an additive poly(n) term. As a result, for every x and y, we obtain
Also, as mentioned earlier, admits the language compression property (see [HLO26, Theorem 4]), that is, for every set whose membership can be decided in polynomial time given , there exists polynomial such that
Now let and consider any that is a yes-instance of . Let be the set of -witnesses for . Then Equations (15) and (16) imply that for every ,
As described earlier, this enables an efficient sampling procedure which, given , outputs some element in with non-trivial probability . Repeating this procedure sufficiently many times then yields a witness for with high probability.
3.2 Worst-Case Easiness of Gap-MINpKT from Average-Case Easiness of PH
Lemma 3.11. If DistPH ⊆ AvgBPP, then Gap-MINpKT ∈ prBPP.
To show Lemma 3.11, we need the following.
Lemma 3.12. For every oracle , if , then Gap-MINpKT .
Proof Sketch. The proof is similar to that of [HLO26, Proposition 58], using techniques from worst-case-to-average-case reductions developed by [Hir18].
Proof of Lemma 3.11. Suppose DistPH ⊆ AvgBPP. Then for every oracle , , since . This, by Lemma 3.12, implies that Gap-MINpKT . It follows that Gap-MINpKT .
3.3 Average-Case Easiness of PH from Worst-Case Easiness of Gap-MINpKT
In this subsection, we prove the following which shows the forward direction of Theorem 1.1.
Lemma 3.13. If Gap-MINpKT ∈ prBPP, then DistPH ⊆ AvgBPP.
We begin with some technical tools.
3.3.1 Technical Tools
The following is the main technical lemma for this subsection.
Lemma 3.14. Let , and let be a -complete language. If there exist polynomials and such that , then for every , , and polynomial , there exists a randomized algorithm such that for every and , with probability at least (over the internal randomness of ) both of the following hold.
- runs in time
where the constants hidden in and depend only on , , , , , and .
- if and only if .
The rest of this subsection is devoted to proving Lemma 3.14. For this, we need the following additional tools.
Lemma 3.15 (Symmetry of Information for ; see, e.g., [HKLO24, Lemma 36]). Let be any oracle. If Gap-MINpKT , then there exist polynomials and such that for all sufficiently large and every ,
Proof Sketch. To get the desired symmetry of information property, it suffices have an efficient algorithm that accepts the set of strings with low -complexity while rejecting a large fraction of random strings. Note that such an algorithm follows from Gap-MINpKT for any .
Lemma 3.16. Let be any oracle. If Gap-MINpKT, then there exists a polynomial such that for all and ,
Proof Sketch. The proof can be easily adapted from that of [HLO26, Lemma 56].
We are now ready to prove Lemma 3.14.
Proof of Lemma 3.14. Let and let be a -complete language. Suppose for some polynomials and . The proof is by induction on .
The base case for k = 0 is trivial.
For the induction step, suppose the claimed conclusion holds for , where . Let and let be a corresponding verifier. That is, for , if and only if
where is a polynomial and . Let be a polynomial.
To decide , we aim to find a witness for a given instance, if one exists. Consider a yes-instance of . Let be the lexicographically first witness for , i.e., is the lexicographically smallest string in that satisfies
where . Let be a sufficiently large polynomial specified later. We first observe the following.
Claim 3.17. There exists a polynomial p such that
Proof of Claim 3.17. Note that by Lemma 3.15 and the assumption that Gap-MINpKT is easy, we get symmetry of information for pK . Now let be the polynomial from Lemma 3.16 and let . We have
Let be a sufficiently large polynomial, the above yields
Now note that since given and oracle access to , one can recover the lexicographically first witness for in time . Therefore, we get
The claims follows by choosing p to be a sufficiently large polynomial.
◇
We will generate a set of candidate strings that is guaranteed to include a witness for (specifically, ) if . Given this, it suffices to solve the task of checking whether a given string is a witness for . This is achieved using the language defined as follows.
.
Let be a sufficiently large polynomial specified later. We have the following.
Claim 3.18. There exists a randomized algorithm such that every , and , with probability at least (over the internal randomness of ) both of the following hold.
- runs in time
- if and only if .
Proof of Claim 3.18. This follows directly from our induction hypothesis.
In order to generate a set of “good” candidate witnesses, we will also need the following subroutines.
Claim 3.19. There exists a randomized polynomial-time algorithm Approx-depth such that, for every and , Approx-depth outputs, with probability at least , an integer satisfying
where p is the polynomial defined in Claim 3.17.
Proof of Claim 3.19. Let Approx be a randomized polynomial-time algorithm that satisfies the following: Given , and , Approx( , ) outputs, with probability at least , an integer such that
It is easy to see that such an algorithm Approx can be obtained from the assumption that and using success amplification techniques. (See, e.g., [GKLO22, Lemma 28].)
Let . By running Approx( ), with probability at least , we get an integer such that
Similarly, by running Approx( ), with probability at least , we get some integer such that
Then by a union bound, with probability at least , we have
and
We can then output
It is easy to verify that s satisfies the stated condition in the claim.
◇
Claim 3.20. There exist a randomized polynomial-time algorithm Valid and a constant C such that for every , with probability at least (over the internal randomness of Valid) both of the following hold:
-
If , then .
-
If , then it holds that
Proof of Claim 3.20. Again, let Approx be a randomized polynomial-time algorithm that satisfies the following: Given , and , Approx( , ) outputs an integer such that
with probability at least , where is the polynomial such that .
Let Valid be the following algorithm, where C is a constant to be determined later.
Given , let
and
We accept if and only if .
We argue that the above algorithm satisfies the two conditions stated in the claim. Indeed, by the correctness of Approx and a union bound, we have that, with probability at least , both the following two hold.
and
Now to see that , observe that in this case
where the second inequality uses the facts that is a sufficiently large polynomial and that given oracle access to , one can recover in polynomial time given with a program of length , for some constant .
For the second condition, if , then it implies that
This completes the proof.
We are now ready to describe our algorithm for deciding .
Algorithm 1 An algorithm for deciding
1: procedure 2: . 3: . 4: . 5: 6: for do 7: . 8: for do 9: . 10: if and then 11: if then 12: Output True. 13: Output False.
Correctness. We argue that the algorithm correctly decides . Fix and .
First, we assume that the (randomized) algorithm Approx-depth outputs a correct answer for —that is, it satisfies the condition stated in Claim 3.19. Note that this occurs with probability at least , due to the choice of the second parameter in the invocation of Approx-depth. We also assume that both algorithms, Valid and , succeed (meaning that the conditions in Claim 3.20 and Claim 3.18, respectively, are satisfied) in all of their at most executions. By a union bound and the parameter choices in their invocations, this occurs with probability at least .
Now consider a single execution of the for loop at Line 6 (i.e., Lines 7–12). Suppose . Note that, in this case, by the definition of the language and the fact that correctly decides (Claim 3.18), the condition at Line 11 will not be satisfied for any . Therefore, Line 12 will never be reached in this case.
On the other hand, if , then by Claim 3.17, with probability at least over , the multiset
generated by Line 9, contains , which is the lexicographically first witness for x. To see this, observe that if the algorithm Approx-depth outputs a correct answer s for x, then we have
(by Claim 3.17)
(by Claim 3.19)
Consider the case when . It follows from Claim 3.20 (Item 1) that the condition at Line 10 is satisfied. Also, since is a witness for , by the definition of , we have , and hence, by the fact that decides (Claim 3.18), the condition at Line 11 will be satisfied. Therefore, True will be output in this case.
Since the above process is executed times in the for loop, the probability that it never outputs True when is at most .
To conclude, with probability at least
the algorithm will correctly decide whether .
Running Time. We now analyze the running time of the algorithm. Again, we assume that the (randomized) algorithms Approx-depth, Valid, and succeed in all their executions, which occurs with probability at least .
Consider a single execution of the for loop at Line 6. Define the following sub-multiset of S (where S is defined in Equation (19)):
Now, it is easy to see that a single execution (Lines 7–12) takes time at most
where .
Note that for every , it follows from Claim 3.20 (Item 2) that
Therefore, for every such , we have
Runtime
It follows that the quantity in Equation (20) is at most
(by )
(by Claim 3.19)
(by Lemma 2.12)
where the second last inequality holds by letting . This completes the proof.
3.3.2 Proof of Lemma 3.13
We are now ready to show Lemma 3.13.
Proof of Lemma 3.13. Assume Gap-MINpKT . Let and .
Given Theorem 2.18, it suffices to show how to decide on average over the uniform distribution. The idea is to obtain a heuristic scheme by using the worst-case algorithm from Lemma 3.14 for deciding , along with the fact that is small for a uniformly random . Details follow.
Let be a -complete language, and let be the algorithm from Lemma 3.14 that satisfies the following. Given and , with probability at least , runs in time
and decides whether , where is a polynomial satisfying that for all , .
We now describe a heuristic scheme for solving L over the uniform distribution. Let B be the following algorithm:
On input , where , set cutoff , where is a polynomial specified later. Run for cutoff steps. If it halts, output the returned answer; otherwise output .
We argue the correctness of . By the fact that for every , only errs with probability at most (over the internal randomness of ), we get that
It remains to show that
Note that by construction, it is sufficient to show that with probability at least over , we have
First of all, for every , we have that with probability at least 7/8 (which is greater than 4/5) over its internal randomness, runs in time
Firstly, for every , we have
Secondly, by Lemma 2.11, with probability at least over ,
It follows that with probability at least over , the runtime given by Equation (22) is at most
By letting p be a sufficiently large polynomial, the above is at most cutoff. This completes the proof. ☐
4 The Deterministic Case
Theorem 4.1. The following statements are equivalent:
-
(Exclusion of PH-Heuristica). DistPH ⊆ AvgP ⇒ PH = P.
-
(Meta-Complexity of ). Gap-MINKT Mild-Gap-MINKT .
As in the proof of Theorem 1.1, Theorem 4.1 follows from the following two results.
Theorem 4.2 ([Hir20]). The following holds:
Theorem 4.3. The following holds:
To prove Theorem 4.3, we first establish the following.
Lemma 4.4. If Mild-Gap-MINKT , then NP BPP.
Proof Sketch. The proof is essentially the same as that of Lemma 3.4. It suffices to consider the notion in place of . See also the proof of [HLO26, Theorem 34] for details.
Proof of Theorem 4.3. The forward direction is immediate since Mild-Gap-MINKT lies in PH. Note that PH = P if NP = P.
For the backward direction, first note that Lemma 4.4 implies the following.
Moreover, as mentioned in Section 1.3, [Hir20] shows that if Gap-MINKT , then BPP = P (see [Hir20, Theorem 1.17]). It follows that if Mild-Gap-MINKT , then we have both NP BPP and BPP = P, which together imply NP = P, as desired.
5 Equivalence of Gap and No-Gap Hardness in the Average-Case Setting
In this section, we show that, in the average-case setting (both zero-error and two-sided-error), the hardness of the standard gap version of MINpKT is equivalent to that of its no-gap variant.
5.1 The Zero-Error Case
We first prove the zero-error case.
Theorem 5.1. The following holds:
We will need the following worst-case to average-case reduction result for approximating .
Theorem 5.2 (Following [Hir18, GKLO22]). Let be any oracle. If “Gap-MINpKT”, then Gap-MINpKT.
We are now ready to show Theorem 5.1.
Proof of Theorem 5.1. The reverse implication is immediate. We therefore prove the forward implication. Assume that
By Theorem 5.2, this implies
Then, by Lemma 3.13, we obtain
Consequently, it suffices to establish the following claim.
Claim 5.3. If DistPH ⊆ AvgBPP, then “MINpKT ∈ AvgBPP”.
Proof of Claim 5.3. Assume DistPH ⊆ AvgBPP. Fix an oracle and let be any polynomial-time samplable distribution family. We show that MINpKT is solvable with zero error on average with respect to .
First, we observe that MINpKT . Consider the following protocol on input :
The verifier samples a random string and sends it to the prover. The prover responds with an oracle program . The verifier then simulates for at most steps and accepts iff
If , then there exists a strategy for the prover that causes the verifier to accept with probability at least . Conversely, if , then every prover causes acceptance with probability less than . Standard error reduction yields a promise-AM protocol for MINpKT .
Since promise-AM promise-PH, it follows that MINpKT promise-PH. Hence there exists a PH predicate B that correctly decides MINpKT on the promise inputs.
Now consider the family of distributions , where for each each triple , we sample and output .
By the assumption DistPH AvgBPP, there exists a zero-error heuristic scheme that solves under . It is easy to see that is also a zero-error heuristic scheme for MINpKT .
The theorem follows immediately from the claim.
5.2 The Two-Sided-Error Case
Here we show that the hardness of the standard gap version of MINpKT is equivalent to that of its no-gap variant in the two-sided-error average-case setting.
Theorem 5.4. The following holds:
\text{“Gap-MINpKT}^{\mathrm{PH}}\in\mathrm{HeurBPP}\right.\Longleftrightarrow\text{“MINpKT}^{\mathrm{PH}}\in\mathrm{HeurBPP}We will need the following result.
Theorem 5.5 ([HS22]). The following statements are equivalent.
-
DistPH HeurBPP.
-
There exists a language and a constant such that, for every constant , there exists a pseudorandom generator
satisfying the following conditions:
• G is infinitely often secure against probabilistic polynomial-time algorithms. That is, for every probabilistic polynomial-time algorithm A and every polynomial p, there exist infinitely many n such that
• For all sufficiently large n, is computable in time with oracle access to f.
• G is min-entropy-preserving in the sense that for every and , , i.e., .
We are now ready to prove Theorem 5.4.
This formulation differs slightly from the original statement in [HS22]. More precisely, here we use the same language f for every choice of c. It is not hard to verify that this version of the statement follows from the proofs in that paper.
In fact, the PRG is based on the direct product generator in which the seed is part of the output; in particular, the PRG is seed-extending.
Proof of Theorem 5.4. Since the backward direction is immediate, we proceed to prove the forward direction.
Assume that “Gap-MINpKT ∈ HeurBPP”. We first show that infinitely-often secure PH-computable pseudorandom generators with arbitrary logarithmic stretch do not exist.
Claim 5.6. If Gap-MINpKT ∈ HeurBPP, then Item 2 in Theorem 5.5 is false.
Proof of Claim 5.6. In the following, we always consider the Gap-MINpKT problem with input parameters and , and omit these parameters from the notation.
For the sake of contradiction, suppose that both “Gap-MINpKT ∈ HeurBPP” and Item 2 of Theorem 5.5 hold. Let
• be the language guaranteed by Item 2 of Theorem 5.5;
• be a polynomial such that ;
• be a polynomial specified later, and let
be the pseudorandom generator guaranteed by Item 2 of Theorem 5.5, where
and for all sufficiently large , is computable in time for some constant that is independent of ;
• where each samples from .
Next, starting from an algorithm witnessing the easiness of and applying standard error-reduction techniques, we obtain a probabilistic polynomial-time algorithm such that
where for some absolute constant specified later, and is specified as above.
We will construct from A an efficient algorithm that distinguishes from for every sufficiently large . Fix such an for the remainder of the proof.
First, note that for every , we have . In other words, dominates , and therefore
(by Equation (23))
(24)
We fix the probability threshold b/a to 2/3 and omit these input parameters in the subsequent discussion.
Also, we have for every ,
Hence every such is a YES instance of . It follows that
(by Equation (24))
(25)
On the other hand, by Lemma 2.11, with probability except over ,
where the final inequality holds provided that is chosen to be a sufficiently large polynomial. That is, with probability except over , is a NO instance of . It follows from the correctness of that
Comparing Equations (26) and (25), we obtain a probabilistic polynomial-time algorithm that distinguishes from for every sufficiently large , a contradiction.
It follows from Claim 5.6 and Theorem 5.5 that DistPH HeurBPP. Thus, it suffices to establish the following claim.
Claim 5.7. If DistPH ⊆ HeurBPP, then “MINpKT ∈ HeurBPP”.
Proof of Claim 5.7. The proof is essentially identical to that of Claim 5.3.
◇
The theorem now follows immediately from Claim 5.7 and the preceding discussion.
6 A Relativization Barrier
In this section, we exhibit an oracle world where Gap-MINpKT is easy while Mild-Gap-MINpKT is hard. To make the statement that we aim to prove precise, we first explain the relativization of these computational problems. As usual, this is obtained by providing oracle access to all machines involved in the computation.
Relativization. For a string , a time bound , a parameter , and languages , the -oracle probabilistic -time bounded Kolmogorov complexity of is defined as
where denotes the conditional -time bounded Kolmogorov complexity of with oracle access to both and .
For a function and oracles and , let be the following promise problem: Given , where and , decide whether ("yes" case) or ("no" case).
Let be an oracle. We say that Gap-MINpKT if for every language , there is a polynomial and an oracle probabilistic polynomial-time algorithm that solves when given oracle access to .
Analogously, we consider the collection of problems Mild-Gap-MINpKT, for each . Each problem Mild-Gap-MINpKT is similar to Gap-MINpKT except for that in the no case, we have instead of .
The statement Mild-Gap-MINpKT means that there is a language such that for no constant and polynomial we have Mild-Gap-MINpKT.
Theorem 6.1 (Oracle world where Gap-MINpKT is easy while Mild-Gap-MINpKT is hard).
There is an oracle such that Gap-MINpKT but Mild-Gap-MINpKT .
Recall that, for an oracle , DistPH denotes the set of all distributional problems where and . The proof of Theorem 6.1 relies on the following oracle separation, which is an immediate consequence of [Imp11, HN21].
Theorem 6.2 ([Imp11, HN21]). There is an oracle such that DistPH and PH.
We are now ready to prove Theorem 6.1.
Proof Sketch of Theorem 6.1. Since the argument is straightforward given Theorem 6.2 and the proof of Theorem 1.1, we only provide a sketch here. We consider the oracle provided by Theorem 6.2, and verify that it satisfies the required properties in Theorem 6.1.
- Proof that Gap-MINpKT . By assumption, DistPH . Let . We need to prove that there is a polynomial and an oracle probabilistic polynomial-time algorithm that solves Gap -MINpKT when given oracle access to . We rely on the following lemma.
Lemma 6.3 (Relativized form of Lemma 3.12). For all oracles , if (MINKT , PSAMP) AvgBPP , then Gap -MINpKT for some polynomial .
Assuming Lemma 6.3, we proceed as follows. We apply the lemma with and , which simplifies the assumption to . Since it is not hard to see that , the assumption of Lemma 6.3 holds (using that ). Therefore, it follows that for some polynomial , as desired.
It remains to prove Lemma 6.3. The proof is a simple adaptation of that of [HLO26, Proposition 58] to the relativized setting. Since it requires no new idea, we omit the details.
- Proof that Mild-Gap-MINpKT . Recall that, by construction, PH . Next, we use this separation to argue that Mild-Gap-MINpKT . In more detail, we establish the contrapositive, i.e., if Mild-Gap-MINpKT then PH . Since NP yields PH , it suffices to argue the assumption implies that NP .
To achieve this, it is sufficient to establish the following lemma.
Lemma 6.4 (Relativized form of Lemma 3.4). For every , if Mild-Gap-MINpKT, then NP.
Analogously to the definitions introduced above, the measure and the corresponding meta-computational problem are defined in the natural way, i.e., by considering programs that have oracle access to both and .
It is straightforward to check that the proof of Lemma 3.4 extends to Lemma 6.4. The key point is that all techniques employed in the proof relativize. We omit the details.
References
[BT03] Andrej Bogdanov and Luca Trevisan. On worst-case to average-case reductions for NP problems. In Symposium on Foundations of Computer Science, pages 308–317, 2003.
[BT06] Andrej Bogdanov and Luca Trevisan. Average case complexity. Foundations and Trends in Theoretical Computer Science, 2(1), 2006.
[CHV22] Lijie Chen, Shuichi Hirahara, and Neekon Vafa. Average-case hardness of NP and PH from worst-case fine-grained assumptions. In Innovations in Theoretical Computer Science Conference, pages 45:1–45:16, 2022.
[FF93] Joan Feigenbaum and Lance Fortnow. Random-self-reducibility of complete sets. SIAM Journal on Computing, 22(5):994–1005, 1993.
[GHL 25] Halley Goldberg, Jinqiao Hu, Zhenjian Lu, Jingyi Lyu, and Igor C. Oliveira. Synergies between complexity theory and nondeterministic Kolmogorov complexity. Electron. Colloquium Comput. Complex., TR25-215, 2025.
[GK22] Halley Goldberg and Valentine Kabanets. A simpler proof of the worst case to average case reduction for polynomial hierarchy via symmetry of information. Electron. Colloquium Comput. Complex., TR22-007, 2022.
[GKLO22] Halley Goldberg, Valentine Kabanets, Zhenjian Lu, and Igor C. Oliveira. Probabilistic Kolmogorov complexity with applications to average case complexity. In Computational Complexity Conference, pages 16:1–16:60, 2022.
[GSTS07] Dan Gutfreund, Ronen Shaltiel, and Amnon Ta-Shma. If NP languages are hard on the worst-case, then it is easy to find their hard instances. Computational Complexity, 16(4):412–441, 2007.
[HILL99] Johan Håstad, Russell Impagliazzo, Leonid A. Levin, and Michael Luby. A pseudorandom generator from any one-way function. SIAM J. Comput., 28(4):1364–1396, 1999.
[Hir18] Shuichi Hirahara. Non black box worst case to average case reductions within NP. In Symposium on Foundations of Computer Science, pages 247–258, 2018.
[Hir20] Shuichi Hirahara. Characterizing average case complexity of PH by worst case meta complexity. In Symposium on Foundations of Computer Science, pages 50–60, 2020.
[Hir21] Shuichi Hirahara. Average case hardness of NP from exponential worst case hardness assumptions. In Symposium on Theory of Computing, pages 292–302, 2021.
[Hir22a] Shuichi Hirahara. Meta-computational average-case complexity: A new paradigm toward excluding Heuristica. Bull. EATCS, 136, 2022.
[Hir22b] Shuichi Hirahara. NP-hardness of learning programs and partial MCSP. In Symposium on Foundations of Computer Science, pages 968–979, 2022.
[Hir22c] Shuichi Hirahara. Symmetry of information from meta-complexity. In Computational Complexity Conference, pages 26:1–26:41, 2022.
[HKLO24] Shuichi Hirahara, Valentine Kabanets, Zhenjian Lu, and Igor C. Oliveira. Exact search to decision reductions for time bounded Kolmogorov complexity. In Computational Complexity Conference, pages 29:1–29:56, 2024.
[HLO26] Jinqiao Hu, Zhenjian Lu, and Igor C. Oliveira. Hardness of computing nondeterministic Kolmogorov complexity. In Computational Complexity Conference, 2026.
[HLR23] Shuichi Hirahara, Zhenjian Lu, and Hanlin Ren. Bounded relativization. In Computational Complexity Conference, pages 6:1–6:45, 2023.
[HN21] Shuichi Hirahara and Mikito Nanashima. On worst-case learning in relativized Heuristica. In Symposium on Foundations of Computer Science, pages 751–758, 2021.
[HS22] Shuichi Hirahara and Rahul Santhanam. Excluding PH pessiland. In Innovations in Theoretical Computer Science Conference, pages 85:1–85:25, 2022.
[IL90] Russell Impagliazzo and Leonid A. Levin. No better ways to generate hard NP instances than picking uniformly at random. In Symposium on Foundations of Computer Science, pages 812–821, 1990.
[Ila23] Rahul Ilango. SAT reduces to the minimum circuit size problem with a random oracle. In Symposium on Foundations of Computer Science, pages 733–742, 2023.
[Imp95] Russell Impagliazzo. A personal view of average case complexity. In Proceedings of the Tenth Annual Structure in Complexity Theory Conference, pages 134–147, 1995.
[Imp11] Russell Impagliazzo. Relativized separations of worst-case and average-case complexities for NP. In Conference on Computational Complexity, pages 104–114, 2011.
[IRS22] Rahul Ilango, Hanlin Ren, and Rahul Santhanam. Robustness of average-case meta-complexity via pseudorandomness. In Symposium on Theory of Computing, pages 1575–1583, 2022.
[Lev86] Leonid A. Levin. Average case complete problems. SIAM Journal on Computing, 15(1):285–286, 1986.
[LO22] Zhenjian Lu and Igor C. Oliveira. Theory and applications of probabilistic Kolmogorov complexity. Bull. EATCS, 137, 2022.
[LOZ22] Zhenjian Lu, Igor C. Oliveira, and Marius Zimand. Optimal coding theorems in time bounded Kolmogorov complexity. In International Colloquium on Automata, Languages, and Programming, pages 92:1–92:14, 2022.
[LP23] Yanyi Liu and Rafael Pass. One-way functions and the hardness of (probabilistic) time-bounded Kolmogorov complexity w.r.t. samplable distributions. In Annual Cryptology Conference, pages 645–673, 2023.
[LP26] Yanyi Liu and Rafael Pass. One-way functions and boundary hardness of randomized time-bounded Kolmogorov complexity. In Innovations in Theoretical Computer Science, 2026.
[LV19] Ming Li and Paul M. B. Vitanyi. An Introduction to Kolmogorov Complexity and Its Applications. Springer, 4 edition, 2019.
[RS22] Hanlin Ren and Rahul Santhanam. A relativization perspective on meta-complexity. In International Symposium on Theoretical Aspects of Computer Science, pages 54:1–54:13, 2022.
[Sim23] Meta-Complexity. Research Program at the Simons Institute for the Theory of Computing, UC Berkeley, Spring 2023. https://simons.berkeley.edu/programs/Meta-Complexity2023.