The purpose of this supervised university project is to prove the Commutation Lemma (Lyndon and Schützenberger) in Combinatorics on words, which is a corollary of the Fine-Wilf theorem. This lemma states that if two words over a finite alphabet commute, then they share a common root. Formally:
Let
- ./theory.md : Mathematical proof.
- ./assignment.v : Definitions and lemmas given by our professor.
- ./proof.v : Formal proof.
- ./proof_documented.v : Formal proof with documentation.