OAI/Combinatorics/ContingencyTables/Sampling/ExactGatePrefix.lean
5 declarations, 0 contain sorry, 0 declared as axioms
A cheap prefix ending before rare-branch tabulation
- def
OAI.ContingencyTables.ExactGatePrefix.outputline 14 - def
OAI.ContingencyTables.ExactGatePrefix.experimentline 19 - def
OAI.ContingencyTables.ExactGatePrefix.budgetline 22 - theorem
OAI.ContingencyTables.ExactGatePrefix.prefix_correct_costline 27Source documentation
The rare branch is selected but its potentially large tabulation has not started at the failure endpoint of this bounded prefix.
theorem prefix_correct_cost (z : CompletionMargins) (s : Data) : ∃ p,Executes program.code program.coin (output z s) (OnlineTree.initial program (TreeTyped.encode z) s) p ∧ (∀ g : Option MatrixCode → ℚ,p.mean g=(experiment z).mean g) ∧ p.cost≤budget z := by …Mentions: OAI.ContingencyTables.ExactGatePrefix.output, OAI.ContingencyTables.ExactGatePrefix.experiment, OAI.ContingencyTables.ExactGatePrefix.budget
- lemma
OAI.ContingencyTables.ExactGatePrefix.failureline 98