theory Free_Product_Words imports Main begin section ‹Free-product words› text ‹ Encodings of loops in the Seifert--van Kampen argument are expressed as words that alternate between generators from the left and right factors. This theory provides the basic word combinators, reversal operations, and reduction-oriented bookkeeping used by the later amalgamation quotients. ›