Rationality, irrationality, and Wilf equivalence in generalized - - PowerPoint PPT Presentation

rationality irrationality and wilf equivalence in
SMART_READER_LITE
LIVE PREVIEW

Rationality, irrationality, and Wilf equivalence in generalized - - PowerPoint PPT Presentation

Rationality, irrationality, and Wilf equivalence in generalized factor order Sergey Kitaev Institute of Mathematics, Reykjav k University, IS-103 Reykjav k, Iceland, sergey@ru.is Jeffrey Liese Department of Mathematics, UCSD, La


slide-1
SLIDE 1

Rationality, irrationality, and Wilf equivalence in generalized factor order

Sergey Kitaev

Institute of Mathematics, Reykjav´ ık University, IS-103 Reykjav´ ık, Iceland, sergey@ru.is Jeffrey Liese Department of Mathematics, UCSD, La Jolla, CA 92093-0112. USA, jliese@math.ucsd.edu Jeffrey Remmel Department of Mathematics, UCSD, La Jolla, CA 92093-0112. USA, remmel@math.ucsd.edu Bruce E. Sagan Department of Mathematics, Michigan State University East Lansing, MI 48824-1027, sagan@math.msu.edu www.math.msu.edu/˜sagan

slide-2
SLIDE 2
slide-3
SLIDE 3

Outline

slide-4
SLIDE 4

Let P be a set and consider the corresponding free monoid P∗ = {w = w1w2 . . . wk : k ≥ 0 and wi ∈ P for all i}.

slide-5
SLIDE 5

Let P be a set and consider the corresponding free monoid P∗ = {w = w1w2 . . . wk : k ≥ 0 and wi ∈ P for all i}. Let ǫ be the empty word and let |w| denote the length of w.

slide-6
SLIDE 6

Let P be a set and consider the corresponding free monoid P∗ = {w = w1w2 . . . wk : k ≥ 0 and wi ∈ P for all i}. Let ǫ be the empty word and let |w| denote the length of w. Word w′ is a factor of w if there are words u, v with w = uw′v.

slide-7
SLIDE 7

Let P be a set and consider the corresponding free monoid P∗ = {w = w1w2 . . . wk : k ≥ 0 and wi ∈ P for all i}. Let ǫ be the empty word and let |w| denote the length of w. Word w′ is a factor of w if there are words u, v with w = uw′v.

  • Example. w’=322 is a factor of w = 13213221.
slide-8
SLIDE 8

Let P be a set and consider the corresponding free monoid P∗ = {w = w1w2 . . . wk : k ≥ 0 and wi ∈ P for all i}. Let ǫ be the empty word and let |w| denote the length of w. Word w′ is a factor of w if there are words u, v with w = uw′v.

  • Example. w’=322 is a factor of w = 13213221.

Factor order is the partial order on P∗ where w′ ≤ w iff w′ is a factor of w.

slide-9
SLIDE 9

Let P be a set and consider the corresponding free monoid P∗ = {w = w1w2 . . . wk : k ≥ 0 and wi ∈ P for all i}. Let ǫ be the empty word and let |w| denote the length of w. Word w′ is a factor of w if there are words u, v with w = uw′v.

  • Example. w’=322 is a factor of w = 13213221.

Factor order is the partial order on P∗ where w′ ≤ w iff w′ is a factor of w. Bj¨

  • rner found the M¨
  • bius function of factor order.
slide-10
SLIDE 10

Let P be a set and consider the corresponding free monoid P∗ = {w = w1w2 . . . wk : k ≥ 0 and wi ∈ P for all i}. Let ǫ be the empty word and let |w| denote the length of w. Word w′ is a factor of w if there are words u, v with w = uw′v.

  • Example. w’=322 is a factor of w = 13213221.

Factor order is the partial order on P∗ where w′ ≤ w iff w′ is a factor of w. Bj¨

  • rner found the M¨
  • bius function of factor order.

Now let (P, ≤P) be a poset.

slide-11
SLIDE 11

Let P be a set and consider the corresponding free monoid P∗ = {w = w1w2 . . . wk : k ≥ 0 and wi ∈ P for all i}. Let ǫ be the empty word and let |w| denote the length of w. Word w′ is a factor of w if there are words u, v with w = uw′v.

  • Example. w’=322 is a factor of w = 13213221.

Factor order is the partial order on P∗ where w′ ≤ w iff w′ is a factor of w. Bj¨

  • rner found the M¨
  • bius function of factor order.

Now let (P, ≤P) be a poset. Generalized factor order on P∗ is: u ≤ w if there is a factor w′ of w with |u| = |w′| and u1 ≤P w′

1, . . . , uk ≤P w′ k where k = |u|.

slide-12
SLIDE 12

Let P be a set and consider the corresponding free monoid P∗ = {w = w1w2 . . . wk : k ≥ 0 and wi ∈ P for all i}. Let ǫ be the empty word and let |w| denote the length of w. Word w′ is a factor of w if there are words u, v with w = uw′v.

  • Example. w’=322 is a factor of w = 13213221.

Factor order is the partial order on P∗ where w′ ≤ w iff w′ is a factor of w. Bj¨

  • rner found the M¨
  • bius function of factor order.

Now let (P, ≤P) be a poset. Generalized factor order on P∗ is: u ≤ w if there is a factor w′ of w with |u| = |w′| and u1 ≤P w′

1, . . . , uk ≤P w′ k where k = |u|.

  • Example. If P is the positive integers then in P∗ we have

324 ≤ 216541.

slide-13
SLIDE 13

Let P be a set and consider the corresponding free monoid P∗ = {w = w1w2 . . . wk : k ≥ 0 and wi ∈ P for all i}. Let ǫ be the empty word and let |w| denote the length of w. Word w′ is a factor of w if there are words u, v with w = uw′v.

  • Example. w’=322 is a factor of w = 13213221.

Factor order is the partial order on P∗ where w′ ≤ w iff w′ is a factor of w. Bj¨

  • rner found the M¨
  • bius function of factor order.

Now let (P, ≤P) be a poset. Generalized factor order on P∗ is: u ≤ w if there is a factor w′ of w with |u| = |w′| and u1 ≤P w′

1, . . . , uk ≤P w′ k where k = |u|.

  • Example. If P is the positive integers then in P∗ we have

