Documentation

ReflectiveSubsystems.SQPrunedMass

Post-discovery pruned mass: competitor-decay + Kraft ([SQ] Appendix A, Claim 2) #

Provenance: [SQ], Appendix A "Soundness of SQ pruning", Claim 2 (the accumulated pruned mass is ≤ δ/2). This file supplies the post-discovery half of that claim: once the search has run past T_discover, the total posterior mass ever assigned to pruned competitors is ≤ δ/2, established by competitor decay + the Kraft inequality alone — with no maximal inequality (Doob/Ville), which is the part the prose defers to a martingale tail bound.

This is the companion to ReflectiveSubsystems/SQVersionSpace.lean (FV-A4, "truth survives pruning") and Learning/SQOracle.lean (FV-E, the empirical-answer concentration): there the geometry of a single pruning step is proved; here the accumulated mass across the whole pruned set is summed & bounded.

Like ReflectiveSubsystems/SampleComplexity.lean (FV-B2) this file reuses [Discovery] as imported hypotheses rather than re-deriving it: the per-competitor posterior bound wt i ≤ w i · 2^K · exp(−2tε₀) is taken as the hypothesis hdecay, which bundles two cited facts — the likelihood decay L_t(R') ≤ exp(−2tε₀) ([Discovery] DeterministicDiscovery) and the normaliser lower bound Z_t ≥ w(R) = 2^{−K}. The NEW content proved here is exactly the two steps the paper leaves implicit:

Notational note: 2^K is written Real.exp (K * Real.log 2) throughout, so that K : ℝ (the description length in nats-vs-bits is absorbed into K) and the algebra stays inside the Real.exp/Real.log API.

What this DOES establish #

What this does NOT establish (stays in prose; no overclaiming) #

theorem ReflectiveSubsystems.prefactor_le (K t ε₀ δ : ℝ) (hδ0 : 0 < δ) (hε₀ : 0 < ε₀) (ht : (K * Real.log 2 + Real.log (2 / δ)) / (2 * ε₀) ≤ t) :
Real.exp (K * Real.log 2) * Real.exp (-2 * t * ε₀) ≤ δ / 2

Past T_discover, geometric decay kills the 2^K prefactor: for t ≥ (K·log 2 + log(2/δ))/(2ε₀), 2^K · exp(−2tε₀) ≤ δ/2 (with 2^K = exp(K·log 2)).

theorem ReflectiveSubsystems.accumulated_pruned_mass_le {ι : Type u_1} (pruned : Finset ι) (w wt : ι → ℝ) (K t ε₀ δ : ℝ) (hw0 : ∀ i ∈ pruned, 0 ≤ w i) (hkraft : ∑ i ∈ pruned, w i ≤ 1) (hδ0 : 0 < δ) (hε₀ : 0 < ε₀) (hdecay : ∀ i ∈ pruned, wt i ≤ w i * Real.exp (K * Real.log 2) * Real.exp (-2 * t * ε₀)) (ht : (K * Real.log 2 + Real.log (2 / δ)) / (2 * ε₀) ≤ t) :
∑ i ∈ pruned, wt i ≤ δ / 2

FV-F (Appendix A Claim 2, post-discovery half): the accumulated post-discovery pruned mass is ≤ δ/2, by competitor decay + Kraft alone — no maximal inequality. The per-competitor bound wt i ≤ w i · 2^K · exp(−2tε₀) (decay + normaliser, [Discovery]) is uniform in t past T_discover, so summing over the pruned set with Kraft ∑ w ≤ 1 gives ∑ wt ≤ δ/2.