OAI/Combinatorics/ContingencyTables/Rooted/RootedCatalogGrid.lean
12 declarations, 0 contain sorry, 0 declared as axioms
Computed catalog coordinates for the oracle grid
The executable free-cell order need not agree with Fintype.equivFin.
Explicit reindexing identifies the grid exponent evaluated from the
catalog-ordered list.
- abbrev
OAI.ContingencyTables.RootedCatalogGrid.freeCountline 21 - def
OAI.ContingencyTables.RootedCatalogGrid.coordinateEquivline 24 - def
OAI.ContingencyTables.RootedCatalogGrid.gridEquivline 28 - lemma
OAI.ContingencyTables.RootedCatalogGrid.gridEquiv_applyline 36 - lemma
OAI.ContingencyTables.RootedCatalogGrid.gridEquiv_freeline 42 - lemma
OAI.ContingencyTables.RootedCatalogGrid.gridEdge_iffline 50 - theorem
OAI.ContingencyTables.RootedCatalogGrid.neighbor_iffline 72 - def
OAI.ContingencyTables.RootedCatalogGrid.naturalValuesline 93 - theorem
OAI.ContingencyTables.RootedCatalogGrid.naturalBin_gridline 97 - theorem
OAI.ContingencyTables.RootedCatalogGrid.naturalValues_listline 104 - theorem
OAI.ContingencyTables.RootedCatalogGrid.evaluatorInput_gridline 112 - theorem
OAI.ContingencyTables.RootedCatalogGrid.evaluate_gridline 122Source documentation
Catalog-order evaluation is exactly the grid exponent after reindexing. The runtime code never uses this equivalence.
theorem evaluate_grid (A : Instance (Fin m) (Fin n)) (C a K : ℕ) (hC : 0 < C) (z : View A → ℕ) (v : Grid (I := Fin (freeCount A)) K) : …