OAI/Combinatorics/ContingencyTables/Sampling/ExactCoreCost.lean
4 declarations, 0 contain sorry, 0 declared as axioms
Finite-prefix cost of the actual exact sampler control graph
- def
OAI.ContingencyTables.ExactCoreCost.retryCostline 13 - def
OAI.ContingencyTables.ExactCoreCost.branchBudgetline 16 - def
OAI.ContingencyTables.ExactCoreCost.budgetline 20 - theorem
OAI.ContingencyTables.ExactCoreCost.prefix_correct_costline 26Source documentation
The failed endpoint is inside the actual retry subroutine. Its successful endpoints have halted with the sampled matrix in the output register.
theorem prefix_correct_cost (z : CompletionMargins) (s : Data) (N : ℕ) : ∃ p,Executes program.code program.coin (output z s) (OnlineTree.initial program (TreeTyped.encode z) s) p ∧ (∀ g : Option MatrixCode → ℚ,p.mean g=(prefixExperiment z N).mean g) ∧ p.cost≤budget z N := by …