Non-linearity in Davenport-Schinzel Sequences Seth Pettie - - PowerPoint PPT Presentation

non linearity in davenport schinzel sequences
SMART_READER_LITE
LIVE PREVIEW

Non-linearity in Davenport-Schinzel Sequences Seth Pettie - - PowerPoint PPT Presentation

Non-linearity in Davenport-Schinzel Sequences Seth Pettie University of Michigan Isomorphism and Subsequences Political Isomorphism BUSH is isomorphic to GO BUSH GORE C is isomorphic to A THOMAS is isomorphic to SOUTER THOMAS ,NSA,DOD is


slide-1
SLIDE 1

Non-linearity in Davenport-Schinzel Sequences

Seth Pettie

University of Michigan

slide-2
SLIDE 2

Seth Pettie

Isomorphism and Subsequences

Political Isomorphism

BUSH BUSH is isomorphic to GO GORE C is isomorphic to A THOMAS THOMAS is isomorphic to SOUTER CI CIA,N ,NSA,DOD is not isomorphic to NSF,EPA,NIH IH

Happiness via Subsequences

WITH_WHOM_WOULD_I_RATHER_HAVE_A_BEER? WITH_WHOM_WOULD_I_RATHER_HAVE_A_BEER? TH TH_WHO I E _ V A BE R TA TARJAN W W O R K S HO P

slide-3
SLIDE 3

Seth Pettie

Isomorphism and Subsequences

Political Isomorphism

BUSH BUSH is isomorphic to GO GORE C is isomorphic to A THOMAS THOMAS is isomorphic to SOUTER CI CIA,N ,NSA,DOD is not isomorphic to NSF,EPA,NIH IH

Happiness via Subsequences

WITH_WHOM_WOULD_I_RATHER_HAVE_A_BEER? WITH_WHOM_WOULD_I_RATHER_HAVE_A_BEER? TH TH_WHO I E _ V A BE R TA TARJAN W W O R K S HO P

slide-4
SLIDE 4

Seth Pettie

Isomorphism and Subsequences

Political Isomorphism

BUSH BUSH is isomorphic to GO GORE C is isomorphic to A THOMAS THOMAS is isomorphic to SOUTER CI CIA,N ,NSA,DOD is not isomorphic to NSF,EPA,NIH IH

Happiness via Subsequences

WITH_WHOM_WOULD_I_RATHER_HAVE_A_BEER? WITH_WHOM_WOULD_I_RATHER_HAVE_A_BEER? TH TH_WHO I E _ V A BE R TA TARJAN W W O R K S HO P

slide-5
SLIDE 5

Seth Pettie

Isomorphism and Subsequences

Political Isomorphism

BUSH BUSH is isomorphic to GO GORE C is isomorphic to A THOMAS THOMAS is isomorphic to SOUTER CI CIA,N ,NSA,DOD is not isomorphic to NSF,EPA,NIH IH

Happiness via Subsequences

WITH_WHOM_WOULD_I_RATHER_HAVE_A_BEER? WITH_WHOM_WOULD_I_RATHER_HAVE_A_BEER? TH TH_WHO I E _ V A BE R TA TARJAN W W O R K S HO P

slide-6
SLIDE 6

Seth Pettie

Isomorphism and Subsequences

Political Isomorphism

BUSH BUSH is isomorphic to GO GORE C is isomorphic to A THOMAS THOMAS is isomorphic to SOUTER CI CIA,N ,NSA,DOD is not isomorphic to NSF,EPA,NIH IH

Happiness via Subsequences

WITH_WHOM_WOULD_I_RATHER_HAVE_A_BEER? WITH_WHOM_WOULD_I_RATHER_HAVE_A_BEER? TH TH_WHO I E _ V A BE R TA TARJAN W W O R K S HO P

slide-7
SLIDE 7

Seth Pettie

Isomorphism and Subsequences

Political Isomorphism

BUSH BUSH is isomorphic to GO GORE C is isomorphic to A THOMAS THOMAS is isomorphic to SOUTER CI CIA,N ,NSA,DOD is not isomorphic to NSF,EPA,NIH IH

Happiness via Subsequences

WITH_WHOM_WOULD_I_RATHER_HAVE_A_BEER? WITH_WHOM_WOULD_I_RATHER_HAVE_A_BEER? TH_WHO O LD_ R_ VE ? TARJAN FOR PR EZ ?

slide-8
SLIDE 8

Seth Pettie

Isomorphism and Subsequences

Political Isomorphism

