Sharp Bounds on Davenport-Schinzel Sequences of Every Order Seth Pettie University of Michigan.

Slides:



Advertisements
Similar presentations
Quantum Lower Bound for the Collision Problem Scott Aaronson 1/10/2002 quant-ph/ I was born at the Big Bang. Cool! We have the same birthday.
Advertisements

The Future (and Past) of Quantum Lower Bounds by Polynomials Scott Aaronson UC Berkeley.
Xiaoming Sun Tsinghua University David Woodruff MIT
Lower Envelopes Yuval Suede. What’s on the menu? Lower Envelopes Davenport-Schinzel Sequences Trivial upper bound Super linear complexity* Tight upper.
4.5 Inherently Ambiguous Context-free Language For some context-free languages, such as arithmetic expressions, may have many different CFG’s to generate.
QuickSort Average Case Analysis An Incompressibility Approach Brendan Lucier August 2, 2005.
Presented by Yuval Shimron Course
Introduction to Algorithms Jiafen Liu Sept
Algorithms Recurrences. Definition – a recurrence is an equation or inequality that describes a function in terms of its value on smaller inputs Example.
Incidences and Many Faces via cuttings Sivanne Goldfarb
Lecture 3 Lower envelopes Computational Geometry, 2005/06 Prof.Dr.Th.Ottmann 1 The Lower Envelope The Pointwise Minimum of a Set of Functions.
CPSC 668Set 7: Mutual Exclusion with Read/Write Variables1 CPSC 668 Distributed Algorithms and Systems Fall 2009 Prof. Jennifer Welch.
CPSC 668Set 10: Consensus with Byzantine Failures1 CPSC 668 Distributed Algorithms and Systems Fall 2009 Prof. Jennifer Welch.
June 3, 2015Windows Scheduling Problems for Broadcast System 1 Amotz Bar-Noy, and Richard E. Ladner Presented by Qiaosheng Shi.
The Lower Envelope: The Pointwise Minimum of a Set of Functions Computational Geometry, WS 2006/07 Lecture 4 Prof. Dr. Thomas Ottmann Algorithmen & Datenstrukturen,
CS Section 600 CS Section 002 Dr. Angela Guercio Spring 2010.
Lower Envelopes (Cont.) Yuval Suede. Reminder Lower Envelope is the graph of the pointwise minimum of the (partially defined) functions. Letbe the maximum.
CPSC 668Set 4: Asynchronous Lower Bound for LE in Rings1 CPSC 668 Distributed Algorithms and Systems Fall 2009 Prof. Jennifer Welch.
On the Union of Cylinders in Esther Ezra Duke University On the Union of Cylinders in  3 Esther Ezra Duke University.
CPSC 668Set 10: Consensus with Byzantine Failures1 CPSC 668 Distributed Algorithms and Systems Fall 2006 Prof. Jennifer Welch.
CSE 421 Algorithms Richard Anderson Lecture 4. What does it mean for an algorithm to be efficient?
Analysis of Algorithms CS 477/677
Ch. 8 & 9 – Linear Sorting and Order Statistics What do you trade for speed?
Introduction to Algorithms Jiafen Liu Sept
Data Structures and Algorithms Graphs Minimum Spanning Tree PLSD210.
Analysis of Algorithms
CSCE350 Algorithms and Data Structure Lecture 17 Jianjun Hu Department of Computer Science and Engineering University of South Carolina
Edge-disjoint induced subgraphs with given minimum degree Raphael Yuster 2012.
The Selection Problem. 2 Median and Order Statistics In this section, we will study algorithms for finding the i th smallest element in a set of n elements.
Discrete Structures Lecture 12: Trees Ji Yanyan United International College Thanks to Professor Michael Hvidsten.
Graph Colouring L09: Oct 10. This Lecture Graph coloring is another important problem in graph theory. It also has many applications, including the famous.
Chapter 10 Graph Theory Eulerian Cycle and the property of graph theory 10.3 The important property of graph theory and its representation 10.4.
CSE373: Data Structures & Algorithms Lecture 11: Implementing Union-Find Nicki Dell Spring 2014.
CSE373: Data Structures & Algorithms Lecture 10: Implementing Union-Find Dan Grossman Fall 2013.
ICS 253: Discrete Structures I Induction and Recursion King Fahd University of Petroleum & Minerals Information & Computer Science Department.
12 INFINITE SEQUENCES AND SERIES. In general, it is difficult to find the exact sum of a series.  We were able to accomplish this for geometric series.
COSC 3101A - Design and Analysis of Algorithms 6 Lower Bounds for Sorting Counting / Radix / Bucket Sort Many of these slides are taken from Monica Nicolescu,
Context Free Pumping Lemma. CFL Pumping Lemma A CFL pump consists of two non-overlapping substrings that can be pumped simultaneously while staying in.
1 Tighter bounds and simpler constructions for Davenport-Schinzel sequences Haim Kaplan, Gabriel Nivasch, Micha Sharir Tel-Aviv University.
Copyright © Cengage Learning. All rights reserved.
Lecture 9COMPSCI.220.FS.T Lower Bound for Sorting Complexity Each algorithm that sorts by comparing only pairs of elements must use at least 
Sorting Lower Bounds n Beating Them. Recap Divide and Conquer –Know how to break a problem into smaller problems, such that –Given a solution to the smaller.
 2004 SDU Lecture8 NON-Context-free languages.  2004 SDU 2 Are all languages context free? Ans: No. # of PDAs on  < # of languages on  Pumping lemma:
