Three termination problems. Patrick Dehornoy. Laboratoire de Mathématiques Nicolas Oresme, Université de Caen

Similar documents
Coalgebra, Lecture 15: Equations for Deterministic Automata

Minimal DFA. minimal DFA for L starting from any other

Farey Fractions. Rickard Fernström. U.U.D.M. Project Report 2017:24. Department of Mathematics Uppsala University

Review of Gaussian Quadrature method

First Midterm Examination

State Minimization for DFAs

The area under the graph of f and above the x-axis between a and b is denoted by. f(x) dx. π O

I1 = I2 I1 = I2 + I3 I1 + I2 = I3 + I4 I 3

Bridging the gap: GCSE AS Level

set is not closed under matrix [ multiplication, ] and does not form a group.

Quadratic Forms. Quadratic Forms

Homework 3 Solutions

Convert the NFA into DFA

Improper Integrals. The First Fundamental Theorem of Calculus, as we ve discussed in class, goes as follows:

Assignment 1 Automata, Languages, and Computability. 1 Finite State Automata and Regular Languages

Math 520 Final Exam Topic Outline Sections 1 3 (Xiao/Dumas/Liaw) Spring 2008

Parse trees, ambiguity, and Chomsky normal form

Computing with finite semigroups: part I

CMPSCI 250: Introduction to Computation. Lecture #31: What DFA s Can and Can t Do David Mix Barrington 9 April 2014

1 Nondeterministic Finite Automata

p-adic Egyptian Fractions

Vectors , (0,0). 5. A vector is commonly denoted by putting an arrow above its symbol, as in the picture above. Here are some 3-dimensional vectors:

How do we solve these things, especially when they get complicated? How do we know when a system has a solution, and when is it unique?

Lecture 08: Feb. 08, 2019

CS 275 Automata and Formal Language Theory

CS 373, Spring Solutions to Mock midterm 1 (Based on first midterm in CS 273, Fall 2008.)

MATH1050 Cauchy-Schwarz Inequality and Triangle Inequality

Chapter Five: Nondeterministic Finite Automata. Formal Language, chapter 5, slide 1