324 ≤ 216541. Note that generalized factor order becomes factor order if P is an antichain.

slide-14
SLIDE 14

Let P be a set and consider the corresponding free monoid P∗ = {w = w1w2 . . . wk : k ≥ 0 and wi ∈ P for all i}. Let ǫ be the empty word and let |w| denote the length of w. Word w′ is a factor of w if there are words u, v with w = uw′v.

  • Example. w’=322 is a factor of w = 13213221.

Factor order is the partial order on P∗ where w′ ≤ w iff w′ is a factor of w. Bj¨

  • rner found the M¨
  • bius function of factor order.

Now let (P, ≤P) be a poset. Generalized factor order on P∗ is: u ≤ w if there is a factor w′ of w with |u| = |w′| and u1 ≤P w′

1, . . . , uk ≤P w′ k where k = |u|.

  • Example. If P is the positive integers then in P∗ we have

324 ≤ 216541. Note that generalized factor order becomes factor order if P is an antichain. If P = P then factor order is an order on compositions.

slide-15
SLIDE 15

Consider the algebra of formal power series with integer coefficients and the elements of P as noncommuting variables: ZP =

  • f =
  • w∈P∗

cww : cw ∈ Z for all w

  • .
slide-16
SLIDE 16

Consider the algebra of formal power series with integer coefficients and the elements of P as noncommuting variables: ZP =

  • f =
  • w∈P∗

cww : cw ∈ Z for all w

  • .

If f ∈ ZP has no constant term, i.e., cǫ = 0, then define f ∗ = ǫ + f + f 2 + f 3 + · · ·

slide-17
SLIDE 17

Consider the algebra of formal power series with integer coefficients and the elements of P as noncommuting variables: ZP =

  • f =
  • w∈P∗

cww : cw ∈ Z for all w

  • .

If f ∈ ZP has no constant term, i.e., cǫ = 0, then define f ∗ = ǫ + f + f 2 + f 3 + · · · = (ǫ − f)−1.

slide-18
SLIDE 18

Consider the algebra of formal power series with integer coefficients and the elements of P as noncommuting variables: ZP =

  • f =
  • w∈P∗

cww : cw ∈ Z for all w

  • .

If f ∈ ZP has no constant term, i.e., cǫ = 0, then define f ∗ = ǫ + f + f 2 + f 3 + · · · = (ǫ − f)−1. Then f is rational if it can be constructed from finitely many elements of P using the algebra and star operations.

slide-19
SLIDE 19

Consider the algebra of formal power series with integer coefficients and the elements of P as noncommuting variables: ZP =

  • f =
  • w∈P∗

cww : cw ∈ Z for all w

  • .

If f ∈ ZP has no constant term, i.e., cǫ = 0, then define f ∗ = ǫ + f + f 2 + f 3 + · · · = (ǫ − f)−1. Then f is rational if it can be constructed from finitely many elements of P using the algebra and star operations. A language is any L ⊆ P∗.

slide-20
SLIDE 20

Consider the algebra of formal power series with integer coefficients and the elements of P as noncommuting variables: ZP =

  • f =
  • w∈P∗

cww : cw ∈ Z for all w

  • .

If f ∈ ZP has no constant term, i.e., cǫ = 0, then define f ∗ = ǫ + f + f 2 + f 3 + · · · = (ǫ − f)−1. Then f is rational if it can be constructed from finitely many elements of P using the algebra and star operations. A language is any L ⊆ P∗. It has an associated generating function fL =

w∈L w.

slide-21
SLIDE 21

Consider the algebra of formal power series with integer coefficients and the elements of P as noncommuting variables: ZP =

  • f =
  • w∈P∗

cww : cw ∈ Z for all w

  • .

If f ∈ ZP has no constant term, i.e., cǫ = 0, then define f ∗ = ǫ + f + f 2 + f 3 + · · · = (ǫ − f)−1. Then f is rational if it can be constructed from finitely many elements of P using the algebra and star operations. A language is any L ⊆ P∗. It has an associated generating function fL =

w∈L w. The language L is regular if P is finite

and fL is rational.

slide-22
SLIDE 22

Consider the algebra of formal power series with integer coefficients and the elements of P as noncommuting variables: ZP =

  • f =
  • w∈P∗

cww : cw ∈ Z for all w

  • .

If f ∈ ZP has no constant term, i.e., cǫ = 0, then define f ∗ = ǫ + f + f 2 + f 3 + · · · = (ǫ − f)−1. Then f is rational if it can be constructed from finitely many elements of P using the algebra and star operations. A language is any L ⊆ P∗. It has an associated generating function fL =

w∈L w. The language L is regular if P is finite

and fL is rational. Associated with u ∈ P∗ is F(u) = {w : w ≥ u} and F(u) =

  • w≥u

w.

slide-23
SLIDE 23

Consider the algebra of formal power series with integer coefficients and the elements of P as noncommuting variables: ZP =

  • f =
  • w∈P∗

cww : cw ∈ Z for all w

  • .

If f ∈ ZP has no constant term, i.e., cǫ = 0, then define f ∗ = ǫ + f + f 2 + f 3 + · · · = (ǫ − f)−1. Then f is rational if it can be constructed from finitely many elements of P using the algebra and star operations. A language is any L ⊆ P∗. It has an associated generating function fL =

w∈L w. The language L is regular if P is finite

and fL is rational. Associated with u ∈ P∗ is F(u) = {w : w ≥ u} and F(u) =

  • w≥u

w.

Theorem

If P is a finite poset and u ∈ P∗ then F(u) is rational.

slide-24
SLIDE 24

Outline

slide-25
SLIDE 25

A nondeterministic finite automaton (NFA) over P is a digraph ∆ with vertices V and arcs E such that

  • 1. the elements of V are called states and |V| is finite,
slide-26
SLIDE 26

A nondeterministic finite automaton (NFA) over P is a digraph ∆ with vertices V and arcs E such that

  • 1. the elements of V are called states and |V| is finite,
  • 2. there is an initial state α and a set Ω of final states,
slide-27
SLIDE 27

A nondeterministic finite automaton (NFA) over P is a digraph ∆ with vertices V and arcs E such that

  • 1. the elements of V are called states and |V| is finite,
  • 2. there is an initial state α and a set Ω of final states,
  • 3. each arc of

