OAI/Combinatorics/Ramsey/CycleClique/Construction/FastLayoutGraph.lean
4 declarations, 0 contain sorry, 0 declared as axioms
A checked adjacency table gives a computable graph presentation whose edge tests require only two array lookups.
- def
OAI.CycleClique.Construction.adjacencyTableLookupline 9 - def
OAI.CycleClique.Construction.adjacencyTableGraphline 13Source documentation
Present
Hby a separately checked finite adjacency table.def adjacencyTableGraph {n : ℕ} (H : SimpleGraph (Fin n)) (A : Array (Array Bool)) (hEq : ∀ i j : Fin n, H.Adj i j ↔ adjacencyTableLookup A i.val j.val = true) : SimpleGraph (Fin n) where … - instance
OAI.CycleClique.Construction.(instance at line 21)line 21 - theorem
OAI.CycleClique.Construction.adjacencyTableGraph_eqline 26