The register class: the capacity bound over any step of a level vector #
LogMassEvent proves the floored mixture's capacity threshold
(floorErrorTimesFrom_card_add_le_capacity, [Discovery] Proposition 3.5(i), row FV-37) by a
potential argument that reads the mixture's step expStep through three step lemmas and nothing
else. This file names what those lemmas use — a handful of properties of an arbitrary update
step : (Fin C → Bool) → (Fin C → ℕ) → (Fin C → ℕ) of a level vector capped at a budget b,
driven by a miss vector — and proves the bound once, over every step with those properties. The
mixture is one member; a reset learner whose miss rule is no likelihood ratio is another; a
saturating register is not a member, and its count is not bounded by the potential. The file is
registered as [Discovery] §3 Proposition 3.6, rows FV-39 (the class, the bound, the members) and
FV-40 (the two non-members).
The class #
A step is at a rescale at a level vector e and a miss vector m when some hitting candidate
sits at the cap: ∃ j, e j = b ∧ m j = false. Throughout, the truth iR never misses. The
capacity argument reads five properties of the step at every level vector inside the register:
- at a rescale the truth's level does not fall (
truth_le_of_rescale); - off a rescale the truth's level rises by exactly one (
truth_succ_of_not_rescale) and no level rises by more than one (le_succ_of_not_rescale); - at a rescale no level rises (
le_of_rescale), and every missing candidate above the floor loses at least one level (miss_lt_of_rescale); - the step keeps the run inside the register (
keeps_register).
The first four are RegisterCore; RegisterClass adds the fifth. The fifth is load-bearing and
not implied by the four: the four constrain the step only at level vectors inside the register, and
they let a missing candidate at the cap rise above it off a rescale — after which nothing
constrains the step at all. liftStep is such a member of RegisterCore, and from a start inside
the register its error count is the whole horizon (liftStep_registerCore_unbounded).
Main results #
RegisterClass.card_add_le_capacity— the capacity bound over the class: under the floor conditionC − 1 ≤ θ·(2^b + C − 1), from every start inside the register, along every stream on which the truth never misses, the error count over any horizon plusCtimes the truth's start is at mostC·bplus the competitors' start. The potential is the onefloorErrorTimesFrom_card_add_le_capacityruns on, read at the class's properties.expStep_registerClassandresetStep_registerClass— two members: the floored mixture at every budget, candidate count and truth, and the reset learner, which off a rescale is the mixture and at a rescale keeps every hitter and returns every missing candidate to the floor.stepRun_expStepandstepErrorTimes_expStep— the mixture's count is the class's: atexpStepthe class's run isexpRunFromand its set of error times isfloorErrorTimesFrom, so the class bound at the mixture isfloorErrorTimesFrom_card_add_le_capacity.saturateStep_not_registerClass— the no-rise property is load-bearing: the saturating register (hit one up, capped; miss one down, floored) is not a member, and at two candidates and budget2its count from the start(2, 2)grows without bound on a stream that alternates the competitor's miss and hit.liftStep_registerCore_unbounded— the register-keeping property is load-bearing: a step with the four step properties and not the fifth, whose count from a start inside the register is the whole horizon.
The set of error times is the strict one of floorErrorTimesFrom: a step counts when the missing
mass, two to the level, exceeds θ of the total.
The class #
The four step properties. A step of a level vector e : Fin C → ℕ, capped at b, driven
by a miss vector m, with the truth iR never missing, is at a rescale at e and m when some
hitting candidate is at the cap. At a rescale the truth's level does not fall; off a rescale the
truth's level rises by exactly one and no level rises by more than one; at a rescale no level
rises; at a rescale every missing candidate above the floor loses at least one level. Every
property is read at level vectors inside the register only.
Instances For
The register class. The four step properties of RegisterCore, and the step keeps the
run inside the register: from a level vector inside it, with the truth hitting, every level stays
at most b. The capacity argument uses these five properties and nothing else.
Instances For
The run of a step from a start.
Equations
- ReflectiveSubsystems.stepRun step e₀ M 0 = e₀
- ReflectiveSubsystems.stepRun step e₀ M t.succ = step (M t) (ReflectiveSubsystems.stepRun step e₀ M t)
Instances For
The set of error times of a run: the steps before n at which the missing mass, two to the
level, exceeds θ of the total.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The run stays inside the register.
The potential #
The capacity bound over the class #
The capacity bound over the class ([Discovery] Proposition 3.6(i), row FV-39, at every
member; Proposition 3.5(i) is the statement at the mixture it generalizes): under the floor
condition, from every start inside the register, along every stream on which the truth never
misses, the error count over the whole run plus C times the truth's
start is at most C · b plus the competitors' start — the potential argument at the class's
properties and nothing else.
The members #
The floored mixture is a member: expStep at every budget, every candidate count and
every truth.
The reset learner: off a rescale as the mixture; at a rescale every hitter keeps its level and every missing candidate returns to the floor. Its miss rule is no likelihood ratio.
Equations
Instances For
The reset learner is a member.
At expStep the class's set of error times is the landed floorErrorTimesFrom, from every
start inside the register, so RegisterClass.card_add_le_capacity at the mixture is
floorErrorTimesFrom_card_add_le_capacity. The start's bound is what the mass identity
raw_wRunFrom_eq_pow_expRunFrom needs.
Non-vacuity — for RegisterClass.card_add_le_capacity: the mixture at two candidates,
budget 2, threshold 1/4, the deficit start (0, 2) with the truth first and the stream on
which candidate 1 always misses. The class, the start, the truth and the floor condition all
hold, and the bound at horizon 2 reads card + 0 ≤ 4 + 2.
The guards #
The no-rise property is load-bearing #
A register that saturates — a hitter one up, capped at b; a misser one down, floored at 0 —
lets a competitor climb back at a rescale, since a hitter at the cap stays put and nothing else
moves at that step. It fails the class's no-rise property, and its count is not bounded by the
potential: at the cap, a competitor alternating miss and hit is an error time every other step, and
nothing ever lowers it.
The saturating register: hit one up, capped at b, miss one down, floored at 0; a hitter
at the cap stays, and nothing else moves at that step.
Equations
Instances For
Guard: the no-rise property is load-bearing (row FV-40). At two candidates and budget 2,
from the start (2, 2) on the stream where candidate 1 misses at even steps and hits at odd
ones, the saturating register is at a rescale at every step, its competitor rises at every odd
step, and every even step is an error time at threshold 1/4: the count at horizon 2n is n,
which exceeds the potential 2 · (2 − 2) + 2 = 2 from n = 3 on.
The register-keeping property is load-bearing #
The four properties of RegisterCore are read at level vectors inside the register only, and they
do not keep the run there: off a rescale a missing candidate at the cap may rise by one, which
none of the four forbids, and at the level vector that results none of them says anything. The
lifting step below is the mixture inside the register except for exactly that rise, and the
identity outside; from the start (1, 2) on the stream where candidate 1 always misses, the
competitor is lifted to 3 at the first step and the run is frozen there with two thirds of the
mass on the competitor, so every step is an error time.
The lifting step: inside the register the floored mixture, except that off a rescale a missing candidate at the cap rises by one; outside the register nothing moves.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Guard: the register-keeping property is load-bearing (row FV-40). At two candidates
and budget 2, the lifting step has the four step properties and is not a member, and from the
start (1, 2) inside the register, on the stream where candidate 1 always misses, every step is
an error time at threshold 1/4: the count at horizon n is n, where the potential is
2 · (2 − 1) + 2 = 4.