E is labeled with an element of P.

slide-28
SLIDE 28

A nondeterministic finite automaton (NFA) over P is a digraph ∆ with vertices V and arcs E such that

  • 1. the elements of V are called states and |V| is finite,
  • 2. there is an initial state α and a set Ω of final states,
  • 3. each arc of

E is labeled with an element of P. Given a (directed) path in ∆ starting at α we construct a word in P∗ by concatenating the elements on the arcs along the path in the order in which they are encountered.

slide-29
SLIDE 29

A nondeterministic finite automaton (NFA) over P is a digraph ∆ with vertices V and arcs E such that

  • 1. the elements of V are called states and |V| is finite,
  • 2. there is an initial state α and a set Ω of final states,
  • 3. each arc of

E is labeled with an element of P. Given a (directed) path in ∆ starting at α we construct a word in P∗ by concatenating the elements on the arcs along the path in the order in which they are encountered. The language accepted by ∆, L(∆), is the set of all such words which are associated with a path ending in a final state.

slide-30
SLIDE 30

A nondeterministic finite automaton (NFA) over P is a digraph ∆ with vertices V and arcs E such that

  • 1. the elements of V are called states and |V| is finite,
  • 2. there is an initial state α and a set Ω of final states,
  • 3. each arc of

E is labeled with an element of P. Given a (directed) path in ∆ starting at α we construct a word in P∗ by concatenating the elements on the arcs along the path in the order in which they are encountered. The language accepted by ∆, L(∆), is the set of all such words which are associated with a path ending in a final state.

Theorem

Suppose |P| is finite. Then a language L ⊆ P∗ is regular iff L = L(∆) for some NFA ∆.

slide-31
SLIDE 31

A NFA ∆(u) for F(u), u ∈ P∗.

slide-32
SLIDE 32

A NFA ∆(u) for F(u), u ∈ P∗. The states of ∆(u) are labeled 0, 1, . . . , k = |u|.

slide-33
SLIDE 33

A NFA ∆(u) for F(u), u ∈ P∗. The states of ∆(u) are labeled 0, 1, . . . , k = |u|. The initial state is α = 0 and the final state is ω = k.

slide-34
SLIDE 34

A NFA ∆(u) for F(u), u ∈ P∗. The states of ∆(u) are labeled 0, 1, . . . , k = |u|. The initial state is α = 0 and the final state is ω = k. There are loops at 0 and k for every a ∈ P.

slide-35
SLIDE 35

A NFA ∆(u) for F(u), u ∈ P∗. The states of ∆(u) are labeled 0, 1, . . . , k = |u|. The initial state is α = 0 and the final state is ω = k. There are loops at 0 and k for every a ∈ P. The only other arcs are from state i − 1 to state i, 1 ≤ i ≤ k, and are labeled by the a ∈ P such that a ≥ ui.

slide-36
SLIDE 36

A NFA ∆(u) for F(u), u ∈ P∗. The states of ∆(u) are labeled 0, 1, . . . , k = |u|. The initial state is α = 0 and the final state is ω = k. There are loops at 0 and k for every a ∈ P. The only other arcs are from state i − 1 to state i, 1 ≤ i ≤ k, and are labeled by the a ∈ P such that a ≥ ui. It is easy to check that this NFA accepts F(u).

slide-37
SLIDE 37

A NFA ∆(u) for F(u), u ∈ P∗. The states of ∆(u) are labeled 0, 1, . . . , k = |u|. The initial state is α = 0 and the final state is ω = k. There are loops at 0 and k for every a ∈ P. The only other arcs are from state i − 1 to state i, 1 ≤ i ≤ k, and are labeled by the a ∈ P such that a ≥ ui. It is easy to check that this NFA accepts F(u).

  • Example. Consider P = P and u = 745.
slide-38
SLIDE 38

A NFA ∆(u) for F(u), u ∈ P∗. The states of ∆(u) are labeled 0, 1, . . . , k = |u|. The initial state is α = 0 and the final state is ω = k. There are loops at 0 and k for every a ∈ P. The only other arcs are from state i − 1 to state i, 1 ≤ i ≤ k, and are labeled by the a ∈ P such that a ≥ ui. It is easy to check that this NFA accepts F(u).

  • Example. Consider P = P and u = 745. A set of labeled arcs

from one node to another will be displayed as a single arc labeled with the set of all such labels.

slide-39
SLIDE 39

A NFA ∆(u) for F(u), u ∈ P∗. The states of ∆(u) are labeled 0, 1, . . . , k = |u|. The initial state is α = 0 and the final state is ω = k. There are loops at 0 and k for every a ∈ P. The only other arcs are from state i − 1 to state i, 1 ≤ i ≤ k, and are labeled by the a ∈ P such that a ≥ ui. It is easy to check that this NFA accepts F(u).

  • Example. Consider P = P and u = 745. A set of labeled arcs

from one node to another will be displayed as a single arc labeled with the set of all such labels. Let [m, ∞) = {n ∈ Z : n ≥ m}.

slide-40
SLIDE 40

A NFA ∆(u) for F(u), u ∈ P∗. The states of ∆(u) are labeled 0, 1, . . . , k = |u|. The initial state is α = 0 and the final state is ω = k. There are loops at 0 and k for every a ∈ P. The only other arcs are from state i − 1 to state i, 1 ≤ i ≤ k, and are labeled by the a ∈ P such that a ≥ ui. It is easy to check that this NFA accepts F(u).

  • Example. Consider P = P and u = 745. A set of labeled arcs

from one node to another will be displayed as a single arc labeled with the set of all such labels. Let [m, ∞) = {n ∈ Z : n ≥ m}.

✓ ✒

[1, ∞) α

✒✑ ✓✏ ✲

[7, ∞)

✒✑ ✓✏

1

[4, ∞)

✒✑ ✓✏

2

[5, ∞)

✒✑ ✓✏

3 ω

✏ ✑ ❅ ■

  • [1, ∞)
slide-41
SLIDE 41

