Unambiguous Morphic Images of Strings
|
|
- Bernadette Manning
- 5 years ago
- Views:
Transcription
1 Unambiguous Morphic Images of Strings Daniel Reidenbach, University of Kaiserslautern A joint work with: Dominik D. Freydenberger, University of Kaiserslautern Johannes C. Schneider, University of Kaiserslautern
2 task Task: Map a finite string α over an infinite alphabet onto a finite word w over a binary alphabet such that w reflects the structure of α "optimally".
3 task Task: Map a finite string α over an infinite alphabet onto a finite word w over a binary alphabet such that w reflects the structure of α "optimally". Standard solution: Choose an injective morphism (i.e. a code) σ.
4 task Task: Map a finite string α over an infinite alphabet onto a finite word w over a binary alphabet such that w reflects the structure of α "optimally". Standard solution: Choose an injective morphism (i.e. a code) σ. A mapping σ: ï * {a, b} * that satisfies σ(α β) = σ (α) σ (β) for every α, β ï *.
5 task Task: Map a finite string α over an infinite alphabet onto a finite word w over a binary alphabet such that w reflects the structure of α "optimally". Standard solution: Choose an injective morphism (i.e. a code) σ. A mapping σ: ï * {a, b} * that satisfies σ(α β) = σ (α) σ (β) for every α, β ï *. Example: Let α = Let σ (i) = ab i. σ (α) = ab ab 2 ab 3 ab 4 ab ab 4 ab 3 ab 2
6 Ambiguity of words Assumption: We are confronted with a variety of morphic images of a single (unknown) string α ( inductive inference of pattern languages, PCP).
7 Ambiguity of words Assumption: We are confronted with a variety of morphic images of a single (unknown) string α ( inductive inference of pattern languages, PCP). Example: Let α = ababbabbbabbbbababbbbabbbabb
8 Ambiguity of words Assumption: We are confronted with a variety of morphic images of a single (unknown) string α ( inductive inference of pattern languages, PCP). Example: Let α = ababbabbbabbbbababbbbabbbabb ababbabbbabbbbababbbbabbbabb
9 Ambiguity of words Assumption: We are confronted with a variety of morphic images of a single (unknown) string α ( inductive inference of pattern languages, PCP). Example: Let α = ababbabbbabbbbababbbbabbbabb ababbabbbabbbbababbbbabbbabb example code leads to an ambiguous image. It does not prove the existence of the symbol "2" in α.
10 Ambiguity of words Assumption: We are confronted with a variety of morphic images of a single (unknown) string α ( inductive inference of pattern languages, PCP). Example: Let α = ababbabbbabbbbababbbbabbbabb ababbabbbabbbbababbbbabbbabb example code leads to an ambiguous image. It does not prove the existence of the symbol "2" in α. Note: Ambiguity of morphic images can cause that, even in a weak sense, "decoding" is a non-computable problem [Reidenbach, 2002].
11 A simple combinatorial question on morphisms in free monoids Question: For which pattern α is there a morphism σ: ï + {a, b} * such that σ (α) is unambiguous, i.e. there is no morphism ρ: ï + {a, b} * with, for some variable i in α, ρ (i) σ(i) and ρ (α) = σ (α)?
12 A simple combinatorial question on morphisms in free monoids Question: A string in ï +. For which pattern α is there a morphism σ: ï + {a, b} * such that σ (α) is unambiguous, i.e. there is no morphism ρ: ï + {a, b} * with, for some variable i in α, ρ (i) σ(i) and ρ (α) = σ (α)?
13 A simple combinatorial question on morphisms in free monoids Question: A string in ï +. For which pattern α is there a morphism σ: ï + {a, b} * such that σ (α) is unambiguous, i.e. there is no morphism ρ: ï + {a, b} * with, for some variable i in α, ρ (i) σ(i) and ρ (α) = σ (α)? A symbol in ï.
14 A simple combinatorial question on morphisms in free monoids Question: A string in ï +. For which pattern α is there a morphism σ: ï + {a, b} * such that σ (α) is unambiguous, i.e. there is no morphism ρ: ï + {a, b} * with, for some variable i in α, ρ (i) σ(i) and ρ (α) = σ (α)? A symbol in ï. Remark: Question can easily be rephrased in terms of, e.g., pattern languages and the Post Correspondence Problem, i.e. equality sets.
15 A simple combinatorial question on morphisms in free monoids Question: A string in ï +. For which pattern α is there a morphism σ: ï + {a, b} * such that σ (α) is unambiguous, i.e. there is no morphism ρ: ï + {a, b} * with, for some variable i in α, ρ (i) σ(i) and ρ (α) = σ (α)? A symbol in ï. Remark: Question can easily be rephrased in terms of, e.g., pattern languages and the Post Correspondence Problem, i.e. equality sets. Additionally, we provide an answer on finite fixed points of nontrivial morphisms...
16 Is this a trivial problem? Examples suggest that this might be a nontrivial problem: Let α = We know that the image of the morphism σ (i) = ab i is ambiguous. aabbabba is unambiguous, but the corresponding morphism is not injective. By the way, abbaaabb is ambiguous...
17 Is this a trivial problem? Examples suggest that this might be a nontrivial problem: Let α = We know that the image of the morphism σ (i) = ab i is ambiguous. aabbabba is unambiguous, but the corresponding morphism is not injective. By the way, abbaaabb is ambiguous... Let α = 1 2. Evidently, there is no unambiguous morphic image: Let σ(1) ε. n, with ρ(1) = ε and ρ(2) = σ(1) σ(2), ρ σand ρ (α) = σ (α).
18 A first negative result and its consequences orem: re is no nonerasing morphism σ such that, for every pattern α, σ (α) is unambiguous.
19 A first negative result and its consequences orem: σ: ï * {a, b} + re is no nonerasing morphism σ such that, for every pattern α, σ (α) is unambiguous.
20 A first negative result and its consequences orem: σ: ï * {a, b} + re is no nonerasing morphism σ such that, for every pattern α, σ (α) is unambiguous. Remarks: Obviously, for each pattern α =i j(with i, j ï and i j) and for each nonerasing morphism σ, σ (α) is unambiguous. We should generalise the structure of α...
21 A crucial (and natural) partition of ï + Definition: We call any α ï + prolix iff there exists a decomposition α = β 0 γ 1 β 1 γ 2 β 2... β n-1 γ n β n with n 1, β k ï * and γ k ï +, k n, such that 1. for every k, 1 k n, γ k 2, 2. for every k, 1 k n, and for every k', 0 k' n, var (γ k ) var (β k' ) = and 3. for every k, 1 k n, there exists an i var (γ k ) such that γ k i = 1 and, for every k', 1 k' n, if i var (γ k' ) then γ k = γ k'. We call α ï + succinct iff it is not prolix.
22 A crucial (and natural) partition of ï + Definition: We call any α ï + prolix iff there exists a decomposition α = β 0 γ 1 β 1 γ 2 β 2... β n-1 γ n β n with n 1, β k ï * and γ k ï +, k n, such that 1. for every k, 1 k n, γ k 2, 2. for every k, 1 k n, and for every k', 0 k' n, var (γ k ) var (β k' ) = and 3. for every k, 1 k n, there exists an i var (γ k ) such that γ k i = 1 and, for every k', 1 k' n, if i var (γ k' ) then γ k = γ k'. We call α ï + succinct iff it is not prolix. Examples: is prolix.
23 A crucial (and natural) partition of ï + Definition: We call any α ï + prolix iff there exists a decomposition α = β 0 γ 1 β 1 γ 2 β 2... β n-1 γ n β n with n 1, β k ï * and γ k ï +, k n, such that 1. for every k, 1 k n, γ k 2, 2. for every k, 1 k n, and for every k', 0 k' n, var (γ k ) var (β k' ) = and 3. for every k, 1 k n, there exists an i var (γ k ) such that γ k i = 1 and, for every k', 1 k' n, if i var (γ k' ) then γ k = γ k'. We call α ï + succinct iff it is not prolix. Examples: is prolix.
24 A crucial (and natural) partition of ï + Definition: We call any α ï + prolix iff there exists a decomposition α = β 0 γ 1 β 1 γ 2 β 2... β n-1 γ n β n with n 1, β k ï * and γ k ï +, k n, such that 1. for every k, 1 k n, γ k 2, 2. for every k, 1 k n, and for every k', 0 k' n, var (γ k ) var (β k' ) = and 3. for every k, 1 k n, there exists an i var (γ k ) such that γ k i = 1 and, for every k', 1 k' n, if i var (γ k' ) then γ k = γ k'. We call α ï + succinct iff it is not prolix. Examples: is prolix.
25 A crucial (and natural) partition of ï + Definition: We call any α ï + prolix iff there exists a decomposition α = β 0 γ 1 β 1 γ 2 β 2... β n-1 γ n β n with n 1, β k ï * and γ k ï +, k n, such that 1. for every k, 1 k n, γ k 2, 2. for every k, 1 k n, and for every k', 0 k' n, var (γ k ) var (β k' ) = and 3. for every k, 1 k n, there exists an i var (γ k ) such that γ k i = 1 and, for every k', 1 k' n, if i var (γ k' ) then γ k = γ k'. We call α ï + succinct iff it is not prolix. Examples: is prolix is succinct.
26 Why is this a natural partition? A succinct pattern is a shortest generator of a terminal-free E-pattern language: orem [Reidenbach, 2002]: Apatternα is succinct if and only if, for every pattern α' with L (α') = L (α), α' α.
27 Why is this a natural partition? A succinct pattern is a shortest generator of a terminal-free E-pattern language: orem [Reidenbach, 2002]: Apatternα is succinct if and only if, for every pattern α' with L (α') = L (α), α' α. set of prolix patterns exactly corresponds to the set of finite fixed points of nontrivial morphisms [Head, 1981]: orem [Head, 1981]: Apatternα is prolix if and only if there exists a morphism ϕ: ï * ï * such that ϕ id and ϕ (α) = α.
28 Unambiguous words for prolix patterns? No... orem: For any prolix pattern α and for any nonerasing morphism σ, σ (α) is ambiguous.
29 Unambiguous words for prolix patterns? No... orem: For any prolix pattern α and for any nonerasing morphism σ, σ (α) is ambiguous. Proof: α is prolix there is a ϕ with ϕ (α) = α and ϕ (i) = ε for some i in var (α) for every σ define ρ = σ ϕ ρ (α) = σ (α), but ρ is not nonerasing
30 Unambiguous words for prolix patterns? No... orem: For any prolix pattern α and for any nonerasing morphism σ, σ (α) is ambiguous. Proof: α is prolix there is a ϕ with ϕ (α) = α and ϕ (i) = ε for some i in var (α) for every σ define ρ = σ ϕ ρ (α) = σ (α), but ρ is not nonerasing...and yes: If we omit the claim that σ must be nonerasing then some prolix patterns have an unambiguous image, some have not.
31 A first approach to succinct patterns Proposition: re is no nonerasing morphism σ such that, for every succinct pattern α, σ (α) is unambiguous.
32 A first approach to succinct patterns Proposition: re is no nonerasing morphism σ such that, for every succinct pattern α, σ (α) is unambiguous. Proof idea: Particular types of (sub-)patterns in α are required such as α =... j k j k' j' k j' k'..., with no other occurrences of these variables. For every nonerasing morphism σ we can find a pattern α such that σ (α) is not unambiguous.
33 main result orem: For every succinct pattern α, there is an injective morphism σ α such that σ α (α) is unambiguous.
34 main result orem: For every succinct pattern α, there is an injective morphism σ α such that σ α (α) is unambiguous. This leads to a third characterisation of succinctness: Corollary: A pattern α is succinct if and only if there exists an injective morphism σ such that σ (α) is unambiguous.
35 morphism some ideas [1 of 7] Recall the above structure: Let α = bab baa a b a a b abb aaabaa
36 morphism some ideas [1 of 7] Recall the above structure: Let α = bab baa a b a a b abb aaabaa First observation: In the given example, ambiguity is caused by the fact that the morphic images of "1" and "4" end with the same letter, namely a.
37 morphism some ideas [1 of 7] Recall the above structure: Let α = bab baa a b a a b abb aaabaa First observation: In the given example, ambiguity is caused by the fact that the morphic images of "1" and "4" end with the same letter, namely a. Second observation: For every occurrence of "1" and "4", the right neighbour reads either "2" or "3", and the latter variables have no other left neighbours in α.
38 morphism some ideas [2 of 7] A first idea... For every variable i in a pattern α, identify the set L i (resp. R i ) of all of its left (resp. right) neighbours. Choose σ α such that each L i (resp. R i ) contains variables that have morphic images with different last (resp. first) letters. In other words: Choose σ α such that each L i (resp. R i ) is (morphically) heterogeneous.
39 morphism some ideas [2 of 7] A first idea... For every variable i in a pattern α, identify the set L i (resp. R i ) of all of its left (resp. right) neighbours. Choose σ α such that each L i (resp. R i ) contains variables that have morphic images with different last (resp. first) letters. In other words: Choose σ α such that each L i (resp. R i ) is (morphically) heterogeneous....that does not work: Example: Let α = L 1 = {2, 3}, L 2 = {1, 3}, L 3 = {1, 2}
40 morphism some ideas [2 of 7] A first idea... For every variable i in a pattern α, identify the set L i (resp. R i ) of all of its left (resp. right) neighbours. Choose σ α such that each L i (resp. R i ) contains variables that have morphic images with different last (resp. first) letters. In other words: Choose σ α such that each L i (resp. R i ) is (morphically) heterogeneous....that does not work: Example: Let α = L 1 = {2, 3}, L 2 = {1, 3}, L 3 = {1, 2} σ α (2) =... a σ α (3) =... b
41 morphism some ideas [2 of 7] A first idea... For every variable i in a pattern α, identify the set L i (resp. R i ) of all of its left (resp. right) neighbours. Choose σ α such that each L i (resp. R i ) contains variables that have morphic images with different last (resp. first) letters. In other words: Choose σ α such that each L i (resp. R i ) is (morphically) heterogeneous....that does not work: Example: Let α = L 1 = {2, 3}, L 2 = {1, 3}, L 3 = {1, 2} σ α (2) =... a σ α (3) =... b σ α (1) =... a σ α (3) =... b
42 morphism some ideas [2 of 7] A first idea... For every variable i in a pattern α, identify the set L i (resp. R i ) of all of its left (resp. right) neighbours. Choose σ α such that each L i (resp. R i ) contains variables that have morphic images with different last (resp. first) letters. In other words: Choose σ α such that each L i (resp. R i ) is (morphically) heterogeneous....that does not work: Example: Let α = L 1 = {2, 3}, L 2 = {1, 3}, L 3 = {1, 2} σ α (2) =... a σ α (3) =... b σ α (1) =... a σ α (3) =... b σ α (1) =... a σ α (2) =... a
43 morphism some ideas [3 of 7] Question: Can we weaken the claim that each L i (resp. R i ) must be morphically heterogeneous?
44 morphism some ideas [3 of 7] Question: Can we weaken the claim that each L i (resp. R i ) must be morphically heterogeneous? Example: Let α = L 2 = {1, 3}, L 5 = {4, 3}, L 6 = {1, 4}... a σ α (2)... b σ α (2)... a σ α (5)... b σ α (5)... a σ α (6)... a σ α (6)
45 morphism some ideas [3 of 7] Question: Can we weaken the claim that each L i (resp. R i ) must be morphically heterogeneous? Example: Let α = L 2 = {1, 3}, L 5 = {4, 3}, L 6 = {1, 4}... a σ α (2)... b σ α (2)... a σ α (5)... b σ α (5)... a σ α (6)... a σ α (6) ρ (6) = a σ α (6) ρ (6)
46 morphism some ideas [3 of 7] Question: Can we weaken the claim that each L i (resp. R i ) must be morphically heterogeneous? Example: Let α = L 2 = {1, 3}, L 5 = {4, 3}, L 6 = {1, 4}... a σ α (2)... b σ α (2)... a σ α (5)... b σ α (5)... a σ α (6)... a σ α (6) ρ (6) = a σ α (6) ρ (5) = a σ α (5) ρ (5) ρ (6)
47 morphism some ideas [3 of 7] Question: Can we weaken the claim that each L i (resp. R i ) must be morphically heterogeneous? Example: Let α = L 2 = {1, 3}, L 5 = {4, 3}, L 6 = {1, 4}... a σ α (2)... b σ α (2)... a σ α (5)... b σ α (5)... a σ α (6)... a σ α (6) ρ (6) = a σ α (6) ρ (5) ρ (6) ρ (5) = a σ α (5) but then ρ (5) = b σ α (5). Thus, there is no morphism ρ.
48 morphism some ideas [4 of 7] Observation: Whenever, for some j, k var (α), L j L k then the heterogeneity of L j "protects" the images of the variables in L k and vice versa.
49 morphism some ideas [4 of 7] Observation: Whenever, for some j, k var (α), L j L k then the heterogeneity of L j "protects" the images of the variables in L k and vice versa. In fact, this property even is "transitive", i.e. if, for some j, k var (α), there exist arbitrary L k,1, L k,2,..., L k,p with L k,i L k,i+1 and L k,1 = L j and L k,p = L k then the heterogeneity of L j makes an alternative morphic image for k impossible.
50 morphism some ideas [5 of 7] Idea: We introduce an equivalence relation ~ L on var (α): For each pair j, j' var (α), j ~ L j' if and only if there exist L k,1,l k,2,..., L k,p with L k,i L k,i+1 and j L k,1 and j' L k,p. We name the resulting equivalence classes L 1, L 2,..., L m. Thus, L 1 L 2... L m = var (α), and the L i are pairwise disjoint. Remark: Analogously, we introduce a relation ~ R.
51 morphism some ideas [6 of 7] Example: Let α = L 1 = {3}, L 2 = {1}, L 3 = {1, 2}, L 4 = {3, 6}, L 5 = {4, 6}, L 6 = {4, 5} L 1 = {1, 2}, L 2 = {3, 4, 5, 6}
52 morphism some ideas [6 of 7] Example: Let α = L 1 = {3}, L 2 = {1}, L 3 = {1, 2}, L 4 = {3, 6}, L 5 = {4, 6}, L 6 = {4, 5} L 1 = {1, 2}, L 2 = {3, 4, 5, 6} : For our needs, it is sufficient that each L i (resp. R i ) is morphically heterogeneous. As these sets are pairwise disjoint, there are no conflicting assignments when composing σ α.
53 morphism some ideas [7 of 7] : For every succinct pattern α, the following morphism σ α generates an unambiguous word: σ α (k) = k var (α). ab 3k aab 3k+1 aab 3k+2 a, i: k = min L i j: k = min R j, ba 3k b ab 3k+1 aab 3k+2 a, i: k = min L i j: k = min R j, ab 3k aab 3k+1 a ba 3k+2 b, i: k = min L i j: k = min R j, ba 3k b ab 3k+1 a ba 3k+2 b, i: k = min L i j: k = min R j,
54
55 1. re is no nonerasing morphism which, for every pattern, generates an unambiguous word.
56 1. re is no nonerasing morphism which, for every pattern, generates an unambiguous word. 2. image of any prolix pattern under any nonerasing morphism is not unambiguous.
57 1. re is no nonerasing morphism which, for every pattern, generates an unambiguous word. 2. image of any prolix pattern under any nonerasing morphism is not unambiguous. 3. re is no nonerasing morphism which, for every succinct pattern, generates an unambiguous word.
58 1. re is no nonerasing morphism which, for every pattern, generates an unambiguous word. 2. image of any prolix pattern under any nonerasing morphism is not unambiguous. 3. re is no nonerasing morphism which, for every succinct pattern, generates an unambiguous word. 4. For every succinct pattern there is an injective morphism generating an unambiguous word.
Restricted ambiguity of erasing morphisms
Loughborough University Institutional Repository Restricted ambiguity of erasing morphisms This item was submitted to Loughborough University's Institutional Repository by the/an author. Citation: REIDENBACH,
More informationMorphically Primitive Words (Extended Abstract)
Morphically Primitive Words (Extended Abstract) Daniel Reidenbach 1 and Johannes C. Schneider 2, 1 Department of Computer Science, Loughborough University, Loughborough, LE11 3TU, England reidenba@informatik.uni-kl.de
More informationUnambiguous morphic images of strings
Loughborough University Institutional Repository Unambiguous morphic images of strings This item was submitted to Loughborough University's Institutional Repository by the/an author. Citation: FREYDENBERGER,
More informationWeakly unambiguous morphisms
Loughborough University Institutional Repository Weakly unambiguous morphisms This item was submitted to Loughborough University's Institutional Repository by the/an author. Citation: FREYDENBERGER, D.D.,
More information6.8 The Post Correspondence Problem
6.8. THE POST CORRESPONDENCE PROBLEM 423 6.8 The Post Correspondence Problem The Post correspondence problem (due to Emil Post) is another undecidable problem that turns out to be a very helpful tool for
More informationOn the dual post correspondence problem
Loughborough University Institutional Repository On the dual post correspondence problem This item was submitted to Loughborough University's Institutional Repository by the/an author. Citation: DAY, J.D.,
More informationA discontinuity in pattern inference
Loughborough University Institutional Repository A discontinuity in pattern inference This item was submitted to Loughborough University's Institutional Repository by the/an author. Citation: REIDENBACH,
More informationDiscontinuities in pattern inference
Theoretical Computer Science 397 (2008) 166 193 www.elsevier.com/locate/tcs Discontinuities in pattern inference Daniel Reidenbach Department of Computer Science, Loughborough University, Loughborough,
More informationPOLYNOMIAL ALGORITHM FOR FIXED POINTS OF NONTRIVIAL MORPHISMS
POLYNOMIAL ALGORITHM FOR FIXED POINTS OF NONTRIVIAL MORPHISMS Abstract. A word w is a fixed point of a nontrival morphism h if w = h(w) and h is not the identity on the alphabet of w. The paper presents
More informationClosure properties of pattern languages
Loughborough University Institutional Repository Closure properties of pattern languages This item was submitted to Loughborough University's Institutional Repository by the/an author. Citation: DAY, J.D.,
More information60-354, Theory of Computation Fall Asish Mukhopadhyay School of Computer Science University of Windsor
60-354, Theory of Computation Fall 2013 Asish Mukhopadhyay School of Computer Science University of Windsor Pushdown Automata (PDA) PDA = ε-nfa + stack Acceptance ε-nfa enters a final state or Stack is
More informationSolutions to Problem Set 3
V22.0453-001 Theory of Computation October 8, 2003 TA: Nelly Fazio Solutions to Problem Set 3 Problem 1 We have seen that a grammar where all productions are of the form: A ab, A c (where A, B non-terminals,
More informationTuring s thesis: (1930) Any computation carried out by mechanical means can be performed by a Turing Machine
Turing s thesis: (1930) Any computation carried out by mechanical means can be performed by a Turing Machine There is no known model of computation more powerful than Turing Machines Definition of Algorithm:
More informationContext-free Grammars and Languages
Context-free Grammars and Languages COMP 455 002, Spring 2019 Jim Anderson (modified by Nathan Otterness) 1 Context-free Grammars Context-free grammars provide another way to specify languages. Example:
More informationAbelian Pattern Avoidance in Partial Words
Abelian Pattern Avoidance in Partial Words F. Blanchet-Sadri 1 Benjamin De Winkle 2 Sean Simmons 3 July 22, 2013 Abstract Pattern avoidance is an important topic in combinatorics on words which dates back
More informationTheory of Computation
Theory of Computation Lecture #2 Sarmad Abbasi Virtual University Sarmad Abbasi (Virtual University) Theory of Computation 1 / 1 Lecture 2: Overview Recall some basic definitions from Automata Theory.
More informationThe Post Correspondence Problem; Applications to Undecidability Results
Chapter 8 The Post Correspondence Problem; Applications to Undecidability Results 8.1 The Post Correspondence Problem The Post correspondence problem (due to Emil Post) is another undecidable problem that
More informationComputability and Complexity
Computability and Complexity Rewriting Systems and Chomsky Grammars CAS 705 Ryszard Janicki Department of Computing and Software McMaster University Hamilton, Ontario, Canada janicki@mcmaster.ca Ryszard
More informationTheory of Computation
Fall 2002 (YEN) Theory of Computation Midterm Exam. Name:... I.D.#:... 1. (30 pts) True or false (mark O for true ; X for false ). (Score=Max{0, Right- 1 2 Wrong}.) (1) X... If L 1 is regular and L 2 L
More informationCOSE212: Programming Languages. Lecture 1 Inductive Definitions (1)
COSE212: Programming Languages Lecture 1 Inductive Definitions (1) Hakjoo Oh 2017 Fall Hakjoo Oh COSE212 2017 Fall, Lecture 1 September 4, 2017 1 / 9 Inductive Definitions Inductive definition (induction)
More informationarxiv: v2 [math.co] 24 Oct 2012
On minimal factorizations of words as products of palindromes A. Frid, S. Puzynina, L. Zamboni June 23, 2018 Abstract arxiv:1210.6179v2 [math.co] 24 Oct 2012 Given a finite word u, we define its palindromic
More informationSemigroup presentations via boundaries in Cayley graphs 1
Semigroup presentations via boundaries in Cayley graphs 1 Robert Gray University of Leeds BMC, Newcastle 2006 1 (Research conducted while I was a research student at the University of St Andrews, under
More informationHarvard CS121 and CSCI E-121 Lecture 2: Mathematical Preliminaries
Harvard CS121 and CSCI E-121 Lecture 2: Mathematical Preliminaries Harry Lewis September 5, 2013 Reading: Sipser, Chapter 0 Sets Sets are defined by their members A = B means that for every x, x A iff
More informationA non-learnable class of E-pattern languages
Loughborough University Institutional Repository A non-learnable class of E-pattern languages This item was submitted to Loughborough University's Institutional Repository by the/an author. Citation: REIDENBACH,
More informationCOSE212: Programming Languages. Lecture 1 Inductive Definitions (1)
COSE212: Programming Languages Lecture 1 Inductive Definitions (1) Hakjoo Oh 2018 Fall Hakjoo Oh COSE212 2018 Fall, Lecture 1 September 5, 2018 1 / 10 Inductive Definitions Inductive definition (induction)
More informationDynamic Programming. Shuang Zhao. Microsoft Research Asia September 5, Dynamic Programming. Shuang Zhao. Outline. Introduction.
Microsoft Research Asia September 5, 2005 1 2 3 4 Section I What is? Definition is a technique for efficiently recurrence computing by storing partial results. In this slides, I will NOT use too many formal
More informationWeek Some Warm-up Questions
1 Some Warm-up Questions Week 1-2 Abstraction: The process going from specific cases to general problem. Proof: A sequence of arguments to show certain conclusion to be true. If... then... : The part after
More informationTheory of Computer Science
Theory of Computer Science C1. Formal Languages and Grammars Malte Helmert University of Basel March 14, 2016 Introduction Example: Propositional Formulas from the logic part: Definition (Syntax of Propositional
More informationCS 154, Lecture 4: Limitations on DFAs (I), Pumping Lemma, Minimizing DFAs
CS 154, Lecture 4: Limitations on FAs (I), Pumping Lemma, Minimizing FAs Regular or Not? Non-Regular Languages = { w w has equal number of occurrences of 01 and 10 } REGULAR! C = { w w has equal number
More informationA non-learnable class of E-pattern languages
Theoretical Computer Science 350 (2006) 91 102 www.elsevier.com/locate/tcs A non-learnable class of E-pattern languages Daniel Reidenbach 1 Fachbereich Informatik, Technische Universität Kaiserslautern,
More informationFiniteness conditions and index in semigroup theory
Finiteness conditions and index in semigroup theory Robert Gray University of Leeds Leeds, January 2007 Robert Gray (University of Leeds) 1 / 39 Outline 1 Motivation and background Finiteness conditions
More informationA generalization of Thue freeness for partial words. By: Francine Blanchet-Sadri, Robert Mercaş, and Geoffrey Scott
A generalization of Thue freeness for partial words By: Francine Blanchet-Sadri, Robert Mercaş, and Geoffrey Scott F. Blanchet-Sadri, R. Mercas and G. Scott, A Generalization of Thue Freeness for Partial
More informationTheory of Computation 1 Sets and Regular Expressions
Theory of Computation 1 Sets and Regular Expressions Frank Stephan Department of Computer Science Department of Mathematics National University of Singapore fstephan@comp.nus.edu.sg Theory of Computation
More information1. (a) Explain the procedure to convert Context Free Grammar to Push Down Automata.
Code No: R09220504 R09 Set No. 2 II B.Tech II Semester Examinations,December-January, 2011-2012 FORMAL LANGUAGES AND AUTOMATA THEORY Computer Science And Engineering Time: 3 hours Max Marks: 75 Answer
More informationThis lecture covers Chapter 5 of HMU: Context-free Grammars
This lecture covers Chapter 5 of HMU: Context-free rammars (Context-free) rammars (Leftmost and Rightmost) Derivations Parse Trees An quivalence between Derivations and Parse Trees Ambiguity in rammars
More informationSection Summary. Relations and Functions Properties of Relations. Combining Relations
Chapter 9 Chapter Summary Relations and Their Properties n-ary Relations and Their Applications (not currently included in overheads) Representing Relations Closures of Relations (not currently included
More informationGrammars (part II) Prof. Dan A. Simovici UMB
rammars (part II) Prof. Dan A. Simovici UMB 1 / 1 Outline 2 / 1 Length-Increasing vs. Context-Sensitive rammars Theorem The class L 1 equals the class of length-increasing languages. 3 / 1 Length-Increasing
More informationSupplementary Notes on Inductive Definitions
Supplementary Notes on Inductive Definitions 15-312: Foundations of Programming Languages Frank Pfenning Lecture 2 August 29, 2002 These supplementary notes review the notion of an inductive definition
More informationPattern-Matching for Strings with Short Descriptions
Pattern-Matching for Strings with Short Descriptions Marek Karpinski marek@cs.uni-bonn.de Department of Computer Science, University of Bonn, 164 Römerstraße, 53117 Bonn, Germany Wojciech Rytter rytter@mimuw.edu.pl
More informationMonoids of languages, monoids of reflexive. relations and ordered monoids. Ganna Kudryavtseva. June 22, 2010
June 22, 2010 J -trivial A monoid S is called J -trivial if the Green s relation J on it is the trivial relation, that is aj b implies a = b for any a, b S, or, equivalently all J -classes of S are one-element.
More informationSuccinctness of the Complement and Intersection of Regular Expressions
Succinctness of the Complement and Intersection of Regular Expressions Wouter Gelade and Frank Neven Hasselt University and transnational University of Limburg February 21, 2008 W. Gelade (Hasselt University)
More informationContext Free Languages. Automata Theory and Formal Grammars: Lecture 6. Languages That Are Not Regular. Non-Regular Languages
Context Free Languages Automata Theory and Formal Grammars: Lecture 6 Context Free Languages Last Time Decision procedures for FAs Minimum-state DFAs Today The Myhill-Nerode Theorem The Pumping Lemma Context-free
More informationCS154 Final Examination
CS154 Final Examination June 7, 2010, 7-10PM Directions: CS154 students: answer all 13 questions on this paper. Those taking CS154N should answer only questions 8-13. The total number of points on this
More informationTree sets. Reinhard Diestel
1 Tree sets Reinhard Diestel Abstract We study an abstract notion of tree structure which generalizes treedecompositions of graphs and matroids. Unlike tree-decompositions, which are too closely linked
More informationSORTING SUFFIXES OF TWO-PATTERN STRINGS.
International Journal of Foundations of Computer Science c World Scientific Publishing Company SORTING SUFFIXES OF TWO-PATTERN STRINGS. FRANTISEK FRANEK and WILLIAM F. SMYTH Algorithms Research Group,
More informationCSCI 2200 Foundations of Computer Science Spring 2018 Quiz 3 (May 2, 2018) SOLUTIONS
CSCI 2200 Foundations of Computer Science Spring 2018 Quiz 3 (May 2, 2018) SOLUTIONS 1. [6 POINTS] For language L 1 = {0 n 1 m n, m 1, m n}, which string is in L 1? ANSWER: 0001111 is in L 1 (with n =
More informationLecture Notes on Inductive Definitions
Lecture Notes on Inductive Definitions 15-312: Foundations of Programming Languages Frank Pfenning Lecture 2 August 28, 2003 These supplementary notes review the notion of an inductive definition and give
More informationA Universal Turing Machine
A Universal Turing Machine A limitation of Turing Machines: Turing Machines are hardwired they execute only one program Real Computers are re-programmable Solution: Universal Turing Machine Attributes:
More informationCS154. Non-Regular Languages, Minimizing DFAs
CS54 Non-Regular Languages, Minimizing FAs CS54 Homework is due! Homework 2 will appear this afternoon 2 The Pumping Lemma: Structure in Regular Languages Let L be a regular language Then there is a positive
More informationFORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY
15-453 FORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY REVIEW for MIDTERM 1 THURSDAY Feb 6 Midterm 1 will cover everything we have seen so far The PROBLEMS will be from Sipser, Chapters 1, 2, 3 It will be
More informationIndependence of certain quantities indicating subword occurrences
Theoretical Computer Science 362 (2006) 222 231 wwwelseviercom/locate/tcs Independence of certain quantities indicating subword occurrences Arto Salomaa Turku Centre for Computer Science, Lemminkäisenkatu
More informationLecture 5: Minimizing DFAs
6.45 Lecture 5: Minimizing DFAs 6.45 Announcements: - Pset 2 is up (as of last night) - Dylan says: It s fire. - How was Pset? 2 DFAs NFAs DEFINITION Regular Languages Regular Expressions 3 4 Some Languages
More informationDefinitions. Notations. Injective, Surjective and Bijective. Divides. Cartesian Product. Relations. Equivalence Relations
Page 1 Definitions Tuesday, May 8, 2018 12:23 AM Notations " " means "equals, by definition" the set of all real numbers the set of integers Denote a function from a set to a set by Denote the image of
More informationTheory of Computation
Thomas Zeugmann Hokkaido University Laboratory for Algorithmics http://www-alg.ist.hokudai.ac.jp/ thomas/toc/ Lecture 3: Finite State Automata Motivation In the previous lecture we learned how to formalize
More informationAC68 FINITE AUTOMATA & FORMULA LANGUAGES DEC 2013
Q.2 a. Prove by mathematical induction n 4 4n 2 is divisible by 3 for n 0. Basic step: For n = 0, n 3 n = 0 which is divisible by 3. Induction hypothesis: Let p(n) = n 3 n is divisible by 3. Induction
More informationSpecial Factors and Suffix and Factor Automata
Special Factors and Suffix and Factor Automata LIAFA, Paris 5 November 2010 Finite Words Let Σ be a finite alphabet, e.g. Σ = {a, n, b, c}. A word over Σ is finite concatenation of symbols of Σ, that is,
More informationC1.1 Introduction. Theory of Computer Science. Theory of Computer Science. C1.1 Introduction. C1.2 Alphabets and Formal Languages. C1.
Theory of Computer Science March 20, 2017 C1. Formal Languages and Grammars Theory of Computer Science C1. Formal Languages and Grammars Malte Helmert University of Basel March 20, 2017 C1.1 Introduction
More informationON PARTITIONS SEPARATING WORDS. Formal languages; finite automata; separation by closed sets.
ON PARTITIONS SEPARATING WORDS Abstract. Partitions {L k } m k=1 of A+ into m pairwise disjoint languages L 1, L 2,..., L m such that L k = L + k for k = 1, 2,..., m are considered. It is proved that such
More informationLecture Notes on Inductive Definitions
Lecture Notes on Inductive Definitions 15-312: Foundations of Programming Languages Frank Pfenning Lecture 2 September 2, 2004 These supplementary notes review the notion of an inductive definition and
More informationWhat we have done so far
What we have done so far DFAs and regular languages NFAs and their equivalence to DFAs Regular expressions. Regular expressions capture exactly regular languages: Construct a NFA from a regular expression.
More informationMatroid intersection, base packing and base covering for infinite matroids
Matroid intersection, base packing and base covering for infinite matroids Nathan Bowler Johannes Carmesin June 25, 2014 Abstract As part of the recent developments in infinite matroid theory, there have
More informationMathematics 114L Spring 2018 D.A. Martin. Mathematical Logic
Mathematics 114L Spring 2018 D.A. Martin Mathematical Logic 1 First-Order Languages. Symbols. All first-order languages we consider will have the following symbols: (i) variables v 1, v 2, v 3,... ; (ii)
More informationEconomics 204 Fall 2011 Problem Set 1 Suggested Solutions
Economics 204 Fall 2011 Problem Set 1 Suggested Solutions 1. Suppose k is a positive integer. Use induction to prove the following two statements. (a) For all n N 0, the inequality (k 2 + n)! k 2n holds.
More information6 Permutations Very little of this section comes from PJE.
6 Permutations Very little of this section comes from PJE Definition A permutation (p147 of a set A is a bijection ρ : A A Notation If A = {a b c } and ρ is a permutation on A we can express the action
More informationCS154 Final Examination
CS154 Final Examination June 7, 2010, 7-10PM Directions: CS154 students: answer all 13 questions on this paper. Those taking CS154N should answer only questions 8-13. The total number of points on this
More informationFORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY
5-453 FORMAL LANGUAGES, AUTOMATA AN COMPUTABILITY FA NFA EFINITION Regular Language Regular Expression How can we prove that two regular expressions are equivalent? How can we prove that two FAs (or two
More informationFORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY
15-453 FORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY Chomsky Normal Form and TURING MACHINES TUESDAY Feb 4 CHOMSKY NORMAL FORM A context-free grammar is in Chomsky normal form if every rule is of the form:
More informationProbabilistic Aspects of Computer Science: Probabilistic Automata
Probabilistic Aspects of Computer Science: Probabilistic Automata Serge Haddad LSV, ENS Paris-Saclay & CNRS & Inria M Jacques Herbrand Presentation 2 Properties of Stochastic Languages 3 Decidability Results
More informationThe non-logical symbols determine a specific F OL language and consists of the following sets. Σ = {Σ n } n<ω
1 Preliminaries In this chapter we first give a summary of the basic notations, terminology and results which will be used in this thesis. The treatment here is reduced to a list of definitions. For the
More informationA generalization of Thue freeness for partial words
A generalization of Thue freeness for partial words F. Blanchet-Sadri 1 Robert Mercaş 2 Geoffrey Scott 3 September 22, 2008 Abstract This paper approaches the combinatorial problem of Thue freeness for
More informationSection 14.1 Computability then else
Section 14.1 Computability Some problems cannot be solved by any machine/algorithm. To prove such statements we need to effectively describe all possible algorithms. Example (Turing machines). Associate
More informationON THE STAR-HEIGHT OF SUBWORD COUNTING LANGUAGES AND THEIR RELATIONSHIP TO REES ZERO-MATRIX SEMIGROUPS
ON THE STAR-HEIGHT OF SUBWORD COUNTING LANGUAGES AND THEIR RELATIONSHIP TO REES ZERO-MATRIX SEMIGROUPS TOM BOURNE AND NIK RUŠKUC Abstract. Given a word w over a finite alphabet, we consider, in three special
More informationComputational Models - Lecture 3 1
Computational Models - Lecture 3 1 Handout Mode Iftach Haitner and Yishay Mansour. Tel Aviv University. March 13/18, 2013 1 Based on frames by Benny Chor, Tel Aviv University, modifying frames by Maurice
More informationIntroduction to Turing Machines. Reading: Chapters 8 & 9
Introduction to Turing Machines Reading: Chapters 8 & 9 1 Turing Machines (TM) Generalize the class of CFLs: Recursively Enumerable Languages Recursive Languages Context-Free Languages Regular Languages
More informationPřednáška 12. Důkazové kalkuly Kalkul Hilbertova typu. 11/29/2006 Hilbertův kalkul 1
Přednáška 12 Důkazové kalkuly Kalkul Hilbertova typu 11/29/2006 Hilbertův kalkul 1 Formal systems, Proof calculi A proof calculus (of a theory) is given by: A. a language B. a set of axioms C. a set of
More informationExercises with solutions (Set B)
Exercises with solutions (Set B) 3. A fair coin is tossed an infinite number of times. Let Y n be a random variable, with n Z, that describes the outcome of the n-th coin toss. If the outcome of the n-th
More informationBüchi Automata and their closure properties. - Ajith S and Ankit Kumar
Büchi Automata and their closure properties - Ajith S and Ankit Kumar Motivation Conventional programs accept input, compute, output result, then terminate Reactive program : not expected to terminate
More informationCSE 311: Foundations of Computing I Autumn 2014 Practice Final: Section X. Closed book, closed notes, no cell phones, no calculators.
CSE 311: Foundations of Computing I Autumn 014 Practice Final: Section X YY ZZ Name: UW ID: Instructions: Closed book, closed notes, no cell phones, no calculators. You have 110 minutes to complete the
More informationWe define the multi-step transition function T : S Σ S as follows. 1. For any s S, T (s,λ) = s. 2. For any s S, x Σ and a Σ,
Distinguishability Recall A deterministic finite automaton is a five-tuple M = (S,Σ,T,s 0,F) where S is a finite set of states, Σ is an alphabet the input alphabet, T : S Σ S is the transition function,
More informationTuring Machines Part III
Turing Machines Part III Announcements Problem Set 6 due now. Problem Set 7 out, due Monday, March 4. Play around with Turing machines, their powers, and their limits. Some problems require Wednesday's
More informationGödel s Completeness Theorem
A.Miller M571 Spring 2002 Gödel s Completeness Theorem We only consider countable languages L for first order logic with equality which have only predicate symbols and constant symbols. We regard the symbols
More informationLectures - XXIII and XXIV Coproducts and Pushouts
Lectures - XXIII and XXIV Coproducts and Pushouts We now discuss further categorical constructions that are essential for the formulation of the Seifert Van Kampen theorem. We first discuss the notion
More informationChapter 5. Finite Automata
Chapter 5 Finite Automata 5.1 Finite State Automata Capable of recognizing numerous symbol patterns, the class of regular languages Suitable for pattern-recognition type applications, such as the lexical
More informationThis lecture covers Chapter 6 of HMU: Pushdown Automata
This lecture covers Chapter 6 of HMU: ushdown Automata ushdown Automata (DA) Language accepted by a DA Equivalence of CFs and the languages accepted by DAs Deterministic DAs Additional Reading: Chapter
More informationMath 210A: Algebra, Homework 6
Math 210A: Algebra, Homework 6 Ian Coley November 13, 2013 Problem 1 For every two nonzero integers n and m construct an exact sequence For which n and m is the sequence split? 0 Z/nZ Z/mnZ Z/mZ 0 Let
More informationEquational Logic. Chapter Syntax Terms and Term Algebras
Chapter 2 Equational Logic 2.1 Syntax 2.1.1 Terms and Term Algebras The natural logic of algebra is equational logic, whose propositions are universally quantified identities between terms built up from
More informationUniversal Algebra for Logics
Universal Algebra for Logics Joanna GRYGIEL University of Czestochowa Poland j.grygiel@ajd.czest.pl 2005 These notes form Lecture Notes of a short course which I will give at 1st School on Universal Logic
More informationComplexity Theory VU , SS The Polynomial Hierarchy. Reinhard Pichler
Complexity Theory Complexity Theory VU 181.142, SS 2018 6. The Polynomial Hierarchy Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität Wien 15 May, 2018 Reinhard
More informationOutline. Complexity Theory EXACT TSP. The Class DP. Definition. Problem EXACT TSP. Complexity of EXACT TSP. Proposition VU 181.
Complexity Theory Complexity Theory Outline Complexity Theory VU 181.142, SS 2018 6. The Polynomial Hierarchy Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität
More informationXMA2C011, Annual Examination 2012: Worked Solutions
XMA2C011, Annual Examination 2012: Worked Solutions David R. Wilkins 1. (a) Let A, B and C be sets. Prove that A (B \ C) = (A B) \ (A C). We show that every element of A (B \ C) is an element of (A B)
More informationEquivalence of Regular Expressions and FSMs
Equivalence of Regular Expressions and FSMs Greg Plaxton Theory in Programming Practice, Spring 2005 Department of Computer Science University of Texas at Austin Regular Language Recall that a language
More informationChomsky Normal Form and TURING MACHINES. TUESDAY Feb 4
Chomsky Normal Form and TURING MACHINES TUESDAY Feb 4 CHOMSKY NORMAL FORM A context-free grammar is in Chomsky normal form if every rule is of the form: A BC A a S ε B and C aren t start variables a is
More information3. R = = on Z. R, S, A, T.
6 Relations Let R be a relation on a set A, i.e., a subset of AxA. Notation: xry iff (x, y) R AxA. Recall: A relation need not be a function. Example: The relation R 1 = {(x, y) RxR x 2 + y 2 = 1} is not
More informationCS 468: Computational Topology Group Theory Fall b c b a b a c b a c b c c b a
Q: What s purple and commutes? A: An abelian grape! Anonymous Group Theory Last lecture, we learned about a combinatorial method for characterizing spaces: using simplicial complexes as triangulations
More informationRAMSEY THEORY. 1 Ramsey Numbers
RAMSEY THEORY 1 Ramsey Numbers Party Problem: Find the minimum number R(k, l) of guests that must be invited so that at least k will know each other or at least l will not know each other (we assume that
More informationOn Strong Alt-Induced Codes
Applied Mathematical Sciences, Vol. 12, 2018, no. 7, 327-336 HIKARI Ltd, www.m-hikari.com https://doi.org/10.12988/ams.2018.8113 On Strong Alt-Induced Codes Ngo Thi Hien Hanoi University of Science and
More informationValence automata over E-unitary inverse semigroups
Valence automata over E-unitary inverse semigroups Erzsi Dombi 30 May 2018 Outline Motivation Notation and introduction Valence automata Bicyclic and polycyclic monoids Motivation Chomsky-Schützenberger
More informationBOUNDS ON ZIMIN WORD AVOIDANCE
BOUNDS ON ZIMIN WORD AVOIDANCE JOSHUA COOPER* AND DANNY RORABAUGH* Abstract. How long can a word be that avoids the unavoidable? Word W encounters word V provided there is a homomorphism φ defined by mapping
More informationLecture Notes: The Halting Problem; Reductions
Lecture Notes: The Halting Problem; Reductions COMS W3261 Columbia University 20 Mar 2012 1 Review Key point. Turing machines can be encoded as strings, and other Turing machines can read those strings
More informationDecentralized Control of Discrete Event Systems with Bounded or Unbounded Delay Communication
Decentralized Control of Discrete Event Systems with Bounded or Unbounded Delay Communication Stavros Tripakis Abstract We introduce problems of decentralized control with communication, where we explicitly
More information