Pinwheel Scheduling is PSPACE-Complete

Dimitris Fotakis, Sotiris Kanellopoulos, Giorgos Mitropoulos, Aris Pagourtzis, Christos Papadimitriou, Christos Pergaminelis, Thanos ToliasarXiv 2026

TL;DR

Imagine you are a single ground station trying to listen to $n$ different satellites, where satellite $i$ must be checked at least once every $d_i$ minutes, forever. Since 1989, computer scientists have wondered just how computationally hard it is to decide if a valid infinite schedule exists—knowing it was in PSPACE, but unsure if it was actually NP-easy or PSPACE-hard. This paper finally closes the 37-year-old mystery: Pinwheel Scheduling (with binary deadlines) is PSPACE-complete, meaning a tiny bit of scheduling wiggle room allows simple recurring deadlines to simulate an entire polynomial-space computer.

What Problem Does This Paper Address?

In Pinwheel Scheduling, you are given a list of integer deadlines $d_1, \dots, d_n$. At each discrete time step, one machine can service one job, and job $i$ can never go unserved for $d_i$ consecutive slots.

A natural metric here is the density $\rho = \sum (1/d_i)$, representing the minimum fraction of time slots the jobs demand. Obviously, if $\rho > 1$, you’re doomed. Previous work proved that if $\rho \le 5/6$, a valid schedule always exists. Between $5/6$ and $1$, things get weird—feasibility depends delicately on number-theoretic alignments of the deadlines.

When Holte et al. introduced the problem in 1989, they showed it lives in PSPACE (problems solvable with polynomial memory, though potentially exponential time). Only very recently was it proven NP-complete when $\rho = 1$ (zero idle/slack time). Yet for the general problem with $\rho < 1$, nobody knew whether a short, NP-style certificate of feasibility existed, or if the problem exhausted the full might of PSPACE.

Methods

To prove PSPACE-hardness, you have to build a memory bank and a logic processor out of nothing but static integers $d_1, \dots, d_n$. Because Pinwheel Scheduling has no prescribed starting state, the authors start from Periodic 3-SAT—a PSPACE-complete problem asking for an infinite sequence of Boolean assignments $X_0, X_1, \dots$ where a 3-CNF formula $F(X_t, X_{t+1})$ holds at every step—and build a three-step chain of reductions:

Figure 1: The three reductions. The two intermediate models use ordered hours. Only the first has prescribed breaks.
  1. Periodic 3-SAT $\to$ Daily Scheduling with Breaks: Time is structured into an infinite grid of days (rows) and $w$ hours (columns). Jobs have an exact period in days, and an ascent bound $\delta_i$: from one visit to the next, a job's hour can climb by at most $\delta_i$, though it can drop arbitrarily far. Periodic "breaks" block off certain hours on certain days, acting like a punched-card calendar that forces jobs to store truth values in two memory banks and test 3-SAT clauses.
  2. Removing the Breaks ("The Calendar Compiler"): Real pinwheel instances don't come with pre-scheduled breaks. The authors compile breaks out of pure number theory! Using distinct primes and the Chinese Remainder Theorem, they flood the schedule with rigid jobs ($\delta_i = 0$) that occupy almost every congruence class, carving out exact "apertures" of available slots and forcing rows into cyclic order.
  3. Daily Scheduling $\to$ Pinwheel Scheduling: Finally, they flatten days and hours back into a 1D timeline of day-length $T = 2^k w$ by introducing a dyadic "clock" of jobs with deadlines $2^h w$. A daily job with period $b_i$ and ascent bound $\delta_i$ simply becomes a pinwheel job with deadline $d_i = T b_i + \delta_i$.

Datasets

Not discussed in the paper. (This is a pure theoretical computer science paper proving worst-case complexity bounds.)

