Documentation

CslibFrontier.Foundations.GroupTheory.Perm.ListSplice

Literal directed word equations for joining and splitting cycles #

An outgoing successor swap concatenates two nonempty directed words at their last points. The converse isolates an adjacent pair inside a word while retaining the remaining positive cyclic order. Joining immediately before or after two markers and then skipping the second marker gives the two orders of the retained blocks.

theorem List.formPerm_append_of_last_notMem {α : Type u_1} [DecidableEq α] (left right : List α) (hl : left ≠ []) (hr : right ≠ []) (h : left.getLast hl ∉ right) :
(left ++ right).formPerm = left.formPerm * right.formPerm * Equiv.swap (left.getLast hl) (right.getLast hr)

Joining the outgoing successors of the last points concatenates the directed words. Only the last left point must be absent from the right word; no ambient finiteness is needed.

theorem List.formPerm_split_adjacent_pair {α : Type u_1} [DecidableEq α] (left right : List α) (a b : α) (hl : left ≠ []) (hn : (left ++ [a, b] ++ right).Nodup) :
(left ++ [a, b] ++ right).formPerm = (left ++ right).formPerm * Equiv.swap a b * Equiv.swap (left.getLast hl) b

Splitting an adjacent pair off a directed word is the inverse of joining its two-point cycle to the remaining word at the literal predecessor corner. The remaining order is unchanged.

theorem List.formPerm_join_skip_marker_iff {α : Type u_1} [DecidableEq α] (left right : List α) (a b x y : α) (hn : (a :: left ++ b :: right).Nodup) (hx : x ≠ b) (hy : y ≠ b) :
have g := (a :: left).formPerm * (b :: right).formPerm; have before := g * Equiv.swap ((a :: left).getLast ⋯) ((b :: right).getLast ⋯); have after := g * Equiv.swap a b; ((a :: (left ++ right)).formPerm x = y ↔ before x = y ∨ before x = b ∧ before b = y) ∧ ((a :: (right ++ left)).formPerm x = y ↔ after x = y ∨ after x = b ∧ after b = y)

Join two directed cycles at their marked letters and suppress the second marker. Swapping immediately before both markers places left then right after a. Swapping immediately after both markers places right then left after a. The equivalences describe the literal successor after skipping b, including empty blocks.