1 of 86

Commutative algebras of series

based on this paper (accepted at LICS’26)

Lorenzo Clemente

University of Warsaw

AAA109―SAL2026 @ Ljubljana, 07/06/2026

2 of 86

Placement

Application of coalgebra

to derive algebraic

and algorithmic results

3 of 86

Placement

Application of coalgebra

to derive algebraic

and algorithmic results

4 of 86

What is a series?

Fix a finite alphabet Σ = {a, b}

of noncommuting indeterminates.�

A series is a mapping f : Σ* → ℚ�(sometimes written ℚ⟪a, b⟫)

5 of 86

Vector space structure

Series f, g : ℚ《Σ》

  • Scalar multiplication:

(c · f)(w) := c · f(w) for all c ∈ ℚ, w ∈ Σ*

  • Addition:

(f + g)(w) := f(w) + g(w) for all w ∈ Σ*

vector space

(ℚ⟪Σ⟫; 0, ·, +)

6 of 86

Transition structure

For an input symbol a ∈ Σ and a series f : ℚ⟪Σ⟫

let the left derivative by a be the series a⁻¹f : ℚ⟪Σ⟫ s.t.

(a⁻¹f)(w) = f(a·w), ∀ w ∈ Σ*

The left derivative operators (a-1)a ∈ Σ endow the set of series�with the structure of an (infinite) automaton (= coalgebra)

a⁻¹f

f

a

transition structure

(ℚ⟪Σ⟫; (a-1)a ∈ Σ)

7 of 86

Transition structure

For an input symbol a ∈ Σ and a series f : ℚ⟪Σ⟫

let the left derivative by a be the series a⁻¹f : ℚ⟪Σ⟫ s.t.

(a⁻¹f)(w) = f(a·w), ∀ w ∈ Σ*

The left derivative operators (a-1)a ∈ Σ endow the set of series�with the structure of an (infinite) automaton (= coalgebra)

a⁻¹f

f

a

transition structure / automaton / coalgebra

(ℚ⟪Σ⟫; (a-1)a ∈ Σ)

8 of 86

The big picture

(A) algebraic�structure

vector space

9 of 86

The big picture

(A) algebraic�structure

vector space

(B) classes�of series

rational series

10 of 86

The big picture

(A) algebraic�structure

vector space

(B) classes�of series

rational series

(C)�automata

weighted automata

11 of 86

The big picture

(A) algebraic�structure

vector space

(B) classes�of series

rational series

(C)�automata

weighted automata

(D)

zeroness problem

12 of 86

The big picture

(A) algebraic�structure

vector space

(B) classes�of series

rational series

(C)�automata

weighted automata

(D)

zeroness problem

is a given a rational series / weighted automaton zero?

(= word problem for algebras)

13 of 86

The big picture

(A) algebraic�structure

vector space

(B) classes�of series

rational series

(C)

automata

weighted automata

(D)

zeroness problem

Theorem�(Schützenberger 1960’s).�Zeroness of rational series / weighted automata is decidable.

is a given a rational series / weighted automaton zero?

(= word problem for algebras)

14 of 86

The big picture

(A) algebraic�structure

vector space

(B) classes�of series

rational series

(C)

automata

weighted automata

(D)

zeroness problem

linear algebra

Theorem�(Schützenberger 1960’s).�Zeroness of rational series / weighted automata is decidable.

is a given a rational series / weighted automaton zero?

(= word problem for algebras)

15 of 86

The big picture

(A) algebraic�structure

algebra

vector space

(B) classes�of series

rational series

(C)

automata

weighted automata

(D)

zeroness problem

linear algebra

16 of 86

The big picture

(A) algebraic�structure

algebra

vector space

(B) classes�of series

*-finite series

rational series

(C)

automata

weighted automata

(D)

zeroness problem

linear algebra

17 of 86

The big picture

(A) algebraic�structure

algebra

vector space

(B) classes�of series

*-finite series

rational series

(C)

automata

*-automata

weighted automata

(D)

zeroness problem

linear algebra

18 of 86

The big picture

(A) algebraic�structure

algebra

vector space

(B) classes�of series

*-finite series

rational series

(C)

automata

*-automata

weighted automata

(D)

zeroness problem

polynomial algebra

linear algebra

19 of 86

Hadamard and shuffle in TCS

20 of 86

Hadamard product

(A) algebraic�structure

Hadamard algebra

(B) classes�of series

Hadamard-fin. series

(C)

