OAI/Combinatorics/ContingencyTables/Sampling/PhysicalRetryIteration.lean
5 declarations, 0 contain sorry, 0 declared as axioms
Composing physical retry prefixes with a uniform cost per attempt
- def
OAI.ContingencyTables.PhysicalRetryIteration.repeatTrialline 10 - theorem
OAI.ContingencyTables.PhysicalRetryIteration.repeat_costline 14 - theorem
OAI.ContingencyTables.PhysicalRetryIteration.repeat_implementsline 25 - lemma
OAI.ContingencyTables.PhysicalRetryIteration.repeat_meanline 38 - theorem
OAI.ContingencyTables.PhysicalRetryIteration.linear_physical_prefixline 56Source documentation
Compiling one attempt and composing its execution proof avoids any growth of the compiler overhead with the number of preceding attempts.
theorem linear_physical_prefix (a : A) (s : TreeData.Data) (H : ℕ) (hH : StackCost.StackBound (OnlineTree.initial (OnlineIntegerRetry.program F) (TreeTyped.encode a) s).stk H) (N : ℕ) : ∃ q,PhysicalPost.Implements (OnlineStack.table (OnlineIntegerRetry.program F).code (OnlineIntegerRetry.program F).coin) (fun b => OnlineStack.cfg (OnlineControl.cfg (OnlineIntegerRetry.instructions F) (OnlineIntegerRetry.output a s b).1 (OnlineIntegerRetry.output a s b).2)) (OnlineStack.cfg (OnlineTree.initial (OnlineIntegerRetry.program F) (TreeTyped.encode a) s)) q ∧ (∀ g : Option B → ℚ,q.mean g= (OnlineIntegerRetry.prefixExperiment (f := f) a N).mean g) ∧ …Mentions: OAI.ContingencyTables.OnlineIntegerRetry.program, OAI.ContingencyTables.OnlineIntegerRetry.instructions, OAI.ContingencyTables.OnlineIntegerRetry.output, OAI.ContingencyTables.OnlineIntegerRetry.prefixExperiment