The commitment step's selector: which rule the learner commits to ([Discovery] §5) #
Provenance: [Discovery] Theorem 5.1(iv), the commitment step — the bridge from the §3 posterior to the §4 read-only code.
The boundary this file draws, and does not cross #
[Discovery] Theorem 5.1(iv) says: once the posterior mass on R reaches 1 − δ/2 (after
T_discover), the rule R is written into the persistent code s_code. The paper is explicit
that this is an architectural assumption — it is not derived in §3, where the learner's state
is the full mixture rather than a single rule — and that the residual stochastic failure mode is
s_code corruption, charged the separate δ/2 budget.
What is machine-checked here is the step's selector, and only that:
- which candidate the threshold picks out, and that it picks out at most one
(
Commits.unique) — so "the ruleR" is a well-defined object rather than a hopeful singular; - that the selected candidate is the truth (
commits_truth), under the discovery hypotheses; - that the selection is time-stable past the discovery horizon (
Commits.stable) — the learner does not commit to one rule and later to another.
What remains an architectural assumption, exactly as the paper states it:
- the write itself — that the selected rule is transferred into the persistent code
s_code. No code region, no write operation and no persistence claim appears below; the selector is a function of the posterior alone; - the
δ/2corruption budget fors_code— a substrate-reliability premise, with no counterpart here.
So this file hardens the discovery side of the hand-off (the posterior determines a unique, true, stable rule) and leaves the retention side (writing it, and keeping it) where the paper leaves it.
The objects #
Everything is stated over the algorithm object of [SQ] §4 / Appendix A (FV-K) — alive, the
survivor set, and the pruned posterior that ReflectiveSubsystems.algorithm_discovery bounds below
by 1 − δ/2. That quotient is unnamed there (it appears inline in the conclusion);
prunedPosterior names it and nothing more, so algorithm_discovery's conclusion is
1 − δ/2 ≤ prunedPosterior … iR definitionally.
Commits p S δ i is a predicate rather than an Option-valued selector: the posterior is
real-valued, so a Finset.filter at the threshold would have to bake classical decidability into
the definition and carry that instance through every membership rewrite, and extracting an element
from the resulting Finset ι — ι unordered — would need a further arbitrary choice. The
predicate says the same thing, and the capstone's ↔ i = iR form states existence, uniqueness and
the identity of the selected rule in a single equivalence.
Where δ < 1 is load-bearing #
Uniqueness is a normalization argument: the pruned posterior sums to 1 over the survivor set
(prunedPosterior_sum_alive), so two candidates both at mass ≥ 1 − δ/2 force 2 − δ ≤ 1. That
is a contradiction exactly when δ < 1. The hypothesis is therefore not cosmetic and is not
weakened to δ ≤ 1: at δ = 1 the threshold is 1/2, two candidates can tie there, and the
committed rule is genuinely undefined.
The threshold is stated in the non-strict form 1 − δ/2 ≤ p i. That is what algorithm_discovery
delivers, and it is the easier trigger — it commits at least as often — so uniqueness, the
load-bearing direction, is proved against the harder case.
The posterior the commitment step reads, and the threshold it applies #
The pruned posterior of the [SQ] §4 algorithm: the Bayes posterior with the normalizer
restricted to the survivor set alive … n ω. This is the quantity
ReflectiveSubsystems.algorithm_discovery bounds below by 1 − δ/2; naming it changes nothing (the
two are definitionally equal), it only makes the commitment step's input citable.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The commitment predicate ([Discovery] §5, Theorem 5.1(iv)): candidate i is one the
learner would commit to when it is still alive and its posterior mass has reached the threshold
1 − δ/2. This is the selector of the commitment step — the write into the persistent code is
the architectural assumption the module docstring records, and is not modelled.
Instances For
The selector is well defined #
At most one candidate is ever committed. A normalization argument, and the only place the
posterior's total mass enters: two candidates at mass ≥ 1 − δ/2 would together carry 2 − δ,
which exceeds the available mass 1 precisely because δ < 1.
Stated for an arbitrary real-valued mass p on a finite candidate set S with total mass at most
1, so it applies to the pruned posterior (whose mass over the survivor set is exactly 1) without
assuming anything else about the algorithm.
The pruned posterior is a probability on the survivor set #
The survivor set carries positive mass: the truth is alive
(ReflectiveSubsystems.truth_survives) and, being realizable, contributes its full prior weight
w iR > 0. This is the nonemptiness the pruned posterior is conditioned on — carried as a
hypothesis chain rather than assumed.
The pruned posterior is nonnegative.
The pruned posterior has total mass 1 on the survivor set — it is a genuine probability
there, which is what makes Commits.unique applicable. (Over the whole candidate set the same
quotient sums to at least 1, the normalizer running over survivors only; the survivor set is the
right domain for the commitment step, and the one the paper's "posterior mass on R" refers to.)
The selector returns the truth #
The truth is committed. Past the discovery horizon the true rule is alive
(ReflectiveSubsystems.truth_survives) and its pruned posterior has reached the threshold
(ReflectiveSubsystems.algorithm_discovery) — so it satisfies the commitment predicate.
The capstone: a well-defined, true, time-stable commitment #
The commitment step's selector ([Discovery] §5, Theorem 5.1(iv)). Past the discovery horizon, the candidates satisfying the commitment predicate are exactly the true rule — at every such time. The single equivalence carries all three claims the seam needs:
- existence — the truth commits (
←direction), - well-definedness — nothing else does (
→direction, viaCommits.unique), - time-stability — the right-hand side
i = iRdoes not depend onn, so the committed rule is the same at every time past the horizon (spelled out inCommits.stable).
δ < 1 is required, not cosmetic: it is exactly what makes the threshold 1 − δ/2 exceed half the
available mass, and hence what makes the selection unique. The separation hypothesis is taken at
all times rather than below a fixed horizon, since a per-time hypothesis would make the stability
claim vacuous — a fresh premise for every n is not a statement about the same learner over time.
The remaining clauses of Theorem 5.1(iv) — that the selected rule is written into the persistent
code s_code, and the δ/2 corruption budget for keeping it there — are the architectural
assumptions the paper states as such. They are not established here, and nothing below refers to a
code region.
The commitment is time-stable. Two commitments made at any two times past the discovery
horizon are to the same rule. This is not a separate argument: commitment_seam already identifies
the committed candidate as iR at each time independently, so stability is that identification
applied twice. Recording it as its own statement is what makes "the learner does not re-commit"
a citable fact rather than a reading of the capstone.