A NFA ∆(u) for F(u), u ∈ P∗. The states of ∆(u) are labeled 0, 1, . . . , k = |u|. The initial state is α = 0 and the final state is ω = k. There are loops at 0 and k for every a ∈ P. The only other arcs are from state i − 1 to state i, 1 ≤ i ≤ k, and are labeled by the a ∈ P such that a ≥ ui. It is easy to check that this NFA accepts F(u).

  • Example. Consider P = P and u = 745. A set of labeled arcs

from one node to another will be displayed as a single arc labeled with the set of all such labels. Let [m, ∞) = {n ∈ Z : n ≥ m}.

✓ ✒

[1, ∞) α

✒✑ ✓✏ ✲

[7, ∞)

✒✑ ✓✏

1

[4, ∞)

✒✑ ✓✏

2

[5, ∞)

✒✑ ✓✏

3 ω

✏ ✑ ❅ ■

  • [1, ∞)

So 745 ≤ 968864 corresponding to the NFA path 0906081 8263 43.

slide-42
SLIDE 42

Outline

slide-43
SLIDE 43

If P = P and u ∈ P∗ then one can define the following generating function which is a specialization of F(u): F(u; t, x) =

  • w≥u

t|u|x

P

i wi.

slide-44
SLIDE 44

If P = P and u ∈ P∗ then one can define the following generating function which is a specialization of F(u): F(u; t, x) =

  • w≥u

t|u|x

P

i wi.

Even though P is not finite, one can use NFAs and the transfer matrix method to prove the following.

Theorem

For all u ∈ P∗ we have F(u; t, x) is rational.

slide-45
SLIDE 45

If P = P and u ∈ P∗ then one can define the following generating function which is a specialization of F(u): F(u; t, x) =

  • w≥u

t|u|x

P

i wi.

Even though P is not finite, one can use NFAs and the transfer matrix method to prove the following.

Theorem

For all u ∈ P∗ we have F(u; t, x) is rational. Call words u, v Wilf equivalent, u ∼ v, if F(u; t, x) = F(v; t, x).

slide-46
SLIDE 46

If P = P and u ∈ P∗ then one can define the following generating function which is a specialization of F(u): F(u; t, x) =

  • w≥u

t|u|x

P

i wi.

Even though P is not finite, one can use NFAs and the transfer matrix method to prove the following.

Theorem

For all u ∈ P∗ we have F(u; t, x) is rational. Call words u, v Wilf equivalent, u ∼ v, if F(u; t, x) = F(v; t, x). If u = u1u2 . . . uk then let ur = uk . . . u2u1 and u+ = (u1 + 1)(u2 + 1) . . . (uk + 1).

slide-47
SLIDE 47

If P = P and u ∈ P∗ then one can define the following generating function which is a specialization of F(u): F(u; t, x) =

  • w≥u

t|u|x

P

i wi.

Even though P is not finite, one can use NFAs and the transfer matrix method to prove the following.

Theorem

For all u ∈ P∗ we have F(u; t, x) is rational. Call words u, v Wilf equivalent, u ∼ v, if F(u; t, x) = F(v; t, x). If u = u1u2 . . . uk then let ur = uk . . . u2u1 and u+ = (u1 + 1)(u2 + 1) . . . (uk + 1).

Theorem

We have the following Wilf equivalences. (a) u ∼ ur,

slide-48
SLIDE 48

If P = P and u ∈ P∗ then one can define the following generating function which is a specialization of F(u): F(u; t, x) =

  • w≥u

t|u|x

P

i wi.

Even though P is not finite, one can use NFAs and the transfer matrix method to prove the following.

Theorem

For all u ∈ P∗ we have F(u; t, x) is rational. Call words u, v Wilf equivalent, u ∼ v, if F(u; t, x) = F(v; t, x). If u = u1u2 . . . uk then let ur = uk . . . u2u1 and u+ = (u1 + 1)(u2 + 1) . . . (uk + 1).

Theorem

We have the following Wilf equivalences. (a) u ∼ ur, (b) if u ∼ v then u+ ∼ v+.

slide-49
SLIDE 49

If P = P and u ∈ P∗ then one can define the following generating function which is a specialization of F(u): F(u; t, x) =

  • w≥u

t|u|x

P

i wi.

Even though P is not finite, one can use NFAs and the transfer matrix method to prove the following.

Theorem

For all u ∈ P∗ we have F(u; t, x) is rational. Call words u, v Wilf equivalent, u ∼ v, if F(u; t, x) = F(v; t, x). If u = u1u2 . . . uk then let ur = uk . . . u2u1 and u+ = (u1 + 1)(u2 + 1) . . . (uk + 1).

Theorem

We have the following Wilf equivalences. (a) u ∼ ur, (b) if u ∼ v then u+ ∼ v+. (c) if u ∼ v then 1u ∼ 1v,

slide-50
SLIDE 50

Theorem

We have the following Wilf equivalences. (a) u ∼ ur, (b) if u ∼ v then u+ ∼ v+. (c) if u ∼ v then 1u ∼ 1v,

slide-51
SLIDE 51

Theorem

We have the following Wilf equivalences. (a) u ∼ ur, (b) if u ∼ v then u+ ∼ v+. (c) if u ∼ v then 1u ∼ 1v,

  • Example. Find the Wilf equivalences for permutations of n ≤ 3.
slide-52
SLIDE 52

Theorem

We have the following Wilf equivalences. (a) u ∼ ur, (b) if u ∼ v then u+ ∼ v+. (c) if u ∼ v then 1u ∼ 1v,

  • Example. Find the Wilf equivalences for permutations of n ≤ 3.

n = 2: 12 ∼ 21 by (a).

slide-53
SLIDE 53

Theorem

We have the following Wilf equivalences. (a) u ∼ ur, (b) if u ∼ v then u+ ∼ v+. (c) if u ∼ v then 1u ∼ 1v,

  • Example. Find the Wilf equivalences for permutations of n ≤ 3.

n = 2: 12 ∼ 21 by (a). n = 3: 12 ∼ 21 = ⇒ 23 ∼ 32 by (b)

slide-54
SLIDE 54

Theorem

We have the following Wilf equivalences. (a) u ∼ ur, (b) if u ∼ v then u+ ∼ v+. (c) if u ∼ v then 1u ∼ 1v,

  • Example. Find the Wilf equivalences for permutations of n ≤ 3.

