Associativity, preassociativity, and string functions Erkko Lehtonen - - PowerPoint PPT Presentation

associativity preassociativity and string functions
SMART_READER_LITE
LIVE PREVIEW

Associativity, preassociativity, and string functions Erkko Lehtonen - - PowerPoint PPT Presentation

Associativity, preassociativity, and string functions Erkko Lehtonen Centro de lgebra da Universidade de Lisboa Departamento de Matemtica, Faculdade de Cincias, Universidade de Lisboa erkko@campus.ul.pt joint work with Jean-Luc Marichal


slide-1
SLIDE 1

Associativity, preassociativity, and string functions

Erkko Lehtonen

Centro de Álgebra da Universidade de Lisboa Departamento de Matemática, Faculdade de Ciências, Universidade de Lisboa erkko@campus.ul.pt joint work with Jean-Luc Marichal (University of Luxembourg) Bruno Teheux (University of Luxembourg)

AAA88 Warsaw, 20–22 June 2014

  • E. Lehtonen (CAUL)

Associativity, preassociativity, . . . AAA88 1 / 18

slide-2
SLIDE 2

Associative functions

Let X be a nonempty set. F : X 2 → X is associative if F(F(a, b), c) = F(a, F(b, c)). Examples: F(a, b) = a + b

  • n X = R

F(a, b) = a ∧ b

  • n a semilattice X
  • E. Lehtonen (CAUL)

Associativity, preassociativity, . . . AAA88 2 / 18

slide-3
SLIDE 3

Associative functions

F(F(a, b), c) = F(a, F(b, c)).

  • E. Lehtonen (CAUL)

Associativity, preassociativity, . . . AAA88 3 / 18

slide-4
SLIDE 4

Associative functions

Extension to 3-ary functions F(F(a, b), c) = F(a, F(b, c)). F(F(a, b, c), d, e) = F(a, F(b, c, d), e) = F(a, b, F(c, d, e))

  • E. Lehtonen (CAUL)

Associativity, preassociativity, . . . AAA88 3 / 18

slide-5
SLIDE 5

Associative functions

Extension to n-ary functions F(F(a, b), c) = F(a, F(b, c)). F(F(a, b, c), d, e) = F(a, F(b, c, d), e) = F(a, b, F(c, d, e)) F : X n → X is associative if F(F(a1, . . . , an), an+1, . . . , a2n−1) = F(a1, F(a2, . . . , an+1), an+2, . . . , a2n−1) = · · · = F(a1, . . . , ai, F(ai+1, . . . , ai+n), ai+n+1, . . . , a2n−1) = · · · = F(a1, . . . , an−1, F(an, . . . , a2n−1)).

  • E. Lehtonen (CAUL)

Associativity, preassociativity, . . . AAA88 3 / 18

slide-6
SLIDE 6

Associative functions with indefinite arity

Let X ∗ =

  • n∈N

X n. Disclaimer: When we write F : X ∗ → X, we mean a map F :

  • n≥1

X n → X that is extended into a map X ∗ → X ∪ {ε} by setting F(ε) = ε.

  • E. Lehtonen (CAUL)

Associativity, preassociativity, . . . AAA88 4 / 18

slide-7
SLIDE 7

Associative functions with indefinite arity

Let X ∗ =

  • n∈N

X n. F : X ∗ → X is associative if F(x1, . . . , xp, y1, . . . , yq, z1, . . . , zr) = F(x1, . . . , xp, F(y1, . . . , yq), z1, . . . , zr). Examples: F(x1, . . . , xn) = x1 + · · · + xn

  • n X = R

F(x1, . . . , xn) = x1 ∧ · · · ∧ xn

  • n a semilattice X
  • E. Lehtonen (CAUL)

Associativity, preassociativity, . . . AAA88 4 / 18

slide-8
SLIDE 8

Notation

We regard n-tuples x ∈ X n as n-strings over X. 0-string: ε 1-strings: x, y, z, . . . n-strings: x, y, z, . . . X ∗ is endowed with concatenation. Example: x ∈ X n, y ∈ X, z ∈ X m = ⇒ xyz ∈ X n+1+m |x| = length of x F(x) = ε ⇐ ⇒ x = ε

  • E. Lehtonen (CAUL)

Associativity, preassociativity, . . . AAA88 5 / 18

slide-9
SLIDE 9

Associative functions with indefinite arity

F : X ∗ → X is associative if F(xyz) = F(xF(y)z) ∀ x, y, z ∈ X ∗.

  • E. Lehtonen (CAUL)