automata�(coalgebra)

polynomial automata

(D)

zeroness problem

polynomial algebra

vector space

rational series

weighted automata

linear algebra

21 of 86

Hadamard product

(A) algebraic�structure

Hadamard algebra

(B) classes�of series

Hadamard-fin. series

(C)

automata�(coalgebra)

polynomial automata

(D)

zeroness problem

polynomial algebra

vector space

rational series

weighted automata

linear algebra

Theorem [1].�Zeroness of Hadamard-finite series / Hadamard automata is decidable.

[1] Benedikt, Duff, Sharad, Worrell “Polynomial automata: Zeroness and applications” (LICS 2017)

22 of 86

Shuffle product

(A) algebraic�structure

shuffle algebra

(B) classes�of series

shuffle-finite series

(C)

automata�(coalgebra)

shuffle automata

(D)

zeroness problem

polynomial algebra

vector space

rational series

weighted automata

linear algebra

23 of 86

Shuffle product

(A) algebraic�structure

shuffle algebra

(B) classes�of series

shuffle-finite series

(C)

automata�(coalgebra)

shuffle automata

(D)

zeroness problem

polynomial algebra

vector space

rational series

weighted automata

linear algebra

Theorem [1].�Zeroness of shuffle-finite series / shuffle automata is decidable.

[1] C “Weighted basic parallel processes and combinatorial enumeration” (CONCUR 2024)

24 of 86

Infiltration product

25 of 86

Infiltration product

26 of 86

Infiltration product

(A) algebraic�structure

infiltration algebra

(B) classes�of series

infiltration-fin. series

(C)

automata�(coalgebra)

infiltration automata

(D)

zeroness problem

polynomial algebra

vector space

rational series

weighted automata

linear algebra

27 of 86

Infiltration product

(A) algebraic�structure

infiltration algebra

(B) classes�of series

infiltration-fin. series

(C)

automata�(coalgebra)

infiltration automata

(D)

zeroness problem

polynomial algebra

vector space

rational series

weighted automata

linear algebra

Theorem [1].�Zeroness of infiltration-finite series / infiltration automata is decidable.

[1] C “The commutativity problem for effective varieties of formal series, and applications” (LICS 2025)

28 of 86

The big picture

(A) algebraic�structure

algebra

vector space

(B) classes�of series

*-finite series

rational series

(C)

automata�(coalgebra)

*-automata

weighted automata

(D)

zeroness problem

polynomial algebra

linear algebra

29 of 86

The big picture

(A) algebraic�structure

algebra

vector space

(B) classes�of series

*-finite series

rational series

(C)

automata�(coalgebra)

*-automata

weighted automata

(D)

zeroness problem

polynomial algebra

linear algebra

Goal

Which product operations “ * ”�give rise to a decidable zeroness problem?

30 of 86

Commonalities

The Hadamard, shuffle, and infiltration product are�

  • bilinear, associative, and commutative�
  • they satisfy product rules!

31 of 86

Commonalities

The Hadamard, shuffle, and infiltration product are�

  • bilinear, associative, and commutative�
  • they satisfy product rules!

32 of 86

Product rules

P-product

product rule

P

Hadamard

a-1 (f ⊙ g) = a-1 f ⊙ a-1 g

ẋ ẏ

shuffle

a-1 (f ш g) = (a-1 f) ш g + f ш (a-1 g)

ẋ y + x ẏ

infiltration

a-1 (f ↑ g) = (a-1 f) ↑ g + f ↑ (a-1 g) + (a-1 f) ↑ (a-1 g)

ẋ y + x ẏ + ẋ ẏ

Consider polynomials of the form P(x, ẋ, y, ẏ) ∈ ℚ[x, ẋ, y, ẏ].�A P-product is a binary operation on sequences “∗” s.t.

a-1 (f ∗ g) = P(f, a-1 f, g, a-1 g), ∀ a ∈ Σ

33 of 86

Product rules

P-product

product rule

P

Hadamard

a-1 (f ⊙ g) = a-1 f ⊙ a-1 g

ẋ ẏ

shuffle

a-1 (f ш g) = (a-1 f) ш g + f ш (a-1 g)

ẋ y + x ẏ

infiltration

a-1 (f ↑ g) = (a-1 f) ↑ g + f ↑ (a-1 g) + (a-1 f) ↑ (a-1 g)

ẋ y + x ẏ + ẋ ẏ

