Keyboard shortcuts

Press ← or → to navigate between chapters

Press ? to show this help

Press Esc to hide this help

Metadata
bibkey: lothaire1983words
authors: M. Lothaire
year: 1983
title: Combinatorics on Words
doi: null
url: https://www-igm.univ-eiffel.fr/~berstel/Lothaire/lo1.ps
claim: "The centralizer of a nonempty word is generated by one unique nonempty primitive word."
strata_touched:
  - D5/S1/Words/Powers/CyclicCentralizer
license: citation-only
triage: anchor

Verified locator

Author-hosted chapter: https://www-igm.univ-eiffel.fr/~berstel/Lothaire/lo1.ps

M. Lothaire, Combinatorics on Words, 1983; reprinted 1997. The hosted chapter version is March 11, 1998. The locators here refer to that chapter’s own pagination, without asserting pagination in another edition. Chapter 1, Words, Section 1.3, p. 7, Proposition 1.3.2 states that the commuting monoid of a nonempty word is generated by one primitive word. The nonempty uniqueness sentence in Proposition 1.3.1 identifies the unique primitive root. Section 1.1, p. 1, defines an alphabet as an arbitrary set; finiteness is an additional condition where required.

The supplied chapter has 129697 bytes and SHA-256 8b0490ebe3029d6143aaac235e9deb8cb1587f56c21882ca6322b8907d4cb076.

Statement and correspondence

For every universe level u, every type A in Type u, and every nonempty finite word w over A, exactly one nonempty word r satisfies: a finite word v commutes with w if and only if v is a natural concatenation power of r. The exponent zero gives the empty word. The claim imposes no finiteness, ordering, inhabitedness, or decidable equality condition on A. An empty alphabet admits no nonempty input w, and infinite alphabets remain in scope.

Words are represented by List A, concatenation by list append, and natural powers by D5.S1.Words.Powers.wordPower. The uniqueness is of the literal list r, not merely of its length, its conjugacy class, or a chosen pairwise common root. Its centralizer-generating property forces it to be primitive: a proper positive-power root would itself commute with w and hence be a power of r, contradicting positive lengths.

The argument chooses a shortest nonempty positive-power root r of w. Any other positive-power root s of the same w commutes with r by the Fine–Wilf bridge below. The public pairwise theorem CommutingWords.commute_iff_common_power writes r and s as powers of t; then t is a positive-power root of w. Minimal length forces r=t. Consequently every commuting word is a power of the same r. Two proposed centralizer generators are powers of each other; their nonzero lengths force the exponents to be one and the lists to be equal.

Only Proposition 1.3.2 and the correct nonempty uniqueness sentence of Proposition 1.3.1 are cited. The first common-power clause displayed in 1.3.1 is not used with unrestricted zero exponents. This is a classical classification, with no novelty claim.

Scoped Lean supplier and license

The separate D5/S1/Words/Powers/CommonPositivePowers.lean supplier contains four private period/reassembly declarations and the public theorem append_comm_of_flatten_replicate_eq, transplanted from Sébastien Gouëzel’s IETFree/ListPeriodicity.lean, immutable revision 48a23a630f39ae7c439b9efcbd03e729c18406fd: https://github.com/sgouezel/IETFree/blob/48a23a630f39ae7c439b9efcbd03e729c18406fd/IETFree/ListPeriodicity.lean

The original source SHA-256 is f857ec2235717a1e5d2c034d339dad0b7e5ac1ca454bd6043154139c0066fa0b. The copyright and author notice accompanies the source, and the full Apache 2.0 license is in docs/reports/licenses/ietfree-LICENSE.txt. The supplied upstream tree contains no NOTICE path. The port preserves both nonzero exponent hypotheses and the periodicity, gcd-period and block-reassembly proof. No prefix-comparison or group-centralizer code is transplanted. Lothaire’s prose and figures are not copied.

The transplant is retired declaration by declaration when this repository’s own pinned Mathlib contains equivalent same-signature List declarations, especially List.append_comm_of_flatten_replicate_eq; the corresponding transplanted source is then removed and replaced by a direct import and application. Acceptance upstream without presence in this repository’s pin is insufficient.

The primary software reference for this common-positive-power theorem is Library/Automata/gouezel2026ietfreelistperiodicity.md. The supplier alone does not establish the full centralizer classification; Lothaire remains the primary reference for that target.