OAI/Combinatorics/ContingencyTables/Dense/DenseDrawSemantics.lean
4 declarations, 0 contain sorry, 0 declared as axioms
The bounded binary draw is exactly the analyzed Boolean sampler
- lemma
OAI.ContingencyTables.DensePrograms.trialWidth_codeline 15 - lemma
OAI.ContingencyTables.DensePrograms.denseTrialBits_posline 23 - def
OAI.ContingencyTables.DensePrograms.drawInputline 31 - theorem
OAI.ContingencyTables.DensePrograms.denseDrawCode_eqline 38Source documentation
This identifies every output, including the all-rejections fallback, with the actual finite Boolean sampler whose total-variation bound is proved.
theorem denseDrawCode_eq {m n d : ℕ} (R : Option (Fin m) → ℕ) (P : Option (Fin n) → ℕ) (hd : 14 ≤ d) (hR : ∀ i,d^12 ≤ R i) (hP : ∀ j,d^12 ≤ P j) (htotal : ∑ i,R i=∑ j,P j) (h : ℕ) (a : Grid (I := Fin (m*n)) (4*d^8)) (fallback : Table R P) …Mentions: OAI.ContingencyTables.Table