BUSH BUSH is isomorphic to GO GORE C is isomorphic to A THOMAS THOMAS is isomorphic to SOUTER CI CIA,N ,NSA,DOD is not isomorphic to NSF,EPA,NIH IH

Happiness via Subsequences

WITH_WHOM_WOULD_I_RATHER_HAVE_A_BEER? WITH_WHOM_WOULD_I_RATHER_HAVE_A_BEER? TH_WHO O LD_ R_ VE ? T TARJAN N FO FOR PR EZ ?

slide-9
SLIDE 9

Seth Pettie

Definitions

x⊂y : x is isomorphic to a subsequence of y Ex(σ,n) = max |S| : S ∈ {1,…,n}* σ ⊄ S

S is |σ|-regular (technical condition)

How fast does Ex(σ,n) grow as a function of n?

slide-10
SLIDE 10

Seth Pettie

Original application: lower envelopes

(1) Give each object (line segment, quadratic, etc.) a symbol (2) Map the lower envelope to a sequence |S| (3) Show |S| ≤ Ex(σ,n) for some forbidden subseq. σ this sequence does not contain ababa

slide-11
SLIDE 11

Seth Pettie

Original motivation: lower envelopes

(1) Give each object (line segment, quadratic, etc.) a symbol (2) Map the lower envelope to a sequence |S| (3) Show |S| ≤ Ex(σ,n) for some forbidden subseq. σ standard case: σ = ababab…a “order k Davenport-Schinzel sequence” length k+2

slide-12
SLIDE 12

Seth Pettie

Splay trees and Davenport-Schinzel sequences

Amortized analysis: Normally pay for time consuming ops with a reduction in potential

slide-13
SLIDE 13

Seth Pettie

Splay trees and Davenport-Schinzel sequences

New kind of amortized analysis: Label nodes that cannot be paid for by other means Transcribe the labels as a sequence S: |S| ≤ Ex(σ,n) In [SODA’08] σ = abaabba or abababa

  • Thm. n deque operations take O(nα*(n)) time
slide-14
SLIDE 14

Seth Pettie

Splay trees and Davenport-Schinzel sequences

New kind of amortized analysis: Label nodes that cannot be paid for by other means Transcribe the labels as a sequence S: |S| ≤ Ex(σ,n)

A much better way to end the proof:

… where Ex(σ,n) = O(n)

slide-15
SLIDE 15

Seth Pettie

Standard Davenport-Schinzel seqs.

α = α(n) α is the inverse-Ackermann function

2n-1 Ex(abab, n) n Ex(aba, n)

trivial

slide-16
SLIDE 16

Seth Pettie

Standard Davenport-Schinzel seqs.

α = α(n) α is the inverse-Ackermann function

Θ(nα) Ex(ababa, n) 2n-1 Ex(abab, n) n Ex(aba, n)

trivial Hart-Sharir

slide-17
SLIDE 17

Seth Pettie

Standard Davenport-Schinzel seqs.

α = α(n) α is the inverse-Ackermann function

Θ(n2α) Ex(ababab, n) Θ(nα) Ex(ababa, n) 2n-1 Ex(abab, n) n Ex(aba, n)

trivial Hart-Sharir

Agarwal-Sharir-Shor

slide-18
SLIDE 18

Seth Pettie

Standard Davenport-Schinzel seqs.

α = α(n) α is the inverse-Ackermann function

n exp(Θ(α3)) Ex(ababababab, n) n exp(O(α2log α)) Ex(ababababa, n) n exp(Θ(α2)) Ex(abababab, n) n exp(O(αlog α)) Ex(abababa, n) Θ(n2α) Ex(ababab, n) Θ(nα) Ex(ababa, n) 2n-1 Ex(abab, n) n Ex(aba, n)

trivial Hart-Sharir

Agarwal-Sharir-Shor

slide-19
SLIDE 19

Seth Pettie

Standard Davenport-Schinzel seqs.

α = α(n) α is the inverse-Ackermann function

n exp(O(α|σ|)) Ex(σ, n) n exp(Θ(α3)) Ex(ababababab, n) n exp(O(α2log α)) Ex(ababababa, n) n exp(Θ(α2)) Ex(abababab, n) n exp(O(αlog α)) Ex(abababa, n) Θ(n2α) Ex(ababab, n) Θ(nα) Ex(ababa, n) 2n-1 Ex(abab, n) n Ex(aba, n)

trivial Hart-Sharir

Agarwal-Sharir-Shor

Klazar

slide-20
SLIDE 20

Seth Pettie