Complexity and Computability Theory I Lecture #12 Instructor: Rina Zviel-Girshin Lea Epstein.
Dr Nazir A. Zafar Advanced Algorithms Analysis and Design Advanced Algorithms Analysis and Design By Dr. Nazir Ahmad Zafar.
Context-Free and Noncontext-Free Languages Chapter 13.
Trees.
by d. gusfield v. bansal v. bafna y. song presented by vikas taliwal
Theory of Computational Complexity Probability and Computing Chapter Hikaru Inada Iwama and Ito lab M1.
CSCE 668 DISTRIBUTED ALGORITHMS AND SYSTEMS
Succinct Data Structures
Advanced Algorithms Analysis and Design
Randomized Algorithms
Geometric Graphs and Quasi-Planar Graphs
Chapter 5. Optimal Matchings
Context Free Pumping Lemma Some languages are not context free!
Distinct Distances in the Plane
Chapter Fourteen: The Context-Free Frontier
Randomized Algorithms
Definition: Let G = (V, T, P, S) be a CFL
CSCE 668 DISTRIBUTED ALGORITHMS AND SYSTEMS
Pumping Lemma for Context-free Languages
Advanced Analysis of Algorithms
Chapter 2 Context-Free Language - 02
CSCE 668 DISTRIBUTED ALGORITHMS AND SYSTEMS
CSCE 668 DISTRIBUTED ALGORITHMS AND SYSTEMS
Distance-preserving Subgraphs of Interval Graphs
Tutorial 2 - Daniel Razavi
Mathematical Induction II
Data Structures and Algorithms
Presentation transcript:

Sharp Bounds on Davenport-Schinzel Sequences of Every Order Seth Pettie University of Michigan

Lower Envelopes Given n continuous functions defined over a common interval. Each pair of functions intersect at most s times. The lower envelope is the pointwise minimum of the functions. An order-s Davenport-Schinzel sequence contains no subsequences isomorphic to a…b…a…b… (length s+2). (s=4 in this case)

Lower Envelopes Given n continuous functions, each defined over some interval. Each pair of functions intersect at most s times. Contains no subsequences isomorphic to a…b…a…b… (length s+4) (s=1 in this case)

The extremal function s

Numerous applications of DS sequences Geometric arrangements Geometric containment probs. Dynamic geometric algs. Motion planning probs. Kinetic data structures Self-adjusting data structs. … Better understanding of s (n) Better understanding of (geometric) algorithms and data structures, arrangements, etc.

Davenport-Schinzel 1965, Davenport 1970

Szemerédi 1973

Hart-Sharir 1986

Sharir 1987, Sharir 1988, Agarwal-Sharir-Shor 1989

Nivasch 2009 (& Klazar 1999)

New Results The moral? – Order 5 is perceptibly different from order 4. – Even and odd s are imperceptibly different at order s≥6 but they require rather different analyses. – It is impossible to give improved bounds, expressed in terms of “  (n).”

A “block” is a sequence of distinct symbols. (Hart-Sharir’86, Sharir’88: s (n) is not much larger than s (n,n).) The goal: Find a good recurrence relation for s (n, m). This only requires reasoning about the structure of DS sequences. (The inverse-Ackermann function only comes into play in the analysis of the recurrences.)