n = 2: 12 ∼ 21 by (a). n = 3: 12 ∼ 21 = ⇒ 23 ∼ 32 by (b) = ⇒ 123 ∼ 132 by (c).

slide-55
SLIDE 55

Theorem

We have the following Wilf equivalences. (a) u ∼ ur, (b) if u ∼ v then u+ ∼ v+. (c) if u ∼ v then 1u ∼ 1v,

  • Example. Find the Wilf equivalences for permutations of n ≤ 3.

n = 2: 12 ∼ 21 by (a). n = 3: 12 ∼ 21 = ⇒ 23 ∼ 32 by (b) = ⇒ 123 ∼ 132 by (c). So by (a) again: 123 ∼ 132 ∼ 321 ∼ 231.

slide-56
SLIDE 56

Theorem

We have the following Wilf equivalences. (a) u ∼ ur, (b) if u ∼ v then u+ ∼ v+. (c) if u ∼ v then 1u ∼ 1v,

  • Example. Find the Wilf equivalences for permutations of n ≤ 3.

n = 2: 12 ∼ 21 by (a). n = 3: 12 ∼ 21 = ⇒ 23 ∼ 32 by (b) = ⇒ 123 ∼ 132 by (c). So by (a) again: 123 ∼ 132 ∼ 321 ∼ 231. Also 213 ∼ 312 by (a).

slide-57
SLIDE 57

Theorem

We have the following Wilf equivalences. (a) u ∼ ur, (b) if u ∼ v then u+ ∼ v+. (c) if u ∼ v then 1u ∼ 1v,

  • Example. Find the Wilf equivalences for permutations of n ≤ 3.

n = 2: 12 ∼ 21 by (a). n = 3: 12 ∼ 21 = ⇒ 23 ∼ 32 by (b) = ⇒ 123 ∼ 132 by (c). So by (a) again: 123 ∼ 132 ∼ 321 ∼ 231. Also 213 ∼ 312 by (a). There are no more Wilf equivalences since F(123; t, x) = t3x6(1 − x + tx) (1 − x)3(1 − x − tx + tx3 − t2x4) while F(213; t, x) = t3x6(1 − x + tx)(1 + tx3) (1 − x)2(1 − x + t2x4)(1 − x − tx + tx3 − t2x4).

slide-58
SLIDE 58

Outline

slide-59
SLIDE 59

In generalized factor order F(u) =

w≥u w = w∈P∗ ζ(u, w)w

where ζ is the zeta function of P∗.

slide-60
SLIDE 60

In generalized factor order F(u) =

w≥u w = w∈P∗ ζ(u, w)w

where ζ is the zeta function of P∗. If P∗ is locally finite we can also consider the language associated with the M¨

  • bius function

M(u) = {w ∈ P∗ : µ(u, w) = 0}.

slide-61
SLIDE 61

In generalized factor order F(u) =

w≥u w = w∈P∗ ζ(u, w)w

where ζ is the zeta function of P∗. If P∗ is locally finite we can also consider the language associated with the M¨

  • bius function

M(u) = {w ∈ P∗ : µ(u, w) = 0}. In ordinary factor order, the dominant outer factor of w, o(w), is the longest word other than w which is both a prefix and a suffix of w.

slide-62
SLIDE 62

In generalized factor order F(u) =

w≥u w = w∈P∗ ζ(u, w)w

where ζ is the zeta function of P∗. If P∗ is locally finite we can also consider the language associated with the M¨

  • bius function

M(u) = {w ∈ P∗ : µ(u, w) = 0}. In ordinary factor order, the dominant outer factor of w, o(w), is the longest word other than w which is both a prefix and a suffix of w. The dominant inner factor of w = w1w2 . . . wk is i(w) = w2 . . . wk−1.

slide-63
SLIDE 63

In generalized factor order F(u) =

w≥u w = w∈P∗ ζ(u, w)w

where ζ is the zeta function of P∗. If P∗ is locally finite we can also consider the language associated with the M¨

  • bius function

M(u) = {w ∈ P∗ : µ(u, w) = 0}. In ordinary factor order, the dominant outer factor of w, o(w), is the longest word other than w which is both a prefix and a suffix of w. The dominant inner factor of w = w1w2 . . . wk is i(w) = w2 . . . wk−1. A word is flat if all its elements are equal.

slide-64
SLIDE 64

In generalized factor order F(u) =

w≥u w = w∈P∗ ζ(u, w)w

where ζ is the zeta function of P∗. If P∗ is locally finite we can also consider the language associated with the M¨

  • bius function

M(u) = {w ∈ P∗ : µ(u, w) = 0}. In ordinary factor order, the dominant outer factor of w, o(w), is the longest word other than w which is both a prefix and a suffix of w. The dominant inner factor of w = w1w2 . . . wk is i(w) = w2 . . . wk−1. A word is flat if all its elements are equal.

  • Example. w = abbaabb has o(w) = abb and i(w) = bbaab.
slide-65
SLIDE 65

In generalized factor order F(u) =

w≥u w = w∈P∗ ζ(u, w)w

where ζ is the zeta function of P∗. If P∗ is locally finite we can also consider the language associated with the M¨

  • bius function

M(u) = {w ∈ P∗ : µ(u, w) = 0}. In ordinary factor order, the dominant outer factor of w, o(w), is the longest word other than w which is both a prefix and a suffix of w. The dominant inner factor of w = w1w2 . . . wk is i(w) = w2 . . . wk−1. A word is flat if all its elements are equal.

  • Example. w = abbaabb has o(w) = abb and i(w) = bbaab.

Theorem (Bj¨

  • rner)

In ordinary factor order, if u ≤ w then µ(u, w) equals

slide-66
SLIDE 66

In generalized factor order F(u) =

w≥u w = w∈P∗ ζ(u, w)w

where ζ is the zeta function of P∗. If P∗ is locally finite we can also consider the language associated with the M¨

  • bius function

M(u) = {w ∈ P∗ : µ(u, w) = 0}. In ordinary factor order, the dominant outer factor of w, o(w), is the longest word other than w which is both a prefix and a suffix of w. The dominant inner factor of w = w1w2 . . . wk is i(w) = w2 . . . wk−1. A word is flat if all its elements are equal.

  • Example. w = abbaabb has o(w) = abb and i(w) = bbaab.

