One-way-liveness proof: Diagrams #
Adapted from OpenAI's formalization at revision adc7f1241b42e322a6451854ab7e4b4c146bf78a.
Source: https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/lean/OAI/Combinatorics/Automata/Diagrams.lean
Module and namespace names, imports, and formatting are adapted to complexitylib.
The machine definitions are shared through Models.FiniteAutomaton.Defs.
Boundary and tip colorings compatible with every local pairing and join.
Colors assigned to ports along each cell boundary.
Colors assigned to the two tips of each cell incidence.
Instances For
The boundary pairing for one scanned symbol and chosen terminal state.
Equations
Instances For
The product of all cell diagrams, including the two endmarkers.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Both lanes of every port slot have the same color.
Equations
Instances For
A vertex coloring which is constant along all edges also respects all local joins, regardless of cycles in other components.
Read a boundary-port color from the corresponding graph vertex.
Equations
- One or more equations did not get rendered due to their size.
Instances For
An edge-constant vertex coloring induces compatible local color data.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The Boolean test recovers exactly acceptance, not a halting assumption. Only the normalized distinguished right state is required to be terminal.