Unambiguous Recognizable Two-dimensional Languages



Similar documents
Regular Sets and Expressions

One Minute To Learn Programming: Finite Automata

and thus, they are similar. If k = 3 then the Jordan form of both matrices is

Polynomial Functions. Polynomial functions in one variable can be written in expanded form as ( )

Homework 3 Solutions

Example 27.1 Draw a Venn diagram to show the relationship between counting numbers, whole numbers, integers, and rational numbers.

Example A rectangular box without lid is to be made from a square cardboard of sides 18 cm by cutting equal squares from each corner and then folding

Regular Languages and Finite Automata

PHY 140A: Solid State Physics. Solution to Homework #2

flex Regular Expressions and Lexical Scanning Regular Expressions and flex Examples on Alphabet A = {a,b} (Standard) Regular Expressions on Alphabet A

Factoring Polynomials

EQUATIONS OF LINES AND PLANES

RIGHT TRIANGLES AND THE PYTHAGOREAN TRIPLETS

9 CONTINUOUS DISTRIBUTIONS

LINEAR TRANSFORMATIONS AND THEIR REPRESENTING MATRICES

Mathematics. Vectors. hsn.uk.net. Higher. Contents. Vectors 128 HSN23100

Solution to Problem Set 1

MATH 150 HOMEWORK 4 SOLUTIONS

Bypassing Space Explosion in Regular Expression Matching for Network Intrusion Detection and Prevention Systems

Reasoning to Solve Equations and Inequalities

Vectors Recap of vectors

PROF. BOYAN KOSTADINOV NEW YORK CITY COLLEGE OF TECHNOLOGY, CUNY

All pay auctions with certain and uncertain prizes a comment

1.00/1.001 Introduction to Computers and Engineering Problem Solving Fall Final Exam

Virtual Machine. Part II: Program Control. Building a Modern Computer From First Principles.

Learning Workflow Petri Nets

Quick Reference Guide: One-time Account Update

Regular Repair of Specifications

DlNBVRGH + Sickness Absence Monitoring Report. Executive of the Council. Purpose of report

Binary Representation of Numbers Autar Kaw

g(y(a), y(b)) = o, B a y(a)+b b y(b)=c, Boundary Value Problems Lecture Notes to Accompany

4.11 Inner Product Spaces

Radius of the Earth - Radii Used in Geodesy James R. Clynch February 2006

Concept Formation Using Graph Grammars

19. The Fermat-Euler Prime Number Theorem

Treatment Spring Late Summer Fall Mean = 1.33 Mean = 4.88 Mean = 3.

Drawing Diagrams From Labelled Graphs

9.3. The Scalar Product. Introduction. Prerequisites. Learning Outcomes

Decision Rule Extraction from Trained Neural Networks Using Rough Sets

2m + V ( ˆX) (1) 2. Consider a particle in one dimensions whose Hamiltonian is given by

Small Business Networking

Math 314, Homework Assignment Prove that two nonvertical lines are perpendicular if and only if the product of their slopes is 1.

. At first sight a! b seems an unwieldy formula but use of the following mnemonic will possibly help. a 1 a 2 a 3 a 1 a 2

Small Business Networking

SE3BB4: Software Design III Concurrent System Design. Sample Solutions to Assignment 1

Generating In-Line Monitors For Rabin Automata

Understanding Life Cycle Costs How a Northern Pump Saves You Money

FORMAL LANGUAGES, AUTOMATA AND THEORY OF COMPUTATION EXERCISES ON REGULAR LANGUAGES

Unit 6: Exponents and Radicals

DATABASDESIGN FÖR INGENJÖRER F

How To Understand The Theory Of Inequlities

Warm-up for Differential Calculus

Your duty, however, does not require disclosure of matter:

Integration by Substitution

Appendix D: Completing the Square and the Quadratic Formula. In Appendix A, two special cases of expanding brackets were considered:

Quick Reference Guide: Reset Password

Chapter. Contents: A Constructing decimal numbers

Recognition Scheme Forensic Science Content Within Educational Programmes

Review guide for the final exam in Math 233

Lecture 5. Inner Product

Protocol Analysis / Analysis of Software Artifacts Kevin Bierhoff

The remaining two sides of the right triangle are called the legs of the right triangle.