Consider polynomials of the form P(x, ẋ, y, ẏ) ∈ ℚ[x, ẋ, y, ẏ].�A P-product is a binary operation on sequences “∗” s.t.

a-1 (f ∗ g) = P(f, a-1 f, g, a-1 g), ∀ a ∈ Σ

34 of 86

Product rules

P-product

product rule

P

Hadamard

a-1 (f ⊙ g) = a-1 f ⊙ a-1 g

ẋ ẏ

shuffle

a-1 (f ш g) = (a-1 f) ш g + f ш (a-1 g)

ẋ y + x ẏ

infiltration

a-1 (f ↑ g) = (a-1 f) ↑ g + f ↑ (a-1 g) + (a-1 f) ↑ (a-1 g)

ẋ y + x ẏ + ẋ ẏ

Consider polynomials of the form P(x, ẋ, y, ẏ) ∈ ℚ[x, ẋ, y, ẏ].�A P-product is a binary operation on sequences “∗” s.t.

a-1 (f ∗ g) = P(f, a-1 f, g, a-1 g), ∀ a ∈ Σ

35 of 86

Product rules

P-product

product rule

P

Hadamard

a-1 (f ⊙ g) = a-1 f ⊙ a-1 g

ẋ ẏ

shuffle

a-1 (f ш g) = (a-1 f) ш g + f ш (a-1 g)

ẋ y + x ẏ

infiltration

a-1 (f ↑ g) = (a-1 f) ↑ g + f ↑ (a-1 g) + (a-1 f) ↑ (a-1 g)

ẋ y + x ẏ + ẋ ẏ

Consider polynomials of the form P(x, ẋ, y, ẏ) ∈ ℚ[x, ẋ, y, ẏ].�A P-product is a binary operation on sequences “∗” s.t.

a-1 (f ∗ g) = P(f, a-1 f, g, a-1 g), ∀ a ∈ Σ

36 of 86

Product rules

P-product

product rule

P

Hadamard

a-1 (f ⊙ g) = a-1 f ⊙ a-1 g

ẋ ẏ

shuffle

a-1 (f ш g) = (a-1 f) ш g + f ш (a-1 g)

ẋ y + x ẏ

infiltration

a-1 (f ↑ g) = (a-1 f) ↑ g + f ↑ (a-1 g) + (a-1 f) ↑ (a-1 g)

ẋ y + x ẏ + ẋ ẏ

Consider polynomials of the form P(x, ẋ, y, ẏ) ∈ ℚ[x, ẋ, y, ẏ].�A P-product is a binary operation on sequences “∗” s.t.

a-1 (f ∗ g) = P(f, a-1 f, g, a-1 g), ∀ a ∈ Σ

37 of 86

Product rules

(CONCUR 2021)

38 of 86

Product rules

(CONCUR 2021)

Can we understand whether a P-product is BAC,�

  • Bilinear
  • Associative
  • Commutative,�

just by looking at its product rule P?

39 of 86

BAC (non-)examples

product rule

P

bilin

assoc

comm

a-1 (f ∗ g) = 0

0

a-1 (f ∗ g) = f ∗ g

x y

a-1 (f ⊙ g) = a-1 f ⊙ a-1 g

ẋ ẏ

a-1 (f ш g) = (a-1 f) ш g + f ш (a-1 g)

ẋ y + x ẏ

a-1 (f ↑ g) = (a-1 f) ↑ g + f ↑ (a-1 g) + (a-1 f) ↑ (a-1 g)

ẋ y + x ẏ + ẋ ẏ

a-1 (f ∗ g) = f² ∗ g²

x² y²

a-1 (f ∗ g) = (a-1 f) ∗ g

ẋ y

40 of 86

BAC (non-)examples

product rule

P

bilin

assoc

comm

a-1 (f ∗ g) = 0

0

a-1 (f ∗ g) = f ∗ g

x y

a-1 (f ⊙ g) = a-1 f ⊙ a-1 g

ẋ ẏ

a-1 (f ш g) = (a-1 f) ш g + f ш (a-1 g)

ẋ y + x ẏ

a-1 (f ↑ g) = (a-1 f) ↑ g + f ↑ (a-1 g) + (a-1 f) ↑ (a-1 g)

ẋ y + x ẏ + ẋ ẏ

a-1 (f ∗ g) = f² ∗ g²

x² y²

a-1 (f ∗ g) = (a-1 f) ∗ g

ẋ y

41 of 86

BAC (non-)examples

product rule

P

bilin

