The interface round trip #
At an open cut the lift is a left inverse of the drop, and the family pushed back down is the family itself. Iterating over the interface gives the composition's sum in terms of the base's own subsets.
The lexicographic order on the interface's label type.
Equations
- RS.EdgeSubset.tripBaseOrder n = RS.sumLexLinearOrder (Fin (0 + n)) (Fin (n + 0))
Instances For
The same order one stage up.
Equations
- RS.EdgeSubset.tripOrderSucc n = RS.sumLexLinearOrder (Fin (0 + n + 1)) (Fin (n + 1 + 0))
Instances For
The order a stage's surviving labels carry.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The order the composition's own label type carries.
Equations
Instances For
An open cut loses nothing #
At an open cut the lift is a left inverse of the drop, so the drop is injective on subsets closed under the pairing. This is why a fibre is a singleton when no cut on the way to it closes.
A closed subset matching a diagonal state has a rewire-closed drop. So the terms the identity reads are the reached ones, and off them everything vanishes.
The drop matches the stage's diagonal state. So the boundary constraint descends the interface along with the subset.
The boundary constraint transports along an equality of fragments.
The stage subset matches the stage's diagonal state. This is
dropSubset_matches_of_matches read at the stage fragment, across the
relabel that renumbers the surviving labels.
One subset is enough for the directions, at an open cut.
One subset is enough for the directions, at a closing cut.
One subset is enough for the directions, under a transport.
One subset is enough for the directions, under a relabel.
One subset is enough for the directions, for a whole stage of the push at an open cut.
One subset is enough for the directions, for a whole stage of the push at a closing cut.
The interface round trip on directions, at no cuts.
The interface round trip on directions, one stage on — at an open cut. Away from the cut's own two flags the directions come back on the nose.
The upward glue respects matching equality. At an internal flag the glued system's partner is the base system's, so two systems that agree there glue to systems that agree.
The closing glue respects matching equality. It keeps every internal flag's partner, so two systems that agree there glue to systems that agree.
The upward relabel respects matching equality. It keeps the partner map and only renames the labels.
The family's upward glue is the ledger's, at an open cut: a family whose data at the stage's subset match the stage's system glues to a system matching the ledger's glue.
The upward relabel and a transport commute.
Both sides transported alike. A family that matches a stage datum still matches it after both are carried along an equality of fragments.
The lifted family matches the ledger's step, before the transport that the dispatch on the cut demands.
One stage of the lift matches one stage of the ledger. At an open cut the family's glue and the ledger's step are the same system up to its partner map, transports and relabel included.
The family's upward glue is the ledger's, at a closing cut. The ledger's own bit is the one the subset determines, and with it the glue reads the family at exactly the ledger's subset.
The lifted family matches the ledger's step, at a closing cut, before the transport the dispatch demands.
One stage of the lift matches one stage of the ledger, at a closing cut: with the subset's own bit the family's glue and the ledger's step are the same system up to its partner map.
A transported family's directions, evaluated.
A stage of the lift keeps the base's directions. At a surviving flag the glued family reads the direction the base family gave it, so the alignment at deeper cuts is the base's own.
The stage's directions at a closing cut are the base family's, read at the lift with the stage's bit. Nothing is rewired, so no alternation is asked for.
The stage's boundary flag is the base's, carried across the transport the dispatch on the cut demands.
The glue does not move the chain directions. With the pairing flipping at every boundary flag and the cut's own two ends oppositely directed, the rewired partner of a surviving label carries the direction the base's partner carried: crossing the cut costs two flips, and two flips are none.
The stage's boundary partner is the rewired one. The glue sends a surviving boundary flag to its rewired partner, which is the base's partner except across the cut's own edge.
A stage of the lift keeps the base's chain directions. The stage's boundary partner is the rewired one, the glue does not move the directions, and the lifted family reads the base's own — so the alternation the next cut needs is the base's at the same label.
A stage of the lift keeps the base's boundary directions.
The cut alternation, read at the cut's own flags. Once the pairing flips at every boundary flag, the two ends of a cut are oppositely directed exactly when the cut's two boundary flags are — one flip on each side.
A subset is cut-balanced when it uses the two labels of each interface pair together.
Equations
- RS.EdgeSubset.CutBalanced V u = ∀ (m : Fin n), V.boundaryFlag (RS.EdgeSubset.intL n m) ∈ u ↔ V.boundaryFlag (RS.EdgeSubset.intR n m) ∈ u
Instances For
A subset matching a diagonal state is cut-balanced. The diagonal gives a pair's two labels the same colour, so the subset uses both or neither.
The base's directions, as the lift consumes them. The pairing flips at every boundary flag, and the two ends of every interface pair are oppositely directed.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The stage at a closing cut #
A closing cut rewires nothing: its two flags bound one edge, which the glue turns into a free circle, and every other flag keeps the partner it had. So a flag survives the cut exactly when its partner does, and the stage's pairing is the base's.
A survivor's partner survives, at the cut's left flag. The two cut flags are each other's partners, so nothing else can pair to either.
A survivor's partner survives, at the cut's right flag.
A surviving flag, read at the stage fragment, at a closing cut.
Equations
- RS.EdgeSubset.stageFlagClosed n V hcl f h1 h2 = RS.EdgeSubset.flagOfEq ⋯ ⟨f, ⋯⟩
Instances For
At a closing cut the stage's partner is the base's.
The stage's boundary flag is the base's, at a closing cut.
A surviving boundary flag is the stage's own, at a closing cut.
A surviving flag, read at the stage fragment.
Equations
- RS.EdgeSubset.stageFlag n V hop f h1 h2 = RS.EdgeSubset.flagOfEq ⋯ ⟨f, ⋯⟩
Instances For
The stage's partner of a surviving flag is its rewired one.
Away from the cut, the stage's partner is the base's.
At the cut's right edge the stage's partner is the far end of the left edge.
The stage's boundary flag is the base's, read as a stage flag.
Extending a colouring across a cut. The two cut flags take the opposite colour to their partners, which survive the glue.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Away from the cut the extension is the stage's colouring.
At the cut's left flag the extension is the opposite of its partner's colour.
At the cut's right flag the extension is the opposite of its partner's colour.
Stage flags at equal base flags agree.
Extending a colouring across a closing cut. The cut's two
flags are each other's partners, and the glue takes both away, so
their colours are free: give the left one true and the right one
false and both the edge and the interface pair alternate at
once.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Away from the cut the extension is the stage's colouring.
At the cut's left flag the extension is true.
At the cut's right flag the extension is false.
The stage flag does not depend on which proof of survival it is given.
The stage's boundary direction at a closing cut is the base family's at the same label.
The stage's boundary partner's direction at a closing cut is the base family's at the partner of the same label. Nothing is rewired, so no alternation is asked for.