OAI/Combinatorics/ContingencyTables/Sampling/SmallPatternProgram.lean
29 declarations, 0 contain sorry, 0 declared as axioms
Polynomial tests for the two allowed small-profile patterns
- abbrev
OAI.ContingencyTables.ProfilePrograms.PatternDataline 11 - abbrev
OAI.ContingencyTables.ProfilePrograms.LabelledPatternline 12 - def
OAI.ContingencyTables.ProfilePrograms.pairSumline 14 - def
OAI.ContingencyTables.ProfilePrograms.pairSumRealizerline 16 - lemma
OAI.ContingencyTables.ProfilePrograms.polynomial_pairSumline 21 - def
OAI.ContingencyTables.ProfilePrograms.indexIndicatorline 31 - lemma
OAI.ContingencyTables.ProfilePrograms.polynomial_indexIndicatorline 35 - def
OAI.ContingencyTables.ProfilePrograms.patternIndicesline 40 - lemma
OAI.ContingencyTables.ProfilePrograms.polynomial_patternIndicesline 43 - def
OAI.ContingencyTables.ProfilePrograms.balancedAtline 54 - def
OAI.ContingencyTables.ProfilePrograms.balancedAtRealizerline 56 - lemma
OAI.ContingencyTables.ProfilePrograms.polynomial_balancedAtline 59 - def
OAI.ContingencyTables.ProfilePrograms.balancedTestline 63 - def
OAI.ContingencyTables.ProfilePrograms.balancedTestRealizerline 66 - lemma
OAI.ContingencyTables.ProfilePrograms.polynomial_balancedTestline 70 - def
OAI.ContingencyTables.ProfilePrograms.defectAtline 75 - def
OAI.ContingencyTables.ProfilePrograms.defectAtRealizerline 79 - lemma
OAI.ContingencyTables.ProfilePrograms.polynomial_defectAtline 88 - def
OAI.ContingencyTables.ProfilePrograms.defectTestline 103 - def
OAI.ContingencyTables.ProfilePrograms.defectTestRealizerline 106 - lemma
OAI.ContingencyTables.ProfilePrograms.polynomial_defectTestline 116 - def
OAI.ContingencyTables.ProfilePrograms.patternTestline 124 - def
OAI.ContingencyTables.ProfilePrograms.patternTestRealizerline 127 - theorem
OAI.ContingencyTables.ProfilePrograms.polynomial_patternTestline 135 - lemma
OAI.ContingencyTables.ProfilePrograms.pairSum_ofFnline 144 - theorem
OAI.ContingencyTables.ProfilePrograms.balancedTest_ofFnline 149 - theorem
OAI.ContingencyTables.ProfilePrograms.defectTest_ofFnline 159 - theorem
OAI.ContingencyTables.ProfilePrograms.patternTest_ofFnline 174 - theorem
OAI.ContingencyTables.SmallGraphProfiles.patternTest_viewsline 203Source documentation
The binary list test recognizes exactly the manuscript's profile patterns on the common small-cell box.
theorem patternTest_views (small : I → J → Bool) (B : I → J → ℕ) {n : ℕ} (e : Fin n ≃ Cells small) (z : SmallProfile small) (U : ℕ) (hU : ∀ a : Cells small,B a.val.1 a.val.2=U) (hb : ∀ a : Cells small,z (a,true)≤B a.val.1 a.val.2) : patternTest ((viewList small e z false,viewList small e z true),U)=true ↔ Pattern small B z := by …Mentions: OAI.ContingencyTables.SmallGraphProfiles.viewList, OAI.ContingencyTables.SmallGraphProfiles.Pattern