Two-Letter Forbidden Subsequences

[Adamec-Klazar-Valtr] Ex(abbaab,n) = O(n)

The Two-Letter Theorem: For any σ ∈ {a,b}* Ex(σ,n) = ω(n) if and only if ababa ⊂ σ

(i.e., there is only one “cause” of superlinearity over two symbols)

slide-21
SLIDE 21

Seth Pettie

The Three-Letter Theorem

[Klazar-Valtr] For σ ∈ {a,b,c}* Ex(σ,n) = O(n)

unless…

ababa ⊂ σ or abcacbc ⊂ σ or abcbcac ⊂ σ

  • r their reversals

non-linear status still open

slide-22
SLIDE 22

Seth Pettie

Recipe for linear forbidden sequences

[Klazar-Valtr] (1) Ex(ai,n) = O(n) (2) If Ex(uaaw,n) = O(n) and Ex(v,n) = O(n) Ex(uavaw,n) = O(n) (3) If Ex(uaawa) = O(n) Ex(uabiawabi) = O(n) For Example: Ex(aabbaabcdddcefgfefgcccbbccdd) = O(n)

slide-23
SLIDE 23

Seth Pettie

Recipe for linear forbidden sequences

[Klazar-Valtr] (1) Ex(ai,n) = O(n) (2) If Ex(uw,n) = O(n) and Ex(v,n) = O(n) Ex(uvw,n) = O(n) (3) If Ex(uaawa) = O(n) Ex(uabiawabi) = O(n) For Example: Ex(aabbaabcdddcefgfefgcccbbccdd) = O(n)

uw and v have disjoint alphabets

slide-24
SLIDE 24

Seth Pettie

Recipe for linear forbidden sequences

[Klazar-Valtr] (1) Ex(ai,n) = O(n) (2) If Ex(uw,n) = O(n) and Ex(v,n) = O(n) Ex(uvw,n) = O(n) (3) If Ex(uawa,n) = O(n) Ex(uabiwabi) = O(n)

uw and v have disjoint alphabets

slide-25
SLIDE 25

Seth Pettie

Recipe for linear forbidden sequences

[Klazar-Valtr] (1) Ex(ai,n) = O(n) (2) If Ex(uw,n) = O(n) and Ex(v,n) = O(n) Ex(uvw,n) = O(n) (3) If Ex(uawa,n) = O(n) Ex(uabiwabi) = O(n) aaaa

uw and v have disjoint alphabets

slide-26
SLIDE 26

Seth Pettie

Recipe for linear forbidden sequences

[Klazar-Valtr] (1) Ex(ai,n) = O(n) (2) If Ex(uw,n) = O(n) and Ex(v,n) = O(n) Ex(uvw,n) = O(n) (3) If Ex(uawa,n) = O(n) Ex(uabiwabi) = O(n) aabbaabbb

uw and v have disjoint alphabets

slide-27
SLIDE 27

Seth Pettie

Recipe for linear forbidden sequences

[Klazar-Valtr] (1) Ex(ai,n) = O(n) (2) If Ex(uw,n) = O(n) and Ex(v,n) = O(n) Ex(uvw,n) = O(n) (3) If Ex(uawa,n) = O(n) Ex(uabiwabi) = O(n) aabbaabcccccbbcc

uw and v have disjoint alphabets

slide-28
SLIDE 28

Seth Pettie

Recipe for linear forbidden sequences

[Klazar-Valtr] (1) Ex(ai,n) = O(n) (2) If Ex(uw,n) = O(n) and Ex(v,n) = O(n) Ex(uvw,n) = O(n) (3) If Ex(uawa,n) = O(n) Ex(uabiwabi) = O(n) aabbaabcdddccccbbccdd

uw and v have disjoint alphabets

slide-29
SLIDE 29

Seth Pettie

Recipe for linear forbidden sequences

[Klazar-Valtr] (1) Ex(ai,n) = O(n) (2) If Ex(uw,n) = O(n) and Ex(v,n) = O(n) Ex(uvw,n) = O(n) (3) If Ex(uawa,n) = O(n) Ex(uabiwabi) = O(n) aabbaabcdddccccbbccdd ee

uw and v have disjoint alphabets

slide-30
SLIDE 30

Seth Pettie

Recipe for linear forbidden sequences

[Klazar-Valtr] (1) Ex(ai,n) = O(n) (2) If Ex(uw,n) = O(n) and Ex(v,n) = O(n) Ex(uvw,n) = O(n) (3) If Ex(uawa,n) = O(n) Ex(uabiwabi) = O(n) aabbaabcdddccccbbccdd effef

