Betting-Game Random Permutations in Polynomial Time
- Polynomial-time betting-game random permutations are defined by their resistance to polynomial-time adaptive betting strategies, ensuring algorithmic unpredictability.
- They integrate permutation group theory, complexity, and resource-bounded measure to yield novel separation results like P^π ≠ NP^π ∩ coNP^π.
- The framework informs efficient random permutation generation via methods such as Markov chains, shuffling algorithms, and convex programming techniques.
A polynomial-time betting-game random permutation formalizes the notion of algorithmic unpredictability for permutations in the context of resource-bounded martingales and adaptive betting games. This concept sits at the intersection of computational randomness, permutation group theory, and complexity theory. It captures the unpredictability of a permutation from the perspective of any polynomial-time adaptive gambler, generalizing the classical random-oracle paradigm from strings to the permutation group. The measure and separation theory of such random permutations provide a basis for individual-sequence analogues of classical oracle results in computational complexity, including major class separations.
1. Foundations: Permutation Martingales and Betting Games
Let , and denote by the set of length-preserving permutations , where . The canonical product probability measure on is defined so that for any prefix partial permutation , where the are standard enumerations of and , the cylinder set has measure given explicitly by a product of factorials.
A permutation martingale is a function over prefix partial permutations, satisfying the fairness condition
where is the set of possible images for the next unassigned input. Success is defined analogously to standard algorithmic randomness: succeeds on if .
Permutation betting games generalize this framework by allowing a polynomial-time gambler to adaptively choose which queries to make (not just monotonic reveals), and distribute capital among all possible next moves in a way consistent with the fairness condition. Polynomial-time betting games are restricted to total computation when querying all of inputs.
A permutation is polynomial-time betting-game random if no polynomial-time betting game succeeds on —that is, such cannot be algorithmically exploited for unbounded capital gain in polynomial time under any adaptive querying strategy (Hitchcock et al., 11 Nov 2025).
2. Characterization and Complexity-Theoretic Implications
The main structural property is that the class of sets of permutations of betting-game measure zero is captured by polynomial-time permutation martingales and adaptive games. This aligns with Bennett–Gill-style measure theory for permutation spaces: betting-game randomness (in polynomial time) corresponds to escaping all efficiently computable exploitative strategies.
A pivotal complexity-theoretic theorem establishes that for every polynomial-time betting-game random permutation , the separation holds. This yields the first truly individual-sequence separation at the permutation level, in contrast to prior "almost-everywhere" results of Bennett and Gill (Hitchcock et al., 11 Nov 2025). The proof constructs adaptive polynomial-time betting games aimed at languages such as the half-range problem , and leverages bi-immunity arguments to show that any not satisfying the separation must be captured by some successful betting game, and so is non-random.
An analogous result holds in the quantum setting: for every polynomial-space betting-game random , , strengthening Bennett–Bernstein–Brassard–Vazirani's separation for quantum complexity classes. The framework also establishes that random oracles are polynomial-time reducible from random permutations, i.e., the existence of a ptime betting-game random permutation implies the associated language is also ptime betting-game random, though the converse remains open (Hitchcock et al., 11 Nov 2025).
3. Permutation Randomness Versus Sequence Randomness
Classical (recursively enumerable) randomness is invariant under computable permutations, but polynomial-time betting-game randomness is not closed under all polynomial-time computable permutations. Specifically, if BPP contains a superpolynomial deterministic time class, then there exists a polynomial-time computable permutation and a polynomial-time random bit sequence such that is not polynomial-time random. However, closure holds for polynomial-space randomness: if is a ptime bijection with polynomially bounded inverse, polynomial-space random implies is as well; if , then polynomial-time randomness is preserved by such permutations (Nies et al., 2017). These results demonstrate a sharp distinction between martingale randomness notions at different resource bounds.
4. Explicit Polynomial-Time Random Permutation Generation
For explicit generation of random permutations subject to algorithmic unpredictability constraints, two major approaches appear:
- Shuffling with resource bounds: In the context of online generation (Dealer-Guesser games), the goal is to generate a permutation such that at each round, an adaptive adversary (“Guesser”) cannot predict the next card with high expectation. With bounded -bit memory Dealer, the best achievable bound is correct guesses; even with open-book (memory-revealing) strategies, this is tight, and secrecy does not improve over this lower bound (Menuhin et al., 2 May 2025).
- Maximum-entropy and market-based approaches: The “Proportional Betting” mechanism formalizes markets over permutations, using polynomial-time convex programming to determine unique marginal prices, then reconstructs the maximum-entropy joint distribution over permutations matching those marginals. Here, polynomial-time sampling is achieved via approximate exponential family log-partitions and Markov-chain sampling over weighted perfect matchings (0804.2288). This mechanism provides a practical approach for generating random (or pseudo-random) permutations consistent with observed market marginals or partial constraints.
5. Markov Chains and Rapid Mixing for Biased Permutation Models
The nearest-neighbor transposition Markov chain , which models adjacent swaps biased by local probabilities , is a canonical “betting-game”-flavored random permutation generator. For the uniform case (), converges to the uniform permutation in time . In the constant bias case (), is equivalent to an ASEP and rapidly mixes in .
In more general variable-bias cases, rapid mixing is only guaranteed for structured classes:
- Choose-Your-Weapon class: If depends only on the left index as , rapid mixing with polynomial time is achieved, specifically if any and if all are bounded away from $1/2$.
- League Hierarchies class: If is determined by a tree-based tournament structure (“league hierarchy”), under weak monotonicity, mixes in .
- For some choices of with all , mixing time is exponential, disproving the general “positive-bias implies rapid-mixing” conjecture and showing that sampling polynomial-time random permutations via “betting-game” chains necessitates strong structural conditions on the bias matrix (Bhakta et al., 2012).
6. Online Betting Games on Random Permutations
A related variant is the online stopping game on random permutations of zero-sum multisets, where an agent observes elements sequentially and must choose when to stop to maximize expected gain, corresponding to the unrevealed portion of the permutation. Three polynomial-time strategies are established for the binary case, achieving expected gains of per play. The simplest variant (“stop in the middle” rule) generalizes to arbitrary zero-sum multisets to guarantee expected gain, where is the average absolute value. All strategies are efficiently implementable in time per play, and the analysis is driven by the reflection principle, dynamic programming, and symmetrization arguments (Dumitrescu et al., 20 Nov 2024).
7. Open Directions and Context
Designing efficient sampling algorithms for polynomial-time betting-game random permutations under minimal structural constraints remains open. The presence of hidden bottlenecks in the state space of certain Markov chains on permutations indicates that structural regularity is necessary for efficient unbiased permutation sampling. From a complexity-theoretic perspective, understanding the relationships between permutation and oracle randomness—such as whether every random oracle arises from a random permutation—remains unresolved (Hitchcock et al., 11 Nov 2025).
These frameworks establish a full analogy to classical resource-bounded measure and randomness theory in the context of permutations, providing a foundation for separation results, complexity lower bounds, and practical online randomness extraction in polynomial time.
Sponsored by Paperpile, the PDF & BibTeX manager trusted by top AI labs.
Get 30 days free