When Simulation Meets Antichains (on Checking Language Inclusion of NFAs)

Engineer-to-Engineer Note

MODULE 3. 0, y = 0 for all y

LECTURE #05. Learning Objective. To describe the geometry in and around a unit cell in terms of directions and planes.

Lecture 3 Gaussian Probability Distribution

Small Business Networking

How To Network A Smll Business

Helicopter Theme and Variations

Small Business Networking

JaERM Software-as-a-Solution Package

CURVES ANDRÉ NEVES. that is, the curve α has finite length. v = p q p q. a i.e., the curve of smallest length connecting p to q is a straight line.

Novel Methods of Generating Self-Invertible Matrix for Hill Cipher Algorithm

UNIVERSITY OF OSLO FACULTY OF MATHEMATICS AND NATURAL SCIENCES

Java CUP. Java CUP Specifications. User Code Additions You may define Java code to be included within the generated parser:

Math 135 Circles and Completing the Square Examples

Automated Grading of DFA Constructions

SPECIAL PRODUCTS AND FACTORIZATION

The Principle of No Punishment Without a Law for It LEARNING OBJECTIVES: CRLA.GAAN:

6.045: Automata, Computability, and Complexity Or, Great Ideas in Theoretical Computer Science Spring, Class 4 Nancy Lynch

Physics 43 Homework Set 9 Chapter 40 Key

Humana Critical Illness/Cancer

A Visual and Interactive Input abb Automata. Theory Course with JFLAP 4.0

Geometry 7-1 Geometric Mean and the Pythagorean Theorem


4 Approximations. 4.1 Background. D. Levy

baby on the way, quit today

OUTLINE SYSTEM-ON-CHIP DESIGN. GETTING STARTED WITH VHDL August 31, 2015 GAJSKI S Y-CHART (1983) TOP-DOWN DESIGN (1)

body.allow-sidebar OR.no-sidebar.home-page (if this is the home page).has-custom-banner OR.nocustom-banner .IR OR.no-IR

Ratio and Proportion

Equivalence Checking. Sean Weaver

6.2 Volumes of Revolution: The Disk Method

FAULT TREES AND RELIABILITY BLOCK DIAGRAMS. Harry G. Kwatny. Department of Mechanical Engineering & Mechanics Drexel University

Use Geometry Expressions to create a more complex locus of points. Find evidence for equivalence using Geometry Expressions.

AntiSpyware Enterprise Module 8.5

How fast can we sort? Sorting. Decision-tree model. Decision-tree for insertion sort Sort a 1, a 2, a 3. CS Spring 2009

Modular Generic Verification of LTL Properties for Aspects

15.6. The mean value and the root-mean-square value of a function. Introduction. Prerequisites. Learning Outcomes. Learning Style

Transcription:

Unmbiguous Recognizble Two-dimensionl Lnguges Mrcell Anselmo, Dor Gimmrresi, Mri Mdoni, Antonio Restivo (Univ. of Slerno, Univ. Rom Tor Vergt, Univ. of Ctni, Univ. of Plermo) W2DL, My 26

REC fmily I REC fmily is defined in terms of locl lnguges It is necessry to identify the boundry of picture p using boundry symbol Σ p = M. Anselmo, D.Gimmrresi, M. Mdoni, A. Restivo W2DL, 3-5 Mggio 26 2 p = L is locl if there exists set Θ of tiles (i.e. squre pictures of size 2 2) such tht, p in L if nd only if ny sub-picture 2 2 of p is in Θ

M. Anselmo, D.Gimmrresi, M. Mdoni, A. Restivo W2DL, 3-5 Mggio 26 3 L d = the set of squre pictures with symbol in ll min digonl positions nd symbol in the other positions Exmple of locl lnguge Θ = p = p =

REC fmily II L is recognizble by tiling system if L= π(l ) where L is locl lnguge nd π is mpping from the lphbet of L to the lphbet of L Exmple: The set of ll squres over Σ = {} is recognizble by tiling system. Set L =L d nd π()= π()= L d REC is the fmily of two-dimensionl lnguges recognizble by tiling system π M. Anselmo, D.Gimmrresi, M. Mdoni, A. Restivo W2DL, 3-5 Mggio 26 4

