The commutativity problem for effective varieties of formal series, and applications
No public endorsements yet.
Loading review…
Sign in with ORCIDAbstract
A formal series in noncommuting variables over the rationals is a mapping from the free monoid on to the rationals; it is commutative if the value on a word does not depend on the order of its letters. The commutativity problem for a class of series takes a finite presentation of a series in the class and asks whether it is commutative — a natural, nontrivial problem not previously considered from an algorithmic perspective.
We show that commutativity is decidable for every class of series forming an effective prevariety, a notion generalizing Reutenauer's varieties of formal series. This submission formalizes that meta-theorem and applies it to three families of automata — Hadamard, shuffle, and infiltration — each of which is proved to recognize an effective prevariety over , so that commutativity is decidable for the series they recognize. The three cases are treated by a single ideal-chain argument reducing series equality to ideal membership in a multivariate polynomial ring.
The one ingredient not available in mathlib is the decidability of ideal membership in (a Gröbner-basis fact); it is proved here in its propositional form by classical logic, and the commutativity-decidability results for the three automaton classes follow from it.
41 pages · 11 marked passages
Concepts
- thm✓
CDA - thm✓
Commutativity - thm✓
Hadamard - thm✓
IdealMembership - thm✓
Infiltration - thm✓
PolynomialAutomata - thm✓
Polyrec - thm✓
Recognisable - def✓
Series - thm✓
Shuffle
- def
Prevariety
Concept map
Proofs
Proof networkview on GitHub
Proof list
-
thm✓
Lax619925.CDA -
⊢
Lax619925Proofs.Commutativity.AntiDerivativeCommutativeIffZero -
⊢
Lax619925Proofs.Commutativity.EffectivePrevarietyCommutativityDecidable -
⊢
Lax619925Proofs.Infiltration.InfiltrationAntiDerivativeClosure -
⊢
Lax619925Proofs.Infiltration.InfiltrationCommutativityDecidable -
⊢
Lax619925Proofs.Infiltration.InfiltrationEffectivePrevariety -
⊢
Lax619925Proofs.PolynomialAutomata.PolynomialHadamardEquivalence -
⊢
Lax619925Proofs.Recognisable.LinearlyFiniteAntiDerivativeClosure -
⊢
Lax619925Proofs.Recognisable.RecognisableCommutativityDecidable -
⊢
Lax619925Proofs.Recognisable.RecognisableEffectivePrevariety
Lean sources for these proofs: proofs/ on GitHub
Proof code is not displayed; the archive records each proof's checked relationship between claims.
Related submissions
No other submission in the archive builds on this one, and this one builds on none.
Cite this
This is only the formalizers. The authors of the formalized results may be different (see References).
@misc{lax-619925,
author = {Lorenzo Clemente},
title = {The commutativity problem for effective varieties of formal series, and applications},
year = {2026},
howpublished = {Lax Archive, lax-619925},
url = {https://laxarchive.org/lax-619925/},
}
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments