SETS — set-valued prediction against its exact optimum
The object: an observable with atoms r of mass w_r, each carrying an exact posterior p(y | r) over k labels, and a set rule choosing a set of labels at every atom. A pair (r, y) costs w_r and covers w_r p(y | r); a rule's cost is its expected set size and its coverage the mass its sets hold. The marginal optimum OPT is the least cost covering T = 1 − α, α < 1 the miscoverage allowed. The operative level t* is the largest posterior value whose pairs {p ≥ t*} cover T; A is the pairs strictly above it, the tied block the b pairs at it, and the coverage deficit δ = T − cov(A). Two rules and a bound bracket OPT: the threshold form THR, every pair at or above t*; the certificate CERT, A plus the fill, the least-cost tied subset covering δ (and its cost); and the bound L = cost(A) + δ/t*, the value of the relaxation that may buy a fraction of a pair. The surplus D is CERT's coverage minus T. The specimen is RULER's magnitude class ⌊kx/N⌋ read through x mod M under the tilt θ^x (the set-valued reading in RULER: One live arc: the magnitude parent), at four cells: TILT-3 (N = 105, M = 15, k = 3, θ = 24/25), FLAT-3 (the same untilted), DEAD-7 (FLAT-3 at k = 7) and TILT-4-WIDE (N = 1155, M = 105, k = 4, θ = 199/200), each read at T = 7/10. Frequencies are read on a seeded sweep at the same T and k = 3, every row a posterior in tenths: 400 equal-mass cells of three or four atoms and 3,000 unequal three-atom cells with masses in twentieths (sets.py::sweep), joined in the fate and exchange blocks by 1,500 unequal four-atom cells with masses in tenths (fates.py::four_arm). A law is read at three seeds, a count at the recorded one. Every exhibited cell is read at T = 7/10, the reductions' aside.
The thesis: once the posterior is exact, the least set size is a computation, and any set rule can be graded against it. A marginal coverage guarantee cannot tell two rules apart that differ by everything at one atom. The thresholded posterior, the form a published theorem makes optimal, pays at every tie wider than the deficit needs; the certificate that repairs it is optimal wherever every pair costs the same, and off equal masses overstates by at most its surplus divided by the operative level. Three tests can prove it exact and an exact solver settles the rest; along the geometric walk W-n, one 15-atom ring cell tilted by step 1/n, the anchored test's gap has a closed form for every n ≥ 1451, falling as n⁻⁴ while the overstatement falls as 1/n. The optimum hands some atoms the empty set, and an atom's fate is whether the optima serve it, abandon it or differ on it. At equal masses the operative level forbids the two wrong forced fates, and at three atoms whose lightest weighs 1 − T, and k ≥ 3, only there; off equal masses no test on the atom's own numbers decides it, the rest of the cell's integer price, its least cost with labels bought whole, does, and with masses written in binary deciding it is NP-hard at any rational target fixed beforehand. An optimum abandoning an atom turns into one serving it only by an exchange whose masses balance. Nothing but the walk's closed forms needs the ring: it supplies placement and an exact truth, and the failures are the rules'.
A marginal coverage guarantee cannot rank two set predictors
Tier: observation (the four ring cells, samples of 2,000, 8,000 and
32,000, 20 trials each off one seeded stream, every coverage exact).
Verifier: sets.py::section_coverage.
Split conformal thresholds one global quantile of an estimated posterior; Mondrian conformal takes the quantile within each atom, so its guarantee is per atom. The impossibility of conditional coverage (Barber, Candès, Ramdas and Tibshirani, Inf. Inference 2021; Vovk, "Conditional validity of inductive conformal predictors", 2012, Proposition 4) is stated for a marginal without atoms, and Vovk notes that a predictor keeping only an atom's examples is conditionally valid there: x mod M has M atoms, so per-atom coverage is attainable here and scoring it legitimate; and since the truth is exact, every set's coverage is computed with no test sample. Split conformal holds its marginal guarantee at every cell and sample size (mean 0.704 to 0.726 against 0.70), its mean size at most 1/25 from OPT, and at both tilted cells its worst atom receives a set of exact coverage 0 in 19 or 20 of every 20 trials at every size. Mondrian's guarantee holds per atom in expectation over draws, not in each: at 32,000 samples the worst of TILT-4-WIDE's 105 atoms sits below 0.70 in every trial, at 0.653 averaged over trials (TILT-3's at 0.716). Two predictors the marginal guarantee cannot separate: one covers nothing at an atom the other covers, and sixteen times the data does not lift split's zero. At the untilted cells split's mean size sits below THR (3 and 7, against OPT 2 and 74/15): the threshold form's penalty falls on the form, not the practice.
The certificate brackets the optimum
Tier: property.
Verifier: proof; sets.py::section_sweep, sets.py::section_seeds,
sets.py::section_ring.
δ > 0: if A alone covered T, the next posterior value up would be operative. With rc_i = w_i(1 − p_i/t*), the reduced cost at price 1/t*, every rule R covering T satisfies
cost(R) = Σ_{i∈R} rc_i + cov(R)/t* ≥ Σ_{rc<0} rc_i + T/t* = L,
and the pairs of negative reduced cost are exactly A; so L ≤ OPT ≤ CERT ≤ THR. Every tied pair covers t* times its cost, so CERT's coverage is cov(A) + t*·fill and
CERT − L = fill − δ/t* = D/t*
for any fill: the certificate's whole room over the relaxation is its surplus divided by the operative level. Rule by rule the same display reads
t*·(cost(R) − CERT) = e(X) + f(Y) + D_R − D,
e(X) the excess w|p − t*| summed over the pairs of A that R drops, f(Y) that of the pairs below t* it buys and D_R its own overshoot: R beats the certificate iff the three together fall under D. ∎ The display is complementary slackness, standard.
At equal masses the certificate is the optimum
Tier: property.
Verifier: proof; sets.py::section_sweep, sets.py::section_seeds,
sets.py::section_ring.
When every pair costs w, OPT is w times the least count of pairs whose posteriors, taken largest first, cover T, the size of a smallest covering region of the distribution on pairs (O'Neill, Comput. Stat. 2022); those are A followed by tied pairs, since t* is operative, so CERT = OPT and
THR − OPT = w (b − ⌈δ/(w t*)⌉).
The thresholded form (Sadinle, Lei and Wasserman, JASA 2019, Theorem 1, which assumes no point mass at the level and sets aside the randomized rule a discrete observable wants) pays exactly when the operative level is tied past what the deficit needs, and never at b = 1: a tie fact, not an atomicity one; that randomized rule's size is L. ∎ At FLAT-3 every atom carries {3/7, 2/7, 2/7}, and THR is 3 against OPT 2; at DEAD-7, 7 against 74/15.
Off equal masses the certificate can overstate
Tier: property (proved by two exhibited cells; how often, an
observation on the sweep at three seeds).
Verifier: proof; sets.py::section_sweep, sets.py::section_seeds,
sets.py::section_controls.
Three atoms of masses 3/10, 3/10, 2/5, each with posteriors (2/5, 2/5, 1/5): t* = 2/5 with nothing above it, the fill needs tied cost 7/4, and the least total of some of four 3/10s and two 2/5s reaching it is 2, so CERT = THR = 2 with coverage 4/5; the sizes (2, 3, 1) cost 19/10 and cover exactly 7/10. An optimum drops a heavy tied pair and tops up with a light pair below the operative level, spending the surplus the fill overshot by. The equal-mass law's b = 1 clause fails too: at masses 1/10, 9/20, 9/20 and posteriors (1, 0, 0), (1, 0, 0), (4/5, 1/5, 0), t* = 4/5, b = 1 and THR = CERT = 1, while dropping the light atom's above-level pair costs 9/10 and still covers 0.81. ∎ The certificate overstates at over a third of the sweep's unequal-mass cells at each seed (1,110 of 3,000 at the recorded one, 442 of them at b = 1) and is exact at the rest.
Three tests can prove the certificate exact
Tier: property (proved; the three tests read at the four ring cells,
the anchored gap at every one but TILT-4-WIDE, whose 105 atoms are not
searched).
Verifier: proof; sets.py::section_sweep, sets.py::section_seeds,
sets.py::section_ring.
CERT − OPT lies in [0, D/t*] by the room identity, so a floor under the positive values CERT − OPT can take that exceeds D/t* proves CERT = OPT. Two such floors hold, and a third test reads the prices. The lattice gap g, at rational masses the least positive integer combination of them: CERT − OPT is one such; at equal masses g = w > D/t*, the fill stopping at the first tied pair that closes δ, so this test decides every equal-mass cell. The anchored gap ĝ, the least positive Σ c_r w_r over the box c_r ∈ [s_r − k, s_r], s the certificate's sizes: CERT − OPT = Σ (s_r − s′_r) w_r for an optimum's sizes s′_r ∈ [0, k], and ĝ ≥ g since the box sits in the lattice. The price gap ρ, the least nonzero |rc_i| (none if every pair is tied, where the fill is optimal), is no such floor, but by the bracketing display a rule leaving out a pair of A or holding a pair below t* costs at least L + |rc_i|, so D/t* < ρ confines every optimum to A plus tied pairs, whose best is the fill. ∎
| cell | D/t* | g | ĝ | ρ | exact, by |
|---|---|---|---|---|---|
| TILT-3 | 2.79e-2 | 2.3e-21 | 1.8e-9 | 1.41e-2 | no |
| FLAT-3 | 5.00e-2 | 6.67e-2 | 6.67e-2 | 3.33e-2 | yes, g and ĝ |
| DEAD-7 | 3.33e-2 | 6.67e-2 | 6.67e-2 | none | yes, g and ĝ |
| TILT-4-WIDE | 4.35e-6 | 6.02e-242 | not searched | 1.81e-3 | yes, ρ |
Geometric masses leave g far below D/t* on the tilted cells; at TILT-3, where the certificate overstates, no test can fire.
On the geometric walk's tail the anchored gap is one product
Tier: rule (proved for every real n ≥ 1451, by exact root isolation and
an exact search of the box; the gap computed at four n).
Verifier: gaplaw.py::section_profile, gaplaw.py::section_box,
gaplaw.py::section_gap, gaplaw.py::section_optimum,
gaplaw.py::section_tail_proof, gaplaw.py::section_controls.
The walk W-n is the ring cell N = 105, M = 15, k = 3 at θ = (n − 1)/n; TILT-3 is W-25. Its masses are geometric, w_r = θ^r κ with κ = (1 − θ)/(1 − θ¹⁵), so a box vector c is a polynomial P_c(z) = Σ c_r z^r with Σ c_r w_r = κ P_c(θ), and since θ − 1 = −1/n its expansion at 1 is a series in 1/n, P_c(θ) = Σ_j m_j (−1/n)^j over its binomial moments m_j = Σ_r C(r, j) c_r: the anchored gap is FLATTEN's object read at one point (FLATTEN: Flattening is annihilation).
For every real n ≥ 1451 the certificate's sizes are 111112222233333; at n = 1450 they are not, and there the certificate is the optimum. Eight signs decide the profile: six comparisons of posteriors with the operative level (q² − q⁴)/(1 − q⁷), q = θ¹⁵, the level's coverage, and the fill test that the four heaviest tied pairs fall short. Each is an integer polynomial in θ of degree at most 120, and exact root isolation finds all eight root-free on [θ₁₄₅₁, 1), θ_n = (n − 1)/n; the fill test's one root past n = 1400 sits between n = 1450.3068 and 1450.3070. On that box the anchored gap is, exactly,
ĝ = κ·θ(θ − 1)(θ² − 1)(θ³ − 1)²
= θ(1 + θ)(1 + θ + θ²)² / ((1 + θ + ⋯ + θ¹⁴)·n⁴),
so ĝ·n⁴ tends to 6/5. A vector is flattened to J when its first J moments m_0, …, m_{J−1} vanish, and its flattening is the largest such J. The box's 4¹⁵ vectors, searched exactly by meet-in-the-middle on their moments, hold three flattened to 4: zero, z(z − 1)(z² − 1)(z³ − 1)² with m_4 = 18, and (z − 1)(z² − 1)(z³ − 1)(z⁴ − 1) with m_4 = 24; no nonzero one is flattened past 4. At flattening J ≤ 4, n^J·|P_c(θ)| ≥ |m_J| − E_J, E_J a bound on the largest |m_{J+1}| over the box's vectors flattened to J divided by n, plus a coordinatewise tail, falling as n grows. At J ≤ 3 the margin over what beating 18·n⁻⁴ needs, |m_J| ≥ 1, is at least 0.39 at n = 1451; at flattening 4, E_4 < 0.06 there, so the vector at 24 stays above 18·n⁻⁴, which the vector at 18 stays under. ∎
So the anchored test fails, by eleven orders or more at the four n computed (1451, 2000, 10⁴, 10⁵): its gap falls as n⁻⁴ while the room tends to 1/20, 5/7 covered against 7/10 at a level near 2/7. It fails at every real n ≥ 1451: the optimum's sizes are 011111133333333, abandoning atom 0, the heaviest. At θ = 1 every atom weighs 1/15, a pair of posterior 3/7 covers 3/105 and one of 2/7 covers 2/105, so a rule of S = Σ s_r slots serving σ atoms covers (2S + σ)/105 against T = 73.5/105: no rule of 29 slots covers, and every rule of 30 serving at least 14 atoms covers at the same cost. The tilt costs a rule κ(S − Σ r·s_r/n + O(n⁻²)), so among those the largest first moment wins: 011111133333333, at 273 against a runner-up 272. On the tail this is exact. The terms past first order of two 30-slot rules differ by at most 1365/n², below the 1/n a unit of first moment buys once n > 1365; a rule of 31 or more slots costs more, since 31θ¹⁴κ > 30κ for every n ≥ 428; and fourteen more integer polynomials in θ, root-free on [θ₁₄₅₁, 1), show that every pair 3/7 at θ = 1 covers more than every 2/7 one, that the optimum covers T, and that no other 30-slot rule of moment at least 273 does (one for the rules serving twelve atoms or fewer, one at each of the 11 served 13-atom sets admitting such a moment), while the fill test shows again that no rule of 29 slots covers. The two size vectors differ by a box vector with m_0 = 0 and m_1 = −13, so CERT − OPT = κ(13/n − 60/n² + ⋯), and (CERT − OPT)·n tends to 13/15: the overstatement sits at flattening 1, three powers of n above the least difference the box allows.
An exact solver for the marginal optimum
Tier: property (proved).
Verifier: sets.py::solve, sets.py::section_ring,
sets.py::section_controls, fates.py::section_census,
fates.py::section_grid, fates.py::section_seeds.
Minimizing set size under marginal coverage is a multiple-choice knapsack: atom r takes a size s ∈ [0, k] at cost w_r s and coverage w_r times its s largest posteriors. The bracketing display fixes every pair with |rc_i| > CERT − L, in if rc_i < 0 and out if rc_i > 0, since flipping it costs more than the certificate. Each atom keeps a range of sizes; the atoms split into two halves, each folded to its Pareto frontier of cost against coverage, and the halves join on the coverage axis. The answer is exact with or without the fixing, which only shrinks the frontiers. The four ring cells, costs in expected labels:
| cell | L | OPT | CERT | THR |
|---|---|---|---|---|
| TILT-3 | 0.9008338 | 0.9194957 | 0.9287750 | 1 |
| FLAT-3 | 1.95 | 2 | 2 | 3 |
| DEAD-7 | 4.9 | 74/15 | 74/15 | 7 |
| TILT-4-WIDE | 0.8966969 | 0.8967012 | 0.8967012 | 1 |
At TILT-4-WIDE the fixing leaves only the 26 atoms holding the tied block's pairs free, 8,192 frontier points a half; its 5^105 size vectors are out of reach.
At equal masses the operative level forbids the wrong forced fates
Tier: property (proved; read at every equal-mass cell of four atoms
with rows on the tenths, 2,380 multisets of 14 sorted rows, and at the
sweep's 400, its 300 of three atoms reading nothing; the eight-atom
optimum by enumeration, its conformal reading one seeded stream).
Verifier: proof; fates.py::section_grid, fates.py::section_equal,
fates.py::section_straddle.
An atom is forced-abandoned when every optimum gives it the empty set, forced-served when none does, and open otherwise. The abandonment condition: no atom carrying a label above t* is forced-abandoned, and no atom whose whole row sits below t* is forced-served. At equal masses the certificate is an optimum, and it serves every atom above the operative level and abandons every atom below it, so the condition holds. ∎ Other optima may differ where the surplus covers a trade: of the 7,216 above-level atoms in those 2,380 cells 846 are abandoned by some optimum, and of their 77 atoms wholly below the level 15 are served by some. At three equal atoms the law reads nothing: a rule emptying one covers at most 2/3 < T. Eight atoms of mass 1/8, seven peaked at 0.86, 0.85, ..., 0.80 and one at (0.40, 0.32, 0.28), against a bar of 0.70: the seven tops cover 0.72625, so t* = 4/5 and the one optimum is seven singletons and the empty set at the eighth, OPT = 7/8. The eighth atom is outnumbered. Split conformal, run on it, returns the optimum's own sets, its least-covered atom at exact coverage 0, in each of 20 trials at sample sizes 2,000, 8,000 and 32,000 and in 194 of 200 more at 2,000.
Off equal masses the condition fails both ways
Tier: property (proved, the failures by two exhibited cells, each with
one optimal size vector; the bounds read at every atom of the sweep at
three seeds).
Verifier: proof; fates.py::section_witnesses, fates.py::section_census,
swaps.py::section_mass_bounds, swaps.py::section_seeds.
Above: the b = 1 cell of masses (1/10, 9/20, 9/20) that the certificate overstates. Below cost 9/10 at most one heavy label is bought and coverage is at most 0.55; cost 9/10 forces s₀ = 0 and s₁ + s₂ = 2, and only (0, 1, 1) covers: the atom of mass 1/10, certain of its label, p = 1 > t*, is forced-abandoned. Below: masses (17/20, 1/10, 1/20), rows (4/5, 1/5, 0), (4/5, 1/5, 0), (3/5, 2/5, 0). Level 4/5 covers 0.76, so t* = 4/5, and the certificate (1, 1, 0) costs 19/20; (1, 0, 1) costs 9/10 and covers 0.68 + 0.03 = 0.71, and nothing cheaper reaches the bar; only (1, 0, 1) reaches it at 9/10, as without the heavy atom coverage is at most 0.15 and beside it only one label of the light atom fits. The light atom, whose best label 3/5 sits below the operative level, is forced-served, because it tops up the heavy atom's shortfall at half the price of the tied pair. ∎ Of the sweep's 15,000 atoms off equal masses, 784 above the level are forced-abandoned and 45 wholly below it forced-served.
Two bounds on an atom's mass. Some covering rule abandons r exactly when w_r ≤ 1 − T: the other atoms' whole rows cover 1 − w_r. And an atom r wholly below t* holds none of the pairs {p ≥ t*}, which cover T, so w_r ≤ 1 − T/ψ_max, ψ_max the largest posterior mass any atom holds at or above t*. ∎
At three atoms on the twentieths every mass vector fails
Tier: rule (verified: T = 7/10, the 171 mass vectors on the twentieths
at every row triple on the tenths, and (6, 7, 7) at every one on the
twentieths).
Verifier: fatecensus.py.
At T = 7/10 every three-atom vector of masses on the twentieths (each at slack ≥ 0, as w_min ≤ 6/20) has rows on the twentieths at which an atom above t* is forced-abandoned. On the tenths 32 of the 33 up to order fail, 24 by one template (two certain atoms, the third split) and 8 off it. The survivor, (6, 7, 7), survives by the grid. Only its atom of mass 6 can be abandoned (7/20 > 1 − T), and an optimum abandoning it buys both other rows whole (with neither split, t* = 1), and swapping that atom's top x in for the least positive label P of the two rows saves 1/20 and covers iff 6x ≥ 7P; so x < 7P/6, which on the tenths forces x ≤ P (P ≤ 1/2, so P/6 < 1/10), and with it the level up to x. On the twentieths the rows (8, 6, 6), (13, 7, 0), (20, 0, 0) (over 20) break it: (1, 1, 1) costs 1 and covers 0.6975, every cheaper or equal vector serving the light atom misses, the one optimum (0, 2, 1) costs 21/20, and t* = 7/20 sits below the abandoned top 8/20. A row on the tenths is one on the twentieths, so every vector fails there. ∎
At no slack three atoms keep the condition only at equal masses
Tier: criterion (proved, at k ≥ 3 labels; the construction read at
2,000 exact draws, masses on the thousandths, 1,071 at slack > 0).
Verifier: proof; slackzero.py.
At three atoms, k ≥ 3 labels (zeros padding the rows) and any T, a vector with an atom of mass exactly 1 − T lighter than another fails, whatever the slack. Call the masses m < a and b, so the bar is T = a + b, and give the atoms rows (x, y, y), y = (1 − x)/2, then (1 − P, P, 0) and (1, 0, 0), with 2/5 ≤ P < 1/2 and x above P but below aP/m, below 1 − P and, when 2m ≤ a, below 2aP/m − 1 (never an empty range, as a > m and 1/3 < P < 1/2). Abandoning the light atom must buy both other rows whole, (0, 2, 1) at cost 2a + b. A rule serving it at no more cost either buys atom a's row whole by dropping the third atom's, and then the light atom's labels, costing ms₀ ≤ b, cover less than b; or buys at most one of its labels and must win at least aP back from the light atom's labels, which m < a, P ≥ 2/5 and the bounds on x forbid (the case list in slackzero.py's header). So the light atom is forced-abandoned, and at a level in (P, x] the pairs cover mx + a(1 − P) + b < a + b while at P they cover T, so t* = P < x. At slack 1 − w_min − T = 0 only an atom of mass 1 − T = w_min can be abandoned at all (a rule abandons r only when w_r ≤ 1 − T), so off equal masses a least atom lighter than another fails, and equal masses qualify: at no slack three atoms keep the condition at every row iff their masses are equal. ∎ (6, 7, 7) at T = 7/10 sits at no slack, so this alone fails it.
The rest's integer price decides the fate, the atom's own numbers do not
Tier: property (proved, each negative by an exhibited pair; both
negatives' collisions counted on the sweep).
Verifier: proof; fates.py::section_dead, fates.py::section_rest.
A test an auditor runs on one subpopulation reads its mass, its row and the operative level, a function of (w, row, t*). The atom of mass 1/10 with row (1, 0, 0) at t* = 1/2 is forced-abandoned in the cell of masses (11/20, 7/20, 1/10) with rows (7/10, 3/10, 0), (1/2, 1/2, 0), (1, 0, 0), whose one optimum (1, 2, 0) costs 5/4, and forced-served in the cell of masses (3/5, 3/10, 1/10) with rows (1/2, 1/2, 0), (1/2, 2/5, 1/10), (1, 0, 0), whose one optimum (2, 0, 1) costs 13/10 while every rule without it costs at least 3/2. Every such test fails on one of the two; on the sweep, its rows written sorted, 276 of the 1,255 distinct (w, row, t*) that carry a forced fate carry both.
What decides is the rest of the cell. An atom's rule of size s is no better than its top-s prefix, covering w·P_s, w the atom's mass and P_s the sum of its s largest posteriors, and the rest is bought separately, at the remainder the atom leaves; with Λ(v) the least cost at which the other atoms cover v, labels bought whole (the rest's integer price; 0 at v ≤ 0, infinite where they cannot),
OPT = min_s [ s·w + Λ(T − w·P_s) ], s = 0, …, k.
The atom is forced-abandoned iff the s = 0 term is strictly least, forced-served iff some s ≥ 1 term is strictly below it, and open on a tie. ∎ So the k + 1 sums s·w + Λ(T − w·P_s) decide the fate; the same minimum holds over any finite menu of options, and the equal cost of an atom's labels is what shrinks its menu to the k + 1 nested prefixes. The rest's fractional price at the same remainders, its pairs bought by posterior with the last in part, does not decide it: fates.py::section_rest holds two cells where one atom meets the same four fractional prices and opposite forced fates, and on the sweep 115 of 12,190 such keys carry both.
Deciding a fate encodes subset sum
Tier: theorem (two reductions, proved; their cells built and read by
enumeration, the first at every multiset of at most four parts from 1
to 4 and each B from 1 to its sum, 560 instances, at T = 7/10, 1/5 and
19/20, the second at the 2,520 of at most six parts, at e = 0, 1/4 and
9/20).
Verifier: proof; fixedt.py::main, fatehard.py::main.
Take subset sum: positive integers b_1, …, b_n and B, asking whether some subset sums to B, and any rational target 0 < τ < 1. Build a cell at k = 2 with W = B + 3/4: atom i of mass b_i·u, an atom a of mass W·u and a filler of mass D·u, each of row (3/4, 1/4), and a pad of mass P·u and row (1, 0), with u = 1/(Σb + W + D + P) and T = (P + 3B/4)·u. T = τ fixes P by P(1 − τ) = τ(Σb + W + D) − 3B/4, and D is the least integer ≥ B + 1 leaving P ≥ 3. Every atom but the pad covers 3/4 per unit of cost at size 1 and 1/2 at size 2. So a covering rule without the pad costs at least 4T/3 = (P + B + P/3)·u ≥ (P + B + 1)·u, and one holding the pad and the filler at least (P + D)·u, no less. Beside the pad and without the filler or a, the atoms i must cover 3B/4·u, at a cost a whole multiple of u and at least B·u, with equality only at a subset summing to B, all at size 1. And the pad with a at size 1 covers T at (P + W)·u, the least a rule holding both can cost. If a subset hits B, OPT = (P + B)·u and a is forced-abandoned, by 3u/4; if none does, every rule without a costs at least (P + B + 1)·u > (P + W)·u = OPT, and a is forced-served, by at least u/4. ∎
With T left to the instance the pad and the filler go, and one row serves: every atom of row (1 − e, e) for any 0 ≤ e < 1/2, any B < W < B + 1, u = 1/(Σb + W) and T = (1 − e)·B·u. By the same count, a second label covering e < 1 − e per unit of cost, the least cost of a rule covering T without a is B·u if a subset sums to B and (B + 1)·u or more if none does, while a alone at size 1 covers T at W·u, the least a rule serving a can cost: forced-abandoned by (W − B)·u, or forced-served by at least (B + 1 − W)·u. ∎ Of a's row the count uses only that its top is at least (1 − e)B/W.
So "is this atom forced-abandoned?" is NP-hard and "is it forced-served?" coNP-hard with masses written in binary, at every fixed rational T. Membership in NP or coNP is not claimed. The hardness is weak: on a mass grid of step 1/m every cost is one of the km + 1 multiples of 1/m up to k, so a table of the most coverage at each decides every fate in time polynomial in the atom count, k and m. The second cell is read at W = B + 3/4 with a's row (q, 1 − q), q = (B + 1/2)(1 − e)/W, the first as written: at every instance the fate is the answer. At e = 1/2, where a second label covers as much per unit of cost as a first, the second cell's fate is wrong at 161 of its 497 no instances, those whose B is a sum of parts each taken at most twice.
A rescue is an exchange whose masses balance
Tier: property (proved; of the sweep's 2,674 cases of an atom and an
optimum abandoning it 1,047 have a rescue: 908 a dominated one, 37 no
drop-set and 102 none that covers; the full partner's hypotheses
hold at 123 places, each a listed optimum).
Verifier: proof; swaps.py::section_exchange.
Let R abandon r and R′, a rescue, serve it at size s, both optima. Where R′ is lower on another atom it drops d_i labels, where higher it gains a_j, and since both cost OPT,
Σ_drops w_i·d_i − Σ_gains w_j·a_j = s·w_r.
So a rescue that only drops, a dominated one, needs a drop-set, labels R holds off r weighing exactly s·w_r for some 1 ≤ s ≤ k, and a drop-set gives one exactly when its rule, R less the set with r at size s, still covers T. Coverage is automatic at a full partner, an atom i that R serves at all k labels with w_i·d = s·w_r, d ≤ k: dropping i's lowest d labels loses at most w_i·d/k while r's top s gain at least s·w_r/k, so the trade is an optimum. ∎ Of the sweep's 943 open atoms 128 are rescued only by gain, and where no drop-set exists every rescue gains somewhere. At masses (1/20, 1/2, 9/20) and rows (4/5, 1/10, 1/10), (3/5, 2/5, 0), (3/5, 1/5, 1/5), t* = 2/5, the atom of mass 1/20, above the operative level, is abandoned by the optimum (0, 2, 1) and served only by (1, 1, 2): one label of mass 1/2 dropped, one of 9/20 gained, and no drop-set of (0, 2, 1) weighs 1/20, 1/10 or 3/20.
Open fronts
At slack 1 − w_min − T ≥ 0 and k ≥ 2, does any mass vector off equal masses leave no atom above the operative level forced-abandoned whatever the rows? Below zero no atom is abandoned. At three atoms and k ≥ 3, at zero only equal masses qualify, and at any slack a vector with an atom of mass 1 − T lighter than another fails (slackzero.py); on the twentieths at T = 7/10 every vector fails (fatecensus.py). Open at three atoms with no atom of mass 1 − T lighter than another, where abandoning one need not buy whole rows, at k = 2, and at more atoms at every slack ≥ 0. At a fixed T the reduction uses two rows, the pad's beside the rest's; does one suffice? No print decides it. A sketch, underived, splits it at T = 1/2: below, an atom whose mass lies off the lattice the b_i·u span; above, a pad no rule can omit.