About Unmbiguity Definition of REC is implicitly non-deterministic The determinism nd non-determinism re no more equivlent in REC: the deterministic models (4DFA, 2DOTA, ) don t recognize the whole REC REC is not closed under complement, so it is not possible to eliminte non-determinism from the model (without losing in power of recognition) An intermedite notion between determinism nd non-determinism is the notion of unmbiguity M. Anselmo, D.Gimmrresi, M. Mdoni, A. Restivo W2DL, 3-5 Mggio 26 5

Unmbiguous Recognizble Lnguges Def [GR92] A tiling system (Σ, Γ, θ, π) is unmbiguous for L Σ ** if the projection π is injective on L(θ) (i.e. for ny p L there is unique p L such tht π(p )=p). L Σ** is unmbiguous if it dmits n unmbiguous tiling system. UREC denotes the fmily of ll unmbiguous recognizble 2dim lnguges. UREC REC Generliztion in 2dims of unmbiguous utomt for strings M. Anselmo, D.Gimmrresi, M. Mdoni, A. Restivo W2DL, 3-5 Mggio 26 6

Exmple: L col-n = {p first col = lst col } {,b} ** L col-n REC Ide: Use Γ = {x y } where the subscript y sves the symbol of the first column nd π(x y ) = x b b b p = b b b b b L col-n UREC p = b b b b b b b b b b b b b b b b M. Anselmo, D.Gimmrresi, M. Mdoni, A. Restivo W2DL, 3-5 Mggio 26 7

UREC nd REC UREC REC? Yes i j L col-ij = col i = col j L col-ij REC L col-ij UREC L col-ij = Σ ** L col-n Σ ** nd REC is closed with respect to WHY? M. Anselmo, D.Gimmrresi, M. Mdoni, A. Restivo W2DL, 3-5 Mggio 26 8

Towrds necessry condition for unmbiguity Reduce two dimensionl lnguges to string lnguges over the lphbet of the columns (i.e. define L(m)) Use the Theorem of Hromkovic et l. for lower bound on the sttes of n unmbiguous utomton for string lnguge M. Anselmo, D.Gimmrresi, M. Mdoni, A. Restivo W2DL, 3-5 Mggio 26 9

From 2dim to dim Let L Σ **. For ny m consider the subset L(m) L of ll pictures with exctly m rows. L(m) cn be viewed s string lnguge over the lphbet of the columns Exmple: b b b b p = L the string w = L(4) b b b b b b b b M. Anselmo, D.Gimmrresi, M. Mdoni, A. Restivo W2DL, 3-5 Mggio 26

An utomton for L(m) Theorem [Mtz 97] Let L Σ **. If L REC, then there is k such tht, for ll m, there is finite string utomton A m with k m sttes for L(m). Ide of Proof: Let (Σ, Γ, θ, π) tiling system for L. The sttes of A m re ll the possible columns (of height m) in the locl lphbet Γ, plus n initil stte. M. Anselmo, D.Gimmrresi, M. Mdoni, A. Restivo W2DL, 3-5 Mggio 26

Ide of Proof (continued) There is n edge from column p to column q if nd only if ny sub-picture 2 2 of p q is in θ. The lbel for this edge is π(q) Exmple: In L col-n we hve b b b b b b b b b b M. Anselmo, D.Gimmrresi, M. Mdoni, A. Restivo W2DL, 3-5 Mggio 26 2

Theorem of Hromkovic et l. Def Let S Σ * be regulr string lnguge. Define the infinite boolen mtrix M S = αβ α Σ*, β Σ* where αβ = if nd only if αβ L. Since S is regulr, the number of different rows of M S is finite. Let S Σ * be regulr string lnguge. Denote by uns(s) the size of miniml unmbiguous non-deterministic utomton ccepting S. Theorem (Hromkovic et l.) For every regulr string lnguge S Σ *, uns(s) Rnk Q (M S ). M. Anselmo, D.Gimmrresi, M. Mdoni, A. Restivo W2DL, 3-5 Mggio 26 3

A necessry condition for unmbiguity Theorem Let L Σ **. If L UREC, then there is k such tht, for ll m, Rnk Q (M L(m) ) k m. Proof: Note tht if L UREC then the utomton A m for L(m) is unmbiguous Use the inequlity uns(l(m)) Rnk Q (M L(m) ) M. Anselmo, D.Gimmrresi, M. Mdoni, A. Restivo W2DL, 3-5 Mggio 26 4

