OAI/Combinatorics/ContingencyTables/Dense/DenseDrawTabulation.lean
29 declarations, 0 contain sorry, 0 declared as axioms
Computing the full integer law of an initialized dense draw
- def
OAI.ContingencyTables.DensePrograms.rawDrawParametersline 13 - def
OAI.ContingencyTables.DensePrograms.rawDrawParametersRealizerline 16 - lemma
OAI.ContingencyTables.DensePrograms.polynomial_rawDrawParametersline 23 - def
OAI.ContingencyTables.DensePrograms.rawTrialBitsline 30 - def
OAI.ContingencyTables.DensePrograms.rawTrialBitsRealizerline 32 - lemma
OAI.ContingencyTables.DensePrograms.polynomial_rawTrialBitsline 35 - def
OAI.ContingencyTables.DensePrograms.rawRepeatline 38 - def
OAI.ContingencyTables.DensePrograms.rawRepeatRealizerline 40 - lemma
OAI.ContingencyTables.DensePrograms.polynomial_rawRepeatline 47 - def
OAI.ContingencyTables.DensePrograms.rawCountContextline 55 - def
OAI.ContingencyTables.DensePrograms.rawCountContextRealizerline 58 - def
OAI.ContingencyTables.DensePrograms.rawFallbackIndexline 63 - def
OAI.ContingencyTables.DensePrograms.rawFallbackIndexRealizerline 66 - lemma
OAI.ContingencyTables.DensePrograms.polynomial_rawFallbackIndexline 69 - def
OAI.ContingencyTables.DensePrograms.rawVectorInputline 73 - def
OAI.ContingencyTables.DensePrograms.rawVectorInputRealizerline 77 - def
OAI.ContingencyTables.DensePrograms.rawDrawCountsline 85 - def
OAI.ContingencyTables.DensePrograms.rawDrawCountsRealizerline 88 - def
OAI.ContingencyTables.DensePrograms.rawTabulationMeasureline 91 - lemma
OAI.ContingencyTables.DensePrograms.weight_le_rawMeasureline 94 - lemma
OAI.ContingencyTables.DensePrograms.polynomial_workline 98Distinct definitions of this name: OAI/Combinatorics/ContingencyTables/Dense/DenseWalkTabulation.lean:103 (different declaration text). Qualify references as OAI.ContingencyTables.DensePrograms.polynomial_work@path.
- lemma
OAI.ContingencyTables.DensePrograms.paired_workline 102Distinct definitions of this name: OAI/Combinatorics/ContingencyTables/Dense/DenseWalkTabulation.lean:107 (different declaration text). Qualify references as OAI.ContingencyTables.DensePrograms.paired_work@path.
- lemma
OAI.ContingencyTables.DensePrograms.work_rawCountContextline 109 - lemma
OAI.ContingencyTables.DensePrograms.work_rawCandidateCountsline 125 - lemma
OAI.ContingencyTables.DensePrograms.work_rawVectorInputline 137 - theorem
OAI.ContingencyTables.DensePrograms.work_rawDrawCountsline 161Source documentation
Full draw-law tabulation is polynomial in the finite box and grid sizes and in the numerical precision schedules.
theorem work_rawDrawCounts : WorkBound rawDrawCountsRealizer rawTabulationMeasure := by …
Mentions: OAI.ContingencyTables.DensePrograms.rawDrawCountsRealizer, OAI.ContingencyTables.DensePrograms.rawTabulationMeasure
- lemma
OAI.ContingencyTables.DensePrograms.rawTrialBits_codeline 178 - theorem
OAI.ContingencyTables.DensePrograms.rawDrawCounts_actualline 186 - theorem
OAI.ContingencyTables.DensePrograms.rawDrawCounts_atline 224Source documentation
Looking up a feasible table returns its exact numerator in the implemented finite Boolean dense draw.
theorem rawDrawCounts_at {m n d : ℕ} (R : Option (Fin m) → ℕ) (P : Option (Fin n) → ℕ) (hd : 14≤d) (hq : m*n≤d) (hR : ∀ i,d^12≤R i) (hP : ∀ j,d^12≤P j) (htotal : ∑ i,R i=∑ j,P j) (h : ℕ) (X : Table R P) : (rawDrawCounts ((marginCode R,marginCode P),(d,h))).getD (tableIndex ((marginCode R,marginCode P),tableOutput X)) 0= (denseDrawCounts R P d hd hR hP finProdFinEquiv htotal h (canonicalOrigin (m*n) d (by omega)) (canonicalFallback R P htotal)).count X := by …Mentions: OAI.ContingencyTables.Table, OAI.ContingencyTables.DensePrograms.rawDrawCounts, OAI.ContingencyTables.DensePrograms.marginCode, OAI.ContingencyTables.DensePrograms.tableIndex, OAI.ContingencyTables.DensePrograms.tableOutput, OAI.ContingencyTables.DensePrograms.canonicalOrigin, OAI.ContingencyTables.DensePrograms.canonicalFallback