Countable discovery — [Discovery] Theorem 3.1 over a countable hypothesis class #
Provenance: [Discovery] §1.1, §3. ReflectiveSubsystems/DeterministicDiscovery.lean proves
the unconditional realizable-deterministic discovery theorem for a finite hypothesis class
(ι : Fintype). The paper's actual setting (§1.1) is a countable class with the
Kolmogorov-weighted prior w(R') = 2^{−K(R')} over all programs. This file lifts the discovery
theorem to a countable ι: the sums over the hypothesis index become tsum/∑', the prior is a
Kraft-summable sub-distribution (Summable w, ∑' w ≤ 1), and the observation alphabet A
stays genuinely finite ([Fintype A]).
What carries over and what is re-proved #
The mathematics is the finite argument with ∑' for ∑ over ι; the finite
deterministic_discovery is untouched and still builds (this file is strictly additive). The
genuinely index-free ingredient Lik (Learning/BayesRedundancy.lean) and the alphabet-only facts
sqHellinger, hellinger_point_mass are reused as-is. The small per-hypothesis facts
(lik_nonneg, lik_realizable, q_self_le_exp_countable,
competitor_likelihood_decay_countable) are re-proved here verbatim: their finite-file
counterparts sit under that file's [Fintype ι] section variable, which Lean's section-variable
auto-inclusion bakes into their signatures (the unusedSectionVars linter is off there), so they
are not directly applicable to a non-finite ι.
The proofs are unchanged — only the ambient [Fintype ι] is dropped. (The interpretive companions
telescope / cumulative_hellinger, eq. 4, are off the discovery critical path and are left in the
finite file.)
What is PROVED (no sorry, no deep import) #
Lik_le_one,summable_w_lik,countable_posterior_lower_bound, and the capstonecountable_discovery— the exact analogue ofReflectiveSubsystems.deterministic_discoveryover a countableι. The hypotheses are only the model (pmfq, priorwwithw R = 2^{−K(R)},Summable w,∑' w ≤ 1), realizability (q R s (ω s) = 1), and per-stepε₀-separation. No Grünwald–Mehta import, no Markov, no posterior-of-close.
The countability ingredients (everything else is the finite argument verbatim) #
Lik_le_one+Summable w⇒Summable (i ↦ w_i · Lik_i n)(Summable.of_nonneg_of_le).- the mixture mass splits off the true term:
P̄(n) = w_R + ∑'_i ite (i=R) 0 (w_i Lik_i n)(Summable.tsum_eq_add_tsum_ite), soP̄(n) ≥ w_R = 2^{−K(R)} > 0. - the competitor tail is bounded termwise by
w_i · exp(−2 S)and summed viaSummable.tsum_le_tsumtsum_mul_right, using∑' w ≤ 1— exactly the finiteFinset.sum_le_sumchain with∑'.
Per-hypothesis facts (re-proved without [Fintype ι]; proofs identical to the finite file) #
0 ≤ Lik i n (every factor is a probability). Verbatim BayesRedundancy.Lik_nonneg, without
the ambient [Fintype ι].
Realizable-deterministic: the true rule's likelihood is identically 1. Verbatim
BayesRedundancy.Lik_realizable, without the ambient [Fintype ι].
Per-step likelihood decay. q_i(ω_t) ≤ exp(−2·D_H²_{i,t}). Verbatim
ReflectiveSubsystems.q_self_le_exp, without the ambient [Fintype ι].
Competitor likelihood decay. Lik i n ≤ exp(−2 ∑_{t<n} D_H²_{i,t}). Verbatim
ReflectiveSubsystems.competitor_likelihood_decay, without the ambient [Fintype ι].
Countable mixture mass and the discovery theorem #
Each prefix likelihood is ≤ 1. Every factor q_i(ω_s | ω_{<s}) is a pmf value, hence
≤ 1 (Finset.single_le_sum against ∑_x q = 1); the product over s < n is therefore ≤ 1
(Finset.prod_le_one₀). This is the only new fact the countable comparison test needs.
Countable mixture prefix mass P̄(t) = ∑'_i w_i L_i(t) over a countable hypothesis class. The
countable analogue of BayesRedundancy.Pbarₚ (a tsum over ι in place of the Finset sum).
Equations
- ReflectiveSubsystems.Pbarₚ' q w ω t = ∑' (i : ι), w i * BayesRedundancy.Lik q ω i t
Instances For
The mixture summand is summable. 0 ≤ w_i · L_i(n) ≤ w_i (since 0 ≤ L_i ≤ 1,
Lik_le_one), so summability follows from the Kraft-summable prior Summable w by comparison
(Summable.of_nonneg_of_le).
Posterior lower bound (countable). The countable analogue of
ReflectiveSubsystems.posterior_lower_bound: under realizability and a cumulative separation S
of every competitor, the posterior shortfall is exponentially small,
1 − wpost ≤ 2^{K(R)}·exp(−2 S). The proof is the finite one with ∑' for ∑: the true term is
split off by Summable.tsum_eq_add_tsum_ite (giving P̄(n) = w_R + N with N ≥ 0, so
P̄(n) ≥ w_R), and the competitor tail N is bounded termwise by w_i·exp(−2 S) and summed
(Summable.tsum_le_tsum, tsum_mul_right, ∑' w ≤ 1).
Theorem 3.1 (unconditional, realizable-deterministic) — countable hypothesis class. The
countable analogue of ReflectiveSubsystems.deterministic_discovery, over the Kolmogorov-weighted
prior w(R') = 2^{−K(R')} of §1.1 (Summable w, ∑' w ≤ 1). For per-step separation ε₀ and
n ≥ T_discover = (K(R)·ln 2 + ln(2/δ)) / (2 ε₀), the prequential posterior concentrates on the
true rule: wpost = w R · Lik R n / P̄(n) ≥ 1 − δ/2. Hypotheses are only the model +
realizability + separation — no Grünwald–Mehta, no Markov, no posterior-of-close.