uw and v have disjoint alphabets

slide-31
SLIDE 31

Seth Pettie

Recipe for linear forbidden sequences

[Klazar-Valtr] (1) Ex(ai,n) = O(n) (2) If Ex(uw,n) = O(n) and Ex(v,n) = O(n) Ex(uvw,n) = O(n) (3) If Ex(uawa,n) = O(n) Ex(uabiwabi) = O(n) aabbaabcdddccccbbccdd efgfefg

uw and v have disjoint alphabets

slide-32
SLIDE 32

Seth Pettie

Recipe for linear forbidden sequences

[Klazar-Valtr] (1) Ex(ai,n) = O(n) (2) If Ex(uw,n) = O(n) and Ex(v,n) = O(n) Ex(uvw,n) = O(n) (3) If Ex(uawa,n) = O(n) Ex(uabiwabi) = O(n) aabbaabcdddcefgfefgcccbbccdd efgfefg

uw and v have disjoint alphabets

slide-33
SLIDE 33

Seth Pettie

More than one cause of non-linearity

[Klazar]

σ is a sequence without repetitions (x,y) is in G(σ) iff xyyx ⊂ σ or yxyx ⊂ σ If G(σ) is strongly connected then

Ex(σ,n) = Ω(nα(n))

slide-34
SLIDE 34

Seth Pettie

More than one cause of non-linearity

[Klazar]

σ is a sequence without repetitions (x,y) is in G(σ) iff xyyx ⊂ σ or yxyx ⊂ σ If G(σ) is strongly connected then

Ex(σ,n) = Ω(nα(n))

G(ababa) G(abcbadadbcd)

  • nly two

examples known

slide-35
SLIDE 35

Seth Pettie

Another cause of non-linearity

[Klazar]

σ is a sequence without repetitions (x,y) is in G’(σ) iff xyyx ⊂ σ or yxyx ⊂ σ If G’(σ) is strongly connected then

Ex(σ,n) = Ω(nα(n)) Ω(n2α(n))

G’(ababab) G’(abcbadadbecfcfedef)

  • nly two

examples known

slide-36
SLIDE 36

Seth Pettie

  • Defn. Φ = minimal non-linear forbidden seqs.

What we know about Φ:

ababa ∈ Φ |Φ| ≥ 2 (the other a subseq of abcbadadbcd)

slide-37
SLIDE 37

Seth Pettie

  • Defn. Φ = minimal non-linear forbidden seqs.

What we know about Φ:

ababa ∈ Φ |Φ| ≥ 2 (the other a subseq of abcbadadbcd)

Q: Is |Φ| infinite? A: Still Open. But we have a candidate!

slide-38
SLIDE 38

Seth Pettie

  • Defn. Φ = minimal non-linear forbidden seqs.

What we know about Φ:

ababa ∈ Φ |Φ| ≥ 2 (the other a subseq of abcbadadbcd)

Q: Is |Φ| infinite? A: Still Open. But we have a candidate! Q: How big is it Φ? A: New result: |Φ| ≥ 5

slide-39
SLIDE 39

Seth Pettie

Constructing Sequences

T(1,j) : a binary tree with height j+1 j distinct letters at each leaf

slide-40
SLIDE 40

Seth Pettie

Constructing Sequences

T(1,j) : a bin. tree w/height j+1, j letters at each leaf

ith letter at a leaf added to label of ith ancestor

slide-41
SLIDE 41

Seth Pettie

Constructing Sequences

T(1,j) : a bin. tree w/height j+1, j letters at each leaf

ith letter at a leaf added to label of ith ancestor

slide-42
SLIDE 42

Seth Pettie

Constructing Sequences

T(1,j) : a bin. tree w/height j+1, j letters at each leaf

ith letter at a leaf added to label of ith ancestor

slide-43
SLIDE 43

Seth Pettie

Constructing Sequences

T(1,j) : a bin. tree w/height j+1, j letters at each leaf

ith letter at a leaf added to label of ith ancestor

slide-44
SLIDE 44

Seth Pettie

Constructing Sequences

slide-45
SLIDE 45

Seth Pettie

T(k,j) : composition of j T(k-1, ⋅) trees, j distinct letters at each leaf.

slide-46
SLIDE 46

Seth Pettie

the ith letter at a leaf is assigned to the ith (k-1)-node ancestor of the leaf

T(k,j) : composition of j T(k-1, ⋅) trees, j distinct letters at each leaf.

