Advanced maths

Free Lie algebra Hall basis and bracket calculator

Generate a bounded Lyndon Hall basis of a free Lie algebra and reduce one nested bracket word into that basis using exact integer arithmetic.

Your numbers

One zero-based permutation row per generator. Each row uses labels 0…n−1 exactly once.
Use an integer within the stated bounds.
Use declared generator letters with nested [left, right] brackets.

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Behind the numbers

How this calculation works

Generate a bounded Lyndon Hall basis of a free Lie algebra and reduce one nested bracket word into that basis using exact integer arithmetic.

THE FORMULA[u, v]=uv−vu in the free associative algebra; standard Lyndon bracketing uses the longest proper Lyndon suffix.

A worked example

With generators a<b<c and maximum degree 4, the basis has 32 elements with homogeneous dimensions 3,3,8,18. The word[[c, b], a] reduces to the standard basis element abc.

Good to know

2–3 generators and maximum degree 1–5; one bracket word of at most 300 characters and degree within the chosen bound. Exact integer associative expansion and triangular Lyndon reduction; no sums entered as free syntax, no infinite basis output.

Free generators and universal identities

A free Lie algebra imposes antisymmetry and the Jacobi identity but no extra relations among its generators. Bracket words that look different can therefore represent the same element, while arbitrary matrix commutator examples can satisfy additional accidental relations and are not a complete definition of the free object.

The calculator uses an ordered Lyndon Hall basis to express a single nested bracket word. This supplies a canonical finite coordinate description within the chosen degree range. It does not require a pre-entered multiplication table or structure constants for a particular finite-dimensional Lie algebra.

Homogeneous dimensions in the default basis123433818Total = 32[[c,b],a]= [a,[b,c]]
Scroll across to see the full diagram.
Three free generators give dimensions 3,3,8,18 in degrees 1–4.

Compare this with the Lie algebra calculator from structure constants. Generate a bounded homogeneous free-Lie basis and reduce bracket words without supplied structure constants.

Alphabet order and maximum degree

Choose two or three generators, named a, b and optionally c. Their order is a before b before c. The maximum degree determines which homogeneous basis words are generated, and the entered expression may not exceed it. Degree counts occurrences of generators, not the number of displayed brackets.

Write each bracket as a pair enclosed in square brackets and separated by a comma. The form accepts one bracket word rather than a general sum of expressions. A zero result is still meaningful: a repeated entry such as bracket a with a vanishes by antisymmetry within any sufficiently large chosen degree.

The degree-four three-generator example

The default basis range includes degrees one through four on three generators. The homogeneous dimensions are three, three, eight and eighteen, totaling thirty-two. These counts describe independent Lie basis elements rather than all associative words, whose counts would be larger.

The default expression is bracket bracket c with b, then a. Antisymmetry rewrites this as bracket a with bracket b and c. Under standard Lyndon bracketing, the word abc denotes exactly that last bracket, so the displayed coordinate is one copy of the abc basis element.

Lyndon words and standard brackets

A Lyndon word is smaller in lexicographic order than every nontrivial cyclic rotation. Such words index a basis of the free Lie algebra once each receives a standard bracket. A single letter brackets as itself; a longer word is split using its longest proper Lyndon suffix.

The chosen split determines two shorter Lyndon words, which are bracketed recursively. Naming a basis element by its plain word is therefore shorthand for a specific nested expression, not a claim that associative concatenation and a Lie bracket are the same operation.

Associative expansion supplies exact arithmetic

The free Lie algebra embeds into the free associative algebra using commutator uv minus vu. The implementation expands the input bracket into associative words, combines their integer coefficients and removes exact zeros. This makes antisymmetry and Jacobi consequences accessible through finite exact arithmetic.

It then subtracts standard Lyndon expansions in triangular lexicographic order until the remainder vanishes. Failure of that reduction would signal an implementation inconsistency rather than an approximate fit. There is no floating tolerance for deciding whether a bracket coefficient is zero or whether two exact expansions agree.

What the basis count does and does not mean

A maximum degree truncates the displayed collection of homogeneous basis words. It does not assert that the free Lie algebra itself is finite-dimensional. Increasing the maximum degree adds new independent brackets, while a finite-dimensional quotient would require additional relations not supplied on this page.

Similarly, a zero bracket in one concrete matrix representation does not prove that the corresponding free bracket is zero. Matrix substitutions can collapse independent free elements. The returned associative expansion and Lyndon coordinates concern the universal formal generators, before such a representation or quotient is chosen.

Checks and further use

Reverse a simple bracket to check its sign, and compare bracket a with itself to zero. Homogeneous dimensions can be verified with the Witt dimension formula, while the associative expansions let you check a Jacobi combination independently. These tests target conventions as well as arithmetic.

For calculations involving a sum of bracket words, combine the returned exact coordinates externally or use a full symbolic Lie package. Preserve the generator order and standard-bracketing convention when transferring them. A different Hall basis can give different coordinate arrays for the same formal Lie element without creating a mathematical contradiction.

A few questions, answered

Is abc an associative product?

In the basis list it abbreviates its standard Lyndon bracket, not ordinary associative multiplication.

Does the degree bound make the algebra finite-dimensional?

No. It truncates the displayed homogeneous degrees of an infinite free Lie algebra.

Can I enter sums of brackets?

Not in this bounded form. Enter one nested bracket word at a time.

Why might another Hall basis give other coefficients?

Basis coordinates depend on the chosen Hall convention and generator order, even when the represented element agrees.

Find your calculator

Start typing to explore the library.