assoc

comm

a-1 (f ∗ g) = 0

0

a-1 (f ∗ g) = f ∗ g

x y

a-1 (f ⊙ g) = a-1 f ⊙ a-1 g

ẋ ẏ

a-1 (f ш g) = (a-1 f) ш g + f ш (a-1 g)

ẋ y + x ẏ

a-1 (f ↑ g) = (a-1 f) ↑ g + f ↑ (a-1 g) + (a-1 f) ↑ (a-1 g)

ẋ y + x ẏ + ẋ ẏ

a-1 (f ∗ g) = f² ∗ g²

x² y²

a-1 (f ∗ g) = (a-1 f) ∗ g

ẋ y

42 of 86

BAC (non-)examples

product rule

P

bilin

assoc

comm

a-1 (f ∗ g) = 0

0

a-1 (f ∗ g) = f ∗ g

x y

a-1 (f ⊙ g) = a-1 f ⊙ a-1 g

ẋ ẏ

a-1 (f ш g) = (a-1 f) ш g + f ш (a-1 g)

ẋ y + x ẏ

a-1 (f ↑ g) = (a-1 f) ↑ g + f ↑ (a-1 g) + (a-1 f) ↑ (a-1 g)

ẋ y + x ẏ + ẋ ẏ

a-1 (f ∗ g) = f² ∗ g²

x² y²

a-1 (f ∗ g) = (a-1 f) ∗ g

ẋ y

43 of 86

BAC (non-)examples

product rule

P

bilin

assoc

comm

a-1 (f ∗ g) = 0

0

a-1 (f ∗ g) = f ∗ g

x y

a-1 (f ⊙ g) = a-1 f ⊙ a-1 g

ẋ ẏ

a-1 (f ш g) = (a-1 f) ш g + f ш (a-1 g)

ẋ y + x ẏ

a-1 (f ↑ g) = (a-1 f) ↑ g + f ↑ (a-1 g) + (a-1 f) ↑ (a-1 g)

ẋ y + x ẏ + ẋ ẏ

a-1 (f ∗ g) = f² ∗ g²

x² y²

a-1 (f ∗ g) = (a-1 f) ∗ g

ẋ y

44 of 86

BAC (non-)examples

product rule

P

bilin

assoc

comm

a-1 (f ∗ g) = 0

0

a-1 (f ∗ g) = f ∗ g

x y

a-1 (f ⊙ g) = a-1 f ⊙ a-1 g

ẋ ẏ

a-1 (f ш g) = (a-1 f) ш g + f ш (a-1 g)

ẋ y + x ẏ

a-1 (f ↑ g) = (a-1 f) ↑ g + f ↑ (a-1 g) + (a-1 f) ↑ (a-1 g)

ẋ y + x ẏ + ẋ ẏ

a-1 (f ∗ g) = f² ∗ g²

x² y²

a-1 (f ∗ g) = (a-1 f) ∗ g

ẋ y

45 of 86

BAC (non-)examples

product rule

P

bilin

assoc

comm

a-1 (f ∗ g) = 0

0

a-1 (f ∗ g) = f ∗ g

x y

a-1 (f ⊙ g) = a-1 f ⊙ a-1 g

ẋ ẏ

a-1 (f ш g) = (a-1 f) ш g + f ш (a-1 g)

ẋ y + x ẏ

a-1 (f ↑ g) = (a-1 f) ↑ g + f ↑ (a-1 g) + (a-1 f) ↑ (a-1 g)

ẋ y + x ẏ + ẋ ẏ

a-1 (f ∗ g) = f² ∗ g²

x² y²

a-1 (f ∗ g) = (a-1 f) ∗ g

ẋ y

46 of 86

BAC classification

A P-product is a binary operation on series “∗” s.t.

a-1 (f ∗ g) = P(f, a-1 f, g, a-1 g), ∀ a ∈ Σ

A product rule P is simple if there are constants α, β, γ ∈ ℚ:

P(x, ẋ, y, ẏ) = α · xy + β · (ẋy + xẏ) + γ · ẋẏ

s.t. α γ = β (β - 1)

product

α

β

γ

Hadamard

0

0

1

shuffle

0

1

0

infiltration

0

1

1

shuffle-infiltration

0

1

γ

Theorem. A P-product is BAC iff P is simple.

Proof. Apply the previous characterisation.

47 of 86

BAC classification

A P-product is a binary operation on series “∗” s.t.

