Lune

LICS2025Top-tier venue

The commutativity problem for effective varieties of formal series, and applications

Lorenzo Clemente

Abstract

A formal series in noncommuting variables Σ over the rationals is a mapping Σ∗→Q{\Sigma ^{\ast}} \to \mathbb{Q} from the free monoid generated by Σ to the rationals. We say that a series is commutative if the value in the output does not depend on the order of the symbols in the input. The commutativity problem for a class of series takes as input a (finite presentation of) a series from the class and amounts to establishing whether it is commutative. This is a very natural, albeit nontrivial problem, which has not been considered before from an algorithmic perspective.We show that commutativity is decidable for all classes of series that constitute a so-called effective prevariety, a notion generalising Reutenauer’s varieties of formal series. For example, the class of rational series, introduced by Schützenberger in the 1960’s, is well-known to be an effective (pre)variety, and thus commutativity is decidable for it.In order to showcase the applicability of our result, we consider classes of formal series generalising the rational ones. We consider polynomial automata, shuffle automata, and infiltration automata, and we show that each of these models recognises an effective prevariety of formal series. Consequently, their commutativity problem is decidable, which is a novel result. We find it remarkable that commutativity can be decided in a uniform way for such disparate computation models.Finally, we present applications of commutativity outside the theory of formal series. We show that we can decide solvability in sequences and in power series for restricted classes of algebraic difference and differential equations, for which such problems are undecidable in full generality. Thanks to this, we can prove that the syntaxes of multivariate polynomial recursive sequences and of constructible differentially algebraic power series are effective, which are new results which were left open in previous work.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Determinisation and Unambiguisation of Polynomially-Ambiguous Rational Weighted Automata cites Computing the linear hull: Deciding Deterministic? and Unambiguous? for weighted automata over fields
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Commutative Algebras of SeriesLorenzo ClementeLICS 2026

Builds on3

  1. On Learning Polynomial Recursive ProgramsAlex Buna-Marginean, Vincent Cheval, Mahsa Shirmohammadi, James WorrellPOPL 2024 · 7 citations
  2. Computing the linear hull: Deciding Deterministic? and Unambiguous? for weighted automata over fieldsJason P. Bell, Daniel SmertnigLICS 2023 · 6 citations
  3. Determinisation and Unambiguisation of Polynomially-Ambiguous Rational Weighted AutomataIsmaël Jecker, Filip Mazowiecki, David PurserLICS 2024 · 4 citations

Related papers

  1. Trading Determinism for Noncommutativity in Edmonds' ProblemVikraman Arvind, Abhranil Chatterjee, Partha MukhopadhyayFOCS 2024 · 2 citations
  2. Multiplicity Problems on Algebraic Series and Context-Free GrammarsNikhil Balaji, Lorenzo Clemente, Klara Nosan, Mahsa Shirmohammadi et al.LICS 2023 · 2 citations
  3. Differential Tree AutomataRida Ait El Manssour, Vincent Cheval, Mahsa Shirmohammadi, James WorrellLICS 2026 · 1 citation
  4. Determination Problems for Orbit Closures and Matrix GroupsRida Ait El Manssour, George Kenison, Mahsa Shirmohammadi, Anton Varonka et al.POPL 2026
  5. Decision Procedures for Sequence TheoriesArtur Jez, Anthony W. Lin, Oliver Markgraf, Philipp RümmerCAV 2023 · 8 citations
Dusk over the sea between two cliffs drawn in fine vertical lines