← back to the atlas

d4-journals-jair-2023-0041 (d4-journals-jair-2023-0041)

Answer: —

The anchor (named result in the paper)

Proposition 19 — class: algorithmic

The continuous mirror question, as graded

Given a fixed set of schools \(O\), a finite support \(T\) of strict school rankings, rational masses \(\mu_t\) with \(\sum_{t\in T}\mu_t=1\), and rational per-capita seat supplies \(q_o\) with \(\sum_{o\in O}q_o=1\), take cohort sizes \(N\) for which every \(N\mu_t\) and \(Nq_o\) is integral. Represent each school’s \(Nq_o\) seats as ordered copies, ranked consistently within each school by all types, and run Eager Boston with uniform lotteries among applicants for each available seat. Compute the exact limit, in probability as \(N\to\infty\), of \(X_{t,o}^{(N)}/N\), where \(X_{t,o}^{(N)}\) is the number of type-\(t\) students assigned to school \(o\).

Packaged proof task (what the prover saw — nothing else)

Let \(O\) be a nonempty set of \(m\) schools. A society is given by its support: a list \(T\) of \(\tau\) distinct strict rankings of all schools, with positive binary rational masses \(\mu_t\) satisfying \(\sum_t\mu_t=1\). Here \(\tau\) is the support size, not the number of possible rankings. School supplies are binary rationals \(q_o\geq0\) with \(\sum_o q_o=1\); let \(L\) be the total input bit length.
For every positive integer \(N\) making all \(N\mu_t\) and \(Nq_o\) integral, create \(N\mu_t\) students of type \(t\) and seats \((o,1),\ldots,(o,Nq_o)\). Expand each school ranking into consecutive blocks of its seats, ordered by increasing index within every block.
Eager Boston proceeds in synchronous rounds: every unassigned student applies to her highest-ranked remaining seat; each seat with applicants selects one uniformly, using fresh independent lotteries conditional on the current state. Permanently assign these seats and remove them and their winners at the end of the round; repeat until everyone is assigned.
Let \(X_{t,o}^{(N)}\) count type-\(t\) students assigned a seat at school \(o\). Take limits along all admissible cohort sizes, keeping \(O,T,\mu,q\) fixed.

Do the fractions \(X_{t,o}^{(N)}/N\) converge jointly in probability to a deterministic rational matrix, and is computing that matrix exactly in binary rational encoding polynomial-time in \(m,\tau,L\), or NP-hard?