a-1 (f ∗ g) = P(f, a-1 f, g, a-1 g), ∀ a ∈ Σ

A product rule P is simple if there are constants α, β, γ ∈ ℚ:

P(x, ẋ, y, ẏ) = α · xy + β · (ẋy + xẏ) + γ · ẋẏ

s.t. α γ = β (β - 1)

product

α

β

γ

Hadamard

0

0

1

shuffle

0

1

0

infiltration

0

1

1

shuffle-infiltration

0

1

γ

Theorem. A P-product is BAC iff P is simple.

Proof. By coinduction.

48 of 86

BAC classification

A P-product is a binary operation on series “∗” s.t.

a-1 (f ∗ g) = P(f, a-1 f, g, a-1 g), ∀ a ∈ Σ

A product rule P is simple if there are constants α, β, γ ∈ ℚ:

P(x, ẋ, y, ẏ) = α · xy + β · (ẋy + xẏ) + γ · ẋẏ

s.t. α γ = β (β - 1)

product

α

β

γ

Hadamard

0

0

1

shuffle

0

1

0

infiltration

0

1

1

shuffle-infiltration

0

1

γ

Theorem. A P-product is BAC iff P is simple.

Proof. By coinduction.

49 of 86

And concatenation?

Let ∗ be the concatenation (Cauchy) product.

  • bilinear ✓
  • associative ✓
  • non-commutative ❌

Brzozowski’s product rule

a-1 (f ∗ g) = (a-1 f) ∗ g + f(0) · (a-1 g) NOT a P-product! (for any P)

50 of 86

And concatenation?

Let ∗ be the concatenation (Cauchy) product.

  • bilinear ✓
  • associative ✓
  • non-commutative ❌

Brzozowski’s product rule

a-1 (f ∗ g) = (a-1 f) ∗ g + f(0) · (a-1 g) NOT a P-product! (for any P)

51 of 86

The big picture

(A) algebraic�structure

P-algebra

vector space

(B) classes�of series

P-finite series

rational series

(C)

automata�(coalgebra)

P-automata

weighted automata

(D)

zeroness problem

polynomial algebra

linear algebra

52 of 86

Rational series

A series f is rational if it belongs to a finite-dimensional vector space

closed under the left derivative operators (a-1)a ∈ Σ.

Equivalently, there are generators g1 = f, …, gk s.t.

for every generator gi and input symbol a ∈ Σ,

a-1 gi is a linear combination over ℚ of g1, …, gk

53 of 86

Rational series

A series f is rational if it belongs to a finite-dimensional vector space

closed under the left derivative operators (a-1)a ∈ Σ.

Equivalently, there are generators g1 = f, …, gk s.t.

for every generator gi and input symbol a ∈ Σ,

a-1 gi is a linear combination over ℚ of g1, …, gk

54 of 86

Rational series

Berstel, Reutenauer:�Noncommutative rational series with applications

(2010)

55 of 86

Rational series

A series f is rational if it belongs to a finite-dimensional vector space

closed under the left derivative operators (a-1)a ∈ Σ.

Equivalently, there are generators g1 = f, …, gk s.t.

for every generator gi and input symbol a ∈ Σ,

a-1 gi is a linear combination over ℚ of g1, …, gk

56 of 86

Rational → P-finite series

A series f is rational if it belongs to a finite-dimensional vector space

closed under the left derivative operators (a-1)a ∈ Σ.

Equivalently, there are generators g1 = f, …, gk s.t.

for every generator gi and input symbol a ∈ Σ,

a-1 gi is a linear combination over ℚ of g1, …, gk

P-finite

algebra

polynomial

57 of 86

Rational → P-finite series

A series f is rational if it belongs to a finite-dimensional vector space

closed under the left derivative operators (a-1)a ∈ Σ.

Equivalently, there are generators g1 = f, …, gk s.t.

for every generator gi and input symbol a ∈ Σ,

a-1 gi is a linear combination over ℚ of g1, …, gk

P-finite

algebra

58 of 86

Rational → P-finite series

A series f is rational if it belongs to a finite-dimensional vector space

closed under the left derivative operators (a-1)a ∈ Σ.

Equivalently, there are generators g1 = f, …, gk s.t.

for every generator gi and input symbol a ∈ Σ,

a-1 gi is a linear combination over ℚ of g1, …, gk

P-finite

algebra

polynomial

59 of 86

Examples

Take Σ = { a }.

Consider the Hadamard product rule P = ẋẏ.�

