Random Permutations in Computational Complexity
Abstract
Classical results of Bennett and Gill (1981) show that with probability 1, relative to a random oracle , and with probability 1, relative to a random permutation . Whether holds relative to a random oracle remains open. While the random oracle separation has been extended to specific individually random oraclesโsuch as Martin-Lรถf random or resource-bounded random oraclesโno analogous result is known for individually random permutations.
We introduce a new resource-bounded measure framework for analyzing individually random permutations. We define permutation martingales and permutation betting games that characterize measure-zero sets in the space of permutations, enabling formal definitions of polynomial-time random permutations, polynomial-time betting-game random permutations, and polynomial-space random permutations.
Our main result shows that for every polynomial-time betting-game random permutation . This is the first separation result relative to individually random permutations, rather than an almost-everywhere separation. We also strengthen a quantum separation of Bennett, Bernstein, Brassard, and Vazirani (1997) by showing that for every polynomial-space random permutation .
We investigate the relationship between random permutations and random oracles. We prove that random oracles are polynomial-time reducible from random permutations. The converseโwhether every random permutation is reducible from a random oracleโremains open. We show that if is not a measurable subset of , then holds with probability 1 relative to a random oracle . Conversely, establishing this random oracle separation with time-bounded measure would imply is a measure 0 subset of .
Our framework builds a foundation for studying permutation-based complexity using resource-bounded measure, in direct analogy to classical work on random oracles. It raises natural questions about the power and limitations of random permutations, their relationship to random oracles, and whether individual randomness can yield new class separations.
Keywords and phrases:
resource-bounded measure, martingales, betting games, random permutations, random oraclesFunding:
John M. Hitchcock: This research was supported in part by NSF grant 2431657.Copyright and License:
2012 ACM Subject Classification:
Theory of computation Complexity classes ; Theory of computation Computational complexity and cryptography ; Theory of computation Quantum complexity theoryAcknowledgements:
We thank Morgan Sinclaire and Saint Wesonga for helpful discussions.Editors:
Paweล Gawrychowski, Filip Mazowiecki, and Michaล SkrzypczakSeries and Publisher:
Leibniz International Proceedings in Informatics, Schloss Dagstuhl โ Leibniz-Zentrum fรผr Informatik
1 Introduction
The seminal work of Bennett and Gill [4] established two foundational separations in computational complexity theory:
-
1.
relative to a random oracle with probability 1.
-
2.
relative to a random permutation with probability 1.
Subsequent research extended the first separation to hold for specific, individually random oracles, including algorithmically (Martin-Lรถf) random oracles [5], polynomial-space-bounded random oracles [16], and polynomial-time betting-game random oracles [12]. However, the second separation has not yet been strengthened in an analogous way. Whether holds relative to a random oracle remains an open question.
In this paper, we develop a novel framework for resource-bounded permutation measure and randomness, introducing permutation martingales and permutation betting games. These concepts generalize classical martingales and betting games to the space of all length-preserving permutations where for all .
1.1 Background
Bennett and Gill [4] initiated the study of random oracles in computational complexity, proving that for a random oracle with probability 1. Subsequent work extended this to individual random oracles. Book, Lutz, and Wagner [5] showed that for every oracle that is algorithmically random in the sense of Martin-Lรถf [17]. Lutz and Schmidt [16] improved this further to show for every oracle that is pspace-random in the sense of resource-bounded measure [14]. Hitchcock, Sekoni, and Shafei [12] extended this result to polynomial-time betting-game random oracles [6].
The complexity class is particularly significant because it comprises problems that have both efficiently verifiable proofs of membership and non-membership. This class includes important problems such as integer factorization and discrete logarithm, which are widely believed to be outside but are not known to be -complete. These problems play a central role in cryptography, as the security of widely-used cryptosystems relies on their presumed intractability [22, 7]. Furthermore, under derandomization hypotheses, has been shown to contain problems such as graph isomorphism [13], further underscoring its importance in complexity theory. Thus, understanding the relationship between and relative to different notions of randomness could shed light on the structure of these classes and the limits of efficient computation.
1.2 Our Approach: Permutation Martingales and Permutation Measure
In this work, we develop a novel framework for resource-bounded permutation measure and randomness. We introduce permutation martingales and permutation betting games, extending classical notions of random permutations. Our theory captures essential properties of random permutations while enabling complexity separations. We prove that random oracles can be computed in polynomial time from a random permutation; however, the converse remains unresolved.
First, we recall the basics of resource-bounded measure. A martingale in Cantor space may be viewed as betting on the membership of strings in a language. The standard enumeration of is . In the stage of the game, the martingale has seen the membership of the first strings and bets on the membership of in the language. The martingaleโs value is updated based on the outcome of the bet. Formally, a classical martingale is a function satisfying the fairness condition
for all strings . Intuitively, represents the capital that a gambler has after betting on the sequence of bits in according to a particular strategy. The fairness condition ensures that the expected capital after the next bit is equal to the current capital. A martingale succeeds on a language if , where is the length- prefix of โs characteristic sequence. The success set of is , the set of all sequences that succeeds on. Ville [25] proved that a set has Lebesgue measure zero if and only if there is a martingale that succeeds on all elements of . Lutz [14] defined resource-bounded measure by imposing computability and complexity constraints on the martingales in Villeโs theorem.
We take a similar approach in developing resource-bounded permutation measure. Unlike a classical martingale betting on the bits of a languageโs characteristic sequence, a permutation martingale bets on the function values of a permutation . Instead of seeing the characteristic string of a language, a permutation martingale sees a list of permutation function values. More precisely, after rounds of betting, a permutation martingale has seen a prefix partial permutation
where for all . The permutation martingale will bet on the next function value . The current betting length is , the length of the next string in the standard enumeration. The set of free strings available for the next function value is
For any prefix partial permutation , a permutation martingale outputs a value for each . The values satisfy the averaging condition
Here denotes appending the string as the next function value in prefix partial permutation .
Prefix partial permutations may be used as cylinders to define a measure in that is equivalent to the natural product probability measure. We detail this in Section 3. Briefly, a class has measure 0 if for every , there exists a sequence of cylinders that has total measure at most and covers . This is difficult to work with computationally as the covers may be large and require exponential time to enumerate.
We prove an analogue of Villeโs theorem [25], showing that permutation martingales characterize measure 0 sets in the permutation space : a class has measure 0 if and only if there a permutation martingale with . This permutation martingale characterization allows us to impose computability and complexity constraints in the same way Lutz did for resource-bounded measure in Cantor spaceย [14]. In the following, let be a resource bound such as , , , or (see Section 3.5 for more details).
Definition 1.1.
Let be a resource bound. A class of permutations has -measure 0 if there is a -computable permutation martingale that succeeds on .
Betting games [6, 18] are a generalization of martingales that are allowed to bet on strings in an adaptive order rather than the standard order. We analogously introduce permutation betting games as a generalization of both permutation martingales and classical betting games by allowing the betting strategy to adaptively choose the order in which it bets on the permutationโs values. We use these betting games to define resource-bounded permutation betting-game measure.
Definition 1.2.
Let be a resource bound. A class of permutations has -betting game measure 0 if there is a -computable permutation betting game that succeeds on .
We also define individually random permutations.
Definition 1.3.
Let be a permutation and let be a resource bound.
-
1.
is -random if no -permutation martingale succeeds on .
-
2.
is -betting game random if no -permutation betting game succeeds on .
1.3 Our Results
Our main result strengthens the BennettโGill permutation separation by proving that relative to every polynomial-time betting-game random permutation . Formally, Theorem 5.1 establishes that
for every -betting-game random permutation . In fact, we obtain even stronger separations in terms of bi-immunity [8, 2], a notion formalizing the absence of infinite, easily-decidable subsets (see Section 5 for more details). We show that for a -betting-game random permutation , the class contains languages that are bi-immune to for all , where denotes nondeterministic linear time. Moreover, relative to a -betting-game random permutation, we derive that contains languages that are bi-immune to for every .
Bennett et al. [3] showed that relative to a random permutation with probability 1. We apply our resource-bounded permutation measure framework to improve this to individual space-bounded random oracles. Specifically, we show that relative to a -random permutation ,
This illustrates the power of our framework for analyzing the interplay between randomness, classical complexity, and quantum complexity.
1.4 Random Oracles and Measure 0-1 Laws in
Tardos [23] proved that if , then with probability 1 for a random oracle . This is proved using complexity classes. For a relativizable complexity class , its class consists of all languages that are in the class with probability 1 relative to a random oracle: We have [4] and [20]. The condition implies that there exist problems in that are not in . Since the intersection of measure 1 classes is measure 1, this implies relative to a random oracle with probability 1. Recent work of Ghosal et al. [9] shows that if , then with probability 1 for a random oracle . In Section 7 we pivot from permutation randomness to classical random oracles and show that resolving the long-standing question โdoes with probability 1?โ is tightly linked to quantitative structure inside . Leveraging the conditional oracle separations of Tardos [23] and of Ghosal et al. [9], we prove that if holds almost surely, then several familiar subclasses of obey strong 0-1 laws: specifically, either , , (and, in a weaker form, vs. ) each has -measure 0 or else fills all of . Consequently, non-measurability of any one of these classes immediately forces with probability 1. We further show that placing the same oracle separation in measure would collapse BPP below EXP, thereby framing the random-oracle problem in terms of concrete measure-theoretic thresholds inside exponential time.
1.5 Organization
This paper is organized as follows: Section 2 contains preliminaries. Section 3 develops permutation martingales, resource-bounded permutation measure, and random permutations. Elementary properties of -random permutations are presented in Section 4. In Section 5, we prove our main results on random permutations for vs. . Section 6 contains our results on versus quantum computation relative to a random permutation. In Section 7 we present our results on random oracles and 0-1 laws. We conclude in Section 8 with some open questions.
2 Preliminaries
The binary alphabet is , the set of all binary strings is , the set of all binary strings of length is , and the set of all infinite binary sequences is . The empty string is denoted by . We use the standard enumeration of strings, . The characteristic sequence of a language is the sequence , where . We refer to as the characteristic bit of in . A language can alternatively be seen as a subset of , or as an element of via identification with its characteristic sequence . Given strings we denote by the set of all strings such that . For any string and natural number , is the string ; e.g. . Similarly we denote by the substring of the characteristic sequence that corresponds to the characteristic bits of the strings in . We use parentheses for intervals that do not include the endpoints. We write for the length prefix of . A statement holds infinitely often (written i.o.) if it holds for infinitely many , and it holds almost everywhere (written a.e.) if it holds for all but finitely many .
3 Permutation Martingales and Permutation Measure
3.1 Permutation Measure Space
Resource-bounded measure is typically defined in the Cantor Space of all infinite binary sequences. For measure in , we use the open balls or cylinders that have measure for each . Let be the -algebra generated by . Resource-bounded measure and algorithmic randomness typically work in the probability space .
We only consider permutations in , the set of permutations on that preserve string lengths. Given a permutation , we denote by the permutation restricted to i.e., is a permutation on . Similarly, denotes the set of permutations in restricted to . Bennett and Gill [4] considered random permutations by placing the uniform measure on each and taking the product measure to get a measure on . We now define this measure space more formally so we may place martingales on it.
Standard resource-bounded measure identifies a language with its infinite binary characteristic sequence . For permutations, we analogously use the value sequence consisting of all function values.
Definition 3.1.
The value sequence of a permutation is the sequence
of function values where is the standard enumeration of .
We identify a permutation with its value sequence . Initial segments of permutations are called prefix partial permutations.
Definition 3.2.
A prefix partial permutation is a list of function values for some where no value is repeated and for all . We let denote the class of all prefix partial permutations.
We write each as a list . The length of is , the number of function values assigned, and is denoted . We use to denote the empty list, the list of length 0. We write for the length prefix partial permutation of .
Definition 3.3.
For each , the cylinder of all permutations in that extend is
For measure in , we are taking the uniform distribution on the set of all of length-preserving permutations for all . Our basic open sets are . Suppose has for some . Then, following Bennett and Gill [4], the measure
is easy to define because the distribution is uniform over the permutations at each length. If , let and then
where denotes the number of -permutations on elements. For convenience, we commonly write
Let be the -algebra generated by the collection of all where By Carathรฉodoryโs extension theorem, extends uniquely to , yielding the probability space We will work in this probability space. Because is outer regular, we have the typical open cover characterization of measure zero:
Theorem 3.4.
A class has measure 0 if and only if for every , there is an open covering such that
3.2 Permutation Martingales
In resource-bounded measure in Cantor Space, a martingale is a function such that for all , we have the following averaging condition:
A martingale in Cantor space may be viewed as betting on the membership of strings in a language. The standard enumeration of is . In the stage of the game, the martingale has seen the membership of the first strings and bets on the membership of in the language. The martingaleโs value is updated based on the outcome of the bet. For further background on resource-bounded measure, we refer to [14, 15, 1, 6, 10].
A permutation martingale operates similarly, but instead of betting on the membership of a string in a language it bets on the next function value of the permutation. Instead of seeing the characteristic string of a language, a permutation martingale sees a prefix partial permutation, which is a list of permutation function values satisfying for all . The permutation martingale will bet on the next function value . The current betting length is the length of the next string in the standard enumeration: The set of free strings available for the next function value is
For example, , , and .
We now introduce our main conceptual contribution, permutation martingales.
Definition 3.5.
A permutation martingale is a function such that for every prefix partial permutation ,
where is the result of appending to .
Success is defined for permutation martingales analogously to success for classical martingales.
Definition 3.6.
Let be a permutation martingale. We say succeeds on if
The success set of is
and the unitary success set of is the set
We establish the analogue of Villeโs theorem [25] for measure in and permutation martingales:
Theorem 3.7.
The following statements are equivalent for every :
-
1.
has measure 0.
-
2.
For every , there is a permutation martingale with and .
-
3.
There is a permutation martingale with .
3.3 A Permutation Martingale Example
We construct a permutation martingale that succeeds on any length-preserving permutation whose restriction to lengthย is a cycle permutation for all but finitely many . We partition the initial capital into infinitely many shares . For each , the share is used to bet on the event that, for all , the length- restriction of the permutation is a cycle permutation.
The betting strategy is simple: when moving from length to , the martingale wagers all relevant capital on the image of the -bit string . In the final step of forming a cycle of length , there are exactly two choices for the image of . One choice yields a cycle of length ; the other does not. Since it is a binary choice, the martingale places its entire stake (for all ) on the cycle outcome, thereby doubling its capital whenever the cycle is formed.
Hence, on any permutation whose restriction to lengthย is a cycle permutation for all but finitely many , infinitely many of these bets succeed. Consequently, each of those corresponding shares grows without bound, and so the overall martingale succeeds on all such permutations.
3.4 Permutation Martingales as Random Variables
Hitchcock and Lutz [11] showed how the martingales used in computational complexity are a special case of martingales used in probability theory. We explain how this extends to permutation martingales. Given a martingale , Hitchcock and Lutz define the random variable by for each . Let be the -algebra generated by the cylinders of length . Then the sequence is a martingale in the probability theory sense with respect to the filtration : for all ,
Similarly, given a permutation martingale , for each we can define the random variable by for each . Let
be the -algebra generated by the cylinders in of length . Then is a martingale in the probability theory sense with respect to the filtration : for all ,
3.5 Resource-Bounded Permutation Measure
We follow the standard notion of computability for real-valued functions [14] to define resource-bounded permutation martingales.
Definition 3.8.
Let be a permutation martingale.
-
1.
is computable in time if there is an exactly computable such that for all and , and is computable in time .
-
2.
is computable in space if there is an exactly computable such that for alll and , and is computable in space .
-
3.
If is computable in polynomial time, then is a -permutation martingale.
-
4.
If is computable in quasipolynomial time, then is a -permutation martingale.
-
5.
If is computable in polynomial space, then is a -permutation martingale.
-
6.
If is computable in quasipolynomial space, then is a -permutation martingale.
We are now ready to define resource-bounded permutation measure.
Definition 3.9.
Let . Let and be the complement of within .
-
1.
has -measure 0, written , if there is a -computable permutation martingale with .
-
2.
has -measure 1, written , if
Definition 3.10.
Let . A permutation is -random if is not contained in any -measure 0 set.
Equivalently, is -random if no -martingale succeeds on .
3.6 Permutation Betting Games
Originated in the field of algorithmic information theory, betting games are a generalization of martingales [19, 18], which were introduced to computational complexity by Buhrman et al.ย [6]. Similar to martingales, betting games can be thought of as strategies for betting on a binary sequence, except that with betting games we have the additional capability of selecting which position in a sequence to bet on next. In other words, a betting game is permitted to select strings in a nonmonotone order, with the important restriction that it may not bet on the same string more than once (see Buhrman et al. [6] for more details).
A permutation betting game is a generalization of a permutation martingale, implemented by an oracle Turing machine, where it is allowed to select strings in nonmonotone order. Prefixes of permutation betting games can be represented as ordered partial permutations defined below.
Definition 3.11.
An ordered partial permutation is a list of pairs of strings for some where for all , and , and for all . We let denote the class of all ordered partial permutations.
For a permutation betting game, the averaging condition takes into consideration the length of the next string to be queried as follows. Let be the list of queried strings paired with their images, and be the next string the betting game will query. Define free to be the set of length- strings that are available for the next function value, i.e., length- strings that are not the function value of any of the queried strings. Then the following averaging condition over free strings of length must hold for the permutation betting game
where is the list appended with the pair .
Definition 3.12.
A betting game is a -time betting game if for all , all strings of length have been queried by time .
We define betting game measure 0 and betting game randomness analogously.
Definition 3.13.
Let .
-
1.
A class has -betting-game measure 0 if there is a -computable permutation betting game with .
-
2.
A permutation is -betting game random if no -betting game succeeds on .
3.7 Measure Conservation
Lutzโs Measure Conservation Theorem implies that resource-bounded measure gives nontrivial notions of measure within exponential-time complexity classes: and . Let be the class of length-preserving permutations that can be computed in time and be the class of length-preserving permutations that can be computed in time. We show that our notions of permutation measure have conservation theorems within these classes of exponential-time computable permutations.
Lemma 3.14.
For any -time permutation martingale , we can construct a permutation in time that is not covered by .
The following theorem follows from Lemma 3.14.
Theorem 3.15.
-
1.
does not have -permutation measure 0.
-
2.
does not have -permutation measure 0.
Proving similar results for betting games turns out to be more challenging, given that they are allowed to bet on strings in an adaptive order. To address this, we define the following class of honest betting games.
Definition 3.16.
A -honest -permutation betting game is a -time permutation betting game such that for all languages , for all , all non-zero bets by time are for strings of length at most .
We use this definition in the following Lemma:
Lemma 3.17.
For any -honest -permutation betting game , we can construct a permutation in time that is not covered by .
Theorem 3.18.
-
1.
does not have -honest -permutation betting game measure 0.
-
2.
does not have -honest -permutation betting game measure 0.
Since -permutation martingales can simulate -honest -betting-games, and -permutation martingales can simulate -honest -betting-games, we have the following:
Proposition 3.19.
Let be a permutation.
-
1.
If is a -random permutation, then is -honest -betting game random.
-
2.
If is a -random permutation, then is -honest -betting game random.
4 Elementary Properties of Random Permutations
In this section, we explore fundamental properties of random permutations that provide insights into how permutation martingales and betting games operate. Understanding these properties is crucial for applying permutation randomness in computational complexity. We show that random permutations are computationally difficult to compute and to invert. We then investigate the relationship between random permutations and random oracles, showing how random permutations can generate random oracles.
4.1 Intractability of Random Permutations
Definition 4.1.
A permutation is noticeably polynomial time if there are polynomials and such that for infinitely many , computes on at least strings of length in time for each string.
Theorem 4.2.
The set has -permutation measure 0.
The proof uses a simple averaging argument: we partition the set of length- strings into subintervals, each of size . By the noticeably-polynomial-time property of the permutations in , at least one subinterval contains superpolynomially many strings whose images are computable. The martingale then identifies a sufficiently small subset of these strings and makes correct predictions often enough to succeed.
Corollary 4.3.
If is -random, then any polynomial-time will be able to compute on at most a fraction for all sufficiently large .
Similarly, we can show that random permutations are hard to invert on a noticeable subset infinitely often. The main difference is that we search for TMs inverting the permutation rather than TMs that compute the permutation.
Definition 4.4.
A permutation is noticeably invertible if there is a polynomial-time and a polynomial such that for infinitely many ,
Theorem 4.5.
The set has -permutation measure 0.
4.2 Random Permutations versus Random Oracles
Bennett and Gill used random permutations, rather than random languages, to separate from . It is still unknown whether random oracles separate from . In this section, we examine how random permutations yield random languages. We show that a -random permutation can be used to generate a -random language. All of the results in this section are stated for -randomness. They also hold for -randomness.
Given a permutation , we define the language
For a set of permutations , we define the set of languages
Lemma 4.6.
For any set of permutations , if a -computable martingale succeeds on the set of languages , then there is a -computable permutation martingale that succeeds on .
Corollary 4.7.
If is a -random permutation, then is a -random language.
We now extend the previous lemma to honest -permutation betting games. By Lemma 3.17, honest -permutation betting games do not cover and honest -permutation betting games do not cover .
Lemma 4.8.
For any set of permutations , if an honest -betting game succeeds on the set of languages , then there is an honest -permutation betting game that succeeds on .
Definition 4.9.
Give a language , we define to be set of permutations
Given a set of languages , we define as the set of permutations
Lemma 4.10.
For any set of languages , if a -computable permutation martingale succeeds on the set of permutations , then there is a -computable martingale that succeeds on .
Corollary 4.11.
If is a -betting game random permutation, then is a -betting game random language.
5 Random Permutations for
Bennett and Gill [4] studied the power of random oracles in separating complexity classes. In particular, they showed that relative to a random oracle with probability 1. However, they were not able to separate from relative to a random oracle. They also made the observation that if for a random oracle , then must include seemingly computationally hard problems such as factorization. They also proved that any non-oracle-dependent language that belongs to with probability 1, also belongs to . As a result, if for a random oracle with probability 1, then these difficult problems in would be solvable in probabilistic polynomial time (). To achieve a separation between and , they considered length-preserving permutations on and showed that for every random permutationย .
Using resource-bounded permutation betting games on the set of all length preserving permutations of , we strengthen the Bennett-Gill permutation separation, proving that for any -betting-game random permutations . More generally, we show that the set of permutations such that, is not -bi-immune has -permutation-betting-game measure 0. Recall that a language is bi-immune to a complexity class if no infinite subset of or its complement is decidable in [8, 2].
The following is our main theorem where its first part states that relative to a -betting-game random permutation , there is a language in such that no infinite subset of or its complement is -decidable.
Theorem 5.1.
-
1.
If is a -betting-game random permutation, then contains a -bi-immune language for all .
-
2.
If is a -betting-game random permutation, then contains a -bi-immune language for all .
Our headline result is a corollary of Theorem 5.1.
Corollary 5.2.
If is a -betting-game random permutation, then .
To prove Theorem 5.1, we first define the following test languages. For each , define the โhalf rangeโ test languages
and
A string belongs to if the preimage of ( copies of ) in begins with 0. If does not belong to , then the preimage of begins with 1. In either case, the preimage serves as a witness for . The language is similar, but we are looking for a preimage in of ( copies of ). It follows that
and
for all .
The following lemma implies Theorem 5.1.
Lemma 5.3.
Let .
-
1.
The set has -honest -permutation-betting-game measure 0.
-
2.
The set has -honest -permutation-betting-game measure 0.
By symmetry of and , Lemma 5.3 also applies to the complement of and . Therefore, both languages are bi-immune and Theorem 5.1 follows.
Combining Lemma 5.3 with Proposition 3.19 also gives the following corollary. In the next section we will prove more results about -random permutations.
Corollary 5.4.
-
1.
If is a -random permutation, then contains a -bi-immune language for all .
-
2.
If is a -random permutation, then contains a -bi-immune language for all .
6 Random Permutations for versus Quantum Computation
Bennett, Bernstein, Brassard, and Vazirani [3] showed that relative to a random permutation with probability 1. In this section we investigate how much of their result holds relative to individual random oracles at the space-bounded level.
We begin with a general lemma about test languages and s. We write for all prefix partial permutations defined on strings in . For a string in the standard enumeration, we write for the length prefix of . In other words, .
Lemma 6.1.
Let be a permutation with an associated test language and let and be polynomials. If for some oracle and some function the following conditions hold, then is not a -random permutation.
-
1.
The membership of in depends on the membership of the strings of length at most .
-
2.
decides with error probability , for some constant , and queries only strings of length at most .
-
3.
For any partial prefix permutation , the conditional probability
is computable in space.
-
4.
For some constant and for all but finitely many ,
In the following Theorem, we use Lemma 6.1 to extend the result by Bennett, Bernstein, Brassard, and Vazirani [3] to -random permutations.
Theorem 6.2.
If is a -random permutation, then is not contained in .
We now refine the previous result by considering more restricted quantum machines that only query strings of length. This restriction allows us to extend the result to machines with running time , analogous to the result of Bennett et al. [3]. Whether this extension holds without the restriction on query length remains an open problem.
Theorem 6.3.
If is a -random permutation and , then is not contained .
Together, these theorems extend the classical separation of Bennett et al. [3] to individual -random permutations, both in the general and the honest-query setting.
7 Random Oracles for and 0-1 Laws for Measure in
Tardos [23] used the characterizations
and
to prove the following conditional theorem separating from relative to a random oracle.
Theorem 7.1 (Tardos [23]).
If , then for a random oracle with probability 1.
Recently, Ghosal et al. [9] used non-interactive zero-knowledge (NIZK) proofs to prove a similar conditional theorem.
Theorem 7.2 (Ghosal et al. [9]).
If , then for a random oracle with probability 1.
In this section we use Theorems 7.1 andย 7.2 to connect the open problem of versus relative to a random oracle to open questions about the resource-bounded measure of complexity classes within . In particular, we relate the problem to measure 0-1 laws and measurability in . First, we need the following derandomization lemma. The first two parts follow from previous work, while the third part of the lemma is a new observation as far as we know, though its proof uses the techniques from the proofs of the first two parts.
Lemma 7.3.
-
1.
If , then .
-
2.
If , then .
-
3.
If , then .
In the following theorem, we have three hypotheses where a complexity class is assumed to be not equal to and the -measure of a subclass of is concluded to be 0.
Theorem 7.4.
Suppose that for a random oracle with probability 1. Then all of the following hold:
-
1.
-
2.
-
3.
Theorem 7.4 has the following corollary about measure 0-1 laws in . We recall the definitions if and if [14].
Corollary 7.5.
Suppose that for a random oracle with probability 1. Then all of the following hold:
-
1.
-
2.
-
3.
or
In the third case of Corollary 7.5, we almost have a 0-1 law for . Can a full 0-1 law be obtained?
The contrapositives of the implications in Corollary 7.5 show that the random oracle question for versus is resolved under nonmeasurability hypotheses. A complexity class is defined to be not measurable in if and [15, 21].
Corollary 7.6.
-
1.
If is not measurable in , then for a random oracle with probability 1.
-
2.
If is not measurable in , then for a random oracle with probability 1.
-
3.
If and are both not measurable in , then for a random oracle with probability 1.
On the other hand, if the consequence of Corollary 7.6 can be proved with measure in , then we would have , which implies by the 0-1 law for [24].
Theorem 7.7.
If has measure 0 in , then .
These results suggest that resolving whether relative to a random oracle requires a deeper understanding of the resource-bounded measurability within of fundamental subclasses such as , , , and .
8 Conclusion
We have introduced resource-bounded random permutations and shown that for all -betting-game random permutations. We remark that all of the results in Sections 5 andย 6 about and hold for their unambiguous versions and , respectively. An interesting open problem is whether our main theorem can be improved from betting-game random permutations to random permutations.
Question 8.1.
Does for a -random permutation ?
More generally, the relative power of permutation martingales versus betting games should be investigated.
Question 8.2.
Are polynomial-time permutation martingales and permutation betting games equivalent?
We proved two restricted versions of the Bennett et al. [3] random permutation separation. Does the full version hold relative to individual random permutations?
Question 8.3.
If is a -random permutation and , is not contained in ?
References
- [1] K.ย Ambos-Spies and E.ย Mayordomo. Resource-bounded measure and randomness. In A.ย Sorbi, editor, Complexity, Logic and Recursion Theory, Lecture Notes in Pure and Applied Mathematics, pages 1โ47. Marcel Dekker, New York, N.Y., 1997. doi:10.1201/9780429187490-1.
- [2] J.ย L. Balcรกzar and U.ย Schรถning. Bi-immune sets for complexity classes. Mathematical Systems Theory, 18:1โ10, 1985. doi:10.1007/bf01699457.
- [3] C.ย H. Bennett, E.ย Bernstein, G.ย Brassard, and U.ย V. Vazirani. Strengths and weaknesses of quantum computing. SIAM Journal on Computing, 26(5):1510โ1523, 1997. doi:10.1137/s0097539796300933.
- [4] C.ย H. Bennett and J.ย Gill. Relative to a random oracle , with probability 1. SIAM Journal on Computing, 10:96โ113, 1981. doi:10.1137/0210008.
- [5] R.ย V. Book, J.ย H. Lutz, and K.ย W. Wagner. An observation on probability versus randomness with applications to complexity classes. Mathematical Systems Theory, 27:201โ209, 1994. doi:10.1007/bf01578842.
- [6] H.ย Buhrman, D.ย van Melkebeek, K.ย W. Regan, D.ย Sivakumar, and M.ย Strauss. A generalization of resource-bounded measure, with application to the BPP vs. EXP problem. SIAM Journal on Computing, 30(2):576โ601, 2001. doi:10.1137/S0097539798343891.
- [7] W.ย Diffie and M.ย Hellman. New directions in cryptography. IEEE Transactions on Information Theory, 22(6):644โ654, 1976. doi:10.1109/TIT.1976.1055638.
- [8] P.ย Flajolet and J.ย Steyaert. On sets having only hard subsets. In Proc. 2nd Colloq. on Automata, Languages, and Programming, Lecture Notes in Computer Science, volumeย 14, pages 446โ457. Springer-Verlag, Berlin, 1974. doi:10.1007/978-3-662-21545-6_34.
- [9] Riddhi Ghosal, Yuval Ishai, Alexis Korb, Eyal Kushilevitz, Paul Lou, and Amit Sahai. Hard languages in and NIZK proofs from unstructured hardness. In Proceedings of the 55th Annual ACM Symposium on Theory of Computing, STOC 2023, pages 1243โ1256, New York, NY, USA, 2023. Association for Computing Machinery. doi:10.1145/3564246.3585119.
- [10] R.ย C. Harkins and J.ย M. Hitchcock. Exact learning algorithms, betting games, and circuit lower bounds. ACM Transactions on Computation Theory, 5(4):article 18, 2013. doi:10.1145/2539126.2539130.
- [11] J.ย M. Hitchcock and J.ย H. Lutz. Why computational complexity requires stricter martingales. Theory of Computing Systems, 39(2):277โ296, 2006. doi:10.1007/s00224-005-1135-4.
- [12] J.ย M. Hitchcock, A.ย Sekoni, and H.ย Shafei. Polynomial-time random oracles and separating complexity classes. ACM Transactions on Computation Theory, 13(1), 2021. doi:10.1145/3434389.
- [13] A.ย Klivans and D.ย van Melkebeek. Graph nonisomorphism has subexponential size proofs unless the polynomial-time hierarchy collapses. SIAM Journal on Computing, 31(5):1501โ1526, 2002. doi:10.1137/s0097539700389652.
- [14] J.ย H. Lutz. Almost everywhere high nonuniform complexity. Journal of Computer and System Sciences, 44(2):220โ258, 1992. doi:10.1016/0022-0000(92)90020-j.
- [15] J.ย H. Lutz. The quantitative structure of exponential time. In L.ย A. Hemaspaandra and A.ย L. Selman, editors, Complexity Theory Retrospective II, pages 225โ254. Springer-Verlag, 1997. doi:10.1007/978-1-4612-1872-2_10.
- [16] J.ย H. Lutz and W.ย J. Schmidt. Circuit size relative to pseudorandom oracles. Theoretical Computer Science, 107(1):95โ120, March 1993. doi:10.1016/0304-3975(93)90256-s.
- [17] P.ย Martin-Lรถf. The definition of random sequences. Information and Control, 9:602โ619, 1966. doi:10.1016/s0019-9958(66)80018-9.
- [18] W.ย Merkle, J.ย S. Miller, A.ย Nies, J.ย Reimann, and F.ย Stephan. Kolmogorov-Loveland randomness and stochasticity. Annals of Pure and Applied Logic, 138(1โ3):183โ210, 2006. doi:10.1016/j.apal.2005.06.011.
- [19] A.ย A. Muchnik, A.ย L. Semenov, and V.ย A. Uspensky. Mathematical metaphysics of randomness. Theoretical Computer Science, 207(2):263โ317, 1998. doi:10.1016/S0304-3975(98)00069-3.
- [20] N.ย Nisan and A.ย Wigderson. Hardness vs randomness. Journal of Computer and System Sciences, 49(2):149โ167, 1994. doi:10.1016/s0022-0000(05)80043-1.
- [21] K.ย W. Regan, D.ย Sivakumar, and J.ย Cai. Pseudorandom generators, measure theory, and natural proofs. In Proceedings of the 36th Symposium on Foundations of Computer Science, pages 26โ35. IEEE Computer Society, 1995. doi:10.1109/SFCS.1995.492459.
- [22] R.ย L. Rivest, A.ย Shamir, and L.ย Adleman. A method for obtaining digital signatures and public-key cryptosystems. Communications of the ACM, 21(2):120โ126, February 1978. doi:10.1145/359340.359342.
- [23] G.ย Tardos. Query complexity, or why is it difficult to separate from by random oracles ? Combinatorica, 9(4):385โ392, 1989. doi:10.1007/BF02125350.
- [24] D.ย van Melkebeek. The zero-one law holds for BPP. Theoretical Computer Science, 244(1โ2):283โ288, 2000. doi:10.1016/s0304-3975(00)00191-2.
- [25] J.ย Ville. รtude Critique de la Notion de Collectif. GauthierโVillars, Paris, 1939.
