Documentation

ReflectiveSubsystems.DeterministicDiscovery

Unconditional posterior concentration — [Discovery] Theorem 3.1 (realizable-deterministic) #

Provenance: [Discovery] §3. This gives a direct, fully unconditional proof of Theorem 3.1 (the prequential posterior concentrates on the true rule) in the realizable-deterministic case — no Grünwald–Mehta import, no Markov inequality, no posterior-of-close hypothesis. It replaces the whole GrunwaldMehtaDiscovery chain by an elementary competitor-likelihood-decay argument, reusing the Bayes-mixture model of Learning/BayesRedundancy.lean.

The argument #

The posterior weight on the true rule R is wpost = w R · Lik R n / P̄(n) (= w R / P̄(n) since Lik R n = 1 deterministically). A competitor i ≠ R decays: Lik i n = ∏_{t<n} q_i(ω_t) ≤ ∏_{t<n} exp(−2 D_H²_{i,t}) = exp(−2 ∑_t D_H²_{i,t}), because per step q_i(ω_t) = (1 − D_H²_{i,t})² ≤ exp(−2 D_H²_{i,t}) (from 1 − x ≤ exp(−x) and hellinger_point_mass: D_H²_{i,t} = 1 − √(q_i(ω_t))). With per-step separation ε₀, the cumulative separation is n·ε₀, so Lik i n ≤ exp(−2 n ε₀), and 1 − wpost ≤ 2^{K(R)}·exp(−2 n ε₀) ≤ δ/2 once n ≥ T_discover.

What is PROVED (no sorry, no deep import) #

Separation form and discovery time #

theorem ReflectiveSubsystems.q_self_le_exp {A : Type u_1} [Fintype A] [DecidableEq A] {ι : Type u_2} {q : ι → ℕ → A → ℝ} {ω : ℕ → A} (hnn : ∀ (i : ι) (s : ℕ) (x : A), 0 ≤ q i s x) (hpmf : ∀ (i : ι) (s : ℕ), ∑ x : A, q i s x = 1) (i : ι) (t : ℕ) :
q i t (ω t) ≤ Real.exp (-2 * BayesRedundancy.sqHellinger (fun (x : A) => if x = ω t then 1 else 0) (q i t))

Per-step likelihood decay. q_i(ω_t) ≤ exp(−2·D_H²_{i,t}), where D_H²_{i,t} = sqHellinger (δ_{ω_t}) (q_i(·)). Since √(q_i(ω_t)) = 1 − D_H²_{i,t} (hellinger_point_mass), q_i(ω_t) = (1−D)² ≤ exp(−D)² = exp(−2D) using 1 − D ≤ exp(−D).

theorem ReflectiveSubsystems.competitor_likelihood_decay {A : Type u_1} [Fintype A] [DecidableEq A] {ι : Type u_2} {q : ι → ℕ → A → ℝ} {ω : ℕ → A} (hnn : ∀ (i : ι) (s : ℕ) (x : A), 0 ≤ q i s x) (hpmf : ∀ (i : ι) (s : ℕ), ∑ x : A, q i s x = 1) (i : ι) (n : ℕ) :
BayesRedundancy.Lik q ω i n ≤ Real.exp (-2 * ∑ t ∈ Finset.range n, BayesRedundancy.sqHellinger (fun (x : A) => if x = ω t then 1 else 0) (q i t))

Competitor likelihood decay. Lik i n ≤ exp(−2 ∑_{t<n} D_H²_{i,t}) — the product of the per-step bounds (Finset.prod_le_prod₀, Real.exp_sum). No separation assumed yet.

theorem ReflectiveSubsystems.posterior_lower_bound {A : Type u_1} [Fintype A] [DecidableEq A] {ι : Type u_2} [Fintype ι] {q : ι → ℕ → A → ℝ} {w : ι → ℝ} {ω : ℕ → A} {R : ι} (hnn : ∀ (i : ι) (s : ℕ) (x : A), 0 ≤ q i s x) (hpmf : ∀ (i : ι) (s : ℕ), ∑ x : A, q i s x = 1) (hw : ∀ (i : ι), 0 ≤ w i) (k : ℕ) (hwR : w R = 2 ^ (-↑k)) (hsumw : ∑ i : ι, w i ≤ 1) (hreal : ∀ (s : ℕ), q R s (ω s) = 1) (n : ℕ) (S : ℝ) (hsep : ∀ (i : ι), i ≠ R → S ≤ ∑ t ∈ Finset.range n, BayesRedundancy.sqHellinger (fun (x : A) => if x = ω t then 1 else 0) (q i t)) :
1 - w R * BayesRedundancy.Lik q ω R n / BayesRedundancy.Pbarₚ q w ω n ≤ 2 ^ ↑k * Real.exp (-2 * S)

Posterior lower bound. Under realizability and a cumulative separation S of every competitor (hsep : ∀ i ≠ R, S ≤ ∑_{t<n} D_H²_{i,t}), the posterior shortfall is exponentially small: 1 − wpost ≤ 2^{K(R)}·exp(−2 S). Uses 1 − wpost = (∑_{i≠R} w_i Lik_i n)/P̄(n), the decay Lik_i n ≤ exp(−2 S), ∑ w ≤ 1, and P̄(n) ≥ w R = 2^{−K(R)} (mixture_regret).

theorem ReflectiveSubsystems.deterministic_discovery {A : Type u_1} [Fintype A] [DecidableEq A] {ι : Type u_2} [Fintype ι] {q : ι → ℕ → A → ℝ} {w : ι → ℝ} {ω : ℕ → A} {R : ι} (hnn : ∀ (i : ι) (s : ℕ) (x : A), 0 ≤ q i s x) (hpmf : ∀ (i : ι) (s : ℕ), ∑ x : A, q i s x = 1) (hw : ∀ (i : ι), 0 ≤ w i) (k : ℕ) (hwR : w R = 2 ^ (-↑k)) (hsumw : ∑ i : ι, w i ≤ 1) (hreal : ∀ (s : ℕ), q R s (ω s) = 1) (δ ε₀ : ℝ) (hδ : 0 < δ) (hε : 0 < ε₀) (n : ℕ) (hsep : ∀ (i : ι), i ≠ R → ∀ t ∈ Finset.range n, ε₀ ≤ BayesRedundancy.sqHellinger (fun (x : A) => if x = ω t then 1 else 0) (q i t)) (hT : (↑k * Real.log 2 + Real.log (2 / δ)) / (2 * ε₀) ≤ ↑n) :
1 - δ / 2 ≤ w R * BayesRedundancy.Lik q ω R n / BayesRedundancy.Pbarₚ q w ω n

Theorem 3.1 (unconditional, realizable-deterministic). 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. The hypotheses are only the model + realizability

  • separation — no Grünwald–Mehta, no Markov, no posterior-of-close.