algorithmic aspects of wqo well quasi ordering theory
play

Algorithmic Aspects of WQO (Well-Quasi-Ordering) Theory Part I: - PowerPoint PPT Presentation

Algorithmic Aspects of WQO (Well-Quasi-Ordering) Theory Part I: Basics of WQO Theory Sylvain Schmitz & Philippe Schnoebelen LSV, CNRS & ENS Cachan ESSLLI 2012, Opole, Aug 6-15, 2012 Lecture notes & exercices available at


  1. Algorithmic Aspects of WQO (Well-Quasi-Ordering) Theory Part I: Basics of WQO Theory Sylvain Schmitz & Philippe Schnoebelen LSV, CNRS & ENS Cachan ESSLLI 2012, Opole, Aug 6-15, 2012 Lecture notes & exercices available at http://tinyurl.com/esslli12wqo

  2. M OTIVATIONS FOR THE COURSE ◮ Well-quasi-orderings (wqo’s) proved to be a powerful tool for decidability/termination in logic, AI, program verification, etc. NB: they can be seen as a version of well-founded orderings with more flexibility ◮ In program verification, wqo’s are prominent in well-structured transition systems (WSTS’s), a generic framework for infinite-state systems with good decidability properties. ◮ Analysing the complexity of wqo-based algorithms is still one of the dark arts . . . ◮ Purposes of these lectures = to disseminate the basic concepts and tools one uses for the complexity analysis of wqo-based algorithms. 2/14

  3. M OTIVATIONS FOR THE COURSE ◮ Well-quasi-orderings (wqo’s) proved to be a powerful tool for decidability/termination in logic, AI, program verification, etc. NB: they can be seen as a version of well-founded orderings with more flexibility ◮ In program verification, wqo’s are prominent in well-structured transition systems (WSTS’s), a generic framework for infinite-state systems with good decidability properties. ◮ Analysing the complexity of wqo-based algorithms is still one of the dark arts . . . ◮ Purposes of these lectures = to disseminate the basic concepts and tools one uses for the complexity analysis of wqo-based algorithms. 2/14

  4. O UTLINE OF THE COURSE ◮ (This) Lecture 1 = Basics of Wqo’s. Rather basic material: explaining and illustrating the definition of wqo’s. Building new wqo’s from simpler ones. ◮ Lecture 2 = Algorithmic Applications of Wqo’s. Well-Structured Transition Systems, Program Termination, Relevance Logic, etc. ◮ Lecture 3 = Complexity Classes for Wqo’s. Fast-growing complexity. Working with subrecursive hierarchies. ◮ Lecture 4 = Proving Complexity Lower Bounds. Simulating fast-growing functions with weak/unreliable computation models. ◮ Lecture 5 = Proving Complexity Upper Bounds. Bounding the length of bad sequences (for Dickson’s and Higman’s Lemmas). 3/14

  5. (R ECALLS ) O RDERED S ETS def Def. A non-empty ( X , � ) is a quasi-ordering (qo) ⇔ � is a reflexive and transitive relation. ( ≈ a partial ordering without requiring antisymmetry, technically simpler but essentially equivalent) Examples. ( N , � ) , also ( R , � ) , ( N ∪ { ω } , � ) , . . . def divisibility: ( Z , | ) where x | y ⇔ ∃ a : a . x = y tuples: ( N 3 , � prod ) , or simply ( N 3 , � × ) , where ( 0 , 1 , 2 ) < × ( 10 , 1 , 5 ) and ( 1 , 2 , 3 ) # × ( 3 , 1 , 2 ) . words: ( Σ ∗ , � pref ) for some alphabet Σ = { a , b ,... } and ab < pref abba . ( Σ ∗ , � lex ) with e.g. abba � lex abc (NB: this assumes Σ is linearly ordered: a < b < c ) ( Σ ∗ , � subword ) , or simply ( Σ ∗ , � ∗ ) , with aba � ∗ baabbaa . 4/14

  6. (R ECALLS ) O RDERED S ETS def Def. A non-empty ( X , � ) is a quasi-ordering (qo) ⇔ � is a reflexive and transitive relation. ( ≈ a partial ordering without requiring antisymmetry, technically simpler but essentially equivalent) Examples. ( N , � ) , also ( R , � ) , ( N ∪ { ω } , � ) , . . . def divisibility: ( Z , | ) where x | y ⇔ ∃ a : a . x = y tuples: ( N 3 , � prod ) , or simply ( N 3 , � × ) , where ( 0 , 1 , 2 ) < × ( 10 , 1 , 5 ) and ( 1 , 2 , 3 ) # × ( 3 , 1 , 2 ) . words: ( Σ ∗ , � pref ) for some alphabet Σ = { a , b ,... } and ab < pref abba . ( Σ ∗ , � lex ) with e.g. abba � lex abc (NB: this assumes Σ is linearly ordered: a < b < c ) ( Σ ∗ , � subword ) , or simply ( Σ ∗ , � ∗ ) , with aba � ∗ baabbaa . 4/14

  7. (R ECALLS ) O RDERED S ETS def Def. A non-empty ( X , � ) is a quasi-ordering (qo) ⇔ � is a reflexive and transitive relation. ( ≈ a partial ordering without requiring antisymmetry, technically simpler but essentially equivalent) Examples. ( N , � ) , also ( R , � ) , ( N ∪ { ω } , � ) , . . . def divisibility: ( Z , | ) where x | y ⇔ ∃ a : a . x = y tuples: ( N 3 , � prod ) , or simply ( N 3 , � × ) , where ( 0 , 1 , 2 ) < × ( 10 , 1 , 5 ) and ( 1 , 2 , 3 ) # × ( 3 , 1 , 2 ) . words: ( Σ ∗ , � pref ) for some alphabet Σ = { a , b ,... } and ab < pref abba . ( Σ ∗ , � lex ) with e.g. abba � lex abc (NB: this assumes Σ is linearly ordered: a < b < c ) ( Σ ∗ , � subword ) , or simply ( Σ ∗ , � ∗ ) , with aba � ∗ baabbaa . 4/14

  8. (R ECALLS ) O RDERED S ETS def Def. A non-empty ( X , � ) is a quasi-ordering (qo) ⇔ � is a reflexive and transitive relation. ( ≈ a partial ordering without requiring antisymmetry, technically simpler but essentially equivalent) Examples. ( N , � ) , also ( R , � ) , ( N ∪ { ω } , � ) , . . . def divisibility: ( Z , | ) where x | y ⇔ ∃ a : a . x = y tuples: ( N 3 , � prod ) , or simply ( N 3 , � × ) , where ( 0 , 1 , 2 ) < × ( 10 , 1 , 5 ) and ( 1 , 2 , 3 ) # × ( 3 , 1 , 2 ) . words: ( Σ ∗ , � pref ) for some alphabet Σ = { a , b ,... } and ab < pref abba . ( Σ ∗ , � lex ) with e.g. abba � lex abc (NB: this assumes Σ is linearly ordered: a < b < c ) ( Σ ∗ , � subword ) , or simply ( Σ ∗ , � ∗ ) , with aba � ∗ baabbaa . 4/14

  9. (R ECALLS ) O RDERED S ETS def Def. A non-empty ( X , � ) is a quasi-ordering (qo) ⇔ � is a reflexive and transitive relation. ( ≈ a partial ordering without requiring antisymmetry, technically simpler but essentially equivalent) Examples. ( N , � ) , also ( R , � ) , ( N ∪ { ω } , � ) , . . . def divisibility: ( Z , | ) where x | y ⇔ ∃ a : a . x = y tuples: ( N 3 , � prod ) , or simply ( N 3 , � × ) , where ( 0 , 1 , 2 ) < × ( 10 , 1 , 5 ) and ( 1 , 2 , 3 ) # × ( 3 , 1 , 2 ) . words: ( Σ ∗ , � pref ) for some alphabet Σ = { a , b ,... } and ab < pref abba . ( Σ ∗ , � lex ) with e.g. abba � lex abc (NB: this assumes Σ is linearly ordered: a < b < c ) ( Σ ∗ , � subword ) , or simply ( Σ ∗ , � ∗ ) , with aba � ∗ baabbaa . 4/14

  10. (R ECALLS ) O RDERED SETS Def. ( X , � ) is linear if for any x , y ∈ X either x � y or y � x . (I.e., there is no x # y .) Def. ( X , � ) is well-founded if there is no infinite strictly decreasing sequence x 0 > x 1 > x 2 > ··· linear? well-founded? N , � Z , | N ∪ { ω } , � N 3 , � × Σ ∗ , � pref Σ ∗ , � lex Σ ∗ , � ∗ 5/14

  11. (R ECALLS ) O RDERED SETS Def. ( X , � ) is linear if for any x , y ∈ X either x � y or y � x . (I.e., there is no x # y .) Def. ( X , � ) is well-founded if there is no infinite strictly decreasing sequence x 0 > x 1 > x 2 > ··· linear? well-founded? N , � � Z , | × N ∪ { ω } , � � N 3 , � × × Σ ∗ , � pref × Σ ∗ , � lex � Σ ∗ , � ∗ × 5/14

  12. (R ECALLS ) O RDERED SETS Def. ( X , � ) is linear if for any x , y ∈ X either x � y or y � x . (I.e., there is no x # y .) Def. ( X , � ) is well-founded if there is no infinite strictly decreasing sequence x 0 > x 1 > x 2 > ··· linear? well-founded? N , � � � Z , | × � N ∪ { ω } , � � � N 3 , � × × � Σ ∗ , � pref × � Σ ∗ , � lex � × Σ ∗ , � ∗ × � 5/14

  13. W ELL - QUASI - ORDERING ( WQO ) def Def1. ( X , � ) is a wqo ⇔ any infinite sequence x 0 , x 1 , x 2 ,... contains an increasing pair: x i � x j for some i < j . def Def2. ( X , � ) is a wqo ⇔ any infinite sequence x 0 , x 1 , x 2 ,... contains an infinite increasing subsequence: x n 0 � x n 1 � x n 2 � ... def Def3. ( X , � ) is a wqo ⇔ there is no infinite strictly decreasing sequence x 0 > x 1 > x 2 > ... —i.e., ( X , � ) is well-founded— and no infinite set { x 0 , x 1 , x 2 ,... } of mutually incomparable elements x i # x j when i � j —we say “ ( X , � ) has no infinite antichain”—. Fact. These three definitions are equivalent. Clearly, Def2 ⇒ Def1 and Def1 ⇒ Def3 (think contrapositively). But the reverse implications are non-trivial. Recall Infinite Ramsey Theorem: “Let X be some countably infinite set and colour the elements of X ( n ) (the subsets of X of size n ) in c different colours. Then there exists some infinite subset M of X s.t. the size n subsets of M all have the same colour.” 6/14

  14. W ELL - QUASI - ORDERING ( WQO ) def Def1. ( X , � ) is a wqo ⇔ any infinite sequence x 0 , x 1 , x 2 ,... contains an increasing pair: x i � x j for some i < j . def Def2. ( X , � ) is a wqo ⇔ any infinite sequence x 0 , x 1 , x 2 ,... contains an infinite increasing subsequence: x n 0 � x n 1 � x n 2 � ... def Def3. ( X , � ) is a wqo ⇔ there is no infinite strictly decreasing sequence x 0 > x 1 > x 2 > ... —i.e., ( X , � ) is well-founded— and no infinite set { x 0 , x 1 , x 2 ,... } of mutually incomparable elements x i # x j when i � j —we say “ ( X , � ) has no infinite antichain”—. Fact. These three definitions are equivalent. Clearly, Def2 ⇒ Def1 and Def1 ⇒ Def3 (think contrapositively). But the reverse implications are non-trivial. Recall Infinite Ramsey Theorem: “Let X be some countably infinite set and colour the elements of X ( n ) (the subsets of X of size n ) in c different colours. Then there exists some infinite subset M of X s.t. the size n subsets of M all have the same colour.” 6/14

Recommend


More recommend