Documentation

ReflectiveSubsystems.FiniteHorizonDiscovery

The end-to-end finite-horizon guarantee ([SQ] §3.3, §4 Theorem 4.1(i)) #

Provenance: [SQ] §3.3 "When does the reduction work?" (the finite-horizon paragraph: a schedule oracle proved from MixingHoeffdingTo at a horizon N, without covering every sample size) and §4 Theorem 4.1(i) (the pruned posterior's sample complexity). Composes two independently-landed theorems that neither cite nor import each other: ReflectiveSubsystems.empirical_isSQOracle_of_mixingTo (the finite-horizon mixing oracle over a schedule, off an event of measure ≤ δ) and ReflectiveSubsystems.algorithm_discovery (Theorem 4.1(i) for the pruned algorithm, assembled from [Discovery]'s discovery theorem by posterior monotonicity under the schedule's own oracle-closeness hypothesis hclose). ReflectiveSubsystems/BirkhoffTool.lean imports Learning.SQOracle; ReflectiveSubsystems/SQAlgorithm.lean imports the discovery/supermartingale stack; neither is upstream of the other, so the composition is a new, third module rather than an addition to either parent.

What is proved here (machine-checked, axioms = the standard triple) #

What is deliberately NOT in the statement or in scope #

theorem ReflectiveSubsystems.algorithm_discovery_of_mixingTo {X : Type u_1} [DecidableEq X] [Fintype X] [MeasurableSpace X] {ι : Type u_2} [Fintype ι] {Q : Type u_3} (μ : MeasureTheory.Measure (ℕ → X)) [MeasureTheory.IsProbabilityMeasure μ] (Qs : Finset Q) (hQs : Qs.Nonempty) (Z : Q → ℕ → (ℕ → X) → ℝ) (tru : Q → ℝ) (c : ℝ) (N n : ℕ) (τ δ : ℝ) (pred : ι → (s : ℕ) → (Fin s → X) → X) (stat : ι → ↥Qs → ℝ) (sched : ℕ → Finset ↥Qs) (w : ι → ℝ) (iR : ι) (k m : ℕ) (δd ε₀ : ℝ) (hmix : ∀ φ ∈ Qs, MixingHoeffding.MixingHoeffdingTo N μ (Z φ) (tru φ) c) (hc : 0 < c) (hn1 : 1 ≤ n) (hnN : n ≤ N) (hτ : 0 < τ) (hδ0 : 0 < δ) (hn : 2 * c / τ ^ 2 * Real.log (2 * ↑Qs.card / δ) ≤ ↑n) (hstat : ∀ (φ : ↥Qs), stat iR φ = tru ↑φ) (hw : ∀ (i : ι), 0 ≤ w i) (hwR : w iR = 2 ^ (-↑k)) (hsumw : ∑ i : ι, w i ≤ 1) (hδd : 0 < δd) (hε : 0 < ε₀) (hT : (↑k * Real.log 2 + Real.log (2 / δd)) / (2 * ε₀) ≤ ↑m) :
μ {ω : ℕ → X | (∀ (s : ℕ), (pred iR s fun (j : Fin s) => ω ↑j) = ω s) ∧ (∀ (i : ι), i ≠ iR → ∀ t ∈ Finset.range m, ε₀ ≤ BayesRedundancy.sqHellinger (fun (x : X) => if x = ω t then 1 else 0) fun (x : X) => if (pred i t fun (j : Fin t) => ω ↑j) = x then 1 else 0) ∧ ¬1 - δd / 2 ≤ w iR * L (detFactor pred) iR m ω / ∑ i ∈ alive pred stat (fun (φ : ↥Qs) => SQOracle.empiricalMean (Z ↑φ) n ω) τ sched Finset.univ m ω, w i * L (detFactor pred) i m ω} ≤ ENNReal.ofReal δ

The end-to-end finite-horizon guarantee ([SQ] §3.3, §4 Theorem 4.1(i)): composing the finite-horizon mixing oracle (ReflectiveSubsystems.empirical_isSQOracle_of_mixingTo) with Theorem 4.1(i) for the pruned algorithm (ReflectiveSubsystems.algorithm_discovery). See the module docstring for the inclusion argument, the conditioned-event reading, and what stays out of scope.