UREC Consider L = L col-ij REC For every m, L(m) is lnguge of strings with t lest two occurrences of the sme symbol. L L(m) It is possible to show tht M L(m) hs Rnk equl to 2 Σ m + ginst the necessry condition for UREC. Theorem (restted) There exist recognizble 2dim lnguges tht re inherently mbiguous. M. Anselmo, D.Gimmrresi, M. Mdoni, A. Restivo W2DL, 3-5 Mggio 26 5

Properties of UREC Proposition UREC is closed under intersection nd rottion opertions. Proposition UREC is not closed under row/column conctention/closure. Proof: L col-n UREC. But L col-ij = Σ ** L col-n Σ ** UREC. M. Anselmo, D.Gimmrresi, M. Mdoni, A. Restivo W2DL, 3-5 Mggio 26 6

Using utomt chrcteriztion Def A 2UOTA is 2OTA such tht it hs t most one ccepting run on picture p. Theorem L(2DOTA) L(2UOTA) L(2OTA). Proof: Note tht L(2UOTA)=UREC (see lso Mäurer2) nd L(2OTA)=REC. For the first inclusion, consider the lnguge L = {p p is squre lst row = lst col } {,b} ** L L(2DOTA) but L L(2UOTA) The second inclusion follows from L(2UOTA) = UREC REC = L(2OTA) M. Anselmo, D.Gimmrresi, M. Mdoni, A. Restivo W2DL, 3-5 Mggio 26 7 b c b c

An undecidbility result Theorem Given tiling system (Σ, Γ, θ, π) for L Σ **, it is undecidble whether it is unmbiguous. Proof: By reduction from the undecidble 2dimensionl Unique Decipherbility Problem. M. Anselmo, D.Gimmrresi, M. Mdoni, A. Restivo W2DL, 3-5 Mggio 26 8

Further work Questions relted to UREC Questions relted to (?) DREC (deterministic version of REC) M. Anselmo, D.Gimmrresi, M. Mdoni, A. Restivo W2DL, 3-5 Mggio 26 9

Open Problems Is UREC closed under complement? Is UREC lrgest subset in REC closed under complement? Conjecture: If L REC\UREC then L REC M. Anselmo, D.Gimmrresi, M. Mdoni, A. Restivo W2DL, 3-5 Mggio 26 2

About Deterministic Recognizble 2dim Lnguges Mny deterministic models : 4DFA, 2DOTA, They don t recognize the whole REC In string lnguges the notion of determinism is, in some sense, oriented : - Determinism from left to right - Co-determinism from right to left In picture four different directions. Two proposls for the definition of 2dimensionl determinism. M. Anselmo, D.Gimmrresi, M. Mdoni, A. Restivo W2DL, 3-5 Mggio 26 2

First pproch Ide: A tiling system (Σ, Γ, θ, π) is Top-Left-deterministic if,b,c Γ nd s Σ unique tile c b d such tht π(s)=d.?? There is n unique wy to fill this position with symbol of Γ (Anlogously TR-,BL-,BR-deterministic tiling system) L is deterministic if L hs tiling system tht is deterministic with respect to some direction (TL or TR or BL or BR) M. Anselmo, D.Gimmrresi, M. Mdoni, A. Restivo W2DL, 3-5 Mggio 26 22

Second pproch Ide: A tiling system is left-to-right columndeterministic if, fter hving computed the locl symbols in n entire column of picture, the locl symbols on the next one re univoclly determined.???????? L is deterministic if L hs tiling system tht is deterministic with respect to one direction by column nd tiling system tht is deterministic with respect to one direction by row M. Anselmo, D.Gimmrresi, M. Mdoni, A. Restivo W2DL, 3-5 Mggio 26 23

Working proposl for these dys Find n pproprite definition for determinism in terms of tiling system tht is not oriented s the recognition by tiling systems M. Anselmo, D.Gimmrresi, M. Mdoni, A. Restivo W2DL, 3-5 Mggio 26 24

The end M. Anselmo, D.Gimmrresi, M. Mdoni, A. Restivo W2DL, 3-5 Mggio 26 25