OAI/Combinatorics/ContingencyTables/Machines/BoundedBinarySearch.lean
11 declarations, 0 contain sorry, 0 declared as axioms
Binary search for the attained endpoint of a monotone feasibility test
A fixed number of midpoint tests finds a known cutoff. The number of tests is logarithmic in the binary upper bound; no values are enumerated.
- abbrev
OAI.ContingencyTables.BoundedBinarySearch.Windowline 17 - def
OAI.ContingencyTables.BoundedBinarySearch.midpointline 19 - def
OAI.ContingencyTables.BoundedBinarySearch.stepline 21 - def
OAI.ContingencyTables.BoundedBinarySearch.runline 24 - lemma
OAI.ContingencyTables.BoundedBinarySearch.step_widthline 28 - lemma
OAI.ContingencyTables.BoundedBinarySearch.run_widthline 34 - lemma
OAI.ContingencyTables.BoundedBinarySearch.step_containsline 49 - lemma
OAI.ContingencyTables.BoundedBinarySearch.run_containsline 61 - theorem
OAI.ContingencyTables.BoundedBinarySearch.run_eq_cutoffline 71 - def
OAI.ContingencyTables.BoundedBinarySearch.findline 84 - theorem
OAI.ContingencyTables.BoundedBinarySearch.find_eq_cutoffline 87