The series f = an ↦ 2^(2n) is P-finite (= Hadamard finite) since�

a-1 f = f ⊙ f

60 of 86

Examples

Take Σ = { a }.

Consider the shuffle product rule P = ẋy + xẏ.�

The series f = an ↦ n! is P-finite (= shuffle finite) since

a-1 f = f ш f

61 of 86

Sanity check

Lemma. Fix a product rule P.

The class of P-finite series is an algebra closed under left derivatives (a-1)a ∈ Σ.

62 of 86

The big picture

(A) algebraic�structure

P-algebra

vector space

(B) classes�of series

P-finite series

rational series

(C)

automata�(coalgebra)

P-automata

weighted automata

(D)

zeroness problem

polynomial algebra

linear algebra

63 of 86

P-automata

Consider a product rule P ∈ ℚ[x, ẋ, y, ẏ].

A P-automaton is a tuple

A = (Σ, X, F, Δ), where

  • X = {x₁, …, xₖ} is a finite set of commuting variables
  • F : X → ℚ is the output function
  • Δ : Σ → X → ℚ[X] is the transition function

A P-automaton starting from configuration p ∈ ℚ[X] recognises a series

A⟦ p ⟧ : ℚ《Σ》

64 of 86

P-automata

Consider a product rule P ∈ ℚ[x, ẋ, y, ẏ].

A P-automaton is a tuple

A = (Σ, X, F, Δ), where

  • X = {x₁, …, xₖ} is a finite set of commuting variables
  • F : X → ℚ is the output function
  • Δ : Σ → X → ℚ[X] is the transition function

A P-automaton starting from configuration p ∈ ℚ[X] recognises a series

A⟦ p ⟧ : ℚ《Σ》

65 of 86

Shuffle automaton example

Fix the shuffle product rule P = ẋy + xẏ.

Consider the P-automaton A = (Σ = { a }, X = { x }, F : X → ℚ, Δ : X → ℚ[X]):

  • The output function is F x = 1.
  • The transition function is Δ x = x2.

It recognises the series A⟦x⟧ = an ↦ n!

x

66 of 86

Shuffle automaton example

Fix the shuffle product rule P = ẋy + xẏ.

Consider the P-automaton A = (Σ = { a }, X = { x }, F : X → ℚ, Δ : X → ℚ[X]):

  • The output function is F x = 1.
  • The transition function is Δ x = x2.

It recognises the series A⟦x⟧ = an ↦ n!

x

↓F

A⟦x⟧ = 1

67 of 86

Shuffle automaton example

Fix the shuffle product rule P = ẋy + xẏ.

Consider the P-automaton A = (Σ = { a }, X = { x }, F : X → ℚ, Δ : X → ℚ[X]):

  • The output function is F x = 1.
  • The transition function is Δ x = x2.

It recognises the series A⟦x⟧ = an ↦ n!

x ―Δ—> x²

↓F

A⟦x⟧ = 1

68 of 86

Shuffle automaton example

Fix the shuffle product rule P = ẋy + xẏ.

Consider the P-automaton A = (Σ = { a }, X = { x }, F : X → ℚ, Δ : X → ℚ[X]):

  • The output function is F x = 1.
  • The transition function is Δ x = x2.

It recognises the series A⟦x⟧ = an ↦ n!

x ―Δ—> x²

↓F ↓F

A⟦x⟧ = 1 1

69 of 86

Shuffle automaton example

Fix the shuffle product rule P = ẋy + xẏ.

Consider the P-automaton A = (Σ = { a }, X = { x }, F : X → ℚ, Δ : X → ℚ[X]):

  • The output function is F x = 1.
  • The transition function is Δ x = x2.

It recognises the series A⟦x⟧ = an ↦ n!

x ―Δ—> x² ―Δ—> ???

↓F ↓F

A⟦x⟧ = 1 1

70 of 86

Shuffle automaton example

Fix the shuffle product rule P = ẋy + xẏ.

Consider the P-automaton A = (Σ = { a }, X = { x }, F : X → ℚ, Δ : X → ℚ[X]),

  • The output function is F x = 1.
  • The transition function is Δ x = x2.

It recognises the series A⟦x⟧ = an ↦ n!

x ―Δ—> x² ―Δ—> ???

↓F ↓F

A⟦x⟧ = 1 1

Extension Lemma 1. Every Δ : X → ℚ[x] extends (uniquely) to a linear function�Δ : ℚ[x] → ℚ[x] s.t.