Associativity, preassociativity, . . . AAA88 6 / 18

slide-10
SLIDE 10

Associative functions with indefinite arity

F : X ∗ → X is associative if F(xyz) = F(xF(y)z) ∀ x, y, z ∈ X ∗. Equivalent definitions F(F(xy)z) = F(xF(yz)) ∀ x, y, z ∈ X ∗. F(xy) = F(F(xy)) ∀ x, y ∈ X ∗.

  • E. Lehtonen (CAUL)

Associativity, preassociativity, . . . AAA88 6 / 18

slide-11
SLIDE 11

Associative functions with indefinite arity

F : X ∗ → X is associative if F(xyz) = F(xF(y)z) ∀ x, y, z ∈ X ∗.

Theorem (Marichal, Teheux)

We can assume that |xz| ≤ 1 in the definition above. That is, F : X ∗ → X is associative if and only if F(y) = F(F(y)) F(xy) = F(xF(y)) F(yz) = F(F(y)z)

  • E. Lehtonen (CAUL)

Associativity, preassociativity, . . . AAA88 6 / 18

slide-12
SLIDE 12

Associative functions with indefinite arity

Fn = F|X n Fn(x1 · · · xn) = F2(Fn−1(x1 · · · xn−1)xn) n ≥ 2 Thus, associative functions are completely determined by their unary and binary parts.

Theorem (Marichal)

Let F : X ∗ → X and G: X ∗ → X be two associative functions such that F1 = G1 and F2 = G2. Then F = G.

  • E. Lehtonen (CAUL)

Associativity, preassociativity, . . . AAA88 7 / 18

slide-13
SLIDE 13

Preassociative functions

Let Y be a nonempty set. F : X ∗ → Y is preassociative if F(y) = F(y′) = ⇒ F(xyz) = F(xy′z) and F(x) = F(ε) ⇐ ⇒ x = ε.

  • E. Lehtonen (CAUL)

Associativity, preassociativity, . . . AAA88 8 / 18

slide-14
SLIDE 14

Preassociative functions

Let Y be a nonempty set. F : X ∗ → Y is string-preassociative if F(y) = F(y′) = ⇒ F(xyz) = F(xy′z).

  • E. Lehtonen (CAUL)

Associativity, preassociativity, . . . AAA88 8 / 18

slide-15
SLIDE 15

Preassociative functions

F : X ∗ → Y is preassociative if F(y) = F(y′) = ⇒ F(xyz) = F(xy′z) and F(x) = F(ε) ⇐ ⇒ x = ε. Examples: F(x) = x2

1 + · · · + x2 n

(X = Y = R) F(x) = |x| (X arbitrary, Y = N)

  • E. Lehtonen (CAUL)

Associativity, preassociativity, . . . AAA88 9 / 18

slide-16
SLIDE 16

Preassociative functions

F : X ∗ → Y is preassociative if F(y) = F(y′) = ⇒ F(xyz) = F(xy′z) and F(x) = F(ε) ⇐ ⇒ x = ε. Fact: If F : X ∗ → X is associative, then it is preassociative.

  • Proof. Suppose F(y) = F(y′).

Then F(xyz) = F(xF(y)z) = F(xF(y′)z) = F(xy′z). The second condition holds by definition.

  • E. Lehtonen (CAUL)

Associativity, preassociativity, . . . AAA88 9 / 18

slide-17
SLIDE 17

Preassociative functions

F : X ∗ → Y is preassociative if F(y) = F(y′) = ⇒ F(xyz) = F(xy′z) and F(x) = F(ε) ⇐ ⇒ x = ε.

Proposition (Marichal, Teheux)

F : X ∗ → X is associative if and only if it is preassociative and F1(F(x)) = F(x).

  • Proof. (Necessity) Clear.

(Sufficiency) We have F(y) = F(F(y)). Hence, by preassociativity, F(xyz) = F(xF(y)z).

  • E. Lehtonen (CAUL)

Associativity, preassociativity, . . . AAA88 9 / 18

slide-18
SLIDE 18

Preassociative functions

Proposition (Marichal, Teheux)

If F : X ∗ → Y is preassociative, then so is the function x1 · · · xn → Fn(g(x1) · · · g(xn)) for every function g : X → X. Example: Fn(x) = x6

1 + · · · + x6 n

(X = Y = R)

  • E. Lehtonen (CAUL)

Associativity, preassociativity, . . . AAA88 10 / 18

