OAI/Combinatorics/ContingencyTables/Sampling/PhysicalEventBounds.lean
11 declarations, 0 contain sorry, 0 declared as axioms
Terminal-event bounds from finite stopping prefixes
- def
OAI.ContingencyTables.PhysicalEventBounds.eventline 14 - lemma
OAI.ContingencyTables.PhysicalEventBounds.event_nonnegline 16 - lemma
OAI.ContingencyTables.PhysicalEventBounds.event_le_oneline 18 - lemma
OAI.ContingencyTables.PhysicalEventBounds.mean_monoline 21 - lemma
OAI.ContingencyTables.PhysicalEventBounds.average_monoline 28 - theorem
OAI.ContingencyTables.PhysicalEventBounds.stopped_event_boundsline 34Source documentation
Only successful endpoints need be halted; the failure endpoint can be live.
theorem stopped_event_bounds (M : PhysicalPost.Table Γ Q) (out : Option A → Cfg Γ Q) (c : Cfg Γ Q) (p : Experiment (Option A)) (hp : Implements M out c p) (hhalt : ∀ a,(out (some a)).state=none) (P : Cfg Γ Q → Prop) (n : ℕ) (hn : p.cost≤n) : p.mean (fun o => o.elim 0 (fun a => event P (out (some a))))≤ (experiment M n c).mean (event P) ∧ (experiment M n c).mean (event P)≤ p.mean (fun o => o.elim 0 (fun a => event P (out (some a))))+ p.mean (fun o => if o=none then 1 else 0) := by … - lemma
OAI.ContingencyTables.PhysicalEventBounds.terminal_event_monotoneline 70 - theorem
OAI.ContingencyTables.PhysicalEventBounds.absent_event_boundline 87Source documentation
A terminal event absent at every successful endpoint is bounded by prefix failure even at times earlier than the stopping-prefix budget.
theorem absent_event_bound (M : PhysicalPost.Table Γ Q) (out : Option A → Cfg Γ Q) (c : Cfg Γ Q) (p : Experiment (Option A)) (hp : Implements M out c p) (hhalt : ∀ a,(out (some a)).state=none) (P : Cfg Γ Q → Prop) (hP : ∀ d,P d → d.state=none) (habsent : ∀ a,¬P (out (some a))) (n : ℕ) : (experiment M n c).mean (event P)≤p.mean (fun o => if o=none then 1 else 0) := by … - lemma
OAI.ContingencyTables.PhysicalEventBounds.tendsto_of_prefix_boundsline 105Source documentation
Prefix accuracy transfers to physical time without assuming a uniform bound on the number of steps in the prefix.
lemma tendsto_of_prefix_bounds (f a b : ℕ → ℝ) (L : ℝ) (ha : Filter.Tendsto a Filter.atTop (nhds L)) (hb : Filter.Tendsto b Filter.atTop (nhds 0)) (h : ∀ N,∃ S,∀ t,S≤t → a N≤f t ∧ f t≤a N+b N) : Filter.Tendsto f Filter.atTop (nhds L) := by … - lemma
OAI.ContingencyTables.PhysicalEventBounds.mean_one_subline 125 - lemma
OAI.ContingencyTables.PhysicalEventBounds.run_halted_iffline 132