For finite explicitly listed societies, sampling one deterministic Eager Boston assignment takes polynomial time when lottery winners can be sampled in polynomial time; this does not establish polynomial-time computation of its expectation ([source](https://par.nsf.gov/servlets/purl/10466783)). No result settling this precise seat-copy limit problem was identified in the search.

Modeling choices made when packaging the task

Prover output (gpt-6.1-sol / high, Bolzano prover prompt)

Partial solution: convergence, output size, and further complexity bounds

The fractions converge jointly in probability to a deterministic rational matrix. Producing that matrix explicitly in binary cannot take polynomial time in general, because one output entry can require exponentially many bits.

I do not establish $\mathrm{NP}$-hardness. Beyond the output-length obstruction, the following results are proved below:

1. A deterministic rational phase algorithm

Let $u_t$ denote the remaining mass of type $t$, $c_o$ the remaining supply at school $o$, and $z_{t,o}$ the mass already assigned from type $t$ to school $o$. Initially,
$$ u_t=\mu_t,\qquad c_o=q_o,\qquad z_{t,o}=0. $$

At a nonterminal state, each type with $u_t>0$ chooses its highest-ranked school with positive remaining supply. Denote this school by $b(t)$, and put
$$ G_o=\{t:u_t>0,\ b(t)=o\}, \qquad A_o=\sum_{t\in G_o}u_t. $$
A school is active if $A_o>0$. Define the phase duration
$$ h=\min_{o:A_o>0}\min\{c_o,A_o\}. $$

For every active school, update simultaneously:
$$ \begin{aligned} z_{t,o}'&=z_{t,o}+h\frac{u_t}{A_o} &&\text{for }t\in G_o,\\ u_t'&=u_t\left(1-\frac{h}{A_o}\right) &&\text{for }t\in G_o,\\ c_o'&=c_o-h. \end{aligned} $$
All other coordinates remain unchanged. Every right-hand side uses the state before the phase.

Well-definedness and termination

The algorithm maintains
$$ u_t+\sum_o z_{t,o}=\mu_t, \qquad c_o+\sum_t z_{t,o}=q_o. $$
Indeed, each type’s mass decrement equals its assignment increment, and an active school receives total assigned mass
$$ \sum_{t\in G_o}h\frac{u_t}{A_o}=h. $$
Consequently,
$$ \sum_t u_t=\sum_o c_o. $$

If some $u_t$ is positive, some $c_o$ is positive. Thus every remaining type has a defined choice. For each active school, both $A_o$ and $c_o$ are positive, so $h>0$. Since $h\leq A_o$ and $h\leq c_o$, the updates preserve nonnegativity.

At least one school attains the minimum defining $h$. Its supply becomes zero, or its entire applicant group becomes zero. Therefore each phase makes at least one previously positive school-supply coordinate or type-mass coordinate zero. Such coordinates never become positive again.

The algorithm terminates after at most
$$ K=m+\tau $$
phases. At termination all student masses are zero, and conservation forces all supplies to be zero.

All operations are rational, with positive divisors. The final matrix, denoted $z^*$, is therefore deterministic and rational, and satisfies
$$ \sum_o z^*_{t,o}=\mu_t, \qquad \sum_t z^*_{t,o}=q_o. $$

2. The stochastic seat-copy process converges to this matrix

2.1. Exact phases in a finite cohort

Fix an admissible cohort size $N$. At a phase boundary, let $U_t$ and $C_o$ be the integer numbers of remaining students and seats.

At every school, the remaining seats form a suffix of its ordered seat block. Every student choosing that school therefore applies to its least-indexed remaining seat. An active school assigns exactly one seat per round.

Form the applicant groups at the phase boundary, and write
$$ B_o=\sum_{t\in G_o}U_t. $$
Set
$$ d=\min_{o:B_o>0}\min\{C_o,B_o\}. $$

During the next $d$ rounds, every initially active school assigns exactly $d$ seats. To verify this, before round $r\leq d$ it still has
$$ C_o-(r-1)>0 \quad\text{seats and}\quad B_o-(r-1)>0 \quad\text{applicants}. $$
No available school disappears before the last round. Consequently, surviving students retain their school choices throughout these rounds. Individual types can disappear, but this does not change other students’ choices.

At the end of the phase, a school exhausts its supply or an entire applicant group disappears. The same monotonicity argument as before gives at most $K$ finite phases.

2.2. Conditional concentration within a phase

Condition on the complete state at the beginning of a phase. At an active school, successive winners are uniform draws without replacement from its $B_o$ initial applicants. This follows directly from the fresh uniform lotteries among the remaining applicants.

Let $Y_{t,o}$ count the type-$t$ winners at school $o$ during the phase. Its conditional distribution is hypergeometric, with
$$ \mathbb E[Y_{t,o}\mid\text{phase state}] =d\frac{U_t}{B_o}. $$
For $B_o>1$,
$$ \operatorname{Var}(Y_{t,o}\mid\text{phase state}) = d\frac{U_t}{B_o} \left(1-\frac{U_t}{B_o}\right) \frac{B_o-d}{B_o-1} \leq N. $$
For $B_o=1$, the variance is zero. Chebyshev’s inequality therefore gives
$$ \Pr\left( \left| \frac{Y_{t,o}}N-\frac dN\frac{U_t}{B_o} \right|>\varepsilon \ \middle|\ \text{phase state} \right) \leq \frac{1}{N\varepsilon^2}. $$

Each type belongs to at most one applicant group per phase. Taking a union bound over the at most $K\tau$ relevant observations gives
$$ \Pr(\text{some normalized phase error exceeds }\varepsilon) \leq \frac{K\tau}{N\varepsilon^2}. $$
In particular, for $\varepsilon_N=N^{-1/4}$, the probability that all phase errors are at most $\varepsilon_N$ tends to one.

2.3. Identification of the limit, including ties

The phase decomposition need not stabilize directly: simultaneous deterministic exhaustion events can separate in finite cohorts. We handle this by allowing phases whose normalized durations vanish.

Consider any sequence of finite executions, with $N\to\infty$, whose normalized phase errors tend to zero. Pad executions with empty terminal phases to obtain exactly $K$ phases.

All normalized phase-boundary coordinates and durations lie in $[0,1]$. There are finitely many possible applicant-group patterns. Passing to a subsequence, we may assume that every boundary state and duration converges and that every phase’s group pattern is fixed.

Consider one phase.

If $d/N\to0$, every assignment increment at an individual school is at most $d/N$. Every individual type’s mass decrement is also at most $d/N$. Thus this phase makes no change to the limiting state.

Suppose instead that $d/N\to h>0$. Every active finite school satisfies
$$ \frac{C_o}{N}\geq\frac dN, \qquad \frac{B_o}{N}\geq\frac dN. $$
Its limiting supply and applicant mass are therefore positive.

A type with positive limiting mass is eventually present. Its selected school has positive limiting supply. If a more-preferred school had positive limiting supply, that school would eventually be available in the finite executions, contradicting the type’s choice. Thus every positive-mass limiting type selects its highest-ranked school with positive limiting supply.

Conversely, every active finite group has positive limiting total mass, because its normalized mass is at least $d/N$. Hence, after ignoring zero-mass types, its limiting group is exactly a group prescribed by the deterministic algorithm.

The finite minimum therefore converges to
$$ h=\min_{o:A_o>0}\min\{c_o,A_o\}. $$
The vanishing phase errors imply that each assignment increment converges to
$$ h\frac{u_t}{A_o}. $$
Thus every positive-duration limiting phase is precisely a phase of the deterministic algorithm.

Delete the zero-duration phases. The remaining execution starts at $(\mu,q,0)$, follows the deterministic algorithm, and ends with zero remaining student masses, since every finite execution does. Its final matrix is consequently $z^*$.

To obtain convergence in probability, suppose that it failed. There would be a subsequence, a positive $\delta$, and a positive $\eta$ such that the final normalized matrix stayed at distance at least $\delta$ from $z^*$ with probability at least $\eta$. For sufficiently large $N$, this event intersects the event of phase errors at most $\varepsilon_N$. Choose an execution in each intersection. The subsequence argument just proved would yield a further subsequence converging to $z^*$, a contradiction.

Therefore, along all admissible cohort sizes,
$$ \left(\frac{X^{(N)}_{t,o}}N\right)_{t,o} \xrightarrow{\Pr} z^*. $$
Admissible sizes are unbounded because all input rationals have a common denominator.

The normalized expectations converge as well. For any entry and any $\varepsilon>0$, boundedness gives
$$ \mathbb E\left| \frac{X^{(N)}_{t,o}}N-z^*_{t,o} \right| \leq \varepsilon+ \Pr\left( \left|\frac{X^{(N)}_{t,o}}N-z^*_{t,o}\right|>\varepsilon \right). $$
Taking limits and then letting $\varepsilon$ decrease to zero proves the assertion.

3. Exponentially long output, even with dyadic inputs

Fix $k\geq2$. Define
$$ R=\frac{k(k+1)}2, \qquad D=2^{\lceil\log_2(k(k+1)+2)\rceil}, \qquad d=\frac1D. $$
Thus
$$ D\geq2(R+1), \qquad kd<\frac12. $$

There are $2k$ schools:
$$ S_1,\ldots,S_k,\quad W_2,\ldots,W_k,\quad Z. $$
Set
$$ q_{S_i}=d, \qquad q_{W_i}=(i-1)d, \qquad q_Z=1-Rd. $$
The supplies sum to one because the supplies outside $Z$ sum to $Rd$.

There are $k+2$ types:

Complete each prefix by appending all omitted schools in a fixed order. The rankings are distinct. All masses are positive and sum to one. Every mass and supply is dyadic. Moreover,
$$ \mu_F\geq\frac12, \qquad q_Z\geq\frac12+d. $$

3.1. Evolution through the contested schools

Use cumulative phase duration as time.

During the first $kd$ units of time, $Z$ cannot exhaust: it serves at rate at most one and has supply greater than $kd$. Type $F$ also remains positive during this interval, since its mass is at least $1/2>kd$. Thus types reaching $Z$ do not proceed to any appended school.

Only type $P_i$ initially uses $W_i$. That school serves continuously until time $(i-1)d$, when its supply exhausts and $P_i$ has exactly mass $d$ remaining.

We now verify inductively that $S_i$ serves during
$$ [(i-1)d,id]. $$
At its starting time, its applicants are the remaining type-$M$ mass, say $x_{i-1}>0$, and mass $d$ of type $P_i$. Its supply is $d$, and its pool has mass $x_{i-1}+d>d$.

More explicitly, at the beginning of this interval every active waiting school has remaining supply at least $d$ and applicant mass greater than its supply. School $Z$ has remaining supply greater than $d$ and applicant mass at least the remaining mass of $F$, which is greater than $d$. Therefore the next deterministic phase has duration exactly $d$, attained by the supply of $S_i$.

At its end, $P_i$ proceeds to $Z$ and $M$ proceeds to the next contested school. The remaining distinguished mass obeys
$$ x_0=d, \qquad x_i = x_{i-1}\left(1-\frac{d}{x_{i-1}+d}\right) = \frac{x_{i-1}^2}{x_{i-1}+d}. $$

3.2. Denominator growth

Define positive integers
$$ a_0=1, \qquad a_{i+1}=a_i(a_i+1). $$
Substitution in the preceding recurrence proves inductively that
$$ x_i=\frac{d}{a_i}. $$
After $S_k$ exhausts, all schools except $Z$ have exhausted. Hence
$$ z^*_{M,Z}=x_k=\frac{1}{Da_k}. $$
This fraction is reduced.

Since $a_1=2$ and $a_{i+1}\geq a_i^2$,
$$ a_k\geq 2^{\,2^{k-1}}. $$
The denominator of this single output entry therefore requires at least
$$ 2^{k-1}+1 $$
binary bits.

Meanwhile,
$$ m=2k,\qquad \tau=k+2,\qquad L=O(k^2\log k). $$
Indeed, all rational inputs have $O(\log k)$ bits, and the explicitly listed rankings require $O(k^2\log k)$ bits.

Thus the explicit output length is not bounded by any polynomial in $m,\tau,L$. This unconditionally excludes polynomial-time production of the full binary matrix.

It does not establish $\mathrm{NP}$-hardness.

4. General arithmetic and bit-complexity upper bounds

The deterministic algorithm performs at most $K$ phases. Finding choices, summing applicant masses, comparing phase candidates, and updating coordinates require polynomially many rational operations per phase.

Consequently, the algorithm uses polynomially many exact rational operations and comparisons. This operation count does not bound their binary cost.

For an explicit bit bound, let $D_0$ be the product of all input denominators. Then
$$ \log_2 D_0\leq L. $$
Suppose all coordinates at the beginning of phase $j$ have common denominator $D_j$. Write
$$ h=\frac b{D_j}, \qquad A_o=\frac{a_o}{D_j}. $$
For an active school, $a_o$ is a positive integer with $a_o\leq D_j$. If $u_t=p_t/D_j$, its assignment increment is
$$ h\frac{u_t}{A_o} = \frac{bp_t}{D_j a_o}. $$
Thus a common denominator for all updated coordinates is
$$ D_{j+1}=D_j\prod_{o:A_o>0}a_o \leq D_j^{m+1}. $$
After at most $K$ phases,
$$ \log_2 D_K\leq (m+1)^K L. $$

All coordinates lie in $[0,1]$, so their numerators have the same bit-length bound, up to an additive constant. Exact integer arithmetic therefore gives an exponential-time algorithm for producing the explicitly encoded matrix.

5. New tractable case: support size at most two

Proposition. If $\tau\leq2$, the limit matrix can be computed exactly in binary in time polynomial in $m$ and $L$.

Proof

For $\tau=1$, every assignment is obtained by repeatedly taking the minimum of the remaining type mass and its preferred available school’s supply. There are no proportional divisions. All coordinates retain an initial common denominator, so the claim follows.

Now suppose $\tau=2$. Let $D_0$ be an initial common denominator, with $\log_2 D_0\leq L$.

Consider phases strictly before the first phase that eliminates a type. We prove the following invariant after $j$ such phases:

$$ D_0\mid Q_j, \qquad Q_j\leq D_0^{j+1}. $$

Initially, take $Q_0=D_0$.

In a phase that eliminates no type, the duration must equal a school’s remaining supply. Otherwise a minimum attained at some $A_o$ would eliminate that entire group. Therefore
$$ h=\frac b{D_0} $$
for an integer $b$.

There are two possible group structures.

The types choose different schools. Each active group is a singleton. Its assignment increment is exactly $h$, and its remaining mass decreases by $h$. Since $D_0\mid Q_j$, all student and assignment coordinates retain denominator $Q_j$. Supplies retain denominator $D_0$.

The types choose the same school. Its applicant mass is the entire remaining student mass. By conservation,
$$ A=u_1+u_2=\sum_o c_o=\frac a{D_0} $$
for a positive integer $a\leq D_0$. Consequently,
$$ h\frac{u_t}{A}=\frac b a u_t. $$
All updated student and assignment coordinates admit denominator
$$ Q_{j+1}=aQ_j\leq D_0Q_j. $$
Supplies still retain denominator $D_0$.

This proves the invariant. Each phase before any type elimination exhausts a school, so there are at most $m$ such phases.

Consider the first phase that eliminates a type.

If the types choose different schools, all candidate durations have denominator dividing $Q_j$: supplies have denominator $D_0$, and student masses have denominator $Q_j$. Hence $h$ has denominator dividing $Q_j$. Singleton updates introduce no further denominator. After this phase, every coordinate, including every supply, has denominator dividing $Q_j$.

If both types choose the same school, their applicant mass again has denominator $D_0$, and proportional updates introduce at most one factor $a\leq D_0$. In this case, elimination of one type eliminates both, because their remaining masses are multiplied by the same factor.

After the first type-eliminating phase, at most one type remains. Every subsequent phase uses singleton updates and introduces no new denominator.

It follows that all coordinates throughout the computation admit a common denominator bounded by
$$ D_0^{m+2}. $$
Their reduced numerators and denominators therefore have
$$ O((m+2)L+1) $$
bits. The number of rational operations is polynomial, and arithmetic and comparison on integers of this bit length take polynomial time. This proves the proposition.

In particular, the entire task is polynomial-time solvable when $m\leq2$, because distinct strict rankings then force $\tau\leq2$.

6. New upper bound for exact threshold queries

Define the threshold decision problem as follows: given a valid society, a type $t$, a school $o$, and a binary rational $r$, decide whether
$$ z^*_{t,o}>r. $$

Let $\mathrm{PosSLP}$ be the problem of deciding whether an integer produced by a division-free arithmetic circuit over constants $0,1$ and operations $+,-,\times$ is positive.

Proposition. The threshold decision problem belongs to
$$ \mathrm{P}^{\mathrm{PosSLP}}. $$
Moreover, polynomially sized circuit descriptions representing every matrix entry can be produced in
$$ \mathrm{FP}^{\mathrm{PosSLP}}. $$
These descriptions are distinct from explicit binary numerator-denominator encodings.

Proof

Represent each rational coordinate $x$ by a pair of integer arithmetic circuits $(p_x,d_x)$ satisfying
$$ x=\frac{p_x}{d_x}, \qquad d_x>0. $$
The circuits need not represent a reduced fraction.

Each binary input integer can be constructed from $0,1$ using repeated doubling and addition, with a number of gates linear in its bit length.

Rational operations require only constantly many new gates:
$$ \begin{aligned} x+y&=\frac{p_xd_y+p_yd_x}{d_xd_y},\\ x-y&=\frac{p_xd_y-p_yd_x}{d_xd_y},\\ xy&=\frac{p_xp_y}{d_xd_y},\\ \frac{x}{y}&=\frac{p_xd_y}{d_xp_y} \qquad\text{when }y>0. \end{aligned} $$
The last denominator is positive because $y>0$ implies $p_y>0$.

A positivity test for $x$ is a $\mathrm{PosSLP}$ query on $p_x$. A comparison $x>y$ is a query on
$$ p_xd_y-p_yd_x. $$

Use these queries to determine positive remaining coordinates, applicant groups, and the minimum defining each phase duration. Every division in the phase algorithm is by a positive applicant mass, as proved in Section 1. Thus every denominator remains positive.

There are polynomially many phases, operations, and comparisons. By retaining shared subcircuits as a directed acyclic graph, each arithmetic operation adds only constantly many gates. Circuit sizes and oracle query descriptions therefore remain polynomial.

After constructing a circuit pair for $z^*_{t,o}$, write $r=v/w$ with $w>0$. The desired comparison is one final query on
$$ p_{z^*_{t,o}}w-vd_{z^*_{t,o}}. $$
This proves both assertions.

For context, the theorem of Allender, Bürgisser, Kjeldgaard-Pedersen, and Miltersen places $\mathrm{PosSLP}$ in the counting hierarchy. The circuits constructed above meet its hypotheses: they have no variables, use constants $0,1$, and contain only $+,-,\times$ gates. [On the Complexity of Numerical Analysis](https://people.cs.rutgers.edu/~allender/papers/slp.pdf).

Consequently, the threshold problem also belongs to the counting hierarchy. Explicitly, define
$$ \mathrm{CH}_0=\mathrm{P}, \qquad \mathrm{CH}_{i+1}=\mathrm{PP}^{\mathrm{CH}_i}. $$
If $\mathrm{PosSLP}\in\mathrm{CH}_c$, then
$$ \mathrm{P}^{\mathrm{PosSLP}} \subseteq \mathrm{P}^{\mathrm{CH}_c} \subseteq \mathrm{PP}^{\mathrm{CH}_c} = \mathrm{CH}_{c+1}. $$
The middle inclusion holds because a deterministic oracle computation is a special case of a majority-acceptance oracle computation.

7. Remaining complexity question

The convergence question is settled affirmatively. Polynomial-time production of the general explicit binary matrix is ruled out by output length, and support size at most two is tractable.

The unresolved part is $\mathrm{NP}$-hardness. Neither exponentially long output nor the arithmetic-circuit comparison upper bound supplies a hardness reduction. A complete classification requires a specified reduction notion for the exact-output function and a proof of hardness, or a further algorithmic characterization.

⟨structured verdict parsed — rendered above⟩

Adversarial review (gpt-6.1-sol / medium, Bolzano verifier prompt)

The output establishes convergence to a deterministic rational matrix and a superpolynomial output-length obstruction to general polynomial-time computation in explicit binary encoding. Its additional upper bounds and the tractable case $\tau\leq2$ are also justified.

It remains a partial resolution of USER_TASK because it does not establish $\mathrm{NP}$-hardness. I found no false step or substantive gap in the results actually proved.

1. Deterministic phase algorithm

The algorithm is well-defined.

Consequently, the bound of $m+\tau$ phases is valid. Conservation at termination gives both required matrix marginals. All divisions have positive rational denominators, so the final matrix is deterministic and rational.

Zero initial supplies cause no difficulty: the choice rule excludes them. The cases $m=1$ and $\tau=1$ are also covered.

Assessment: Correct.

2. Exact finite phases

The suffix assertion is valid for the specified seat ordering: all applicants choosing a school target its least-indexed remaining seat, so a school removes seats in increasing index order.

For every initially active school and every round $r\leq d$,
$$ C_o-(r-1)>0,\qquad B_o-(r-1)>0. $$
Therefore it assigns exactly one seat in each of those rounds. No school exhausts before the final round of the phase. Surviving students consequently keep their school choices throughout the phase.

An individual type disappearing does not redirect other students. An entire group disappearing does not replenish any mass or supply. Thus the finite process also has at most $m+\tau$ phases.

Assessment: Correct; the phase decomposition respects synchronous updates.

3. Conditional concentration

Conditional on the phase-start state, each school's sequence of winners is uniform sampling without replacement from its initial applicant group. The absence of changes to school choices during the phase is essential here and was established in Section 2.1.

The stated hypergeometric expectation and variance are correct. Since $d\leq N$, the variance bound by $N$ is valid. The case $B_o=1$ is correctly handled separately.

The conditional Chebyshev bound remains valid for random phase-start states. There are at most $(m+\tau)\tau$ relevant type observations, so the union bound is justified without requiring independence between observations.

With $\varepsilon_N=N^{-1/4}$, the failure probability is bounded by
$$ \frac{(m+\tau)\tau}{N^{1/2}}, $$
which tends to zero for the fixed society required by USER_TASK.

Assessment: Correct.

4. Limit identification and simultaneous exhaustion

The subsequence argument handles ties adequately.

For fixed $m$ and $\tau$, there are finitely many group patterns and finitely many phase-boundary coordinates. Padding to $m+\tau$ phases permits a common subsequence on which all these data converge.

A phase whose normalized duration tends to zero changes every assignment and remaining-mass coordinate by a quantity tending to zero. Deleting such phases therefore preserves the limiting states.

In a phase with positive limiting duration, every finite active school has limiting supply and limiting applicant mass bounded below by that duration. This excludes active groups supported solely by vanishing type masses.

Every positive limiting type mass is eventually present. Its selected school has positive limiting supply; any more-preferred school with positive limiting supply would also eventually be available, contradicting its finite choice. Thus the limiting groups agree with the deterministic choice rule.

Once the group pattern is fixed, the finite minimum is a minimum over a fixed finite collection. Its limit is the deterministic phase duration. The vanishing sampling errors then yield the stated proportional increments.

Deleting zero-duration phases produces a deterministic execution from the initial state to a terminal state. The uniqueness here is supplied by the explicit deterministic update rule, including simultaneous updates at ties.

The final contradiction argument correctly converts this pathwise subsequence statement into convergence in probability. The expectation argument is also valid because every normalized entry and its limit lie in $[0,1]$.

Assessment: Correct. No unproved interchange of limits and random phases is required.

5. Output-length construction

The instance satisfies the input requirements.

There are $2k$ schools and $k+2$ distinct rankings. The supplies outside $Z$ sum to
$$ kd+\sum_{i=2}^k(i-1)d=Rd. $$
The masses outside $F$ sum to $(R+1)d$. The bound $D\geq2(R+1)$ ensures positivity of all masses and supplies, including
$$ \mu_F\geq\frac12,\qquad q_Z\geq\frac12+d. $$
All inputs are dyadic.

The timing argument is consistent. During the first $kd$ units, neither $Z$ nor type $F$ can exhaust. Consequently, appended schools cannot interfere with the stated prefixes. Each $W_i$ serves only $P_i$ until time $(i-1)d$, leaving exactly mass $d$ of that type.

At the beginning of the interval for $S_i$, its pool is $x_{i-1}+d>d$. The other active waiting schools have supply at least $d$ and applicant mass exceeding their supply. Both remaining supply at $Z$ and remaining mass of $F$ exceed $d$. Hence the next phase duration is exactly $d$, as claimed.

The recurrence and its substitution are correct:
$$ x_i=\frac{x_{i-1}^2}{x_{i-1}+d}, \qquad x_i=\frac{d}{a_i}, \qquad a_{i+1}=a_i(a_i+1). $$
Type $M$ receives no assignment at $Z$ before the contested schools finish, so its final entry there is precisely
$$ z^*_{M,Z}=\frac1{Da_k}. $$
The fraction is reduced because its numerator is $1$.

The bound
$$ a_k\geq2^{2^{k-1}} $$
and the resulting denominator bit-length lower bound are correct. Since the instance length is $O(k^2\log k)$, this output length exceeds every polynomial in the input length.

The construction establishes exponential growth in the family parameter $k$ and superpolynomial growth relative to input length. The claimed exclusion of polynomial-time explicit binary output follows.

Assessment: Correct. This is an output-length lower bound, not an $\mathrm{NP}$-hardness reduction.

6. General bit-complexity upper bound

The common-denominator argument is valid. Since total remaining mass is at most $1$, each active numerator satisfies $a_o\leq D_j$. Multiplying by the active $a_o$ supplies a common denominator for both assignment increments and updated coordinates.

Thus
$$ D_{j+1}\leq D_j^{m+1}, \qquad \log_2D_K\leq(m+1)^KL. $$
Coordinates lie in $[0,1]$, so their nonnegative numerators satisfy the same bit bound up to an additive constant. Together with polynomially many rational operations, this yields an exponential-time explicit algorithm.

Assessment: Correct.

7. Support size at most two

The denominator invariant is sound.

Before a type-eliminating phase, a duration must be attained by a supply: attaining an applicant mass would eliminate the corresponding group. Hence such durations retain denominator $D_0$, and supplies retain that denominator.

For separate choices, singleton updates introduce no proportional denominator. For a shared choice, conservation gives
$$ A=u_1+u_2=\sum_oc_o=\frac a{D_0}, $$
so at most one additional factor $a\leq D_0$ is needed.

The first type-eliminating phase is correctly separated into the two possible group structures. With a shared school, the common multiplicative update eliminates both positive types together. With separate schools, the duration has denominator dividing the existing common denominator.

Afterward, at most one type remains and no further denominator growth occurs. The bound $D_0^{m+2}$ and polynomial binary running time follow.

The consequence for $m\leq2$ is valid because there are at most two distinct strict rankings.

Assessment: Correct.

8. Arithmetic-circuit threshold upper bound

The circuit-pair representation correctly maintains positive denominators. Every rational operation adds only constantly many gates when existing circuits are shared.

Positivity and comparison reduce to integer-circuit sign queries. Every division is by an applicant mass already established to be positive. The number of phases, operations, oracle queries, and circuit gates is polynomial.

Therefore the threshold problem belongs to $\mathrm{P}^{\mathrm{PosSLP}}$, and shared circuit descriptions can be produced in $\mathrm{FP}^{\mathrm{PosSLP}}$.

The cited theorem that $\mathrm{PosSLP}$ belongs to the counting hierarchy is supported by the referenced paper. The constructed circuits satisfy its input restrictions. The subsequent inclusion of the threshold problem in the counting hierarchy follows from the stated oracle-class inclusions. [Allender et al., *On the Complexity of Numerical Analysis*](https://people.cs.rutgers.edu/~allender/papers/slp.pdf).

Assessment: Correct.

9. Outstanding issue and actionable feedback

Major — incomplete resolution of the requested complexity question. Section 7 expressly leaves $\mathrm{NP}$-hardness unresolved. Neither the output-size construction nor membership in $\mathrm{P}^{\mathrm{PosSLP}}$ implies such hardness.

This is a scope limitation, not a false mathematical claim. The prover's declaration that its solution is partial accurately reflects what it established.

To complete that part of USER_TASK, the prover must specify the reduction notion for the exact-output function and supply the corresponding hardness argument. If it instead proves hardness of the threshold decision problem, it must state precisely what that establishes about the original exact-output task. Clarification alone cannot supply the missing result.

No repairs are needed for the proved convergence, output-length obstruction, restricted polynomial-time algorithm, or upper bounds.

⟨structured verdict parsed — rendered above⟩

Tier: machine-proved, adversarially reviewed by an independent model. No human has checked this proof. Generated from pipeline artifacts by tools/atlas_build.py.