The interface alternates #
RS21's step 1 puts the two fragments' arc directions in Eulerian position: at every used interface label one side's arc comes in and the other's goes out. For data the composition itself provides that is automatic — the glued chain passes through the interface, so the glued orientation makes one end incoming and the other outgoing, and ungluing keeps both values.
The statement below is that fact at one cut: where both entry edges are internal — that is, where the label is a chain label on both sides — the unglued orientation's chain directions at the two glued labels are opposite.
The glued fragment pairs the two glued flags' partners.
The interface alternates. At a label whose entry edges are internal on both sides, the unglued orientation's chain directions are opposite.
An internal flag is not a glued boundary flag.
The chain direction survives the glue. At a surviving label whose entry edge is internal, the unglued orientation reads what the glued one does.
The alternation passes down an open glue. At a pair of surviving labels whose entry edges are internal, the base inherits the glued fragment's alternation.
Across a through-edge into the cut #
Where the entry edge at a surviving label is the cut's own flag — that is, where the label is joined to the cut by a single edge — the glue absorbs that edge and the label's new entry edge is the other side's. The chain direction there is therefore the base's at the other glued label, and this is what carries the interface's alternation along a chain of through-edges.
The closing cut #
A closing cut takes its own edge away and touches nothing else: no surviving label's entry edge is one of its flags, and every direction reads through unchanged.
The chain direction survives a closing glue.
The alternation passes down a closing glue.
Reading the direction through the transports #
The stage's data reaches the base through a relabel and, at the
gluePair dispatch, an equality of fragments. Neither touches the
orientation's values, so neither touches the chain direction.
Transporting a subset does not move a direction.
Transport a flag along an equality of fragments.
Equations
- RS.EdgeSubset.flagOfEq hV f = hV ▸ f
Instances For
The direction reads through a transport of the family along an equality of fragments.
The direction reads through a transport of the family along a relabel.
The interface pairs of a stage #
The composition glues the pair (inl a, inr a) at each a. Naming
those labels lets the alternation be stated for a whole stage, and
the two lemmas below are the identifications the iteration needs: the
top pair is the stage's own cut, and a lower pair survives it
unchanged.
The subsets the composition reaches #
The glue's own subsets are the base's whose drop is closed under the
rewire at every stage. Off those the base's summand vanishes on a
diagonal state (rewire_closed_of_liftOpen_closed), so the
alternation is only ever wanted on them.
The lexicographic order on the stage's label type.
Equations
- RS.EdgeSubset.reachOrder n = RS.sumLexLinearOrder (Fin (0 + n)) (Fin (n + 0))
Instances For
The order the composition's own (empty) label type carries.
Equations
Instances For
The same order one stage up.
Equations
- RS.EdgeSubset.reachOrderSucc n = RS.sumLexLinearOrder (Fin (0 + n + 1)) (Fin (n + 1 + 0))
Instances For
The reach, one stage down, at an open cut.
The reach, one stage down, at a closing cut.
The stage's own cut alternates. For a reached subset the pushed-back data is the glued fragment's, unglued, and there the two glued labels' directions are opposite.
A lower pair's alternation passes down an open stage.
A pair's alternation passes down a closing stage.
A boundary flag is never internal.
Transporting a boundary flag along an equality of fragments.
The stage's boundary flag, read on the glued fragment.
The dropped subset is Eulerian at an open stage.
The dropped subset carries canonical data at an open stage.
The dropped subset is Eulerian at a closing stage.
The dropped subset carries canonical data at a closing stage.
The stage's subset, from the glued fragment's.
The stage's data, read on the glued fragment. The dispatch's identification and the stage's relabel both leave the direction alone, so a direction at the glued fragment is the stage's at the relabelled label.
Internality passes from the base to the stage, at a closing cut.
Internality passes from the base to the stage, at an open cut.
Being Eulerian passes to the stage.
Canonical data passes to the stage.
Internality passes to the stage.
The interface alternates. At a reached subset, the data the composition pushes back to the base gives opposite directions at the two ends of every interface pair whose partners are both internal.
This is RS21's step 1: the composition's Eulerian orientation, read on the base, enters at one end of each glued pair and leaves at the other.