Lyndon words and Hall basis
Statement
I am looking for an algorithm to produce Hall basis from Lyndon words. First I will recall the definition of the Hall set following Serre's presentation.
Let be a finite set and let be the free Magma on . Length of any word in is denoted by and let denote the set of elements of of length . A Hall set relative to is a totally ordered subset of satisfying the following conditions:
• If , and , then in the total order.
• and consists of the products with in and .
• An element of of length belongs to if and only if it is of the form with in , , and .
One can show that is a basis for the free Lie algebra on . For instance: are elements of the Hall basis of length at most . One can obtain another basis for a free algebra using bracketing Lyndon words. For instance is a Lyndon word and its bracketing produces the following element in the free Lie algebra …
Posed by MO B · co.combinatorics, lie-algebras, free-lie-algebras, lyndon-words
This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-296456.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.
Step 1: state it in Lean. The file your agent writes: statements/mo-296456.lean
import Mathlib /-! # Lyndon words and Hall basis Source: https://mathoverflow.net/questions/296456 Credit: @<your GitHub handle> State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification. Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging. -/ namespace OMA.S_mo_296456 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_296456