The floored mixture: normal form, event bound, no accumulation, convergence ([Inevitability] §6) #
QuantizationRate prices one projected generation against the exact Bayes step it approximates,
and leaves two questions open: what the error budget of [Discovery] §3.3 becomes for a process
that reserves a quantum per candidate, and what the residual does over a whole run. The
fixed-mixture redundancy argument does not transfer verbatim to either — the floor leaks mass off
the truth at every step, and the rescale projection can drop an update entirely. Both questions are
answered here, in one named regime, off a single exact description of the dynamics.
A third question is answered off that same description, and it is about the fiber's reading rather than its distribution: whether selection under predictive fitness reaches a settled state at all. Under realizability it does — and by the fitness alone, the weighted fiber carrying no variation rule to impose one.
The regime #
Budget W = 2 ^ b; the 2-vs-1 fitness shape of predFitPos, driven by an abstract miss
indicator M : ℕ → Fin C → Bool; and wRun's own all-ones start. The normal form assumes
nothing beyond that, and neither does the event bound in the tracking form that counts the
error times against an arbitrary reference candidate's own errors. Two results add realizability
— a candidate iR that never misses — and there the hypothesis is load-bearing rather than
convenient: the lifetime-free event count and the no-accumulation bound are both refuted without
it, by families satisfying every other condition. The base dynamics, the decoder and the candidates'
predictions are all abstracted into M, so the results hold of any instantiation.
Main results #
wRun_eq_pow_expRun— the general normal form, the hub everything else reads off, and it carries no hypothesis at all. The floored run is exactly an exponent automaton: the weight of candidateiat timetis2 ^ expRun M b t i, where a hit adds one exponent and the common rescale subtracts one from every exponent exactly when some candidate already at the ceiling hits. This is an identity, not an estimate: every weight is a power of two throughout, and the projection's floor at one quantum is the ℕ-subtraction's clip at exponent0.expRun_lemakes the ceiling an invariant, andexpMax_mono/expMax_absorbingmake the running leader a proved object rather than an assumption — non-decreasing, and absorbing once it reaches the ceiling.wRun_eq_pow_deficit— the saturation normal form: the hub read at a frozen leader. A candidate that never misses holds the ceiling from timebon, so from then on every step triggers the rescale and the automaton collapses (expRun_eq_deficit) to a clipped deficit,2 ^ (min t b - missCount M i t)with ℕ-subtraction carrying the clip. A hit then pays nothing, a miss costs one exponent, and the rounding residual — the whole subject ofQuantizationRate's per-step rate — vanishes identically.raw_wRun_eq_bayesRun_missFitrecovers the known below-horizon regime from it, andraw_wRun_allMiss_eq_badWidentifiesweighted_fiber_not_exactly_bayes's annihilated update as the clip in action — a saturated competitor's miss absorbed at the floor.floorErrorTimes_card_mul_le_missCount— the event bound, and it asks for no realizable candidate. Call a step an error time when the mass on the candidates that miss there exceeds a thresholdθ. Once the budget clears that threshold (2(C−1) ≤ θ·2^b), the error count over any horizon satisfiescard · θ ≤ 4(C−1) + 2C · missCount i₀ nfor every candidatei₀in the pool — quantified over the whole pool, not chosen as an argmin, which is the presentation the bound is imported in. The horizon never reaches the right side by itself, only through one candidate's own errors, the same product form asBayesRedundancy.errorTimes_card_mul_le; the leak is priced against the threshold and against the reference's errors, never against elapsed time. This is the mixture-currency instance of the agnostic weighted-majority bound of Littlestone and Warmuth (1994); the theorem's own docstring carries the citation and says exactly what is proved here rather than imported.floorErrorTimes_card_mul_le— the lifetime-free specialization: read at a candidate that never misses, whose miss count is0at every horizon, the bound above becomescard · θ ≤ 4(C−1)over the whole run,noccurring only inside the set of error times. This is the form [Inevitability] §6 consumes.floorErrorTimes_unbounded_below_budget— the budget guard, proved first. At its own conditionθ·(2^b + C − 1) < C − 1the bound above is not merely unproved but false: on the all-miss family every step is an error time, so the count grows with the horizon without limit.floorErrorTimes_unbounded_witnessis a concrete instance. That condition is therefore load-bearing —floorErrorTimesFrom_card_add_le_capacity(inLogMassEvent.lean) reads it negated as its own hypothesis and is bounded wherever this guard is not, so the budget threshold2(C-1) ≤ θ·2^bused above is a sufficient condition for both bounds' constants and not the boundary of either — andfloorErrorTimes_vacuous_at_badW_budgetmarks the other edge — at the annihilating instance's ownC = W = 2the hypothesis already forcesθ ≥ 1, wherewrongMass_lt_oneleaves the set of error times empty.floorErrorTimes_unbounded_everyMissandfloorErrorTimes_unbounded_altMiss— the realizability guard, and it refutes rather than defers. With the budget gate satisfied, two families make every step an error time: the degenerate one where nobody ever hits, and the non-degenerate one where two candidates miss alternately and each hits half the time.floorErrorTimes_card_mul_gt_everyMiss_witnessandfloorErrorTimes_card_mul_gt_altMiss_witnessexhibit the gate holding and the conclusion failing at named parameters. So a lifetime-free right side is unavailable in general, and what replaces it is the reference candidate's own miss count —floorErrorTimes_card_mul_le_missCount, which holds of these families rather than excluding them. Read the other way they become sharpness witnesses:le_of_card_mul_le_missCount_everyMissandtwo_mul_le_of_card_mul_le_missCount_altMissforce any admissible miss-count coefficient to be at leastθ, and at least2θon the alternating family.wrongMass_everyMissrefuteswrongMass_lt_oneon the same family;wrongMass_lt_one_of_hitis its repair (the honest hypothesis there is per-step), andwrongMass_le_oneis the unconditional non-strict form.toDist_wRun_sub_bayesRun_le— the drift does not accumulate. The floored run's reading stays within2(C−1)/2^bof the exact Bayes run's in total variation, uniformly in the elapsed time: the bound mentions no horizon at all. The per-step rate provably does not telescope, so what replaces the telescope is the normal form — rescaled by the common factor the clip cost it, the floored run agrees with the exact run coordinate for coordinate except on the saturated candidates. The residual measures the spread of the candidates' miss counts beyondlog₂ W, and nothing about elapsed time.toDist_mul_left— normalization forgets a common scalar — is the one general-purpose lemma the argument needed.toDist_wRun_sub_bayesRun_not_le_mirrorMiss— the same guard for accumulation. On a mirror family whose two candidates end with equal miss counts, the exact run is symmetric while the floored one reads1 : 8, and the discrepancy is exactly7/9at every budget — against a bound that vanishes in the budget. What the floor buys istrackingthe recent leader, and tracking is not approximating exact Bayes; the exact-Bayes comparison exists only in the one regime where the leader never changes.toDist_wRun_sub_bayesFrom_le— the tracking form of that bound, and it is the answer to the guard above rather than a retreat from it. Change the comparator:bayesFromis exact Bayes restarted at a timesfrom the floored run's own state there. Against it the same2(C−1)/2^bholds, uniformly in the elapsed time, with no realizable candidate anywhere — the hypotheses are carried by one candidate over the window[s, t)alone, that it is a running co-leader atsand misses at no step inside.coleader_persistsmakes the first hypothesis propagate, andexpRun_eq_hitCount_subis the window's own normal form: the state atsplus the restarted hit count, less the rescales the window paid. The bound above is thes = 0instance (bayesFrom_zero), proved as such and not separately.toDist_wRun_sub_bayesFrom_not_le_preAbsorptionandtoDist_wRun_sub_bayesFrom_not_le_sinkRecover— the two hypotheses are independent, and both load-bearing. Each family drops exactly one and holds the discrepancy at a constant while the bound vanishes:preAbsorption(C = 3) offers the window a never-missing candidate (preAbsorption_never_misses_one) that is a whole budget short of co-leadership ats(preAbsorption_not_coleader), and reaches850/963;sinkRecover(C = 2) offers a genuine co-leader ats(sinkRecover_coleader) that later quits, and reaches63/65.preAbsorption_misses_of_ne_oneandsinkRecover_no_survivorclose the escape in each case: no other candidate could have been taken instead.raw_wRun_eq_wMax_iff/argmax_wRun_eq_least_consistent— the ceiling set is the version space. Under realizability a candidate carries the maximum weight exactly when its miss count is zero, so the reading —argmax, whose fold keeps the incumbent on ties — is the least-indexed candidate that has never missed. An identity, holding at every time past the first rescale rather than asymptotically, and read straight off the saturation normal form.argmax_wRun_eventually_const— selection settles. The version space is antitone and never empty, so the reading's index is a non-decreasing natural number below the candidate count:argmax_wRun_mono(which needs no guard — before the first rescale the pool ties and the reading sits at0) and thenargmax_wRun_card_changes_le, theC − 1bound on how often it moves. What drives it is the fitness alone; the fiber has no variation rule to impose a settled shape.rotMiss/argmax_wRun_rotMiss/wrongMass_rotMiss— the least-recently-wrong rotation:Ccandidates, candidateimissing exactly att ≡ i (mod C). The reading is exactly the candidate about to miss (argmax_wRun_rotMiss), so it is dethroned at every step onceC ≥ 2(argmax_wRun_rotMiss_ne_succ); yet the wrong mass never exceeds2/(C+1)(wrongMass_rotMiss), so the set of error times stays empty at any threshold at or above that floor (floorErrorTimes_rotMiss_eq_empty).rotMiss_prediction_identification_separationassembles both halves, androtMiss_prediction_identification_separation_witnessis the concrete, non-vacuous instance. The reading is the classical follow-the-leader rule, already cited in-corpus via Lattimore–Hutter–Sunehag ([Discovery] §3.3); what is exhibited is the separation of two repair counters this file already carries, not a new reading.argmaxFrame_wWorld_eventually_const— the fiber's own reading settles, along a base trajectory and through the frame the pricing assembly uses.predMissinstantiates the abstract indicator atpredFitPosscored against the base's next state,missFit_predMissis the bridge, anditerate_wWorld_wStartAtidentifies the skew product's fiber coordinate withwRun. Pathwise, from the all-ones start, with no hypothesis on the initial state;argmaxFrame_wWorld_eventually_const_of_faithfulis the same statement from a codeword that decodes to the base rule itself.
Scope #
The regime above is the whole of what is claimed. General W is not covered here: the
exactness of the normal form is what a power-of-two budget buys, and outside it the rounding
residual returns and the per-step rate of QuantizationRate remains the only tool. (The one thing
that does hold at a general budget is the settling of the reading, which needs no closed form —
BasinSettling.) Neither is a general fitness ceiling, nor stochastic candidates. The event
bound's constant is linear in the candidate count where [Discovery] §3.3's is the description
length of the truth; that is the price of the uniform prior wRun starts from, and no sharpening
of it is attempted. The miss-count
coefficient is likewise linear in C where the logarithmic potential argument gives one free of it:
that is the price of an additive accounting in ℚ, and the sharpness readings above bound how much is
being given away. The tracking form of the accumulation bound reaches only the comparator
restarted at a co-leader point: what is false against exact Bayes from the beginning of time stays
false, and the restarted form's own guards say what is false without each of its hypotheses.
No bound against a comparator restarted at an arbitrary time is claimed, and the two families
show why one is not available. The floored process is treated abstractly through M, and
[Discovery] §3.3's own fixed-mixture bound is untouched, exported exactly as before.
The convergence at the end is the discovery half only, and it is pathwise: the reading settles
on a candidate consistent with the observed trajectory, at every trajectory that carries one. It is
stated from the fiber's own all-ones start, and everything it says about which candidate the
reading settles on is a privilege of that start — BasinSettling carries settling to every initial
weight vector and every budget, and refutes the version-space characterization, the reading's
monotonicity and the C − 1 change count there. What neither gives is the race: which initial
conditions let discovery outrun damage turns on the survival half, priced elsewhere; nothing here
covers the winner-take-all fiber, whose fixed pool is not this dynamics, nor a noisy base, where
even the best candidate misses and realizability fails. Nor is any of it a coverage statement:
the pricing assembly's hypothesis quantifies over initial states of the base coordinate, and neither
condition implies the other.
Both statements are in ℚ wrong-mass form rather than squared-Hellinger form. For deterministic
point-predicting candidates the translation is arithmetic — the mixture's probability of the
realized symbol is 1 − the wrong mass — and keeping it out of the Lean statement avoids a real
square root for no added content, at the same abstraction level at which [Inevitability] §6 consumes
the fixed-mixture set of error times.
The rotation family sits inside the same below-the-horizon regime as the general normal form: its
closed forms hold for t ≤ b, and no claim is made past it. What it claims is exactly the
separation of two repair counters this file already carries — nothing about observer
synchronization, stored structure, or program-running-time depth, none of which any result here
characterizes, contrasts with, or bears on.
How often candidate i has missed strictly before time t.
Equations
- ReflectiveSubsystems.missCount M i t = {s ∈ Finset.range t | M s i = true}.card
Instances For
The exponent automaton #
The floored run's whole state is one exponent per candidate. expStep is the transition, and it
carries no hypothesis: a hit adds one to the candidate's exponent, and the common rescale
subtracts one from every exponent exactly when some candidate already at the ceiling hits. That
last clause is the entire content of the budget projection — the rescale tracks the weight vector's
maximum, so a step costs the whole population one doubling precisely when the leader would otherwise
overflow.
One step of the exponent automaton: a hit adds one, and the common rescale subtracts one exactly when some candidate at the ceiling hits. ℕ-subtraction carries the floor.
Equations
Instances For
The floored run's exponent vector, from the all-ones start.
Equations
- ReflectiveSubsystems.expRun M b 0 = fun (x : Fin C) => 0
- ReflectiveSubsystems.expRun M b t.succ = ReflectiveSubsystems.expStep b (M t) (ReflectiveSubsystems.expRun M b t)
Instances For
The exponents never leave the budget. The ceiling b is an invariant of the automaton, and
proving it needs nothing about the miss sequence: the only way to reach b + 1 is from b on a
hit, and a candidate hitting at the ceiling is exactly what triggers the rescale.
The general normal form — the floored run, in closed form, with no hypothesis at all.
At a power-of-two budget and the 2-vs-1 fitness shape, raw (wRun (2^b) (missFit M) t) is
exactly 2 ^ expRun M b t: every weight is a power of two at every step, and the whole run is the
exponent automaton above. Realizability plays no part — it enters the closed form below only
through the divisor, and the divisor is leader-relative to begin with.
The proof is the two divisor computations. A candidate at the ceiling that hits pushes the post-step
maximum to 2 ^ (b+1), where the rescale divisor is exactly 2; otherwise the maximum stays inside
the budget and the divisor is exactly 1. Because every weight is a power of two, dividing by 2
subtracts one exponent — and the projection's floor at one quantum is precisely the ℕ-subtraction's
clip at exponent 0.
The running leader #
The rescale is driven by the largest exponent in play. Under realizability that leader is frozen at the truth; in general it is still a well-behaved object, and the two facts the automaton needs are theorems rather than hypotheses.
The running leader's exponent: the largest exponent any candidate holds at time t.
Equations
- ReflectiveSubsystems.expMax M b t = Finset.univ.sup (ReflectiveSubsystems.expRun M b t)
Instances For
The one-step fact behind both leader theorems. When no ceiling candidate hits, every coordinate is non-decreasing; when one does, that candidate itself lands back on the ceiling, which already dominates the pre-step maximum.
A candidate's deficit against the running leader: how many doublings behind the largest exponent in play it sits. This is the general form of the geometric charge: under realizability the leader is the truth and the deficit is the miss count clipped at the budget exponent, but the reading is controlled by the deficit whether or not the leader is frozen.
Equations
- ReflectiveSubsystems.expDef M b t i = ReflectiveSubsystems.expMax M b t - ReflectiveSubsystems.expRun M b t i
Instances For
The realizable closed form #
Realizability collapses the automaton to a clipped deficit. A candidate that never misses
sits at the ceiling from time b onwards, so from then on every step triggers the rescale and the
leader is frozen: a hit pays nothing, a miss costs one exponent, and the exponent is the clipped
deficit min t b − missCount M i t.
The saturation normal form — the floored run, in closed form.
At a power-of-two budget, with the 2-vs-1 fitness shape and a candidate that never misses, the
projected run is exactly a clipped-deficit automaton: candidate i carries
2 ^ (min t b - missCount M i t), the ℕ-subtraction carrying the clip. This is an identity, not an
approximation, and that is what the regime buys. Realizability holds the truth at the ceiling, so
past the horizon the post-step maximum is exactly twice the budget and the common divisor is
exactly 2; a hit then pays ·2/2 and costs nothing, a miss pays ·1/2 and costs one exponent,
floored at one quantum. Every weight stays a power of two and the rounding residual — the whole
subject of QuantizationRate's per-step rate — vanishes identically here.
Both sides of the horizon are covered by the one formula: below it min t b is t and the
exponent is the hit count, which is raw_wRun_eq_bayesRun's regime.
This is wRun_eq_pow_expRun read at a frozen leader: the hub is hypothesis-free, and realizability
buys exactly the collapse of the exponent automaton to a clipped deficit.
The exact-run analogue of the normal form: with no carrier there is no clip, so the exponent is
the plain hit count and grows without bound. The difference between this and wRun_eq_pow_deficit
is the whole of what the finite carrier costs.
Below the horizon the normal form is the known regime. One formula covers both sides of the
horizon: while t ≤ b the clip has not bitten, the two exponents coincide, and the floored run is
the exact run — raw_wRun_eq_bayesRun's conclusion, recovered here from the normal form alone for
the {1,2}-fitness family.
Below the horizon, realizability was never needed. The clip has not bitten while t ≤ b, so
no candidate — realizable or not — can yet sit at the ceiling and trigger a rescale: the exponent is
the plain hit count for any miss indicator. raw_wRun_eq_bayesRun_missFit is this fact composed
with bayesRun_missFit's own closed form; realizability only starts to matter once some candidate
could be at the ceiling, i.e. past the horizon.
The restarted normal form #
Everything above reads the run from its own start. The tracking question reads it from an
arbitrary time s: how does the floored run at t compare with exact Bayes continued from the
state the floored run itself held at s? Two facts answer it, and neither needs a realizable
candidate. The first is that co-leadership persists while its holder keeps hitting. The second
is that under that hypothesis the window [s, t) is again one exponent automaton, run from the
state at s: each candidate's exponent is its restarted hit count less the rescales the window
paid, and the rescale count is determined by the co-leader's own distance from the ceiling.
How often candidate i has hit over the window [s, t): the window's length, less the
misses inside it. At s = 0 it is the whole run's hit count t − missCount M i t.
Equations
- ReflectiveSubsystems.hitCount M i s t = t - s - (ReflectiveSubsystems.missCount M i t - ReflectiveSubsystems.missCount M i s)
Instances For
Co-leadership persists while its holder keeps hitting. If iL carries a maximal exponent
at time s and misses at no step of [s, t), then it carries a maximal exponent throughout
[s, t]. One induction does it, and it needs nothing else about the run: the rescale is charged to
everyone alike, a hit adds at most one exponent to anyone, and iL collects that one at every
step.
The restarted normal form, read at the window's far end.
The event bound #
The mixture's mass on the candidates that miss at time t — the reading's own probability of
being wrong at that step. For deterministic point-predicting candidates this is 1 − the
probability the mixture assigns the realized symbol, which is why the bounds below can stay in ℚ
rather than reaching for a square root.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The steps, before n, at which the wrong mass strictly exceeds the threshold θ. The
membership condition is strict, as in BayesRedundancy.errorTimes.
Equations
- ReflectiveSubsystems.floorErrorTimes M b θ n = {t ∈ Finset.range n | θ < ReflectiveSubsystems.wrongMass M b t}
Instances For
The leader-relative charge #
The realizable argument charged each candidate against the truth, which holds the ceiling from
time b onwards. With no realizable candidate there is no fixed reference — but there is still a
running leader, and expMax makes it a proved object rather than an assumption. What controls the
reading is expDef, the deficit against that leader, the general form of the realizable charge.
The share, against the running leader. A candidate's posterior mass is at most
(1/2) ^ expDef, because the leader alone accounts for 2 ^ expMax of the total weight. No
hypothesis, in particular no realizable candidate — under realizability the leader is the truth
and this is the realizable geometric charge, the deficit being the clipped miss count.
The wrong mass is a probability. The reading is a distribution, so the mass on candidates
that miss never exceeds 1 — no hypothesis, and wrongMass_everyMiss attains the value.
wrongMass_lt_one_of_hit is the strict form, and it needs some candidate to hit.
The tracking potential #
The realizable argument's lifetime total was a geometric series: a candidate's miss count is
strictly monotone at every charged step, so it pays each charge at most once and the total is below
2. That argument is exactly what the reflection breaks — the clip discards debt beyond the
ceiling, so a candidate returns to a deficit it has already paid and the charge falls due again.
What survives is that a re-payment has to be paid for: each one needs the reference candidate's
exponent to have fallen back relative to the candidate's, and that happens only at a step where the
reference itself misses. The bookkeeping is a potential in the two exponents. leadGap x y is
2 · 2 ^ −(x−y) above the diagonal and 2 + (y−x) below it — decreasing in x − y, 2 on the
diagonal, never negative. A step at which the reference hits and the candidate misses shifts x − y
up by one and so releases exactly the charge; a step at which the reference misses can push it back
down, at a cost of at most 1.
The guard: below its own condition there is no n-free bound #
The all-miss family's refutation runs at θ·(2^b + C − 1) < C − 1, strictly stronger than the
budget threshold's mere failure — LogMassEvent.lean's floorErrorTimesFrom_card_add_le_capacity
is bounded at exactly this condition negated, so the threshold used above is a sufficient
condition for both bounds' constants and not the boundary of either.
The guard. At its own condition θ·(2^b + C − 1) < C − 1 — strictly stronger than the
budget threshold's mere failure — the n-free bound is false: on the all-miss family every
single step is an error time, so the error count grows without bound. This is what makes
floorErrorTimes_card_mul_le's budget hypothesis load-bearing rather than decorative — delete it
and this family refutes what remains; and it is exactly floorErrorTimesFrom_card_add_le_capacity's
own hypothesis negated, so the budget threshold is a sufficient condition for both bounds' constants
and not the boundary of either.
The refutation, concretely. Three candidates, budget 2, threshold 1/4: every step is a
error time, so no n-free bound on the error count exists — while the budget hypothesis of
floorErrorTimes_card_mul_le reads 4 ≤ 1/2 and fails.
The guard on realizability: the event bound is false without it #
The budget gate above is not the only load-bearing hypothesis. Realizability is too, and in the
stronger sense: the two families below satisfy the budget gate and still make every step a
error time, so a lifetime-free right-hand side is unavailable in general —
floorErrorTimes_card_mul_le is not a theorem waiting for a weaker hypothesis.
The mechanism is the one sum_unsatCharge_le_two depends on. Its argument is that a candidate pays
each geometric charge at most once, its miss count being strictly monotone at every charged step.
Without a frozen leader the clip discards debt beyond the ceiling, a candidate returns to a deficit
it has already paid, and the same charge falls due again and again. Positively: the floor buys
tracking — the floored mixture follows the recent leader where the exact mixture aggregates all
history, which is why the exact-Bayes comparison is available only under realizability.
The degenerate refuting family: every candidate misses at every step.
Equations
- ReflectiveSubsystems.everyMiss C x✝¹ x✝ = true
Instances For
No candidate is realizable here — which is what puts the family outside
floorErrorTimes_card_mul_le's hypothesis rather than in contradiction with it.
wrongMass_lt_one's hypothesis is not decorative either, and its honest general form is
per-step: the wrong mass reaches 1 exactly when the observation lies outside the candidates'
span at that step. See wrongMass_lt_one_of_hit for the repair.
The event bound is refutable without realizability. On the every-candidate-misses family the
wrong mass is 1 at every step, so for any threshold below 1 the error count equals the
horizon — and the budget gate is untouched, being a condition on θ, C and b alone.
The refutation, concretely and hand-checkably. Two candidates, θ = 1/2, budget 2^3: the
gate 2(C−1) ≤ θ·2^b reads 2 ≤ 4 and holds, yet over a horizon of 16 steps the error time
count times the threshold is 8, twice floorErrorTimes_card_mul_le's 4(C−1) = 4. So
realizability is load-bearing in that theorem, not slack.
The non-degenerate refuting family: two candidates missing alternately, so each hits exactly
half the time. Candidate i misses at the steps t with t % 2 = i.
Equations
- ReflectiveSubsystems.altMiss t i = decide (↑i = t % 2)
Instances For
The alternating family's exponents in closed form. They climb in step to the ceiling and then
cycle: at even times both candidates sit at min (t/2) b, at odd times the hitter is one doubling
ahead. The b − t % 2 on the first coordinate is the reflection — the candidate the rescale charges
drops back below the ceiling and climbs again on its next hit.
The wrong mass never drops below 1/2, at any budget and any time. At even steps the two
candidates are level and the misser holds exactly half the mass; at odd steps the misser is the one
that just hit, so it holds at least half.
The refutation without the degeneracy. Each candidate hits half the time, so the family is
not open to the objection that nobody ever learns anything — and still every step is an error time
for any threshold below 1/2.
The non-degenerate refutation, concretely. Two candidates, budget 2^6, threshold
θ = 4/2^6: the gate reads 2 ≤ 4 and holds, and over 128 steps the error count times the
threshold is 8, twice floorErrorTimes_card_mul_le's 4(C−1) = 4.
The event bound, gated by the budget #
The floored event bound, agnostic. Once the budget clears the error time threshold
(2(C−1) ≤ θ·2^b), the steps at which the floored mixture's wrong mass exceeds θ are bounded over
the whole run by a right-hand side that mentions the horizon only through one candidate's miss
count — and that candidate is arbitrary, quantified over the whole pool rather than chosen as an
argmin. The horizon never occurs on the right by itself, the same product-form presentation as
BayesRedundancy.errorTimes_card_mul_le; a consumer instantiates at whichever candidate misses
least.
This is the mixture-currency instance of the agnostic weighted-majority bound: Littlestone &
Warmuth, The weighted majority algorithm, Information and Computation 108 (1994), Corollary
2.1 and §3 (WML), whose floored variant already carries a tracking bound of this shape. What is
proved here rather than imported is the exact constant on the quantized power-of-two carrier — where
the floor is the budget projection's own clip rather than a weight threshold applied by hand —
together with the specialization to the realizable regime, floorErrorTimes_card_mul_le being this
bound read at a never-missing reference.
Three accountings meet. The floor's own noise is uniformly sub-threshold at a step where the
reference hits: the saturated candidates together carry at most (C−1)/2^b ≤ θ/2, so they can never
complete an error time on their own, which is exactly what the budget hypothesis buys — and
floorErrorTimes_unbounded_below_budget shows that without it the conclusion is false rather than
unproved. The surplus therefore comes from candidates still inside the budget, and their charges
are paid out of leadPot, which only the reference's own misses refill. The steps at which the
reference itself misses carry no charge at all: they are counted directly, one per miss.
The miss-count coefficient is 2C, where a share-potential argument in the logarithm gives one
free of C. That C is the price of an additive accounting in ℚ: each of the C−1 competitors
keeps its own potential, and a single miss of the reference can refill all of them at once. The
families below read in the other direction and force the coefficient to be at least θ, and at
least 2θ on the alternating family, so what separates the proved constant from a necessary one is
a factor in C rather than the shape.
The floored event bound in the realizable regime — the agnostic bound above read at a
candidate that never misses, whose miss count is 0 at every horizon, so the right-hand side is
free of the horizon altogether: at most 4(C−1)/θ error times over the whole run, n occurring
only inside the set of error times. This is the form [Inevitability] §6 consumes. The families below
show that realizability cannot simply be dropped from this statement: what replaces it is the
tracking form above, not a weaker hypothesis.
Sharpness: the refutation families read against the tracking bound #
The families that refute the lifetime-free count are inside the tracking bound's hypotheses — it
asks nothing of them — so they read there as sharpness witnesses rather than refutations. Both of
the two below pin the miss-count term from the other side: it cannot be dropped, its coefficient
cannot fall below θ in general, and on the alternating family not below 2θ. mirrorMiss is
covered by the tracking bound too, unconditionally; what that family says is
toDist_wRun_sub_bayesRun_not_le_mirrorMiss, about accumulation against exact Bayes, and no
tracking form of that is attempted here.
Sharpness on everyMiss: the miss-count term is necessary, and its coefficient cannot go
below θ. Every candidate misses at every step, so the error count is the horizon and is
every candidate's miss count. Any κ for which card · θ ≤ 4(C−1) + κ · missCount i₀ n holds at
every horizon therefore satisfies θ ≤ κ: at κ = 0 this is
floorErrorTimes_card_mul_gt_everyMiss_witness's refutation of the lifetime-free form, and
floorErrorTimes_card_mul_le_missCount supplies κ = 2C.
Sharpness on altMiss: the coefficient cannot fall below 2θ. Two candidates missing
alternately: every step is an error time for any threshold below 1/2, while each candidate misses
only half the time, so the horizon enters the left side at full rate and the right at half. Any κ
for which the tracking bound holds at every horizon therefore satisfies 2θ ≤ κ, and as θ
approaches 1/2 that forces κ ≥ 1. So the coefficient 2C of
floorErrorTimes_card_mul_le_missCount is within a factor of C of necessary, not of a different
shape.
Reconciliation: where the budget hypothesis leaves the bound silent #
The wrong mass stays below 1, and the honest hypothesis is per-step. Some candidate
hitting at that step — the observation lying inside the candidates' span there — is enough, and it
is also necessary: wrongMass_everyMiss puts the mass at exactly 1 when nobody hits. Every
weight is a power of two by wRun_eq_pow_expRun, so the hitter's own mass is positive and
unaccounted for.
The truth always retains mass, so the wrong mass never reaches 1. Realizability is more than
this needs — wrongMass_lt_one_of_hit asks only that someone hits at the step in question.
The event bound's own vacuity zone. At C = W = 2 — weighted_fiber_not_exactly_bayes's
instance — the budget hypothesis already forces θ ≥ 1, where no wrong mass can reach the
threshold and the set of error times is empty for every horizon. So the annihilating instance and
the event bound occupy disjoint budgets rather than contradicting each other, exactly as
toDist_sub_le_two reconciled that instance with the per-step rate.
The annihilated update is the clip in action. weighted_fiber_not_exactly_bayes's
two-candidate, budget-2 instance is the all-miss family at b = 1: from step 1 onwards the
floored run sits at badW = (2,1) forever, the competitor's every miss absorbed by the floor.
project_bayesStep_badFit_eq_badW is that fixed point exhibited one step at a time; the normal form
gives it for all t ≥ 1 at once.
The accumulated residual #
Normalization forgets a common scalar. The reading depends on the weight vector only through its ray, so scaling every coordinate by the same positive natural leaves it fixed.
The restarted comparator #
Exact Bayes restarted at time s, from the floored run's own state there: the weights the
floored run holds at s, updated by the exact rule — no carrier, no projection — over [s, t).
At s = 0 this is bayesRun itself, the all-ones start being the floored run's own.
Equations
- ReflectiveSubsystems.bayesFrom M b s t i = (ReflectiveSubsystems.wRun (2 ^ b) (ReflectiveSubsystems.missFit M) s).raw i * 2 ^ ReflectiveSubsystems.hitCount M i s t
Instances For
The tracking form of the accumulation bound, and it asks for no realizable candidate.
Compare the floored run at t not with exact Bayes from the beginning of time — which
toDist_wRun_sub_bayesRun_not_le_mirrorMiss refutes outright without realizability — but with
exact Bayes restarted at s from the floored run's own state there. Then the same
2(C−1)/2^b holds, uniformly in the elapsed time, under two hypotheses carried by one candidate
over the window alone: iL is a running co-leader at s, and it misses at no step of [s, t).
Nothing is assumed about the run before s, nothing about the other candidates, and nothing about
whether any candidate is consistent with the whole history.
The proof splits at the first time the co-leader reaches the ceiling. Before it no candidate is at
the ceiling, so no step rescales and the floored run is the restarted exact run, coordinate for
coordinate. From it the co-leader sits at the ceiling and hits at every step, so every step
rescales, and the argument is toDist_wRun_sub_bayesRun_le's: scaled up by the common factor the
clip cost it, the two runs agree except on the candidates the clip has floored, of which there are
at most C−1, and each is off by at most the scale factor itself.
This is the mixture-currency instance of the tracking bounds of the weighted-majority and
fixed-share family — Littlestone and Warmuth (1994) §3 for the floored variant's weight floor,
recovery invariant and per-segment accounting, and Herbster and Warmuth (1998) for bounds against a
shifting comparator. That a weight floor buys recovery, that the weight ratios stay bounded, and
that a shifting comparator is trackable at all are theirs and are not claimed here. What is
machine-checked here is the comparator: exact Bayes restarted at a co-leader point, in total
variation on the quantized carrier, at the exact constant 2(C−1)/2^b.
The drift does not accumulate. In the saturating regime the floored run's reading stays
within 2(C−1)/2^b of the exact Bayes run's, uniformly in t: the right-hand side mentions no
horizon at all.
The per-step rate of toDist_project_rate provably does not telescope — Bayesian update is not
non-expansive in total variation — so this is a different argument, not a tighter constant. What
replaces the telescope is the normal form: scaled up by the common factor the clip cost it, the
floored run agrees with the exact run exactly on every candidate whose miss count is still inside
the budget exponent, and differs only on the saturated ones, of which there are at most C−1. So
the residual measures the spread of the candidates' miss counts beyond log₂ W, and nothing about
elapsed time.
The guard on realizability: no accumulation is false without it #
The bound above vanishes in the budget. The family below holds the discrepancy at 7/9 for
every budget, so realizability is not slack there either — and the mechanism is the same clip.
The exact run aggregates all history and ends symmetric; the floored run has discarded every debt
beyond the ceiling and ends 1 : 8.
The mirror family: candidate 0 hits for b + 3 steps while candidate 1 misses, then the
two swap. By time 2b + 6 their miss counts are equal, so the exact run is symmetric — while the
floored run remembers only the last b steps of it.
Instances For
Neither candidate is realizable: each misses throughout one of the two phases.
The discrepancy on the mirror family, exactly: 7/9, at every budget b ≥ 3. The exact run
reads (1/2, 1/2) — equal miss counts, so no history distinguishes the two candidates — while the
floored run reads (1/9, 8/9): the clip has thrown away everything beyond the last b steps, and
what survives is a ratio of 2 ^ 3 fixed by the phase length, not by the budget.
No accumulation is refutable without realizability. The floored run's reading stays 7/9
away from the exact run's on the mirror family, at every budget b = k + 3 — while
toDist_wRun_sub_bayesRun_le bounds that distance by 2(C−1)/2^b, which falls below 1/4 already
at b = 3 and vanishes thereafter. The bound is not a theorem awaiting a weaker hypothesis: what
the floor buys is tracking the recent leader, and tracking is not approximating exact Bayes.
The refutation at the smallest budget where it bites. At b = 2 the clip has less history
to discard, so the surviving ratio is 1 : 4 rather than 1 : 8 — and the discrepancy 3/5 still
exceeds the bound's 2(C−1)/2^b = 1/2. Below this the bound is large enough to absorb the gap,
which is the only reason b = 2 needs its own arithmetic.
The guards on the tracking hypotheses: both are load-bearing #
toDist_wRun_sub_bayesFrom_le asks two things of one candidate over the window [s, t): that it
is a running co-leader at s, and that it misses at no step inside. Neither is slack. The two
families below satisfy every other condition of the theorem — a power-of-two budget, the 2-vs-1
fitness, the all-ones start — and each drops exactly one hypothesis; each then holds the
discrepancy above a fixed positive constant while the bound vanishes in the budget.
The mechanism is the same clip in both, read at the restart point. preAbsorption gives the window
a candidate that never misses, but one whose earlier debt the ceiling has already erased: the
restarted comparator credits it from a floor it did not earn, while the run credits the incumbent.
sinkRecover gives the window a co-leader, but one that later quits; the candidate that recovers
does so from a floor that has swallowed its own misses, and the restarted comparator, starting from
that floor, cannot see them either.
The pre-absorption family (C = 3): candidate 0 climbs alone to the ceiling over b
steps; then for 8 steps candidate 1 hits alongside it and candidate 2 misses, both pinned at
the floor, so that everything those 8 steps decide is erased; then for b + 2 steps candidate
0 quits and 1 and 2 climb together. Read from s = b, candidate 1 is the window's only
never-missing candidate — and it is exactly b exponents short of being a co-leader there.
Equations
Instances For
Candidate 1 misses at no step from b on: it hits through the middle phase and the last.
And it is the window's only never-missing candidate: 0 quits at b + 8, 2 misses from
the start. So no other choice of co-leader is available to rescue the theorem here.
Co-leadership fails at the restart point, and it fails by the whole budget: at s = b the
window's only never-missing candidate sits at exponent 0 against the incumbent's b.
The discrepancy without co-leadership: 850/963, at every budget b = k + 3. The floored
run reads (1/9, 4/9, 4/9) — the incumbent has been charged for quitting, and the two climbers are
level. The comparator restarted at s = b reads (64/321, 256/321, 1/321): it starts from the
same floored state, but it then credits every one of the window's hits, including the eight the
ceiling erased for candidate 1 and the eight misses it erased for candidate 2. The gap does not
move with the budget, and the ratios are fixed by the phase lengths alone.
The tracking bound is refutable without co-leadership. With iL = 1 — the window's only
never-missing candidate — every other hypothesis of toDist_wRun_sub_bayesFrom_le holds and the
conclusion fails at every budget b = k + 3, the discrepancy staying at 850/963 against a bound
that is already 1/2 at b = 3. preAbsorption_misses_of_ne_one closes the escape: no other
candidate could have been taken as iL.
The sink-and-recover family (C = 2): candidate 0 climbs to the ceiling and holds it for
b + 6 steps while candidate 1 is pinned at the floor, its every miss absorbed there; then 0
quits for b steps and 1 climbs back to the ceiling. Read from s = b, candidate 0 is a
co-leader — and it is the six steps of debt the floor swallowed for 1, invisible from the
restart state, that the comparator then cannot price.
Equations
Instances For
No candidate survives the window: 1 misses through the middle phase, 0 through the
last. So the never-missing hypothesis fails for every choice of iL, and it is the only
hypothesis that does.
Co-leadership does hold at the restart point here: candidate 0 is at the ceiling at
s = b, so it is the never-missing hypothesis alone that the family drops.
The discrepancy without a surviving candidate: 63/65, at every budget b = k + 2. The
floored run ends symmetric — 1 has climbed all the way back, and 0 was never charged for
quitting, because no rescale fires until 1 arrives. The comparator restarted at s = b reads
(64/65, 1/65): it inherits 0's ceiling and 1's floor as the prior, then credits 0 the six
hits it takes before quitting and holds 1's six misses against it — misses the floor had already
absorbed, so the run itself has forgotten them.
The tracking bound is refutable without a never-missing candidate. Co-leadership at s
holds — sinkRecover_coleader — and the conclusion still fails at every budget b = k + 2, the
discrepancy staying at 63/65 against a bound already 1/2 at b = 2. So the two hypotheses of
toDist_wRun_sub_bayesFrom_le are independent, and neither can be dropped.
The reading settles #
Everything above prices the distribution the floored run carries. This section is about its
reading — argmax of the weight vector, which is what the frame of [Inevitability] §6 hands the
guest — and it needs no new estimate: it is the saturation normal form, read through argmax's own
tie-breaking.
In one line: under realizability the closed form's maximum 2 ^ min t b is attained exactly at
the candidates whose miss count is zero, so the ceiling set is the version space, and the reading
is the least-indexed candidate that has never missed. The version space is antitone in t and never
empty, so that index is non-decreasing and bounded by the candidate count — the reading changes at
most C − 1 times and is eventually constant, on a candidate consistent with the whole trajectory.
What drives it is fitness alone. The weighted fiber's generation is
pack ∘ project ∘ bayesStep: selection, with the floor as its mutation kernel and no variation
rule whatever. The settled
populations elsewhere in the development are imposed — a rule overwrites every slot and the
fitness is never consulted — where here the misses eliminate competitors from the ceiling and
nothing else does.
The scope is the same realizability the drift bound needs and the agnostic event bound does not: a
candidate that never misses along the observed trajectory. Where even the best candidate misses
— a noisy base — none of this applies, and floorErrorTimes_card_mul_le_missCount is the instrument
there instead.
The ceiling of a realizable run. The heaviest weight at time t is 2 ^ min t b: no
candidate can be above the clipped horizon, and the never-missing one sits exactly on it.
The ceiling set is the version space. A candidate carries the maximum weight exactly when it has never missed — an identity holding at every time, not an asymptotic statement, and on both sides of the horizon.
The guard 1 ≤ min t b is where the content sits: at min t b = 0 every weight is 2 ^ 0, the
whole pool ties at the ceiling, and the equivalence degenerates.
The reading is the least never-missing candidate, in the characterization pair a consumer wants: the reading has itself never missed, and it is at or below every candidate that has not.
Before the first rescale — at t = 0, or on a budget of one quantum — every weight is 2 ^ 0
and the pool ties, so the tie-keeping fold returns the first candidate. No realizability is
involved, and this is what lets the two convergence statements below carry no guard on b or
t.
The reading never moves back. The version space is antitone in the horizon, so its least
element is non-decreasing — and with no guard: before the first rescale the reading sits at 0.
A non-decreasing ℕ-valued sequence below a fixed bound is eventually constant. The bound is
what makes the supremum attained; without it ℕ's sSup would answer 0.
Stated of a bare sequence and used twice: here for the reading's index, bounded by the candidate
count, and in BasinSettling for a never-missing candidate's weight, bounded by the budget.
Selection settles. The reading is eventually constant — pathwise, from the run's own all-ones start, with realizability along the observed trajectory the only hypothesis.
The proof is the two facts above and nothing else: the reading is the least element of the version
space, which is antitone, so the reading's index is a non-decreasing natural number below C.
At most C − 1 changes. The reading is a non-decreasing index in Fin C, so over any
horizon the steps at which it moves are at most one short of the candidate count — the version
space can shed its least element only that often.
The (P)/(I) separation: the least-recently-wrong rotation #
Two repair counters have read the same trajectory throughout this file without ever being compared:
argmax_wRun_card_changes_le's count of reading changes, and floorErrorTimes's count of
wrong-mass error times. Nothing proved above ties them together, and the family below is the witness
that they are not tied — a run whose reading is dethroned at every step while the set of error
times stays empty, so no bound in one counter transfers to the other.
The construction: C candidates on a round-robin, candidate i missing exactly at the times
t ≡ i (mod C). At every step the heaviest candidate is the one that missed longest ago — which is
exactly the one about to miss next — so the reading changes every step; and because the wrong mass
is spread over one candidate among C near-uniform weights, it never climbs past a fixed floor. The
two counters read the same run and disagree completely: C − 1 reading changes forced into T, and
a wrong-mass error count forced to 0.
The reading is the classical follow-the-leader rule, and its oscillation under an adversarial,
round-robin schedule is textbook — the reason online prediction is done with the mixture rather
than the leader — already cited in-corpus via Lattimore–Hutter–Sunehag ([Discovery] §3.3). What is
new here is not the reading but the pairing: one family exhibiting both counters at their opposite
extremes simultaneously, where the families already in this file (everyMiss, allMiss) each move
only one counter.
The least-recently-wrong rotation. Candidate i misses exactly at the times t with
t ≡ i (mod C), so no candidate is realizable (rotMiss_not_realizable) and every candidate misses
on a period of exactly C.
Equations
- ReflectiveSubsystems.rotMiss C t i = decide (↑i = t % C)
Instances For
The rotation's miss count, in closed form. Candidate i has missed ⌊t/C⌋ times by time
t, plus one more exactly when its own residue has already come up in the current partial
period — the general-C analogue of expRun_altMiss's exponents, one level down.
The rotation's exponents below the horizon. Composes the hypothesis-free hub
(expRun_eq_sub_missCount_of_le) with the miss count above: candidate i sits one doubling behind
the leader exactly while its own residue has already come up this period.
The running ceiling, below the horizon. Every candidate whose residue has not yet come up
this period ties for the maximum, at t − ⌊t/C⌋ — in particular the candidate about to miss, whose
own residue is exactly t % C and so is never < t % C.
The reading is the candidate about to miss. Among the tied ceiling-holders argmax's own
tie-break keeps the least index, and that index is exactly t % C — the maximum weight sits on
whoever missed longest ago, which is precisely who misses next.
The (I) side: the reading is dethroned at every single step. Consecutive residues mod C
never coincide once C ≥ 2, so the least-recently-wrong index moves at every step — the change
count argmax_wRun_card_changes_le bounds by C − 1 is realized maximally on any horizon inside
the budget, one change per step rather than merely a nonzero rate.
The (P) side: the set of error times stays empty. The wrong mass peaks at 2/(C+1) —
attained when the candidate about to miss is the highest-indexed one, t % C = C − 1 — so any
threshold at or above that floor never sees an error time, on any horizon inside the budget.
The separation, as one theorem. At any horizon inside the budget, the identification counter
increments at every step while the prediction-repair set stays empty — so no functional bound in
either currency of [Discovery] §3.3's product form transfers to the other, agnostically. Compare
everyMiss/allMiss above, each of which moves only one of the two counters.
The witness, non-vacuous, at the gate-satisfying parameters C = 8, b = 6, θ = 1/4. The
reading changes at both ends of the six-step window shown, and — by
rotMiss_prediction_identification_separation — at every step in between, so the rotation genuinely
rotates over this range; the set of error times is empty for the reason the theorem above gives, the
wrong mass bounded away from 1/4 by the pricing, not because the range itself is empty.
The fiber's reading along a base trajectory #
The settling above is stated of the abstract miss indicator. Here it is instantiated at the
construction's own fitness — predFitPos, scored against the base's next state — and read through
the frame the pricing assembly uses, so what converges is the guest's reading rather than an
auxiliary sequence.
The skew product's start over a base point: the base at x₀, the fiber at its own all-ones
vector. Nothing is written into the fiber — one reserved quantum per candidate is the uniform
prior — which is what makes the convergence below need no hypothesis on the initial state.
Equations
- ReflectiveSubsystems.wStartAt C W x₀ = finProdFinEquiv (x₀, finFunctionFinEquiv (ReflectiveSubsystems.pack W fun (x : Fin C) => 1))
Instances For
The bridge: the abstract 2-vs-1 fitness driven by predMiss is predictive fitness
read along the base trajectory. Every result above therefore applies to the fiber at the cost of
this one rewrite — the base dynamics, the decoder and the candidates' predictions having been
abstracted into the indicator in the first place.
The fiber coordinate of the skew run is the abstract run. The base drives the fiber and
never reads it, so t steps of wWorld from the all-ones start leave the base at S^[t] x₀ and
the fiber at wRun's own t-th vector under the fitness sampled along that trajectory.
The fittest reading settles, along the base trajectory ([Inevitability] §6).
Score the candidates by predFitPos against the base's own next state and start the fiber from its
all-ones vector over any base point x₀. If some candidate decodes to a rule that predicts the
base correctly at every step of that trajectory, then the frame's reading is eventually constant, at
a candidate that agrees with the base at every step of the trajectory.
Three readings the statement supports. It is pathwise: hypothesis and conclusion both live on
one trajectory and there is no hypothesis on x₀ at all, so this half of the question asks for no
basin and no measure. It is driven by fitness alone: the fiber's generation is the projected
replicator step and carries no variation rule, so nothing imposes the settled shape that the misses
do not. And it says nothing about coverage — the pricing assembly's hypothesis is a condition
over initial states of the base coordinate, discharged separately by the base-reading frame, and
neither condition implies the other.
The budget must hold at least two quanta, and 1 ≤ b is not slack: at b = 0 every weight is one
quantum forever and the reading is pinned at candidate 0 whether or not it predicts anything.
The same conclusion from the clean sufficient condition — some codeword decodes to the base rule
itself — which is the premise surjective_predFrame_of_faithful discharges the pricing assembly's
coverage from. The two halves of [Inevitability] §6's frame question are then stated against one
hypothesis, on one dynamics, with neither derived from the other.