Key Insights and Ideas

  • Turning "Slack" into Memory: When density $\rho = 1$, every job must repeat at exact intervals of $d_i$. Phases are frozen forever, which is why $\rho = 1$ is in NP (you just guess the starting phases). The moment $\rho < 1$, jobs gain room to drift earlier or later. The authors weaponize this phase drift—specifically, the asymmetry between bounded upward drift ($\le \delta_i$ hours) and unbounded downward drops—to store and overwrite bits over time!
  • Sharp Complexity Phase Transition: Any tiny amount of slack triggers a massive jump in complexity. At $\rho = 1$, the problem is NP-complete; at $\rho = 1 - \epsilon$ (for any rational $\epsilon > 0$), it abruptly becomes PSPACE-complete.
  • Paired Slots to Tame Migration: When refining job periods to a common modulus in Step 2, helper jobs might unexpectedly swap hours and ruin local slot counts. Rather than fighting this migration, the authors give each logical slot two physical copies tied to a private prime, guaranteeing via global saturation that the pair collectively holds exactly one open slot when needed.

Key Results

  • Main Theorem: Pinwheel Scheduling with an explicit list of jobs and binary-encoded deadlines is PSPACE-complete.
  • No Short Certificates: Unless NP = PSPACE (or coNP = PSPACE), Pinwheel Scheduling is not in NP (nor coNP). You cannot generally verify a schedule's feasibility in polynomial time.
  • High-Density Hardness: For every fixed rational $\epsilon > 0$, the problem remains PSPACE-complete even when restricted to instances with density $1 - \epsilon < \rho < 1$.
  • Compact Encoding: When equal deadlines are grouped and their multiplicities are written in binary, the problem is PSPACE-hard.
Summary of complexity across pinwheel variants and encodings.

Limitations and Future Work

  • Weak vs. Strong PSPACE-hardness: The prime-product gadgets in Step 2 and the clock period $T$ in Step 3 create deadlines that are exponentially large in value (though polynomial in bit-length). Consequently, if deadlines are written in unary (polynomially bounded values), PSPACE-hardness remains open—we only know the unary version is strongly NP-hard and in PSPACE.
  • Upper Bound for Compact Inputs: When identical deadlines are grouped with binary multiplicities, it is not even known if the problem stays inside PSPACE (since naive state vectors become exponentially wide).
  • Pinwheel Covering: In the sibling "covering" problem (schedule job $i$ at most once every $d_i$ slots while keeping the machine busy), the maximum-gap rounding tricks don't obviously apply, leaving its exact complexity open.

Summary updated

Abstract

Pinwheel Scheduling is a classical periodic scheduling problem, receiving as input the deadlines $d_i$ of $n$ tasks and asking for an infinite schedule with one task per time unit, such that every task $i$ is scheduled at least once in every $d_i$ time units. Holte, Mok, Rosier, Tulchinsky, and Varvel introduced the problem in 1989 and showed that it lies in \(\PSPACE\). Its exact complexity has been open since then. \(\NP\)-hardness for explicitly listed deadlines was established only recently, and membership in \(\NP\) is open. In this work we prove that Pinwheel Scheduling is \(\PSPACE\)-complete when the deadlines are written in binary. This finally settles the long-standing open question about the complexity of Pinwheel Scheduling. We present a chain of reductions, starting from Periodic 3-SAT, a classical \(\PSPACE\)-complete problem, and using two newly-defined intermediate periodic scheduling problems. These intermediate problems can be seen as periodically assigning tasks to days, with each day containing a fixed number of slots (\emph{hours}) in which tasks are scheduled. In the first of these problems, each day is additionally allowed to contain \emph{breaks}, that is, hours in which no task can be scheduled.
BibTeX
@misc{fotakis2026pinwheel,
  author = {Dimitris Fotakis and Sotiris Kanellopoulos and Giorgos Mitropoulos and Aris Pagourtzis and Christos Papadimitriou and Christos Pergaminelis and Thanos Tolias},
  title = {{Pinwheel Scheduling is PSPACE-Complete}},
  year = {2026},
  eprint = {2611.34869},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.34869},
}
Figure