Δ (pq) = (Δp) · q + p · (Δq)

(derivation)

Example: Δ(xⁿ) = n · xⁿ⁻¹ · (Δ x)

71 of 86

Shuffle automaton example

Fix the shuffle product rule P = ẋy + xẏ.

Consider the P-automaton A = (Σ = { a }, X = { x }, F : X → ℚ, Δ : X → ℚ[X]),

  • The output function is F x = 1.
  • The transition function is Δ x = x2.

It recognises the series A⟦x⟧ = an ↦ n!

x ―Δ—> x² ―Δ—> 2x³ ―Δ—> 6x⁴ ―Δ—> … ―Δ—> n! xⁿ⁺¹

↓F ↓F ↓F ↓F ↓F

A⟦x⟧ = 1 1 2 6 … n!

Extension Lemma 1. Every Δ : X → ℚ[x] extends (uniquely) to a linear function�Δ : ℚ[x] → ℚ[x] s.t.

Δ (pq) = (Δp) · q + p · (Δq)

(derivation)

Example: Δ(xⁿ) = n · xⁿ⁻¹ · (Δ x)

72 of 86

Extension lemmas

Extension Lemma 3. Every Δ : X → ℚ[x] extends (uniquely) to a linear function Δ : ℚ[x] → ℚ[x] s.t.

Δ (pq) = (Δp) · q + p · (Δq) + (Δp) · (Δq) infiltration product rule

Extension Lemma 2. Every Δ : X → ℚ[x] extends (uniquely) to a linear function Δ : ℚ[x] → ℚ[x] s.t.

Δ (pq) = (Δp) · (Δq) Hadamard product rule

Extension Lemma 1. Every Δ : X → ℚ[x] extends (uniquely) to a linear function Δ : ℚ[x] → ℚ[x] s.t.

Δ (pq) = (Δp) · q + p · (Δq) shuffle product rule

73 of 86

Extension lemmas

Extension Lemma 3. Every Δ : X → ℚ[x] extends (uniquely) to a linear function Δ : ℚ[x] → ℚ[x] s.t.

Δ (pq) = (Δp) · q + p · (Δq) + (Δp) · (Δq) infiltration product rule

Extension Lemma 2. Every Δ : X → ℚ[x] extends (uniquely) to a linear function Δ : ℚ[x] → ℚ[x] s.t.

Δ (pq) = (Δp) · (Δq) Hadamard product rule

Extension Lemma 1. Every Δ : X → ℚ[x] extends (uniquely) to a linear function Δ : ℚ[x] → ℚ[x] s.t.

Δ (pq) = (Δp) · q + p · (Δq) shuffle product rule

74 of 86

Extension lemmas

Extension Lemma 3. Every Δ : X → ℚ[x] extends (uniquely) to a linear function Δ : ℚ[x] → ℚ[x] s.t.

Δ (pq) = (Δp) · q + p · (Δq) + (Δp) · (Δq) infiltration product rule

Extension Lemma 2. Every Δ : X → ℚ[x] extends (uniquely) to a linear function Δ : ℚ[x] → ℚ[x] s.t.

Δ (pq) = (Δp) · (Δq) Hadamard product rule

Extension Lemma 1. Every Δ : X → ℚ[x] extends (uniquely) to a linear function Δ : ℚ[x] → ℚ[x] s.t.

Δ (pq) = (Δp) · q + p · (Δq) shuffle product rule

75 of 86

Extension lemmas

Extension Lemma 3. Every Δ : X → ℚ[x] extends (uniquely) to a linear function Δ : ℚ[x] → ℚ[x] s.t.

Δ (pq) = (Δp) · q + p · (Δq) + (Δp) · (Δq) infiltration product rule

Extension Lemma 2. Every Δ : X → ℚ[x] extends (uniquely) to a linear function Δ : ℚ[x] → ℚ[x] s.t.

Δ (pq) = (Δp) · (Δq) Hadamard product rule

Extension Lemma 1. Every Δ : X → ℚ[x] extends (uniquely) to a linear function Δ : ℚ[x] → ℚ[x] s.t.

Δ (pq) = (Δp) · q + p · (Δq) shuffle product rule

Can we characterise which product rules give rise to a corresponding Extension Lemma?

76 of 86

P-functions

Consider a product rule P ∈ ℚ[x, ẋ, y, ẏ].

Δ : ℚ[X] → ℚ[X] is a P-function if it is linear and it satisfies the product rule�

