One-way-liveness proof: Cells #
Adapted from OpenAI's formalization at revision adc7f1241b42e322a6451854ab7e4b4c146bf78a.
Source: https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/lean/OAI/Combinatorics/Automata/Cells.lean
Module and namespace names, imports, and formatting are adapted to complexitylib.
The machine definitions are shared through Models.FiniteAutomaton.Defs.
Close all internal tips with a matching of local joins.
Equations
- lanes.close joins = (lanes.compose (joins.transport (Equiv.sumEmpty I Empty).symm)).transport (Equiv.sumEmpty P Empty)
Instances For
true directs the prospective successor to the right.
Equations
Instances For
A directed transition slot together with one of its two lanes.
Equations
Instances For
A transition slot labelled by the side of the cell.
Equations
Instances For
Boundary incidences and the two ends of stationary-transition edges.
Equations
Instances For
An incidence together with its lane.
Equations
Instances For
Machine states and unattached incidences within a cell.
Equations
Instances For
A lane's absolute label changes its incoming/outgoing role between opposite sides of a cell.
Equations
- Complexity.FiniteAutomaton.CellNetwork.tipRole side lane = (side ^^ lane)
Instances For
All stay candidates are allowed locally; a nontransition candidate will be attached to a fresh leaf. This leaves the external degree unchanged.
Equations
- Complexity.FiniteAutomaton.CellNetwork.laneMate Q (Sum.inl (b, l)) = Sum.inr (Sum.inl b, Complexity.FiniteAutomaton.CellNetwork.tipRole b.1 l)
- Complexity.FiniteAutomaton.CellNetwork.laneMate Q (Sum.inr (Sum.inl b, t)) = Sum.inl (b, Complexity.FiniteAutomaton.CellNetwork.tipRole b.1 t)
- Complexity.FiniteAutomaton.CellNetwork.laneMate Q (Sum.inr (Sum.inr (pq, r), t)) = Sum.inr (Sum.inr (pq, !r), !t)
Instances For
The pairing connecting boundary lanes and stationary-transition tips.
Equations
Instances For
Join a forward tip to its successor and a backward tip to its predecessor.
Equations
Instances For
The tip pairing induced by the cyclic incidence order.
Equations
Instances For
Close the internal tips to obtain the cell boundary pairing.
Equations
- One or more equations did not get rendered due to their size.