\documentclass[11pt]{article} \usepackage[T1]{fontenc} \usepackage{lmodern,amsmath,amssymb,amsthm,booktabs,microtype} \usepackage[margin=1in]{geometry} \usepackage[hidelinks]{hyperref} \hypersetup{pdftitle={A sharp density threshold for pinwheel scheduling with four real period values},pdfauthor={Peiwei Wu and Qian Peng},pdfkeywords={pinwheel scheduling, real periods, periodic schedules, density threshold}} \newtheorem{theorem}{Theorem} \newcommand{\fl}[1]{\left\lfloor #1\right\rfloor} \newcommand{\ce}[1]{\left\lceil #1\right\rceil} \newcommand{\thresh}{\tfrac{13}{15}} \begin{document} \title{A sharp density threshold for pinwheel scheduling with four real period values} \author{Peiwei Wu\qquad Qian Peng\thanks{Corresponding author.}} \date{1 December 2026} \maketitle \begin{abstract} A pinwheel schedule assigns one task to each day. A task with real period $a$ requires at least $k$ visits in every block of $\lceil ka\rceil$ days, for each positive integer $k$. We prove that if all periods are at least five and take at most four distinct values, then a periodic schedule exists whenever the sum of the reciprocal periods is at most $13/15$. Each period may occur with arbitrary finite multiplicity. A known six-task obstruction makes this threshold sharp even among all infinite schedules. The proof groups tasks of equal rate and reduces the remaining cases to four families of ten-task instances. Lean verifies the reductions and the finite covers. \end{abstract} \section{The minimum-period-five question} Let $a_i$ be the period of task $i$. Its reciprocal $d_i=1/a_i$ is its required rate, and the density of an instance is $\sum_i d_i$. For integer $a_i$, one visit in each block of $a_i$ days guarantees $k$ visits in each block of $ka_i$ days. For nonintegral $a_i$, the windows $\lceil ka_i\rceil$ for $k>1$ impose additional conditions~\cite{fmo}. Fujiwara, Gutowski, Ouchi and Wolff proved a density guarantee of $17/20$ for real periods at least four. They asked whether the guarantee reaches $13/15$ when all periods are at least five~\cite[Section~6]{fgow}. For integer periods Arisan proved the $13/15$ guarantee without a restriction on the number of values~\cite[Theorem~1.3]{arisan}. For at most four distinct real period values a previous proof gives a guarantee of $5/6$ without the minimum of five~\cite{four}. We reach $13/15$ under both restrictions. The number of tasks may be arbitrarily large. Each task must continue to receive service indefinitely. In the finite model of Guo~\cite{guo}, a task leaves once it has received a prescribed number of visits. \begin{theorem}\label{t} Let $I$ be a nonempty finite set of tasks with real periods $a_i\ge 5$. Suppose the periods take at most four values and $\sum_{i\in I}1/a_i\le 13/15$. There exists a periodic schedule $f\colon\mathbb N\to I$ for which every block of $\lceil ka_i\rceil$ consecutive days contains at least $k$ visits to task $i$, for each $i\in I$ and positive integer $k$. For every $D>13/15$ there is an instance satisfying the same restrictions on periods, of density less than $D$, that admits no infinite schedule. \end{theorem} \paragraph{The upper obstruction.} The known instance $(5,6,6,6,6,M)$ has density $13/15+1/M$~\cite[Proposition~2.3]{arisan}. At a visit to task $M$ on day $t\ge5$, choose a visit of the period-five task on a day $s\in[t-5,t-1]$. The six days from $s$ to $s+5$ must contain that visit and another visit of the period-five task. They must also contain the visit on day $t$ and a visit to each of the four period-six tasks. Seven visits would occupy six days. Taking the integer $M$ large gives the last assertion of the theorem. \paragraph{Why group only part of a class?} Consider three tasks of period $6$, three of period $9$, and one of period $65/2$. Their density is $337/390$, just below $13/15=338/390$. Serving each equal-period class as a single task at its combined rate would give periods $2,3,65/2$. In that instance a visit to the third task after day zero must have a period-two visit on either side. Those three days would contain no period-three visit. Thus collecting an entire class can destroy feasibility. We choose smaller groups whose combined rates stay at most $1/5$. For the construction write $T=13/15$. A schedule meets the requirement at rate $x$ precisely when it provides at least $\lfloor hx\rfloor$ visits in every block of $h$ days. Indeed, for integers $h,k$, the inequality $k\le hx$ is equivalent to $\lceil k/x\rceil\le h$. We use this rate formulation throughout the proof. \section{From repeated rates to a bounded number of tasks} A class consists of $m$ tasks of rate $x\in(0,1/5]$. Put $b=\lfloor1/(5x)\rfloor$, the largest group size whose combined rate is at most $1/5$. Partition the class into $L=\lceil m/b\rceil$ batches: $L-1$ of size $b$ and a last batch of size $m-(L-1)b$. A batch of size $j$ becomes one task of rate $jx$. On successive visits to the batch, rotate through its $j$ members. A block of $h$ days then contains at least \[ \fl{\frac{\fl{hjx}}{j}}=\fl{hx} \] visits to each member. The total density is unchanged. If the batch schedule has period $P$, then $P$ times the product of all batch sizes is a period after expansion. Two facts will dispose of most batch configurations. \paragraph{Up to nine tasks.} Whenever at most nine tasks have rates at most $1/5$ and total rate at most $T$, they admit a periodic schedule. The fixed-count results for six, seven and eight tasks appear in~\cite{fixed}. Zhang subsequently reported a sharp $52$-day uniform bound for eight tasks~\cite{zhang}. Here only existence is needed. For nine tasks the certificate covers the sorted rate vectors by 9,494 cyclic words, the longest of length 3,348. Of these, 1,442 words come from the library of Fujiwara et al.~\cite{fgow}. Each word is checked against its admissible rate region. A rounding argument encodes any uncovered rate vector as a satisfying assignment of a finite Boolean formula. A refutation in LRAT format, checked in Lean, proves this formula unsatisfiable. Both the reduction and the certificate are archived with the paper~\cite{archive}. \paragraph{One class of total rate greater than $4/5$.} Let $r$ be the total rate of that class and $S$ the sum of all other rates. Then $r+2S\le 2T-r<1$. If $S=0$, cycle through the class. For $S>0$, fold the remaining tasks into one reserve. At each step replace the two least rates $u\le v$ by $2v$. If the sum before the merge is $B$, the sum afterwards is $B+v-u$, and the new minimum is at least $v$. Thus the sum less its minimum never increases. It starts strictly below $S$. Whenever a merge is possible, $v\le B-u1/5$, its total rate satisfies \begin{equation}\label{mass} mx>\frac{(L-1)b+1}{5(b+1)} =\frac{L}{10}+\frac{(L-2)(b-1)}{10(b+1)}. \end{equation} In particular, if $b\ge2$, the last term is at least $(L-2)/30$. Each full batch of a split class has rate $bx>1/10$. Let $J$ count the batches in split classes, and let $s$ count the remaining classes, each of which occupies one batch. If $J+s\ge10$, the sum of~\eqref{mass} over split classes gives $J/101/10$, $03/10$. An order region uses weak inequalities and includes ties.}\label{tab:families} \end{table} \section{The finite cover of the four families} Write the ten rates in decreasing order as $r_1\ge\cdots\ge r_{10}$. Suppose that for some $1\le j<10$ we have $j r_1+(10-j)r_{j+1}<1$. Give the first $j$ tasks a rational share strictly between $jr_1$ and $1-(10-j)r_{j+1}$, using the periodic two-letter construction above. Cycle through the tasks within each group. The floor identity used for batch expansion proves all ten window requirements. It remains to cover those points of each order region for which all nine reverse weak inequalities hold. We do this with 81 explicit cyclic words. The following test explains how a word gives an entire box of admissible rate vectors. Fix a letter occurring $m>0$ times in a word of length $P$. Index its occurrence times in the periodic continuation by $t_i$, with $t_{i+m}=t_i+P$. For $1\le k\le m$ put \[ H_k=\max_{1\le i\le m}(t_{i+k}-t_i-1). \] This is the length of the longest block containing at most $k-1$ visits: the block runs just after one occurrence to just before the $k$th subsequent occurrence. The letter supports rate $x$ precisely when $x\le m/P$ and $H_kx