OAI/Combinatorics/ContingencyTables/Sampling/SmallCellIndexProgram.lean
6 declarations, 0 contain sorry, 0 declared as axioms
Executable indices for small cells and their crossing cells
- def
OAI.ContingencyTables.ProfilePrograms.cellLookupRealizerline 11 - theorem
OAI.ContingencyTables.ProfilePrograms.polynomial_cellLookupline 14 - def
OAI.ContingencyTables.SmallGraphProfiles.cellCatalogline 26 - lemma
OAI.ContingencyTables.SmallGraphProfiles.cellCatalog_nodupline 29 - lemma
OAI.ContingencyTables.SmallGraphProfiles.mem_cellCatalogline 36 - theorem
OAI.ContingencyTables.SmallGraphProfiles.cellCatalog_indexline 50Source documentation
Ordinary list search gives precisely the semantic small-cell index; large crossing cells get the out-of-range index without extra cases.
theorem cellCatalog_index (t : Fin m×Fin n) : (cellCatalog small e).idxOf (t.1.val,t.2.val)=cellIndex small e t := by …Mentions: OAI.ContingencyTables.SmallGraphProfiles.cellCatalog, OAI.ContingencyTables.SmallGraphProfiles.cellIndex