Inserting a point in a permutation cycle #
Equiv.Perm.Insertion.insertAfter inserts an optional point immediately after a chosen
point. Exact successor equations, complete orbit correspondence and the removeNone
inverse include singleton cycles. The results are about arbitrary permutations and have
no graph dependency or geometric hypothesis.
Insert none after h in the cycle of f, preserving every other successor.
Instances For
The chosen old dart leads to the inserted dart.
The inserted dart leads to the old successor of its corner.
All other old successors remain literally unchanged.
Collapse just the inserted dart to its preceding corner.
Instances For
Insertion preserves exactly the old cycles, and places the new dart in the corner's cycle. This includes singleton cycles and makes no distinct-vertex assumption.
Every cycle, including a fixed point, survives insertion exactly once.
Instances For
The number of all cycles is unchanged by inserting a dart in an existing cycle.
Deleting a non-singleton dart and reinserting it after its predecessor recovers the
literal permutation, including its orientation. removeNone is Mathlib's deletion.
Inserting two points gives the two literal outgoing-successor swaps.