Theorem (Bj¨

  • rner)

In ordinary factor order, if u ≤ w then µ(u, w) equals (1) µ(u, o(w)) if |w| − |u| > 2 and u ≤ o(w) ≤ i(w),

slide-67
SLIDE 67

In generalized factor order F(u) =

w≥u w = w∈P∗ ζ(u, w)w

where ζ is the zeta function of P∗. If P∗ is locally finite we can also consider the language associated with the M¨

  • bius function

M(u) = {w ∈ P∗ : µ(u, w) = 0}. In ordinary factor order, the dominant outer factor of w, o(w), is the longest word other than w which is both a prefix and a suffix of w. The dominant inner factor of w = w1w2 . . . wk is i(w) = w2 . . . wk−1. A word is flat if all its elements are equal.

  • Example. w = abbaabb has o(w) = abb and i(w) = bbaab.

Theorem (Bj¨

  • rner)

In ordinary factor order, if u ≤ w then µ(u, w) equals (1) µ(u, o(w)) if |w| − |u| > 2 and u ≤ o(w) ≤ i(w), (2) 1 if |w| − |u| = 2, w not flat, and u ∈ {i(w), o(w)},

slide-68
SLIDE 68

In generalized factor order F(u) =

w≥u w = w∈P∗ ζ(u, w)w

where ζ is the zeta function of P∗. If P∗ is locally finite we can also consider the language associated with the M¨

  • bius function

M(u) = {w ∈ P∗ : µ(u, w) = 0}. In ordinary factor order, the dominant outer factor of w, o(w), is the longest word other than w which is both a prefix and a suffix of w. The dominant inner factor of w = w1w2 . . . wk is i(w) = w2 . . . wk−1. A word is flat if all its elements are equal.

  • Example. w = abbaabb has o(w) = abb and i(w) = bbaab.

Theorem (Bj¨

  • rner)

In ordinary factor order, if u ≤ w then µ(u, w) equals (1) µ(u, o(w)) if |w| − |u| > 2 and u ≤ o(w) ≤ i(w), (2) 1 if |w| − |u| = 2, w not flat, and u ∈ {i(w), o(w)}, (3) (−1)|w|−|u| if |w| − |u| < 2,

slide-69
SLIDE 69

In generalized factor order F(u) =

w≥u w = w∈P∗ ζ(u, w)w

where ζ is the zeta function of P∗. If P∗ is locally finite we can also consider the language associated with the M¨

  • bius function

M(u) = {w ∈ P∗ : µ(u, w) = 0}. In ordinary factor order, the dominant outer factor of w, o(w), is the longest word other than w which is both a prefix and a suffix of w. The dominant inner factor of w = w1w2 . . . wk is i(w) = w2 . . . wk−1. A word is flat if all its elements are equal.

  • Example. w = abbaabb has o(w) = abb and i(w) = bbaab.

Theorem (Bj¨

  • rner)

In ordinary factor order, if u ≤ w then µ(u, w) equals (1) µ(u, o(w)) if |w| − |u| > 2 and u ≤ o(w) ≤ i(w), (2) 1 if |w| − |u| = 2, w not flat, and u ∈ {i(w), o(w)}, (3) (−1)|w|−|u| if |w| − |u| < 2, (4) 0

  • therwise.
slide-70
SLIDE 70

In generalized factor order F(u) =

w≥u w = w∈P∗ ζ(u, w)w

where ζ is the zeta function of P∗. If P∗ is locally finite we can also consider the language associated with the M¨

  • bius function

M(u) = {w ∈ P∗ : µ(u, w) = 0}. In ordinary factor order, the dominant outer factor of w, o(w), is the longest word other than w which is both a prefix and a suffix of w. The dominant inner factor of w = w1w2 . . . wk is i(w) = w2 . . . wk−1. A word is flat if all its elements are equal.

  • Example. w = abbaabb has o(w) = abb and i(w) = bbaab.

Theorem (Bj¨

  • rner)

In ordinary factor order, if u ≤ w then µ(u, w) equals (1) µ(u, o(w)) if |w| − |u| > 2 and u ≤ o(w) ≤ i(w), (2) 1 if |w| − |u| = 2, w not flat, and u ∈ {i(w), o(w)}, (3) (−1)|w|−|u| if |w| − |u| < 2, (4) 0

  • therwise.
  • Example. µ(b, abbaabb)
slide-71
SLIDE 71

In generalized factor order F(u) =

w≥u w = w∈P∗ ζ(u, w)w

where ζ is the zeta function of P∗. If P∗ is locally finite we can also consider the language associated with the M¨

  • bius function

M(u) = {w ∈ P∗ : µ(u, w) = 0}. In ordinary factor order, the dominant outer factor of w, o(w), is the longest word other than w which is both a prefix and a suffix of w. The dominant inner factor of w = w1w2 . . . wk is i(w) = w2 . . . wk−1. A word is flat if all its elements are equal.

  • Example. w = abbaabb has o(w) = abb and i(w) = bbaab.

Theorem (Bj¨

  • rner)

In ordinary factor order, if u ≤ w then µ(u, w) equals (1) µ(u, o(w)) if |w| − |u| > 2 and u ≤ o(w) ≤ i(w), (2) 1 if |w| − |u| = 2, w not flat, and u ∈ {i(w), o(w)}, (3) (−1)|w|−|u| if |w| − |u| < 2, (4) 0

  • therwise.
  • Example. µ(b, abbaabb)

(1)

= µ(b, abb)

slide-72
SLIDE 72

In generalized factor order F(u) =

w≥u w = w∈P∗ ζ(u, w)w

where ζ is the zeta function of P∗. If P∗ is locally finite we can also consider the language associated with the M¨

  • bius function

M(u) = {w ∈ P∗ : µ(u, w) = 0}. In ordinary factor order, the dominant outer factor of w, o(w), is the longest word other than w which is both a prefix and a suffix of w. The dominant inner factor of w = w1w2 . . . wk is i(w) = w2 . . . wk−1. A word is flat if all its elements are equal.

  • Example. w = abbaabb has o(w) = abb and i(w) = bbaab.

Theorem (Bj¨

  • rner)