Δ (p q) = P(p, Δ p, q, Δ q)

Extension Lemma*.

Let P be a BAC product rule.�Every function Δ : X → ℚ[X] extends (uniquely) to a P-function ℚ[X] → ℚ[X].

* Conditions apply: Since we do not require the series product to have an identity we need to restrict to polynomials without constant term

77 of 86

P-functions

Consider a product rule P ∈ ℚ[x, ẋ, y, ẏ].

Δ : ℚ[X] → ℚ[X] is a P-function if it is linear and it satisfies the product rule�

Δ (p q) = P(p, Δ p, q, Δ q)

Extension Lemma*.

Let P be a BAC product rule.�Every function Δ : X → ℚ[X] extends (uniquely) to a P-function ℚ[X] → ℚ[X].

* Conditions apply: Since we do not require the series product to have an identity we need to restrict to polynomials without constant term

78 of 86

P-automata: Semantics

Fix A = (Σ, X, F, Δ) and p ∈ ℚ[X]. We define the semantics A⟦ p ⟧ : ℚ《Σ》

p

Δap

ΔbΔap

Δwp

output

A⟦p⟧(w) := F (Δw p)

F

a

b

79 of 86

P-automata: Semantics

Fix A = (Σ, X, F, Δ) and p ∈ ℚ[X]. We define the semantics A⟦ p ⟧ : ℚ《Σ》

Δ : X → ℚ[X]

p

Δap

ΔbΔap

Δwp

output

A⟦p⟧(w) := F (Δw p)

F

a

b

80 of 86

P-automata: Semantics

Δ : Σ → ℚ[X] → ℚ[X]

Fix A = (Σ, X, F, Δ) and p ∈ ℚ[X]. We define the semantics A⟦ p ⟧ : ℚ《Σ》

Δ : Σ → X → ℚ[X]

by the Extension Lemma,�extend to a unique P-function

Δa(pq) = P(p, Δap, q, Δaq)

p

Δap

ΔbΔap

Δwp

output

A⟦p⟧(w) := F (Δw p)

F

a

b

81 of 86

P-automata: Semantics

Δ : Σ* → ℚ[X] → ℚ[X]

Δ : Σ → ℚ[X] → ℚ[X]

Fix A = (Σ, X, F, Δ) and p ∈ ℚ[X]. We define the semantics A⟦ p ⟧ : ℚ《Σ》

Δ : Σ → X → ℚ[X]

by the Extension Lemma,�extend to a unique P-function

Δa(pq) = P(p, Δap, q, Δaq)

extend�homomorphically

Δε p = p

Δa · w p = Δwa p)

p

Δap

ΔbΔap

Δwp

output

A⟦p⟧(w) := F (Δw p)

F

a

b

82 of 86

P-automata: Semantics

Δ : Σ* → ℚ[X] → ℚ[X]

Δ : Σ → ℚ[X] → ℚ[X]

Fix A = (Σ, X, F, Δ) and p ∈ ℚ[X]. We define the semantics A⟦ p ⟧ : ℚ《Σ》

extend�homomorphically

Δε p = p

Δa · w p = Δwa p)

p

Δap

ΔbΔap

Δwp

output

A⟦p⟧(w) := F (Δw p)

F

a

b

Δ : Σ → X → ℚ[X]

by the Extension Lemma,�extend to a unique P-function

Δa(pq) = P(p, Δap, q, Δaq)

83 of 86

SUMMARY

(A) algebraic�structure

P-algebra

vector space

(B) classes�of series

P-finite series

rational series

(C)

automata

P-automata

weighted automata

(D)

zeroness problem

polynomial algebra

linear algebra

84 of 86

SUMMARY

(A) algebraic�structure

P-algebra

vector space

(B) classes�of series

P-finite series

rational series

(C)

automata

P-automata

weighted automata

(D)

zeroness problem

polynomial algebra

linear algebra

Coincidence Lemma.

P-finite = P-automata

85 of 86

SUMMARY

(A) algebraic�structure

P-algebra

vector space

(B) classes�of series

P-finite series

rational series

(C)

automata

P-automata

weighted automata

(D)

zeroness problem

polynomial algebra

linear algebra

Coincidence Lemma.

P-finite = P-automata

Theorem. Let P be a simple product rule. The zeroness problem is decidable for P-finite series / series recognised by P-automata.

Proof. Effective version of Hilbert’s finite basis theorem

86 of 86

End of the world