slide-47
SLIDE 47

Seth Pettie

the ith letter at a leaf is assigned to the ith (k-1)-node ancestor of the leaf …and the T(k-1, ⋅) trees are defined in terms of their leaf labels…

T(k,j) : composition of j T(k-1, ⋅) trees, j distinct letters at each leaf.

slide-48
SLIDE 48

Seth Pettie

Constructing Sequences

v1,v2,…,vn : nodes listed in postorder L(v) : the label of v in reverse order The final sequence: Σ = L(v1),L(v2),…,L(vn)

The sequence for T(1,4) : cba fed da ihg lkj jg kheb

  • nm rqp pm uts xwv vs wtqn

xurolifx …

slide-49
SLIDE 49

Seth Pettie

slide-50
SLIDE 50

Seth Pettie

Forbidden subseq: ababa

Σ is (ababa)-free:

slide-51
SLIDE 51

Seth Pettie

Forbidden subseq: ababa

Σ is (ababa)-free:

slide-52
SLIDE 52

Seth Pettie

Forbidden subseq: ababa

Σ is (ababa)-free:

these are in the wrong order!

slide-53
SLIDE 53

Seth Pettie

Forbidden subseq: abcaccbc

Σ is (abcaccbc)-free:

necessarily a common ancestor

slide-54
SLIDE 54

Seth Pettie

Forbidden subseq: abcaccbc

Σ is (abcaccbc)-free:

necessarily different nodes

slide-55
SLIDE 55

Seth Pettie

Forbidden subseq: abcaccbc

Σ is (abcaccbc)-free:

necessarily different nodes

slide-56
SLIDE 56

Seth Pettie

Forbidden subseq: abcaccbc

“a” does not appear in the final contradiction

(an implied occurrence of bcbcbc)

Why is it necessary?

necessarily different nodes

the “binder”

slide-57
SLIDE 57

Seth Pettie

Forbidden subseq: abcdeaebdce

Σ is (abcdeaebdce)-free:

necessarily different nodes

slide-58
SLIDE 58

Seth Pettie

Forbidden subseq: abcdeaebdce

Σ is (abcdeaebdce)-free:

necessarily different nodes

slide-59
SLIDE 59

Seth Pettie

Forbidden subseq: abcdeaebdce

Σ is (abcdeaebdce)-free:

necessarily different nodes

“guard” “binder” “trapper” “trapped elements”

slide-60
SLIDE 60

Seth Pettie

Forbidden subseq: abcdeaebdce

Succinct Encoding: ♥♦♠♠♣

♥ : a = binder ♦ : b = guard ♠ : c = 1st trapped ♠ : d = 2nd trapped ♣ : e = trapper

necessarily different nodes

“guard” “binder” “trapper” “trapped elements”

slide-61
SLIDE 61

Seth Pettie

All of these encodings make sense & work: ♥♦♠♠♣ ♦♥♠♠♣ ♥♠♦♠♣ These don’t: ♦♠♠♥♣ ♥♠♠♦♣ ♥♣♦♠♣

the binder doesn’t bind (but this can be fixed!) the guard doesn’t guard this doesn’t make any sense

slide-62
SLIDE 62

Seth Pettie

Forbidden subseq: abcdeafefbdcf

Encoding: ♦♠♠♥♣

 : a = half-binder ♦ : b = guard ♠ : c = 1st trapped ♠ : d = 2nd trapped ♥ : e = binder ♣ : f = trapper “guard” “binder” “trapped elements” “trapper” “half-binder”

slide-63
SLIDE 63

Seth Pettie

Forbidden subseq: abcdeafegfhgihjijbdcj

Half-binders can be “daisy-chained”

slide-64
SLIDE 64

Seth Pettie

Seventeen legal encodings

♥♠(♦♠♣) ♠♥(♦♠)♣ ♥♠(♦♠)♣ ♣♠♥♣ ♥♣♠♣ ♦♠♠♥♣ ♠♥(♦♠♣) ♦♠♥♠♣ ♥♦♠♠♣ ♦♠♠♥♣ ♥♠♦♠♣ ♦♠♥♠♣ ♦♥♠♠♣ ♠♦♠♥♣ ♠(♦♠)♥ ♠♦♥♠♣ ♠♥♦♠♣

slide-65
SLIDE 65

Seth Pettie

Some open problems

Are there infinitely many “causes” of non-linearity? Are there any more linear seqs. to be discovered? For each c, is there an (ababa)-free σ such that: Ex(σ,n) = n exp(αc(n))