5. (±±) Λ = fw j w is string of even lengthg [ 00 = f11,00g 7. (11 [ 00)± Λ = fw j w egins with either 11 or 00g 8. (0 [ ffl)1 Λ = 01 Λ [ 1 Λ 9.

2.4 Linear Inequalities and Interval Notation

CS415 Compilers. Lexical Analysis and. These slides are based on slides copyrighted by Keith Cooper, Ken Kennedy & Linda Torczon at Rice University

1 ELEMENTARY ALGEBRA and GEOMETRY READINESS DIAGNOSTIC TEST PRACTICE

Tutorial Automata and formal Languages

Lecture 09: Myhill-Nerode Theorem

Regular expressions, Finite Automata, transition graphs are all the same!!

dx dt dy = G(t, x, y), dt where the functions are defined on I Ω, and are locally Lipschitz w.r.t. variable (x, y) Ω.

Torsion in Groups of Integral Triangles

Chapter 8.2: The Integral

First Midterm Examination

20 MATHEMATICS POLYNOMIALS

Harvard University Computer Science 121 Midterm October 23, 2012

Exercises Chapter 1. Exercise 1.1. Let Σ be an alphabet. Prove wv = w + v for all strings w and v.

CS 310 (sec 20) - Winter Final Exam (solutions) SOLUTIONS

Random subgroups of a free group

378 Relations Solutions for Chapter 16. Section 16.1 Exercises. 3. Let A = {0,1,2,3,4,5}. Write out the relation R that expresses on A.

SUMMER KNOWHOW STUDY AND LEARNING CENTRE

Mathematics Number: Logarithms

The University of Nottingham SCHOOL OF COMPUTER SCIENCE A LEVEL 2 MODULE, SPRING SEMESTER LANGUAGES AND COMPUTATION ANSWERS

Chapter 1: Logarithmic functions and indices

Name Ima Sample ASU ID

Talen en Automaten Test 1, Mon 7 th Dec, h45 17h30

Bases for Vector Spaces

Section 4: Integration ECO4112F 2011

2. VECTORS AND MATRICES IN 3 DIMENSIONS

Linear Inequalities. Work Sheet 1

Formal Languages and Automata

Lecture 2: January 27

Grammar. Languages. Content 5/10/16. Automata and Languages. Regular Languages. Regular Languages

Designing finite automata II

Lecture 3: Equivalence Relations

Introduction to Algebra - Part 2

Evaluating Definite Integrals. There are a few properties that you should remember in order to assist you in evaluating definite integrals.

Math 154B Elementary Algebra-2 nd Half Spring 2015

Let's start with an example:

#A29 INTEGERS 17 (2017) EQUALITY OF DEDEKIND SUMS MODULO 24Z

Lecture 3. In this lecture, we will discuss algorithms for solving systems of linear equations.

Fast Boolean Algebra

Surface maps into free groups

CS375: Logic and Theory of Computing

List all of the possible rational roots of each equation. Then find all solutions (both real and imaginary) of the equation. 1.

CHAPTER 1 Regular Languages. Contents. definitions, examples, designing, regular operations. Non-deterministic Finite Automata (NFA)

Linear Systems with Constant Coefficients

Lecture 9: LTL and Büchi Automata

1. For each of the following theorems, give a two or three sentence sketch of how the proof goes or why it is not true.

9.4. The Vector Product. Introduction. Prerequisites. Learning Outcomes

To Do. Vectors. Motivation and Outline. Vector Addition. Cartesian Coordinates. Foundations of Computer Graphics (Spring 2010) x y

Lecture 2e Orthogonal Complement (pages )

Infinite Geometric Series

CS103 Handout 32 Fall 2016 November 11, 2016 Problem Set 7

Finite Automata. Informatics 2A: Lecture 3. John Longley. 22 September School of Informatics University of Edinburgh

7.1 Integral as Net Change and 7.2 Areas in the Plane Calculus

CS103B Handout 18 Winter 2007 February 28, 2007 Finite Automata

Things to Memorize: A Partial List. January 27, 2017

DEFINITION OF ASSOCIATIVE OR DIRECT PRODUCT AND ROTATION OF VECTORS

Section 6: Area, Volume, and Average Value

Chapter 6. Infinite series

Designing Information Devices and Systems I Spring 2018 Homework 7

CIRCULAR COLOURING THE PLANE

Improper Integrals. Introduction. Type 1: Improper Integrals on Infinite Intervals. When we defined the definite integral.

More on automata. Michael George. March 24 April 7, 2014

11.1 Finite Automata. CS125 Lecture 11 Fall Motivation: TMs without a tape: maybe we can at least fully understand such a simple model?

Polynomials and Division Theory

Number systems: the Real Number System

CM10196 Topic 4: Functions and Relations

MTH 505: Number Theory Spring 2017

Nondeterminism and Nodeterministic Automata

Duke Math Meet

Intermediate Math Circles Wednesday, November 14, 2018 Finite Automata II. Nickolas Rollick a b b. a b 4

Recitation 3: More Applications of the Derivative

Improper Integrals. Type I Improper Integrals How do we evaluate an integral such as

Transcription:

Three termintion prolems Ptrick Dehornoy Lortoire de Mthémtiques Nicols Oresme, Université de Cen

Three termintion prolems Ptrick Dehornoy Lortoire Preuves, Progrmmes, Systèmes Université Pris-Diderot Three unrelted termintion prolems : prtil specific nswers known, ut no glol understnding: cn some generl tools e useful?

Pln : 1. The Polish Algorithm for Left-Selfdistriutivity 2. Hndle reduction of rids 3. Suword reversing for positively presented groups

1. The Polish Algorithm for Left-Selfdistriutivity 2. Hndle reduction of rids 3. Suword reversing for positively presented groups

The y prolem I A i-term rewrite system (????) The ssocitivity lw (A): x (y z) = (x y) z,... nd the corresponding Word Prolem: Given two terms t, t, decide whether t nd t re A-equivlent. A trivil prolem: t, t re A-equivlent iff ecome equl when rckets re removed. (Right-) Polish expression of term: t 1 t 2 for t 1 t 2 (no rcket needed) Exmple: In Polish, ssocitivity is xy z = xy z. Definition. The Polish Algorithm for A: strting with two terms t, t (in Polish): - while t t do - p := first clsh etween t nd t (pth letter of t pth letter of t ) - cse type of p of - vrile vs. lnk : return NO; - lnk vs. vrile : return NO; - vrile vs. vrile : return NO; - vrile vs. : pply A + to t; (t 1 t 2 t 3 t 1 t 2 t 3 ) - vs. vrile : pply A + to t ; (t 1 t 2 t 3 t 1 t 2 t 3 ) - return YES.

The y prolem II Rememer : in Polish, ssocitivity is ( xy z xy z. Exmple: t = x (x (x x)), t = ((x x) x) x, i.e., in Polish, t 0 = xxxx t 0 = xx x x t 1 = xx xx t 1 = xx x x t 2 = xx x x t 2 = xx x x So t 2 = t 2, hence t 0 nd t 0 re A-equivlent. Theorem. The Polish Algorithm works for ssocitivity. (In prticulr, it termintes.)

The rel prolem I Left-selfdistriutivity ( (LD) : x (y z) = (x y) (x z), xy z i.e., in Polish, compre with ssocitivity xy xz Polish Algorithm: the sme s for ssocitivity. ( xy z xy x Exmple: t = x ((x x) (x x)), t = (x x) (x (x x)), i.e., in Polish, t 0 = xxx xx t 0 = xx xxx t 1 = xx xx xxx t 1 = xx xxx (= t 0 ) t 2 = xx xx xxx (= t 1 ) t 2 = xx xx xx t 3 = xx xx xxx (= t 2 ) t 3 = xx xx xx xx t 4 = xx xx xx xx t 4 = xx xx xx xx (= t 3 ) So t 4 = t 4, hence t 0 nd t 0 re LD-equivlent.

The rel prolem II Conjecture. The Polish Algorithm works for left-selfdistriutivity. Known. (i) If it termintes, the Polish Algorithm works for left-selfdistriutivity. (ii) The smllest counter-exmple to termintion (if ny) is huge.

1. The Polish Algorithm for Left-Selfdistriutivity 2. Hndle reduction of rids 3. Suword reversing for positively presented groups

The y prolem I A true (ut infinite) rewrite system. Alphet:,,A,B (think of A s n inverse of, etc.) Rewrite rules: - A ε, A ε, B ε, B ε (so fr trivil: free group reduction ) - A B, BA BA, A B, AB AB, nd, more generlly, - i A B i, B i A BA i, A i i B, AB i A i B for i 1. Aim: otin word tht does not contin oth nd A. Exmple: w 0 = AAA w 1 = BAA w 2 = BBA w 3 = BBB, word without A

The y prolem II Theorem. The process termintes in qudrtic time. Proof: (Length does not increse, ut could cycle.) Associte with the sequence of reductions rectngulr grid (qudrtic re). For the exmple: w 0 = AAA w 1 = BAA w 2 = BBA w 3 = BBB drw the grid:

The rel prolem This is the rid hndle reduction procedure; so fr: cse of 3-strnd rids; now: cse of 4-strnd rids (cse of n strnd rids entirely similr for every n). Alphet:,,c,A,B,C. Rewrite rules: - A ε, A ε, B ε, B ε, cc ε, Cc ε, (s ove) - for w in {,c,c} or {B,c,C} : wa φ (w), Aw φ A(w), with φ (w) otined from w y B nd B BA, nd φ A(w) otined from w y B nd B AB, - for w in {c} or {C} : wb φ (w), Bw φ B(w), with φ (w) otined from w y c Cc nd C CBc, nd φ B(w) otined from w y c cc nd C cbc. Remrk. i A (B) i B i : extends the 3-strnd cse.

The rel prolem Exmple: cababcba BcBBABCBA BcBABCBA BcBBCBA BCcBCBA BCCcCBA BCCBA BCCA BCC Termintes: the finl word does not contin oth nd A (y the wy: contins neither nor A, nd not oth nd B.) Theorem. Hndle reduction lwys termintes in exponentil time (nd id. for n-strnd version). Experimentl evidence. It termintes in qudrtic time (for every n).

Brids A 4-strnd rid digrm = 2D-projection of 3D-figure: isotopy = move the strnds ut keep the ends fixed: isotopic to rid := n isotopy clss represented y 2D-digrm, ut different 2D-digrms my give rise to the sme rid.

Brid groups Product of two rids: := Then well-defined with respect to isotopy), ssocitive, dmits unit: = nd inverses: isotopic to rid = rid rid d For ech n, the group B n of n-strnd rids (E.Artin, 1925).

Artin presenttion of B n Artin genertors of B n: = σ 1 σ 2 σ 3 σ 1 1 Theorem (Artin): The group B n is generted y σ 1,..., σ n 1, j σi σ j σ i = σ j σ i σ j for i j = 1, suject to σ i σ j = σ j σ i for i j 2. σ 1 σ 2 σ 1 σ 2 σ 1 σ 2 σ 1 σ 3 σ 3 σ 1

Hndle reduction A σ i -hndle: i + 1 i Reducing hndle: Hndle reduction is n isotopy; It extends free group reduction; Terminl words cnnot contin oth σ 1 nd σ 1 1. Theorem. Every sequence of hndle reductions termintes.

1. The Polish Algorithm for Left-Selfdistriutivity 2. Hndle reduction of rids 3. Suword reversing for positively presented groups

The y prolem I This time: truly true rewrite system... Alphet:,,A,B (think of A s n inverse of, etc.) Rewrite rules: - A ε, B ε ( free group reduction s usul, ut only one direction) - A A, B B. ( reverse + ptterns into + ptterns ) Aim: trnsforming n ritrry signed word into positive negtive word. Exmple: BBA BBA BA B.

The y prolem II Theorem. It termintes in qudrtic time. Proof: (ovious). Construct reversing grid: Cler tht reversing termintes with qudrtic time upper ound (nd liner spce upper ound). Oviously: id. for ny numer of letters.

The rel prolem I Exmple 2: Sme lphet:,,a,b Rewrite rules: - A ε, B ε (free group reduction in one direction) - A BA, B AB. ( reverse + into +, ut different rule) Agin: trnsforms n ritrry signed word into positive negtive word. Termintion? Not cler: length my increse... Exmple: BBA BBBA BBA ABBA ABB AB A.

The rel prolem III Reversing grid: sme, ut possily smller nd smller rrows. Theorem. Reversing termintes in qudrtic time (in this specific cse). Proof: Return to the y cse = find (finite) set of words S tht includes the lphet nd closed under reversing. v for ll u, v in S, exist u, v in S s.t. reversing grid u u Here: works with S = {,,,}. v

Mny more rel prolems Alwys like tht? Not relly... Exmple 3: Alphet,,A,B, rules A ε, B ε, plus A......BABA, B......ABAB. {z } {z } {z } {z } mletters mletters mletters mletters Here : terminting in qudrtic time nd liner spce Exmple 4: Alphet,,A,B, rules A ε, B ε, plus A A, B BA Strt with B: B BA BA BAA BAA BAAA BAAA BAAAA w Here : non-terminting wa 2 wa 2 Exmple 5: Alphet,,A,B, rules A ε, B ε, plus B 2 2, B BABAB 2 AB 2 ABA, Here : terminting in cuic time nd qudrtic spce

Reversing: connection with monoids nd groups Wht re we doing? We re working with semigroup presenttion nd trying to represent the elements of the presented group y frctions. A semigroup presenttion: list of genertors (lphet), plus list of reltions, e.g., {,}, plus { = }. monoid, = +, group, =. Definition. Assume (A, R) semigroup presenttion nd, for ll s t in A, there is exctly one reltion s... = t... in R, sy sc(s, t) = tc(t, s). Then reversing is the rewrite system on A A ( copy of A, here : cpitlized letters) with rules ss ε nd st C(s, t)c(t, s) for s t in A. Reversing does not chnge the element of the group tht is represented; if it termintes, every element of the group is frction fg 1 with f, g positive. Exmple 1 = reversing for the free Aelin group:, = ; Exmple 2 = reversing for the 3-strnd rid group:, = ; Exmple 3 = reversing for type I 2 (m + 1) Artin group:,... {z } =... {z } ; m+1 m+1 Exmple 4 = reversing for the Bumslg Solitr group:, 2 = ; Exmple 5 = reversing for the ordered group:, = 2 2.

Reversing: questions The only known fcts: - reduction to the y cse termintion; - self-reproducing pttern non-termintion; - if reversing is complete for (A, R), then it is terminting iff ny two elements of the monoid A R + dmit common right-multiple. Question. Wht cn YOU sy out reversing?

References For the Polish Algorithm: P. Dehornoy, Brids nd selfdistriutivity, Progress in mth. vol 192, Birkhüser 2000 (Chpter VIII) O. Deiser, Notes on the Polish Algorithm, deiser@tum.de (Technishe Universität München) For Hndle Reduction of rids: P. Dehornoy, with I. Dynnikov, D. Rolfsen, B. Wiest, Brid ordering, Mth. Surveys nd Monogrphs vol. 148, Amer. Mth. Soc. 2008 (Chpter V) For reversing ssocited with semigroup presenttion: P. Dehornoy, with F. Digne, E. Godelle, D. Krmmer, J. Michel, Foundtions of Grside Theory, sumitted www.mth.unicen.fr/ dehornoy/ (Chpter II)...venez u groupe de trvil du vendredi!