Exhaustive endpoint operations for string words #
Reading a word from left to right, either every letter is positive or there is a last negative letter followed by a positive arm. At a peak, the latter factorization is exactly a maximal cohook which can be deleted. Away from a peak, admissibility extends a valid positive boundary arrow to a maximal hook. Reversal gives the corresponding classification at the left endpoint.
A word all of whose letters are positive, packaged as an extension of the trivial word at its source.
Instances For
A word all of whose letters are negative, expressed by reversing it to a pure positive word.
Instances For
A decomposition at the last negative letter of a word: an arbitrary prefix, one negative letter, and a (possibly empty) positive tail.
- base : Word R
- vertex : Q
- valid : IsString R (Quiver.Path.comp self.base.path (Quiver.Hom.toPath (negativeArrow self.arrow)))
- tail : (append R self.base (negativeArrow self.arrow) ⋯).PositiveExtension C
Instances For
If the final word is on a peak, its last-negative-letter factorization is a maximal cohook reattachment and hence a cohook deletion.
Instances For
Every certified path is obtained from the trivial word at its source by an arbitrary right extension.
Every word is obtained from the trivial word at its source by an arbitrary right extension.
An arbitrary right extension is either purely positive or its final negative letter determines a negative-letter/positive-tail factorization of the result.
Every word is either purely positive or has a last negative letter followed by a positive tail.
Exhaustive operation at the right endpoint: a word admits a maximal hook, admits a maximal cohook deletion, or is purely positive.
A right hook exists exactly when the word does not start on a peak.
A non-pure-positive word on a right peak has a maximal cohook which can be deleted.
Exhaustive operation at the left endpoint, obtained by reversal: a word admits a maximal left hook, admits a maximal left cohook deletion, or is purely negative.
A left hook exists exactly when the word does not end on a peak.
A non-pure-negative word on a left peak has a maximal left cohook which can be deleted.