In ordinary factor order, if u ≤ w then µ(u, w) equals (1) µ(u, o(w)) if |w| − |u| > 2 and u ≤ o(w) ≤ i(w), (2) 1 if |w| − |u| = 2, w not flat, and u ∈ {i(w), o(w)}, (3) (−1)|w|−|u| if |w| − |u| < 2, (4) 0

  • therwise.
  • Example. µ(b, abbaabb)

(1)

= µ(b, abb)

(2)

= 1.

slide-73
SLIDE 73

Lemma (Pumping Lemma)

Let L be a regular language.

slide-74
SLIDE 74

Lemma (Pumping Lemma)

Let L be a regular language. Then there is a constant n ≥ 1 such that any z ∈ L can be written as z = uvw satisfying

  • 1. |uv| ≤ n and |v| ≥ 1,
slide-75
SLIDE 75

Lemma (Pumping Lemma)

Let L be a regular language. Then there is a constant n ≥ 1 such that any z ∈ L can be written as z = uvw satisfying

  • 1. |uv| ≤ n and |v| ≥ 1,
  • 2. uviw ∈ L for all i ≥ 1.
slide-76
SLIDE 76

Lemma (Pumping Lemma)

Let L be a regular language. Then there is a constant n ≥ 1 such that any z ∈ L can be written as z = uvw satisfying

  • 1. |uv| ≤ n and |v| ≥ 1,
  • 2. uviw ∈ L for all i ≥ 1.

Theorem

In ordinary factor order with P = {a, b}, M(a) is not regular.

slide-77
SLIDE 77

Lemma (Pumping Lemma)

Let L be a regular language. Then there is a constant n ≥ 1 such that any z ∈ L can be written as z = uvw satisfying

  • 1. |uv| ≤ n and |v| ≥ 1,
  • 2. uviw ∈ L for all i ≥ 1.

Theorem

In ordinary factor order with P = {a, b}, M(a) is not regular. Proof By contradiction: let n be the Pumping Lemma constant.

slide-78
SLIDE 78

Lemma (Pumping Lemma)

Let L be a regular language. Then there is a constant n ≥ 1 such that any z ∈ L can be written as z = uvw satisfying

  • 1. |uv| ≤ n and |v| ≥ 1,
  • 2. uviw ∈ L for all i ≥ 1.

Theorem

In ordinary factor order with P = {a, b}, M(a) is not regular. Proof By contradiction: let n be the Pumping Lemma constant. Choose z = abnabna.

slide-79
SLIDE 79

Lemma (Pumping Lemma)

Let L be a regular language. Then there is a constant n ≥ 1 such that any z ∈ L can be written as z = uvw satisfying

  • 1. |uv| ≤ n and |v| ≥ 1,
  • 2. uviw ∈ L for all i ≥ 1.

Theorem

In ordinary factor order with P = {a, b}, M(a) is not regular. Proof By contradiction: let n be the Pumping Lemma constant. Choose z = abnabna. Then z ∈ M(a):

slide-80
SLIDE 80

Lemma (Pumping Lemma)

Let L be a regular language. Then there is a constant n ≥ 1 such that any z ∈ L can be written as z = uvw satisfying

  • 1. |uv| ≤ n and |v| ≥ 1,
  • 2. uviw ∈ L for all i ≥ 1.

Theorem

In ordinary factor order with P = {a, b}, M(a) is not regular. Proof By contradiction: let n be the Pumping Lemma constant. Choose z = abnabna. Then z ∈ M(a): o(z) = abna and i(z) = bnabn giving a ≤ o(z) ≤ i(z).

slide-81
SLIDE 81

Lemma (Pumping Lemma)

Let L be a regular language. Then there is a constant n ≥ 1 such that any z ∈ L can be written as z = uvw satisfying

  • 1. |uv| ≤ n and |v| ≥ 1,
  • 2. uviw ∈ L for all i ≥ 1.

Theorem

In ordinary factor order with P = {a, b}, M(a) is not regular. Proof By contradiction: let n be the Pumping Lemma constant. Choose z = abnabna. Then z ∈ M(a): o(z) = abna and i(z) = bnabn giving a ≤ o(z) ≤ i(z). So µ(a, abnabna) = µ(a, abna)

slide-82
SLIDE 82

Lemma (Pumping Lemma)

Let L be a regular language. Then there is a constant n ≥ 1 such that any z ∈ L can be written as z = uvw satisfying

  • 1. |uv| ≤ n and |v| ≥ 1,
  • 2. uviw ∈ L for all i ≥ 1.

Theorem

In ordinary factor order with P = {a, b}, M(a) is not regular. Proof By contradiction: let n be the Pumping Lemma constant. Choose z = abnabna. Then z ∈ M(a): o(z) = abna and i(z) = bnabn giving a ≤ o(z) ≤ i(z). So µ(a, abnabna) = µ(a, abna) = µ(a, a)

slide-83
SLIDE 83

Lemma (Pumping Lemma)

Let L be a regular language. Then there is a constant n ≥ 1 such that any z ∈ L can be written as z = uvw satisfying

  • 1. |uv| ≤ n and |v| ≥ 1,
  • 2. uviw ∈ L for all i ≥ 1.

Theorem

In ordinary factor order with P = {a, b}, M(a) is not regular. Proof By contradiction: let n be the Pumping Lemma constant. Choose z = abnabna. Then z ∈ M(a): o(z) = abna and i(z) = bnabn giving a ≤ o(z) ≤ i(z). So µ(a, abnabna) = µ(a, abna) = µ(a, a) = 1.

slide-84
SLIDE 84

Lemma (Pumping Lemma)

Let L be a regular language. Then there is a constant n ≥ 1 such that any z ∈ L can be written as z = uvw satisfying

  • 1. |uv| ≤ n and |v| ≥ 1,
  • 2. uviw ∈ L for all i ≥ 1.

Theorem

In ordinary factor order with P = {a, b}, M(a) is not regular. Proof By contradiction: let n be the Pumping Lemma constant. Choose z = abnabna. Then z ∈ M(a): o(z) = abna and i(z) = bnabn giving a ≤ o(z) ≤ i(z). So µ(a, abnabna) = µ(a, abna) = µ(a, a) = 1. Now pick any prefix uv of z as in the Pumping Lemma.

slide-85
SLIDE 85

