The log-mass event bound over seeded starts ([Discovery] §3.3) #
FlooredMixture prices the floored mixture's error times against the pool: the realizable event
bound is card · θ ≤ 4(C−1), linear in the candidate count, and that constant is the price of the
uniform prior the run starts from. This file changes the currency. The run is started from an
arbitrary power-of-two weight vector and the count is paid in the start's own mass ratio —
logarithmic in the pool and linear in how far below the pool's ceiling the truth was seeded.
Two readings come out of one theorem. At the uniform start the seed's deficit vanishes and the
bound is logarithmic in the candidate count alone. At a prior-shaped start — the truth seeded r
doublings down, every competitor at the ceiling — it is linear in r, which is the currency
[Discovery] §3.3 states its own error budget in: the count is paid in the truth's description
length rather than in the size of the pool it is found in.
The carrier is the restriction that makes this elementary. A power-of-two weight vector stays one
under the generation, so the seeded run has a normal form through FlooredMixture's existing
expStep and every logarithm reads as an integer exponent. General rational starts are
BasinSettling's territory — settling, not counting — and nothing here is claimed of them.
Main results #
expRunFrom/expRunFrom_zero/expRunFrom_le/raw_wRunFrom_eq_pow_expRunFrom— the seeded normal form. The exponent automaton is closed underexpStepfrom any start inside the budget, and from a power-of-two start the floored run is again exactly2 ^ expRunFrom. The transition is the landed one, unchanged: the start never enters the step, so only the base case ofwRun_eq_pow_expRun's induction is new.expRunFrom_zeroidentifies the zero seed withexpRun, which is what lets the uniform-start reading be stated over the landedfloorErrorTimesrather than a parallel object.wrongMassFrom/floorErrorTimesFrom— the seeded error-time objects, mirroringwrongMassandfloorErrorTimeswith the same strictθ <membership, and agreeing with them at the zero seed (wrongMassFrom_zero,floorErrorTimesFrom_zero).floorErrorTimesFrom_card_mul_le— the log-mass event bound. Under the landed budget gate2(C−1) ≤ θ·2^b, with a candidate that never misses and a seed inside the budget,card · θ ≤ 5·(D + ⌊log₂ C⌋) + 4over every horizon, whereDis the seed's deficit: how many doublings the truth starts behind the seed's largest exponent. The horizon does not occur on the right at all. The mechanism is a potential — the total mass in units of the truth's own — which an error time multiplies by at most1 − θ/4and no step ever raises, starting at most atC·2^Dand never falling below1.floorErrorTimes_card_mul_le_log— the uniform start,card · θ ≤ 5⌊log₂ C⌋ + 4, stated over the landedfloorErrorTimesso that it reads directly againstfloorErrorTimes_card_mul_le's4(C−1).floorErrorTimesFrom_card_mul_le_prior— the prior-shaped start, `card · θ ≤ 5(r + ⌊log₂ C⌋)- 4
with the truth seededr` doublings below a pool at the ceiling.
- 4
floorErrorTimesFrom_card_add_le_capacity— the floored mixture's exact capacity threshold, a genuinely different (additive) reading from the log-mass bound above:card + C·e₀ iR ≤ C·b + ∑ (erase iR) e₀, the seed's own capacity, under the floor conditionC − 1 ≤ θ·(2^b + C − 1)— weaker than the budget gate — and a realizable candidate.floorErrorTimes_card_le_capacityis its uniform-start corollary (card ≤ C·b), andfloorErrorTimes_bounded_iffcloses the window: at the uniform start a lifetime-free bound over every stream with a never-missing candidate exists exactly when the floor condition holds — when it fails,floorErrorTimes_unbounded_below_budget's own family already refutes one.floorErrorTimesFrom_allMiss_mem/floorErrorTimesFrom_allMiss_card_geprice the all-miss family's own error times from any seeded start, andfloorErrorTimesFrom_deficit_card_gebelow is one instance of them rather than a parallel development.floorErrorTimesFrom_unbounded_below_gateandfloorErrorTimesFrom_unbounded_below_gate_witness— the gate is load-bearing, and under realizability. The count is unbounded at its own conditionθ·(2^b + C − 1) < C − 1— strictly stronger than the landed gate's failure — where the all-miss family makes every step of every horizon an error time, with a candidate that never misses present the whole time (allMiss_realizable). The witness pins it at nine candidates, budget2^3and threshold1/4, where the gate reads16 ≤ 2. Read againstfloorErrorTimesFrom_card_add_le_capacitybelow, whose own condition is exactly this one negated, the gate is a sufficient condition for the landed constants and not the boundary.floorErrorTimesFrom_allMiss_card_eq,floorErrorTimesFrom_allMiss_card_eq_nonvacuousandfloorErrorTimesFrom_bounded_iff— the window closes from every start. Below the floor condition the all-miss family makes every step an error time from every power-of-two start inside the register, not only the zero seed: the truth's exponent never exceedsband each competitor holds at least one quantum, so the wrong mass is at least(C − 1)/(2^b + C − 1)at every step. With the capacity bound this is the seeded form of the threshold — from every such start a horizon-free bound over every stream with a never-missing candidate exists exactly when the floor condition holds — of whichfloorErrorTimes_bounded_iffis the zero seed's case. The witness pins the leaf at two candidates, budget2, the start(1, 2)and threshold1/8.floorErrorTimesFrom_deficit_card_geandfloorErrorTimesFrom_deficit_refutes_seed_free— the seed's deficit is necessary. Two candidates, the truth seededrdoublings below a competitor that starts at the ceiling and misses at every step: while the truth climbs, no ceiling candidate hits, the divisor stays at1, and the competitor holds a strict majority of the mass at every one of thosersteps. So the count is at leastrat a fixed candidate count and threshold, with the gate satisfied anddeficitMiss_realizablesupplying the never-missing candidate — no bound free of the start exists, and the log term is not an artefact of the potential.
Scope #
The constants are not the sharpest the mechanism admits, and the two event bounds are
independent. Against floorErrorTimes_card_mul_le's 4(C−1), the uniform-start reading here is
sharper from C = 5 on and weaker at C = 2, 3, 4; neither statement subsumes the other, and the
agnostic tracking bound floorErrorTimes_card_mul_le_missCount is untouched — its additive
accounting is what composes with a miss count, and this currency does not.
Two factors are being given away, both identified. The per-error time factor 1 − θ/4 cannot be
improved to 1 − θ/2 under this gate: at a rescale step the floor may hold C − 1 candidates at
one quantum, and the gate permits exactly θ/2 of the total to sit there, so half the error time's
missing mass can be floor junk that does not decay. A strictly stronger gate would recover the
factor continuously, and is not assumed. The second factor is spent converting a multiplicative
decay into a count without leaving ℚ: halving the potential takes ⌈4/θ⌉ error times by the
elementary route, where the real logarithm would charge ⌈(4 ln 2)/θ⌉. The sharpness guards below
bracket the deficit's necessary coefficient from below at θ, against the 5 proved.
What is not here: the seeded agnostic combination — this bound plus a miss-count term from an
arbitrary start — is not attempted; the exact closed form of the deficit family's count is not
computed, only the growth in r that refutes a seed-free bound; and general (non power-of-two)
starts are outside the carrier, since without them the normal form is unavailable and the
logarithm stops being an integer exponent.
Attribution #
The logarithmic term is the log n of Littlestone and Warmuth, The weighted majority algorithm,
Information and Computation 108 (1994), Corollary 2.1, in the mixture's wrong-mass currency.
This is an instance of that bound and an adaptation of its potential argument, not a new result:
what is proved here rather than imported is the behaviour 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,
and where the floor's feedback has to be confined by a budget gate that has no counterpart in the
unquantized setting — together with the exact constants above and the reading of the start's mass
ratio as an integer deficit.
The seeded exponent automaton #
The exponent automaton from a seeded start. expRun's start — every candidate at one
quantum — is baked into its definition; here the start is a parameter and the transition is the
landed expStep, unchanged. The automaton is closed under that step from any start, which is
what a power-of-two seed buys: a power-of-two weight vector stays one.
Equations
- ReflectiveSubsystems.expRunFrom e₀ M b 0 = e₀
- ReflectiveSubsystems.expRunFrom e₀ M b t.succ = ReflectiveSubsystems.expStep b (M t) (ReflectiveSubsystems.expRunFrom e₀ M b t)
Instances For
The exponents never leave the budget, from any start inside it. The invariant of
expRun_le, with the seed bound doing at time 0 what the all-ones start did for free.
The seeded normal form. From a power-of-two start the floored run is again exactly the
exponent automaton: the weight of candidate i at time t is 2 ^ expRunFrom e₀ M b t i. The
proof is wRun_eq_pow_expRun's, with the seed bound replacing the all-ones base case — the two
divisor computations in the step are untouched, because the step never sees the start.
The seeded error-time objects #
The seeded set of error times, mirroring floorErrorTimes: the membership condition is strict,
as in BayesRedundancy.errorTimes.
Equations
- ReflectiveSubsystems.floorErrorTimesFrom e₀ M b θ n = {t ∈ Finset.range n | θ < ReflectiveSubsystems.wrongMassFrom e₀ M b t}
Instances For
The mass potential #
The log-mass event bound #
The log-mass event bound over seeded starts ([Discovery] §3.3, Proposition 3.4).
Call a step an error time when the mass the floored mixture puts on the candidates that miss there
exceeds a threshold θ. From a power-of-two seeded start, under the budget gate
2(C−1) ≤ θ·2^b and with a candidate iR that never misses, the error count over any horizon
satisfies card · θ ≤ 5·(D + ⌊log₂ C⌋) + 4, where D is the seed's deficit — how many doublings
the truth starts behind the seed's largest exponent. The horizon does not occur on the right at
all: this is a lifetime-free event budget, in the currency of the start's own mass ratio.
The mechanism is a potential: the total mass measured in units of the truth's own. An error time
multiplies it by at most 1 − θ/4 — the missing mass exceeds θ of the total, and the mass the
floor feeds back is confined to half of that by the gate, since the rescale only fires with a
candidate at the ceiling — and no step ever raises it. The potential starts at most at C·2^D and
never falls below 1, so the count is logarithmic in the start's spread rather than linear in the
candidate count.
This is the mixture-currency instance of the log n term of Littlestone and Warmuth, The weighted
majority algorithm, Information and Computation 108 (1994), Corollary 2.1. 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 — and the
reading of the start's mass ratio as an integer deficit, which is what a power-of-two seed buys.
The constant is not the sharpest the mechanism admits. The factor 1 − θ/4 cannot be improved to
1 − θ/2 under this gate at a rescale step: the floor may hold C − 1 candidates at one quantum
and the gate allows exactly θ/2 of the total to sit there. A further factor is spent converting
the multiplicative decay to a count without leaving ℚ — halving the potential takes ⌈4/θ⌉
error times by the elementary route. Against the landed floorErrorTimes_card_mul_le, whose right
side is 4(C−1), this bound is therefore sharper from C = 5 on and weaker at C = 2, 3, 4; the
two are independent statements and neither subsumes the other.
The uniform start: the fiber's own all-ones prior, where the seed's deficit vanishes and
the bound is logarithmic in the candidate count alone. Stated over the landed floorErrorTimes,
so it reads directly against floorErrorTimes_card_mul_le's 4(C−1) — sharper from C = 5 on,
weaker at C = 2, 3, 4, and neither statement subsumes the other.
The prior-shaped start ([Discovery] §3.3's own currency). The truth is seeded r doublings
below the ceiling every other candidate starts at — the quantized reading of a prior 2 ^ (−r) on
a description of length r, against a pool at the top — and the error budget is then linear in
that description length and logarithmic in the pool. This is the shape the constant decision was
for: the count is paid in the truth's own description length, not in the size of the pool it is
found in.
The floored mixture's exact capacity threshold #
The floored mixture's exact capacity threshold ([Discovery] Proposition 3.5(i), row FV-37; [Inevitability] §6, [Inevitability] §7).
Under the floor condition C − 1 ≤ θ·(2^b + C − 1), which is weaker than
floorErrorTimesFrom_card_mul_le's budget gate, and with a candidate iR that never
misses, the error count over any horizon is bounded by the seed's own capacity: C copies of
how far below the ceiling the truth started, plus the competitors' starting exponents outright.
The mechanism is the additive potential capPot — C times the reference's remaining headroom to
the ceiling, plus the competitors' exponents — which an error time costs at least one and which
never rises otherwise: the reference is frozen at a rescale and no competitor's exponent can
increase there, while off a rescale the reference's headroom drops by one doubling (costing C)
against the competitors rising by at most C − 1 doublings between them, and at a rescale that is
an error time the floor condition forces some missing candidate off the floor, costing the
competitors' sum at least one on its own.
This is a genuinely different reading from floorErrorTimesFrom_card_mul_le's multiplicative one:
it is exact where that one is not (floorErrorTimesFrom_card_add_le_capacity_nonvacuous exhibits an
instance below that bound's own gate where this one still has content), and it is the threshold the
window of [Inevitability] §7 stands on — the repair total is bounded at every realizable task once
the floor condition holds, by the seed's own capacity, and unbounded at a task when it fails
(floorErrorTimes_bounded_iff, at the uniform start).
The uniform start ([Discovery] Proposition 3.5(i), row FV-37). At the fiber's own all-ones
prior the seed's headroom is C copies of the whole budget and the competitors start at nothing,
so the capacity bound reads card ≤ C·b.
The window closes ([Discovery] Proposition 3.5(ii), row FV-37). At the uniform start, a
lifetime-free bound on the error count over every stream with a never-missing candidate exists
exactly when the floor condition
C − 1 ≤ θ·(2^b + C − 1) holds: sufficiency is floorErrorTimes_card_le_capacity's bound at
N = C·b, and necessity is the all-miss family's own unbounded growth
(floorErrorTimes_unbounded_below_budget), realizable by allMiss_realizable. Between the two
[Inevitability] §7's window vanishes: when the condition fails there is no bound at all, and when
it holds the capacity bound already supplies one.
The guards #
The budget gate is load-bearing, with a never-missing candidate present #
The bound above buys its logarithm with the gate, and at its OWN condition —
θ·(2^b + C − 1) < C − 1, strictly stronger than the gate's failure — it is false rather than
unproved, even under realizability, which is what separates this guard from the landed
realizability families. The all-miss family already refutes it: the floor alone keeps the reading
wrong at every step, so the count grows with the horizon while the right side does not.
floorErrorTimesFrom_card_add_le_capacity reads the SAME condition negated as its own hypothesis,
so the gate above is a sufficient condition for both landed bounds' constants and not the boundary
of either.
Below its own condition there is no bound at all, seeded or not — a condition strictly
stronger than the gate's mere failure (floorErrorTimesFrom_card_add_le_capacity's own hypothesis
is this one negated). Read at the uniform start, where the seed's deficit vanishes and the log-mass
bound reads 5⌊log₂ C⌋ + 4, the count is the whole horizon.
The refutation at named parameters. Nine candidates, budget 2 ^ 3, threshold 1/4: the
gate reads 16 ≤ 2 and fails, a candidate never misses, and every step of every horizon is a
error time — so the count is unbounded where the bound would have it at 5⌊log₂ 9⌋ + 4.
The window closes from every start #
The gate guard above refutes a lifetime-free bound at the zero seed. Below the floor condition the
all-miss family refutes one from every power-of-two start inside the register — the truth's
exponent never exceeds b and each competitor holds at least one quantum, so the wrong mass sits
above θ at every step no matter where the run began — and with the capacity bound this closes
the seeded window: from every such start a horizon-free bound exists exactly when the floor
condition holds.
Below the floor condition every step of the all-miss stream is an error time, from every
power-of-two start inside the register. The truth's exponent never exceeds b and every
competitor's is at least 0, so the wrong mass at every step is at least
(C − 1)/(2^b + C − 1), which the condition's failure puts above θ. The landed
floorErrorTimesFrom_unbounded_below_gate is this at the zero seed.
The hypotheses of floorErrorTimesFrom_allMiss_card_eq hold at once at named parameters: two
candidates, budget 2, the start (1, 2) with the truth first, threshold 1/8; every step is a
error time there.
The window closes from every start ([Discovery] Proposition 3.5(ii), past the uniform
start). From every power-of-two start inside the register, a horizon-free bound on the error time
count over every stream with a never-missing candidate exists exactly when the floor condition
holds: sufficiency is floorErrorTimesFrom_card_add_le_capacity at N = C·b + Σ_{i ≠ iR} e₀ i,
necessity is floorErrorTimesFrom_allMiss_card_eq at horizon N + 1;
floorErrorTimes_bounded_iff is the zero seed's case.
The all-miss family's error times, from any start #
The guard above shows the all-miss family refutes a lifetime-free bound at its own condition, at the zero seed. This prices its error times precisely from any seeded start, in the currency the capacity bound above uses — and it is what lets the deficit family below be read as one instance of this family rather than a parallel development.
An error time step of the all-miss family, from any start ([Discovery] Proposition 3.5(iii),
row FV-37). Once the seed's own headroom is spent — the competitors' initial mass exceeds 2
raised to the sum of the truth's own seed exponent and the elapsed time — the step is an error time,
at any threshold up to 1/2. The mechanism
is allMiss_headroom_invariant read as a mass inequality: the competitors' current mass, scaled by
the truth's own current share, dominates the seed's competitor mass scaled by the truth's seed
share, so the competitors cannot have decayed faster than the hypothesis rules out.
The count is at least k once the seed's headroom is spent by k ([Discovery] Proposition
3.5(iii), row FV-37). The mem lemma applies at every step below k, since the power on the left
only shrinks as t does.
Non-vacuity. Three candidates, the zero seed, threshold 1/2: the seed's headroom is spent
immediately (1 < 2), so stage 0 is already an error time.
The seed's deficit is necessary: the count grows with it #
The log term is not an artefact of the potential. Two candidates, the truth seeded r doublings
below a competitor that starts at the ceiling and misses at every step: while the truth climbs, no
candidate at the ceiling hits, the divisor stays at 1, and the competitor holds a strict majority
of the mass at every one of those r steps. So the count is at least r, at a fixed candidate
count and a fixed threshold — and no bound free of the start can exist.
Two candidates: the truth never misses, the competitor always does.
Equations
- ReflectiveSubsystems.deficitMiss x✝ i = decide (↑i = 1)
Instances For
The family's own never-missing witness.
The count is at least the seed's deficit ([Discovery] Proposition 3.5(iii), row FV-37) —
one instance of floorErrorTimesFrom_allMiss_card_ge at two candidates: deficitMiss is
allMiss 0 and deficitSeed b r's competitor sum is exactly 2 ^ b, so the seed's headroom is
spent by exactly r.
Non-vacuity, against the landed gate — for floorErrorTimesFrom_card_add_le_capacity. Two
candidates, budget 2 ^ 2, threshold 1/4, the truth seeded two doublings below a competitor at
the ceiling: hfloor holds while the landed multiplicative bound's own gate 2(C−1) ≤ θ·2^b fails
(4 ≤ 1 is false), and the count is nonetheless positive — floorErrorTimesFrom_deficit_card_ge
already forces it to at least 2, comfortably inside this piece's own bound of 2·2 + 2 = 6 — so
the capacity bound has content exactly where the landed one has none.
No bound free of the start exists ([Discovery] Proposition 3.5(iii), row FV-37), so the
seed's deficit in floorErrorTimesFrom_card_mul_le is necessary and not an artefact of the
potential. At two candidates and a fixed threshold, with
the budget gate satisfied and a candidate that never misses, any proposed constant is already
exceeded once the seed's deficit exceeds it — and the deficit is free, bounded only by the budget
exponent. Read against the bound's own right side, this brackets the deficit's coefficient from
below at θ, where the bound proves 5.