Documentation

ReflectiveSubsystems.SQVersionSpace

Positive arithmetic core of SQ version-space pruning ([SQ] §3.4 / §4(b) / Appendix A) #

Provenance: [SQ], §3.4 (statistical dimension d_SQ + Assumption A), §4 step (b) (SQ-based enumeration of M_T), and Appendix A (the BFJKMR → prequential adaptation: "the version-space bound", "the SQ handle", "the truth survives").

This is the POSITIVE complement to ReflectiveSubsystems/ParityCounterexample.lean (FV-A3): there the modeled d_SQ is exponential and PolyBounded fails; here, under Assumption A (d_SQ = poly(r)) plus the modeled BFJKMR envelope, the SAME PolyBounded notion succeeds and delivers the poly(r) candidate set that Theorem 4.1 (ii,iii) consumes, together with the two-sided soundness of the 2τ pruning rule.

Status: PROVED as pure real-arithmetic / asymptotic statements. This is the arithmetic core of §4(b) and Appendix A only.

What this DOES establish #

The arithmetic the SQ model shares — PolyBounded, candidates_polyBounded and the two truth_survives_pruning lemmas — lives in Learning/SQBounds.lean; the impostor lemmas stay here.

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

Hypotheses: paper-stated vs added/strengthened #

theorem ReflectiveSubsystems.separated_impostor_pruned (predR predR' emp τ : ℝ) (hemp : |emp - predR| ≤ τ) (hsep : 3 * τ < |predR' - predR|) :
2 * τ < |predR' - emp|

T2b — separated impostors are pruned (Appendix A "the SQ handle"; pruning is effective): a candidate R' whose predicted mean predR' is > 3τ-separated from the truth predR IS pruned — its deviation |predR' − emp| from the empirical answer exceeds the 2τ threshold. Together with truth_survives_pruning this is the soundness of SQ-pruning: keep the truth, remove every well-separated impostor.

Window-noise refinement of the 2τ geometry ([SQ] §3.1) #

The window-sufficiency assumption (W) of [SQ] §3.1 — "the window determines the next observation under R" — is the determinism of the one-step predictor f_R. It weakens gracefully to a window-noise rate η := μ(o_{t+1} ≠ f_R(w_t)), the Bayes error of the predictor under the invariant measure (W is η = 0). The realized answer is then the joint mean a = 𝔼_μ φ(w, o_next), which the empirical time-average concentrates on; the deterministic truth is predR = 𝔼_μ φ(w, f_R(w)), and the two differ by the noise gap |a − predR| ≤ 2η (the query is [−1,1]-valued; SQOracle.noise_gap_integral). The two lemmas below are the noisy siblings of truth_survives_pruning / separated_impostor_pruned: the deterministic truth survives the unchanged 2τ-pruning rule exactly when the window-noise budget 2η ≤ τ holds, and a separated impostor picks up the matching +2η slack. Both specialize to the noiseless lemmas at η = 0.

theorem ReflectiveSubsystems.separated_impostor_pruned_noisy (predR predR' a emp τ η : ℝ) (hconc : |emp - a| ≤ τ) (hnoise : |a - predR| ≤ 2 * η) (hsep : 3 * τ + 2 * η < |predR' - predR|) :
2 * τ < |predR' - emp|

T2b-noisy — separated impostors are pruned, with noise slack ([SQ] §3.1, the window-noise refinement of separated_impostor_pruned). A candidate predR' whose predicted mean is > 3τ + 2η-separated from the deterministic truth predR still deviates from the empirical answer by |predR' − emp| > 2τ, so it is pruned. The separation threshold picks up exactly the +2η window-noise slack over the noiseless 3τ. At η = 0 this is separated_impostor_pruned.