slide-19
SLIDE 19

Preassociative functions

Proposition (Marichal, Teheux)

If F : X ∗ → Y is preassociative, then so is g ◦ F for every function g : Y → Y such that g|Im F is injective. Example: Fn(x) = exp(x6

1 + · · · + x6 n)

(X = Y = R)

  • E. Lehtonen (CAUL)

Associativity, preassociativity, . . . AAA88 10 / 18

slide-20
SLIDE 20

String functions

A string function is a map F : X ∗ → X ∗. F : X ∗ → X ∗ is associative if F(xyz) = F(xF(y)z) and F(x) = F(ε) ⇐ ⇒ x = ε.

(the same formula as before!)

  • E. Lehtonen (CAUL)

Associativity, preassociativity, . . . AAA88 11 / 18

slide-21
SLIDE 21

String functions

A string function is a map F : X ∗ → X ∗. F : X ∗ → X ∗ is string-associative if F(xyz) = F(xF(y)z).

(the same formula as before!)

  • E. Lehtonen (CAUL)

Associativity, preassociativity, . . . AAA88 11 / 18

slide-22
SLIDE 22

Associative string functions

Examples: identity function sorting data in alphabetical order F(mathematics) = aacehimmstt F(warszawa) = aaarswwz removing occurrences of a given letter, say, of a F(mathematics) = mthemtics F(warszawa) = wrszw removing duplicates, keeping only the first occurrence of each letter F(mathematics) = matheics F(warszawa) = warsz

  • E. Lehtonen (CAUL)

Associativity, preassociativity, . . . AAA88 12 / 18

slide-23
SLIDE 23

Associative string functions

Examples: identity function sorting data in alphabetical order F(mathematics) = aacehimmstt F(warszawa) = aaarswwz removing occurrences of a given letter, say, of a

string-associative not associative F(aaa) = ε = F(ε)

F(mathematics) = mthemtics F(warszawa) = wrszw removing duplicates, keeping only the first occurrence of each letter F(mathematics) = matheics F(warszawa) = warsz

  • E. Lehtonen (CAUL)

Associativity, preassociativity, . . . AAA88 12 / 18

slide-24
SLIDE 24

Associative string functions

F : X ∗ → X ∗ is string-associative if F(xyz) = F(xF(y)z).

Proposition

Assume F : X ∗ → X ∗ satisfies F(ε) = ε. The following are equivalent:

1

F is string-associative.

2

F(xF(y)z) = F(x′F(y′)z′) for all x, y, z, x′, y′, z′ ∈ X ∗ such that xyz = x′y′z′.

3

F(F(xy)z) = F(xF(yz)) for all x, y, z ∈ X ∗.

4

F(xy) = F(F(x)F(y)) for all x, y ∈ X ∗.

  • E. Lehtonen (CAUL)

Associativity, preassociativity, . . . AAA88 13 / 18

slide-25
SLIDE 25

Associative string functions

F : X ∗ → X ∗ is string-associative if F(xyz) = F(xF(y)z).

Proposition

F : X ∗ → X ∗ is string-associative if and only if F(xyz) = F(xF(y)z) for any x, y, z ∈ X ∗ such that |xy| ≤ 1.

  • E. Lehtonen (CAUL)

Associativity, preassociativity, . . . AAA88 13 / 18

slide-26
SLIDE 26

Associative string functions

F : X ∗ → X ∗ is string-associative if F(xyz) = F(xF(y)z).

Fact

A string-associative function F : X ∗ → X ∗ satisfies F(x1 · · · xn) = F(F(x1 · · · xn−1)xn), n ≥ 1,

  • r, equivalently,

F(x1 · · · xn) = F(F(· · · F(F(x1)x2) · · · )xn), n ≥ 1.

  • E. Lehtonen (CAUL)

Associativity, preassociativity, . . . AAA88 13 / 18

slide-27
SLIDE 27

Associative string functions

F : D → X ∗ is m-bounded if |F(x)| ≤ m for every x ∈ D. Note: Functions F : X ∗ → X are 1-bounded string functions.

Proposition

Assume that F : X ∗ → X ∗ is string-associative, and let m ∈ N.

1

F is m-bounded if and only if F0, . . . , Fm+1 are m-bounded.

2

If F is m-bounded and G: X ∗ → X ∗ is an m-bounded and string-associative function satisfying Gi = Fi for i = 0, . . . , m + 1, then F = G.

  • E. Lehtonen (CAUL)