Lemma (Pumping Lemma)

Let L be a regular language. Then there is a constant n ≥ 1 such that any z ∈ L can be written as z = uvw satisfying

  • 1. |uv| ≤ n and |v| ≥ 1,
  • 2. uviw ∈ L for all i ≥ 1.

Theorem

In ordinary factor order with P = {a, b}, M(a) is not regular. Proof By contradiction: let n be the Pumping Lemma constant. Choose z = abnabna. Then z ∈ M(a): o(z) = abna and i(z) = bnabn giving a ≤ o(z) ≤ i(z). So µ(a, abnabna) = µ(a, abna) = µ(a, a) = 1. Now pick any prefix uv of z as in the Pumping Lemma. Suppose u = ǫ (u = ǫ is similar).

slide-86
SLIDE 86

Lemma (Pumping Lemma)

Let L be a regular language. Then there is a constant n ≥ 1 such that any z ∈ L can be written as z = uvw satisfying

  • 1. |uv| ≤ n and |v| ≥ 1,
  • 2. uviw ∈ L for all i ≥ 1.

Theorem

In ordinary factor order with P = {a, b}, M(a) is not regular. Proof By contradiction: let n be the Pumping Lemma constant. Choose z = abnabna. Then z ∈ M(a): o(z) = abna and i(z) = bnabn giving a ≤ o(z) ≤ i(z). So µ(a, abnabna) = µ(a, abna) = µ(a, a) = 1. Now pick any prefix uv of z as in the Pumping Lemma. Suppose u = ǫ (u = ǫ is similar). So v = bj for some j with 1 ≤ j < n.

slide-87
SLIDE 87

Lemma (Pumping Lemma)

Let L be a regular language. Then there is a constant n ≥ 1 such that any z ∈ L can be written as z = uvw satisfying

  • 1. |uv| ≤ n and |v| ≥ 1,
  • 2. uviw ∈ L for all i ≥ 1.

Theorem

In ordinary factor order with P = {a, b}, M(a) is not regular. Proof By contradiction: let n be the Pumping Lemma constant. Choose z = abnabna. Then z ∈ M(a): o(z) = abna and i(z) = bnabn giving a ≤ o(z) ≤ i(z). So µ(a, abnabna) = µ(a, abna) = µ(a, a) = 1. Now pick any prefix uv of z as in the Pumping Lemma. Suppose u = ǫ (u = ǫ is similar). So v = bj for some j with 1 ≤ j < n. Let i = 2 with corresponding z′ = uv2w = abn+jabna.

slide-88
SLIDE 88

Lemma (Pumping Lemma)

Let L be a regular language. Then there is a constant n ≥ 1 such that any z ∈ L can be written as z = uvw satisfying

  • 1. |uv| ≤ n and |v| ≥ 1,
  • 2. uviw ∈ L for all i ≥ 1.

Theorem

In ordinary factor order with P = {a, b}, M(a) is not regular. Proof By contradiction: let n be the Pumping Lemma constant. Choose z = abnabna. Then z ∈ M(a): o(z) = abna and i(z) = bnabn giving a ≤ o(z) ≤ i(z). So µ(a, abnabna) = µ(a, abna) = µ(a, a) = 1. Now pick any prefix uv of z as in the Pumping Lemma. Suppose u = ǫ (u = ǫ is similar). So v = bj for some j with 1 ≤ j < n. Let i = 2 with corresponding z′ = uv2w = abn+jabna. But o(z′) = a and i(z′) = bn+jabn.

slide-89
SLIDE 89

Lemma (Pumping Lemma)

Let L be a regular language. Then there is a constant n ≥ 1 such that any z ∈ L can be written as z = uvw satisfying

  • 1. |uv| ≤ n and |v| ≥ 1,
  • 2. uviw ∈ L for all i ≥ 1.

Theorem

In ordinary factor order with P = {a, b}, M(a) is not regular. Proof By contradiction: let n be the Pumping Lemma constant. Choose z = abnabna. Then z ∈ M(a): o(z) = abna and i(z) = bnabn giving a ≤ o(z) ≤ i(z). So µ(a, abnabna) = µ(a, abna) = µ(a, a) = 1. Now pick any prefix uv of z as in the Pumping Lemma. Suppose u = ǫ (u = ǫ is similar). So v = bj for some j with 1 ≤ j < n. Let i = 2 with corresponding z′ = uv2w = abn+jabna. But o(z′) = a and i(z′) = bn+jabn. Thus a ≤ o(z′) ≤ i(z′).

slide-90
SLIDE 90

Lemma (Pumping Lemma)

Let L be a regular language. Then there is a constant n ≥ 1 such that any z ∈ L can be written as z = uvw satisfying

  • 1. |uv| ≤ n and |v| ≥ 1,
  • 2. uviw ∈ L for all i ≥ 1.

Theorem

In ordinary factor order with P = {a, b}, M(a) is not regular. Proof By contradiction: let n be the Pumping Lemma constant. Choose z = abnabna. Then z ∈ M(a): o(z) = abna and i(z) = bnabn giving a ≤ o(z) ≤ i(z). So µ(a, abnabna) = µ(a, abna) = µ(a, a) = 1. Now pick any prefix uv of z as in the Pumping Lemma. Suppose u = ǫ (u = ǫ is similar). So v = bj for some j with 1 ≤ j < n. Let i = 2 with corresponding z′ = uv2w = abn+jabna. But o(z′) = a and i(z′) = bn+jabn. Thus a ≤ o(z′) ≤ i(z′). This implies that µ(a, z′) = 0 and hence z′ ∈ M(a), which is a contradiction.

slide-91
SLIDE 91

Outline

slide-92
SLIDE 92
  • 1. In all examples that have been computed, if u ∼ v then v is

a rearrangement of u. Is this always true?

slide-93
SLIDE 93
  • 1. In all examples that have been computed, if u ∼ v then v is

a rearrangement of u. Is this always true?

  • 2. We have seen that M(a) is not regular. Is it context free?
slide-94
SLIDE 94
  • 1. In all examples that have been computed, if u ∼ v then v is

a rearrangement of u. Is this always true?

  • 2. We have seen that M(a) is not regular. Is it context free?
  • 3. What is µ(u, w) in generalized factor order?