Documentation

Learning.SQBounds

Polynomial-bound arithmetic below the SQ model #

The PolyBounded predicate ("Assumption A", d_SQ = poly(r)), the modeled exponential statistical dimension dSQ, and the three pure real-arithmetic facts about version-space pruning that the SQ oracle, the SQ objects and the SQ envelope consume: candidates_polyBounded, truth_survives_pruning and truth_survives_pruning_noisy. Nothing here mentions a query, an oracle or a concept class.

noncomputable def SQBounds.dSQ (ε r : ℝ) :

Modeled parity statistical dimension: exponential in the rule complexity r (2^{Ω(n)} with r ≈ n, the base folded into ε > 0).

Equations
Instances For

    "Assumption A": d_SQ is polynomially bounded in r. The weakest reasonable form of "poly-bounded" (genuine natural-number degree k), so its negation is the strongest faithful "not polynomial" claim.

    Equations
    Instances For
      theorem SQBounds.candidates_polyBounded (dSQ candidates : ℝ → ℝ) (hd : PolyBounded dSQ) (A : ℝ) (m : ℕ) (hA : 0 ≤ A) (hcand : ∀ᶠ (r : ℝ) in Filter.atTop, candidates r ≤ A * dSQ r ^ m) (hdpos : ∀ᶠ (r : ℝ) in Filter.atTop, 0 ≤ dSQ r) :
      PolyBounded candidates

      T1 — version-space bound: if the statistical dimension dSQ is polynomially bounded in r (Assumption A) and the candidate set / version space is bounded by a polynomial in dSQ (the modeled BFJKMR envelope candidates ≤ A · dSQ^m), then the candidate set is itself poly(r).

      This is the POSITIVE direction: a polynomially bounded dimension delivers a poly(r) candidate set.

      theorem SQBounds.truth_survives_pruning (predR emp τ : ℝ) (hτ : 0 ≤ τ) (hemp : |emp - predR| ≤ τ) :
      |predR - emp| ≤ 2 * τ

      T2a — the truth survives: the pruning rule drops any candidate whose predicted statistic deviates from the empirical answer by > 2τ. If the empirical answer emp is within τ of the truth's mean predR (Birkhoff + concentration, modeled as hemp), then the truth's own deviation |predR − emp| is ≤ 2τ — so the truth is NEVER pruned.

      theorem SQBounds.truth_survives_pruning_noisy (predR a emp τ η : ℝ) (_hτ : 0 ≤ τ) (_hη : 0 ≤ η) (hbudget : 2 * η ≤ τ) (hconc : |emp - a| ≤ τ) (hnoise : |a - predR| ≤ 2 * η) :
      |predR - emp| ≤ 2 * τ

      T2a-noisy — the truth survives noisy pruning (the window-noise refinement of truth_survives_pruning). The empirical answer concentrates on the noisy answer a (|emp − a| ≤ τ), and a sits within the window-noise gap 2η of the deterministic-prediction truth predR (|a − predR| ≤ 2η). Then, provided the window-noise budget 2η ≤ τ holds, the truth's deviation |predR − emp| from the empirical answer is still ≤ 2τ — so the unchanged 2τ-pruning rule never discards it. At η = 0 (forcing a = predR) this is truth_survives_pruning.