Associativity, preassociativity, . . . AAA88 14 / 18

slide-28
SLIDE 28

Associative string functions

F : D → X ∗ is m-bounded if |F(x)| ≤ m for every x ∈ D. Note: Functions F : X ∗ → X are 1-bounded string functions.

Proposition

Let m ∈ N. An m-bounded function F : X ∗ → X ∗ is string-associative if and only if

1

F ◦ Fk = Fk for k = 0, 1, . . . , m + 1;

2

F(F(xy)z) = F(xF(yz)) for all x ∈ X, y ∈ X ∗, z ∈ X such that |xyz| ≤ m + 2; and

3

F(x1 · · · xn) = F(F(x1 · · · xn−1)xn), n ≥ 1.

  • E. Lehtonen (CAUL)

Associativity, preassociativity, . . . AAA88 14 / 18

slide-29
SLIDE 29

Preassociativity and string functions

Theorem

Assume AC. Let F : X ∗ → Y. The following are equivalent.

1

F is string-preassociative.

2

There exists a string-associative string function H : X ∗ → X ∗ and an injective function f : Im(H) → Y such that F = f ◦ H.

  • E. Lehtonen (CAUL)

Associativity, preassociativity, . . . AAA88 15 / 18

slide-30
SLIDE 30

Preassociativity and string functions

Theorem

Assume AC. Let F : X ∗ → Y. The following are equivalent.

1

F is /////// string-preassociative.

2

There exists a /////// string-associative string function H : X ∗ → X ∗ and an injective function f : Im(H) → Y such that F = f ◦ H.

  • E. Lehtonen (CAUL)

Associativity, preassociativity, . . . AAA88 15 / 18

slide-31
SLIDE 31

Preassociativity and string functions

Theorem

Assume AC. Let F : X ∗ → Y. The following are equivalent.

1

F is preassociative.

2

There exists an associative string function H : X ∗ → X ∗ and an injective function f : Im(H) → Y such that F = f ◦ H.

  • E. Lehtonen (CAUL)

Associativity, preassociativity, . . . AAA88 15 / 18

slide-32
SLIDE 32

Associative string functions

Proposition

F : X ∗ → X ∗ is string-associative and depends only on the length of its input if and only if F = ψ ◦ α ◦ |·| for some ψ: N → X ∗ satisfying |ψ(n)| = n for all n ∈ N and α: N → N satisfying α(n + k) = α(α(n) + k) ∀ n, k ∈ N. In this case F is associative if and only if α satisfies α(n) = 0 ⇐ ⇒ n = 0.

  • E. Lehtonen (CAUL)

Associativity, preassociativity, . . . AAA88 16 / 18

slide-33
SLIDE 33

Associative string functions

Proposition

Let α: N → N. Then α satisfies condition α(n + k) = α(α(n) + k) ∀ n, k ∈ N if and only if α = id or there exist integers n1 ≥ 0 and ℓ > 0 such that

1

α(n) = n whenever 0 ≤ n < n1,

2

α is ultimately periodic, starting at n1, with period ℓ,

3

α(n) ≥ n and α(n) ≡ n (mod ℓ) whenever n1 ≤ n < n1 + ℓ. In addition, α satisfies condition α(n) = 0 ⇐ ⇒ n = 0 if and only if α = id or α satisfies conditions 1–3 with n1 > 0.

  • E. Lehtonen (CAUL)

Associativity, preassociativity, . . . AAA88 17 / 18

slide-34
SLIDE 34

Associative string functions

Proposition

Let α: N → N. Then α satisfies condition α(n + k) = α(α(n) + k) ∀ n, k ∈ N if and only if α = id or there exist integers n1 ≥ 0 and ℓ > 0 such that

1

α(n) = n whenever 0 ≤ n < n1,

2

α is ultimately periodic, starting at n1, with period ℓ,

3

α(n) ≥ n and α(n) ≡ n (mod ℓ) whenever n1 ≤ n < n1 + ℓ. In addition, α satisfies condition α(n) = 0 ⇐ ⇒ n = 0 if and only if α = id or α satisfies conditions 1–3 with n1 > 0.

  • E. Lehtonen (CAUL)

Associativity, preassociativity, . . . AAA88 17 / 18

slide-35
SLIDE 35

Dzi˛ ekuj˛ e. Kiitos. Merci. Obrigado. Thank you.

  • E. Lehtonen (CAUL)

Associativity, preassociativity, . . . AAA88 18 / 18