OAI/Combinatorics/Automata/Diagrams.lean
22 declarations, 0 contain sorry, 0 declared as axioms
- lemma
OAI.OneWayLiveness.Pairing.prod_compatible_chainline 10 - lemma
OAI.OneWayLiveness.Pairing.ofFn_compatible_chainline 40 - structure
OAI.OneWayLiveness.CellNetwork.ColorDataline 54 - def
OAI.OneWayLiveness.CellNetwork.bodyDiagramline 62 - def
OAI.OneWayLiveness.CellNetwork.fullDiagramline 65 - lemma
OAI.OneWayLiveness.CellNetwork.fullDiagram_compatibleline 68 - def
OAI.OneWayLiveness.CellNetwork.Flatline 83 - def
OAI.OneWayLiveness.CellNetwork.Separatedline 85 - def
OAI.OneWayLiveness.CellNetwork.ColorData.wholeTipline 92Source documentation
Restoring a reflection at every outer leaf extends the tip assignment.
def wholeTip : WholeInc Q w.length → Bool → Bool | .inl (i,j),t => C.tip i (j,t) | .inr (s,slot),t => C.boundary (if s then w.length+2 else 0) (slot,tipRole s (!t))
Mentions: OAI.OneWayLiveness.CellNetwork.WholeInc, OAI.OneWayLiveness.CellNetwork.tipRole
- lemma
OAI.OneWayLiveness.CellNetwork.ColorData.wholeTip_joinline 96 - lemma
OAI.OneWayLiveness.CellNetwork.ColorData.wholeTip_laneline 105 - lemma
OAI.OneWayLiveness.CellNetwork.ColorData.tour_invariantline 129 - lemma
OAI.OneWayLiveness.CellNetwork.reach_excludes_separationline 139 - lemma
OAI.OneWayLiveness.CellNetwork.vertex_color_flipline 168Source documentation
A vertex coloring which is constant along all edges also respects all local joins, regardless of cycles in other components.
lemma vertex_color_flip (finish : Q) (w : List Alpha) (c : Vertex Q w.length → Bool) (hc : ∀ e, c ((graph M finish w).src e) = c ((graph M finish w).dst e)) (d : Edge Q w.length × Bool) : c (wholeVertex M finish w (edgeInc Q w.length d)) = c (wholeVertex M finish w (edgeInc Q w.length ((graph M finish w).flip d))) := by …Mentions: OAI.OneWayLiveness.CellNetwork.Vertex, OAI.OneWayLiveness.CellNetwork.graph, OAI.OneWayLiveness.CellNetwork.Edge, OAI.OneWayLiveness.CellNetwork.wholeVertex, OAI.OneWayLiveness.CellNetwork.edgeInc
- lemma
OAI.OneWayLiveness.CellNetwork.vertex_color_adjacentline 180 - def
OAI.OneWayLiveness.CellNetwork.boundaryColorline 191 - lemma
OAI.OneWayLiveness.CellNetwork.boundaryColor_rightline 198 - lemma
OAI.OneWayLiveness.CellNetwork.boundaryColor_leftline 205 - def
OAI.OneWayLiveness.CellNetwork.vertexColorDataline 221 - lemma
OAI.OneWayLiveness.CellNetwork.boundaryColor_testline 233 - lemma
OAI.OneWayLiveness.CellNetwork.separation_of_not_reachline 244 - lemma
OAI.OneWayLiveness.CellNetwork.diagram_recognizes_reachline 277Source documentation
The Boolean test recovers exactly acceptance, not a halting assumption. Only the normalized distinguished right state is required to be terminal.
lemma diagram_recognizes_reach (finish : Q) (ht : M.transition finish .right = none) (w : List Alpha) : (¬ ∃ l r, (fullDiagram M finish w).Compatible (Sum.elim l r) ∧ Separated M finish l r) ↔ Relation.ReflTransGen (M.Step w) (outCell w.length false,M.initial) (outCell w.length true,finish) := by …Mentions: OAI.OneWayLiveness.CellNetwork.fullDiagram, OAI.OneWayLiveness.CellNetwork.Separated, OAI.OneWayLiveness.CellNetwork.outCell