Two-way complementation: relations #
Adapted from OpenAI's formalization at revision adc7f1241b42e322a6451854ab7e4b4c146bf78a.
Source: https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/lean/OAI/Combinatorics/TwoWayAutomata/Relations.lean
Imports, namespaces, module visibility, documentation, and formatting are adapted for complexitylib. The source theorem statements and mathematical arguments are retained.
A directed graph partitioned into two kinds of vertices.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Eliminating two internal boundaries in either order gives the same through relation.
The corresponding return relation when eliminating two internal boundaries.
A lost alternating traversal has a lost edge, allowing earlier and later bounces.
A bound for weighted classes with integer weights one and two.