Search-phase pruned mass: the log-Bayes potential ([SQ] Appendix A, Claim 2, search half) #
Provenance: [SQ], Appendix A "Soundness of SQ pruning", Claim 2,
the search-phase (t < T_discover) residual gap. Companion to
ReflectiveSubsystems/SQPrunedMass.lean (FV-F), which handles only the post-discovery half.
The prose flags the search phase open because the per-competitor bound
w_t(R') ≤ w(R')·2^{K(R)}·exp(−2tε₀) keeps an un-killed 2^{K(R)} prefactor there. The resolution
is a log-Bayes potential the naive bound ignores: with
Φ_t := −ln w_t(R) (truth's normalized-posterior potential, in nats), Φ_0 ≤ ln2·K(R) (Kraft) and
Φ_t ≥ 0; a renormalization-prune of a competitor with normalized mass m drops Φ by
−ln(1 − m) ≥ m. Summing, the accumulated pruned mass is ≤ Φ_0 ≤ ln2·K(R) = O(r) — the RIGHT
order (discovery regret), not δ/2.
C below is the potential range in nats, = ln2·K(R) = O(r).
What this DOES establish #
search_phase_pruned_mass_le: given the per-prune charge to a bounded potentialΦon[0,K](hypotheseshΦ0,hΦn,hcharge), the accumulated pruned mass∑ m i ≤ K. The NEW elementary content is the pointwisem ≤ −ln(1 − m)(mass ≤ its log-drop) summed over the pruned set, then charged to the potential's total decrease.potential_range: the telescoping∑ (Φ k − Φ (k+1)) = Φ 0 − Φ n ≤ Kfor a potential withΦ 0 ≤ K,Φ n ≥ 0— the "potential lies in[0,K]" half, elementary.pruned_mass_le_budget: the slack form — the per-prune charge may exceed the telescoped potential drop by an additive budgetB(the between-pruning Bayesian-update net rise); the mass bound degrades toC + B. This is the deterministic core the Ville chain rests on, withB = ln(1/δ).search_phase_mass_ville_chain: the chained probabilistic capstone. WithZ_ta non-negative supermartingale (𝔼[Z_0] ≤ 1; realizable likelihood-ratio mixture) and the per-path charge valid on the no-excursion event{∀ t, Z_t < 1/δ}, the accumulated pruned mass exceedsC + ln(1/δ)only on the Ville excursion event, soμ{mass > C + ln(1/δ)} ≤ δ— the paper'sO(r + log(1/δ))w.h.p. bound. Theln(1/δ)term is DERIVED fromVille.ville_potential_budget, not assumed: the two cores (log-Bayes potential drop and Ville excursion control) are now formally chained.search_phase_mass_charged: the same bound with the chain's two remaining inputs — the initial potential bound and the per-path charge — themselves DERIVED, not assumed.kraft_potential_initgetsΦ_0 ≤ ln2·K(R)from Kraft: the truth's normalised prior weight is2^{−K(R)}/Swith total massS ≤ 1(BinaryKraft.indexed_tsum_le_one), so dividing only raises it.charge_identity+charge_of_posterior_modelget the charge as an identity: under the posterior step model (prune a normalised mass, renormalise, Bayes-update) the per-prune−ln(1−m)is exactly the potential drop plus the net Bayes rise, which telescopes toln(Z_n)and is< ln(1/δ)on the no-excursion event.
What this does NOT establish (stays modeled / imported; no overclaiming) #
search_phase_mass_charged reduces the modeled content to a single identification: that the
w, m, b, Z of the posterior step model ARE the algorithm's own posterior weight, pruned masses,
Bayes factors, and renormalised survivor mixture. That is a modeling step, not an inequality — the
initial bound and the charge, formerly hypotheses, are now theorems of the model. The predictive
transfer of the pruned mass into regret ("O(r) pruned mass is absorbed into the O(r) regret",
the Bayes-mixture argument of [Discovery]) is machine-checked separately in SQPredictiveTransfer.
FV-G (Appendix A Claim 2, search-phase half): the accumulated search-phase pruned mass is
≤ K (= ln2·K(R) = O(r)), by the log-Bayes potential. Each pruned competitor's normalized mass
m i is ≤ −ln(1 − m i) (its potential drop, in nats); these are charged to the truth-potential
Φ on [0,K] (hcharge), whose total decrease telescopes to ≤ K (potential_range).
Slack form of search_phase_pruned_mass_le: the charge may exceed the telescoped potential
drop by an additive budget B (the Bayesian-update net rise); the mass bound degrades to C + B.
The deterministic core the Ville chain rests on — with B = ln(1/δ) supplying the between-pruning
net rise valid on the no-excursion event.
FV-G chained (Appendix A Claim 2, search phase, w.h.p. form): the accumulated search-phase
pruned mass exceeds C + ln(1/δ) only on the Ville excursion event, so with probability ≥ 1−δ
it is ≤ C + ln(1/δ) (C = ln2·K(R), giving the paper's O(r + log(1/δ))). The ln(1/δ) term
is DERIVED from Ville.ville_potential_budget, not assumed. Modeled premises, now minimal and
named: Z_t is a non-negative supermartingale with 𝔼[Z_0] ≤ 1 (realizable likelihood-ratio
mixture), the Kraft bound hΦ0, and the per-path charge hcharge — the
per-prune log-drop plus the Bayes-update net rise ≤ ln(1/δ) VALID ON the no-excursion event,
which is exactly the paper's "w.p. ≥ 1−δ (Ville)" semantics.
The two modeled inputs, closed #
The chain above takes the initial potential bound hΦ0 and the per-path charge hcharge as
hypotheses. Both are consequences of the posterior's own dynamics, and this section derives them.
The initialization is Kraft. The truth's normalized prior weight is w₀(R) = 2^{−K(R)}/S,
where S = ∑_{R'} 2^{−K(R')} is the total mass of the unnormalized 2^{−K} prior. Kraft–McMillan
says S ≤ 1 (BinaryKraft), so dividing by it can only raise the truth's weight:
w₀(R) ≥ 2^{−K(R)}, hence Φ₀ = −ln w₀(R) ≤ ln2·K(R).
The charge is a log identity plus Ville. Model one step of the truth's normalized posterior
weight as it actually moves: prune a normalized mass m k (renormalizing the survivors by
1/(1−m k)), then Bayes-update by the factor b k, so w (k+1) = w k / (1 − m k) * b k. Taking
−ln turns that product into a sum, and the per-step identity
−ln(1 − m k) = (Φ k − Φ (k+1)) + (−ln (b k))
says exactly what the potential argument claims: the charge of a prune is its potential drop plus
whatever the Bayes update gave back. Summing over the phase (charge_identity) leaves the net
Bayes rise ∑ (−ln (b k)) as the only slack — and that is what Ville controls. In
likelihood-ratio units the Bayes factor is the reciprocal of the mixture's ratio-growth,
b k = Z k / Z (k+1), so the rise telescopes to ln (Z n) − ln (Z 0) = ln (Z n)
(bayes_rise_telescope), which on the no-excursion event {∀ t, Z t < 1/δ} is < ln(1/δ).
Z here is the mixture the pruning algorithm actually carries: the renormalized mass of the
surviving candidates (Z 0 = 1, and Z (k+1) / Z k is the survivors' Bayes growth). It is the
same Z in all three roles — Ville's supermartingale, the no-excursion event, and the Bayes
factors — which is what makes the capstone a single coherent statement. The unpruned mixture
Σ w(R')·L_t(R') is the m ≡ 0 case of that shape.
What remains modeled #
Only the identification: that the algorithm's posterior weight, pruned masses, Bayes factors and
mixture are the w, m, b, Z of this model. The inequalities themselves are no longer
assumed.
The Kraft initialization. Normalizing the unnormalized 2^{−K} prior by its total mass
S gives the truth weight 2^{−K(R)}/S; Kraft–McMillan says S ≤ 1, so the division only raises
it, and Φ₀ = −ln(2^{−K(R)}/S) ≤ ln2·K(R). Sub-normalization is the whole content: a prior that
summed to more than 1 could leave the truth with a weight below 2^{−K(R)}, and the bound would
fail.
The Kraft initialization, with Kraft supplied. For a hypothesis class presented by an
injective, uniquely-decodable binary code, the 2^{−ℓ} prior's total mass lies in (0,1] by
Kraft–McMillan (BinaryKraft.indexed_tsum_pos, BinaryKraft.indexed_tsum_le_one), so the
initial-potential bound Φ₀ ≤ ln2·ℓ(R) is derived, with no assumed normalizer.
The charge identity. Under the posterior step model — prune a normalized mass m k
(renormalizing by 1/(1−m k)), then Bayes-update by b k — the accumulated charge of the prunes
is exactly the telescoped potential drop plus the net Bayes rise. No inequality is involved: the
step is a product, and −ln turns it into a sum.
The net Bayes rise telescopes. In likelihood-ratio units the truth's own likelihood is 1,
so the Bayes factor is the reciprocal of the mixture's ratio-growth, b k = Z k / Z (k+1), and the
accumulated rise collapses to ln (Z n) − ln (Z 0).
The net Bayes rise is ≤ ln(1/δ) on the no-excursion event. The rise telescopes to
ln (Z n) (the mixture starts normalized, Z 0 = 1), and on {∀ t, Z t < 1/δ} that is
< ln(1/δ). This is the only place the probabilistic input enters the charge.
The per-path charge, derived. The hypothesis hcharge of search_phase_mass_ville_chain
— assumed until now — follows from the posterior step model: the charge identity accounts for every
prune exactly (charge_identity), and the leftover net Bayes rise is ≤ ln(1/δ) on the
no-excursion event (bayes_rise_le_of_no_excursion).
The search-phase mass bound, with both modeled inputs discharged (Appendix A Claim 2, search
phase). With probability ≥ 1−δ, the accumulated search-phase pruned mass is at most
ln2·K(R) + ln(1/δ) — the paper's O(r + log(1/δ)).
Against search_phase_mass_ville_chain, the two hypotheses that were inequalities about the
potential are gone, replaced by the posterior's dynamics:
- the initial bound
Φ₀ ≤ ln2·K(R)is nowhinit— the truth's normalized prior weight is at least2^{−K(R)}, which is Kraft (kraft_potential_init,kraft_potential_init_of_code); - the per-path charge is now
hstep+hbayes— the posterior prunes-then-updates, and the Bayes factor is the surviving mixture's reciprocal ratio-growth (charge_of_posterior_model).
What is left is the identification of w, m, b, Z with the algorithm's posterior, pruned
masses, Bayes factors and renormalized survivor mixture — a modeling step, not an inequality.