The basic inductive hypothesis [Nivasch’09] : Choose i to balance terms involving “n” and “m” (Hint: set i =  (n,m) + O(1).) Reducing the number of blocks lets you invoke the inductive hypothesis with smaller ‘i’ parameter.

Sequence Decomposition From [Agarwal-Sharir-Shor’89] S is an order-s, m-block sequence.

Sequence Decomposition S is an order-s, m-block sequence. Partition S into intervals of blocks. – Local symbols are contained in one interval

S is an order-s, m-block sequence. Partition S into intervals of blocks. – Local symbols are contained in one interval – Global symbols appear in multiple intervals. Sequence Decomposition first occurrences last occurrences middle occurrences

S is an order-s, m-block sequence. Partition S into intervals of blocks. Contract each interval into a single block, forms (Keep one copy of each global symbol in the interval)

Symbol occurrences fall in four categories: – First global – Last global – Middle global – Local

Order s=4 throughout this example. (No ababab.) How many “first” occurrences are there in S? block contains first occurrence of both a & b at least one a and b following the block Must be an order-(s-1) DS sequence. (No ababa.)

Order s=4 throughout this example. (No ababab.) How many “middle” occurrences are there in S? at least one a and b preceding the block a & b are “middle” occurrences in this block at least one a and b following the block Must be an order-(s-2) DS sequence. (No abab.)

A recurrence for s [Agarwal-Sharir-Shor’89, Nivasch’09]

The Derivation Tree

Nodes blocks encountered in the sequence decomposition

The Derivation Tree

height  (n,m)

The Derivation Tree for Order-3 DS seqs. What it should look like in an idealized form: if tree has height  (n,m)  about 2  (n,m) leaves.

The Derivation Tree for Order-4 DS seqs. What it should look like in an idealized form: if tree has height  (n,m)   (2  (n,m) ) leaves.

Why is it difficult to realize such trees at the odd orders (s ≥ 5)?

Nesting and the Odd Orders a and b nested in this block a and b interleaved in this block order-2 (no abab) order-3 (no ababa) Order 4: (No ababab) Order 5: (No abababa)

Nesting and the Odd Orders a and b nested in this block order-(s-3) Order s=5: (No abababa) Suppose interleaving were outlawed…

If you want to prove Nivasch’s bound on s is tight: – Show how to construct sequences where interleaving is the norm. If you want to prove it isn’t tight: – Prove interleaving is rare and that any interleaved symbols can be segregated.

Anatomy of a derivation tree

The Structural Lemma:

Implications of the Structural Lemma (for odd s): – Three distinct branching factors for wingtips, feathers, and all other non-feathers:

A recurrence for odd orders

Need to solve three interconnected recurrences: – s (n, m) for even s [Nivasch’09] – s (n, m) for odd s. –  s (n, m) for odd s. …not difficult — just a big proof by induction. Only shows 5 (n)=O(n(  (n)) 2 2  (n) ) not O(n  (n)2  (n) ).

Order-5 DS sequences are very tricky 5 (n) =  (n  (n)2  (n) ) construction requires several new ideas. 5 (n) =  (n  (n)2  (n) ) upper bound requires that we look at a two-layer derivation tree. derivation tree for order-5 DS sequence derivation tree for order-4 DS sequence. Leaves = quills in T |a.

Order-5 DS sequences are very tricky 5 (n) =  (n  (n)2  (n) ) construction requires several new ideas. 5 (n) =  (n  (n)2  (n) ) upper bound requires that we look at a two-layer derivation tree. derivation tree for order-5 DS sequence derivation tree for order-4 DS sequence. Leaves = quills in T |a.

Open Problems Bounding s (n) essentially a closed problem. Bounds on generalized DS sequences? (When the forbidden subsequence is not of the form ababa…) Realizing DS sequences by natural functions or natural geometric objects is still wide open. – Can s (n) be realized by degree-s polynomials? – Can s+2 (n) be realized by degree-s poly. segments? –

Proof of the Structural Lemma

w.lo.g., root of T |b ancestral to root of T |a w.lo.g., v is a dove in T |a

if a & b are interleaved in v… then all bs appear here or here

No, then v would be a dove feather in T |b

then a & b are nested in v.

Second case: all bs appear here

No, then v would be a hawk feather in T |b

Then this node wasn’t the first wing node ancestor of v in T |a —contradiction. a must appear in this block (not obvious).

The structural lemma for order-5 DS sequences is similar but more involved.