On Learning Discontinuous Dependencies from Positive Data

Size: px
Start display at page:

Download "On Learning Discontinuous Dependencies from Positive Data"

Transcription

1 Formal Grammar 2004 p. 1 On Learning Discontinuous Dependencies from Positive Data Denis Béchet (1), Alexander Dikovsky (2), Annie Foret (3) and Erwan Moreau (2) (1) LIPN, University Paris 13 (2) LINA, University of Nantes (3) IRISA, University of Rennes

2 Formal Grammar 2004 p. 2 Gold s Model : identification in the limit Algorithm: Input : a finite set of sentences (positive examples) Output : a grammar in the class that generates the sentences ; the algorithm is required to converge Formally: G : class of grammars Σ : alphabet φ : function from finite subsets of Σ to G such that G G, e i i N with L(G) = e i i N : G G with L(G ) = L(G) n 0 N: n > n 0 φ({e 1,..., e n }) = G G where L(G) denotes the language associated to G

3 Conclusion Formal Grammar 2004 p. 3 PLAN Introduction Background [Dikovsky 2004] Categories, dependencies, trees and nets Categorial dependency grammars (CDGs) Languages of (untyped) nets/depencency trees/strings Learning k-valued/rigid CDGs Learning from untyped nets: an algorithm Learning from untyped nets: finite elasticity Learning from strings: finite elasticity (CDGs without optional or iterative types) Non-Learnability for CDGs with optional or iterative types

4 Formal Grammar 2004 p. 4 Categories, nodes, dependencies and nets Categories and nodes:.. D = det D. S R C S.# T. R I S = subj person Smith must R = attr rel. C = n copul D # T W T. I T = pre T O obj the to refer W = prep wh I = inf obj An untyped net: l l l. l d a l d l l a l person to whom you must refer is D D S R # T W W S S # T R I T I S S C C the local dependency distant dependency anchored dependency main conclusion Smith

5 Formal Grammar 2004 p. 5 CDG: definitions (1) Σ = alphabet for words in a natural language C = set of elementary categories : det, subj, Start(C) and End(C) = starting and ending atoms : C : start or end of 1 local dependency C : start of 0, 1 or more local dependencies (iterative) C + : start of 1 or more local dependencies (repetitive) C? : start 0 or 1 local dependency (optional) C : start (on the left) of 1 distant dependency C : end (from the right) of 1 distant dependency # C : start of 1 anchored dependency or end of 1 anchored dependency and of 1 distant dependency C, C and # C for the reverse direction

6 CDG: definitions (2) Cat(C) = categories = List(Start(C)) End(C) List(Start(C)) written L 1 \ \L i \C/R j / /R 1 = provability relation based on simplification rules (local, distant and anchored dependencies): Γ 1 C[C\α]Γ 2 Γ 1 αγ 2 (L) Γ 1 C[C \α]γ 2 Γ 1 [C \α]γ 2 (I) Γ 1 C[C + \α]γ 2 Γ 1 [C \α]γ 2 (R) Γ 1 C[C? \α]γ 2 Γ 1 αγ 2 (O) Γ 1 [C? \α]γ 2 Γ 1 αγ 2 (Ω) Γ 1 #(α)[#(α)\β]γ 2 Γ 1 αβγ 2 (A) Γ 1 ( C)Γ (1) 2 [( C)\α]Γ 3 Γ 1 Γ 2 αγ 3 (D) (1) Γ 2 without C, C and # C Formal Grammar 2004 p. 6

7 Formal Grammar 2004 p. 7 CDG: definitions (3) A CDG is a finite relation G between Σ and Cat(C) G generates a string c 1... c n Σ + iff A 1,..., A n Cat(C) such that: G : c i A i (1 i n) and A 1 A n S The language of G, L(G) = the set of strings generated by G G k-valued iff at most k types per symbol (rigid if k = 1)

8 Formal Grammar 2004 p. 8 Example of a CDG (1) G 0 : a # C \# B # B\# B b B\D c D\A d 1 # B d 2 # B \ C \S/D d 3 D L(G 0 ) = {d 1 a n d 2 b n d 3 c n n > 0} : a non-cf language

9 Formal Grammar 2004 p. 9 Example of a CDG (2) A proof of d 1 a 3 d 2 b 3 d 3 c 3 L(G 0 ), in which α = #( B), α 1 = ( B), β = #( C) and β 1 = ( C): d a a a d 2 b b b c c c d 3 β [β\α] [α\α] [α\α] [α\β 1 \S/D][α 1 \D/A] [α 1 \D/A] [α 1 \D/A] D [D\A] [D\A][D\A] ( B) A ( B) D ( B) A [β 1 \S/D] D A D S

10 Formal Grammar 2004 p. 10 Net, untyped net, tree or string Net: l l l. l d l a l person to whom you must refer is l D D S R # T W W S S # T R I T I S S C C the Untyped net: the l l l. l d l a l person to whom you must refer is l C Smith Smith Tree: the person to whom you must refer is C Smith String: the person to whom you must refer is Smith

11 Conclusion Formal Grammar 2004 p. 11 PLAN Introduction Background [Dikovsky 2004] Categories, dependencies, trees and nets Categorial dependency grammars (CDGs) Languages of (untyped) nets/depencency trees/strings Learning k-valued/rigid CDGs Learning from untyped nets: an algorithm Learning from untyped nets: finite elasticity Learning from strings: finite elasticity (CDGs without optional or iterative types) Non-Learnability for CDGs with optional or iterative types

12 Formal Grammar 2004 p. 12 Learning from untyped nets (Rigid grammars) Starting with the following positive examples the l l l l..... fish swims John swims fast

13 Formal Grammar 2004 p. 12 Learning from untyped nets (Rigid grammars) Starting with the following positive examples we assign distinct variables to slots l l l l X 1 X 2. X 3 X 4 X. 5. X 6 X 7 X 4 X. 5. X 6 X 8 the fish swims John swims fast

14 Formal Grammar 2004 p. 12 Learning from untyped nets (Rigid grammars) Starting with the following positive examples we assign distinct variables to slots l l l l X 1 X 2. X 3 X 4 X. 5. X 6 X 7 X 4 X. 5. X 6 X 8 the fish swims John swims fast and obtain the resulting grammar after unification (and link counting) General form Unification Rigid grammar the X 1 X 1 fish X 2 \X 3 X 2 = X 1 X 1 \X 3 swims X 4 \X 5 /X 6 X 4 = X 3 ; X 5 = S X 3 \S/X 6? John X 7 X 7 = X 4 (= X 3 ) X 3 fast X 8 X 8 = X 6 X 6

15 Formal Grammar 2004 p. 13 Finite elasticity and learnability Infinite elasticity: (e i ) i N an infinite sequence of sentences (L i ) i N an infinite { sequence of languages i N : e i L i such that {e 0,..., e i 1 } L i Properties [Wright 1989] unlearnability infinite elasticity finite elasticity learnability

16 Formal Grammar 2004 p. 14 Rigid languages of untyped nets Theorem: 1. Finite elasticity (in fact bounded finite thickness) 2. The class is learnable 3. The given algorithm learns the class Proof schemes: (1) There is a finite number of reduced languages in the class that correspond to a given list of untyped nets (2) Consequence of finite elasticity (3) The returned grammar corresponds to the minimal language compatible with the input untyped nets

17 Formal Grammar 2004 p. 15 Proof of finite elasticity (1) [Shinohara 1990]: finite thickness finite elasticity Definition. G 1 G 2 iff x Σ, C Cat(C), G 1 : x C G 2 : x C Definition and lemma. The mapping L UNet from link grammars to untyped net languages is monotonic: if G 1 G 2 then L UNet (G 1 ) L UNet (G 2 ) Definition. A grammar G is reduced with respect to a set X of untyped nets iff X L UNet (G) and for each grammar G G, G G X L UNet (G )

18 Formal Grammar 2004 p. 16 Proof of finite elasticity (2) Lemma. For each finite set X L UNet (G), there is a finite set of rigid untyped net languages that correspond to the grammars that are reduced from X Definition. Monotonicity and the previous property define a system that has bounded finite thickness Theorem [Shinohara 1990]. A formal system that has bounded finite thickness has finite elasticity Corollary. Rigid untyped net languages have finite elasticity

19 Formal Grammar 2004 p. 17 k-valued languages of strings (1) Theorem [Kanasawa 1998]: The images, through a finite-valued relation of a class of languages that has finite elasticity, forms a class that has finite elasicity Consequences: 1. For each k, the class of k-valued CDG (without optional and iterative category) languages of strings has finite elasticity 2. For each k, this class (of CDGs) is learnable from strings

20 Formal Grammar 2004 p. 18 k-valued languages of strings (2) Lemma: 1. For each k, the classes of k-valued CDG without optional and/or iterative category languages of strings accept a limit point 2. For each k, these classes (of CDGs) are not learnable from strings

21 Formal Grammar 2004 p. 19 Conclusion Rigid CDGs are learnable from untyped nets There exists a simple learning algorithm for this class Theoretical learnability result (finite elasticity) for k-valued CDGs without optional and iterative category learned from strings Rigid (or k-valued) CDGs with optional and/or iterative category are not learnable from strings Class Learnable from strings Finite elasticity on strings Finite elasticity on structures Finite-valued relation A no no yes no A? no no yes no A + yes yes yes yes

On Learning Discontinuous Dependencies from Positive Data

On Learning Discontinuous Dependencies from Positive Data 1 On Learning Discontinuous Dependencies from Positive Data Denis Béchet, Alexander Dikovsky, Annie Foret and Erwan Moreau Abstract This paper is concerned with learning in the model of Gold the Categorial

More information

The Typed λ Calculus and Type Inferencing in ML

The Typed λ Calculus and Type Inferencing in ML Notes on Types S. Arun-Kumar Department of Computer Science and Engineering Indian Institute of Technology New Delhi, 110016 email: sak@cse.iitd.ernet.in April 14, 2002 2 Chapter 1 The Typed λ Calculus

More information

Typed Lambda Calculus for Syntacticians

Typed Lambda Calculus for Syntacticians Department of Linguistics Ohio State University January 12, 2012 The Two Sides of Typed Lambda Calculus A typed lambda calculus (TLC) can be viewed in two complementary ways: model-theoretically, as a

More information

Non-Standard Models of Arithmetic

Non-Standard Models of Arithmetic Non-Standard Models of Arithmetic Asher M. Kach 1 May 2004 Abstract Almost everyone, mathematician or not, is comfortable with the standard model (N : +, ) of arithmetic. Less familiar, even among logicians,

More information

Lecture Note: Types. 1 Introduction 2. 2 Simple Types 3. 3 Type Soundness 6. 4 Recursive Types Subtyping 17

Lecture Note: Types. 1 Introduction 2. 2 Simple Types 3. 3 Type Soundness 6. 4 Recursive Types Subtyping 17 Jens Palsberg Sep 24, 1999 Contents Lecture Note: Types 1 Introduction 2 2 Simple Types 3 3 Type Soundness 6 4 Recursive Types 12 5 Subtyping 17 6 Decision Procedure for Subtyping 19 7 First-Order Unification

More information

Random Sequences and Recursive Measures

Random Sequences and Recursive Measures Random Sequences and Recursive Measures Theodore A. Slaman slaman@math.berkeley.edu University of California, Berkeley December 7, 2003 Random Sequences and Recursive Measures p. 1/22 Randomness There

More information

Lecture 15: The subspace topology, Closed sets

Lecture 15: The subspace topology, Closed sets Lecture 15: The subspace topology, Closed sets 1 The Subspace Topology Definition 1.1. Let (X, T) be a topological space with topology T. subset of X, the collection If Y is a T Y = {Y U U T} is a topology

More information

Propositional Logic Formal Syntax and Semantics. Computability and Logic

Propositional Logic Formal Syntax and Semantics. Computability and Logic Propositional Logic Formal Syntax and Semantics Computability and Logic Syntax and Semantics Syntax: The study of how expressions are structured (think: grammar) Semantics: The study of the relationship

More information

CS 6110 S14 Lecture 38 Abstract Interpretation 30 April 2014

CS 6110 S14 Lecture 38 Abstract Interpretation 30 April 2014 CS 6110 S14 Lecture 38 Abstract Interpretation 30 April 2014 1 Introduction to Abstract Interpretation At this point in the course, we have looked at several aspects of programming languages: operational

More information

REDUNDANCY OF MULTISET TOPOLOGICAL SPACES

REDUNDANCY OF MULTISET TOPOLOGICAL SPACES Iranian Journal of Fuzzy Systems Vol. 14, No. 4, (2017) pp. 163-168 163 REDUNDANCY OF MULTISET TOPOLOGICAL SPACES A. GHAREEB Abstract. In this paper, we show the redundancies of multiset topological spaces.

More information

In class 75min: 2:55-4:10 Thu 9/30.

In class 75min: 2:55-4:10 Thu 9/30. MATH 4530 Topology. In class 75min: 2:55-4:10 Thu 9/30. Prelim I Solutions Problem 1: Consider the following topological spaces: (1) Z as a subspace of R with the finite complement topology (2) [0, π]

More information

Parsing Chart Extensions 1

Parsing Chart Extensions 1 Parsing Chart Extensions 1 Chart extensions Dynamic programming methods CKY Earley NLP parsing dynamic programming systems 1 Parsing Chart Extensions 2 Constraint propagation CSP (Quesada) Bidirectional

More information

Typed Lambda Calculus

Typed Lambda Calculus Department of Linguistics Ohio State University Sept. 8, 2016 The Two Sides of A typed lambda calculus (TLC) can be viewed in two complementary ways: model-theoretically, as a system of notation for functions

More information

Principles of AI Planning. Principles of AI Planning. 7.1 How to obtain a heuristic. 7.2 Relaxed planning tasks. 7.1 How to obtain a heuristic

Principles of AI Planning. Principles of AI Planning. 7.1 How to obtain a heuristic. 7.2 Relaxed planning tasks. 7.1 How to obtain a heuristic Principles of AI Planning June 8th, 2010 7. Planning as search: relaxed planning tasks Principles of AI Planning 7. Planning as search: relaxed planning tasks Malte Helmert and Bernhard Nebel 7.1 How to

More information

Closure Properties of CFLs; Introducing TMs. CS154 Chris Pollett Apr 9, 2007.

Closure Properties of CFLs; Introducing TMs. CS154 Chris Pollett Apr 9, 2007. Closure Properties of CFLs; Introducing TMs CS154 Chris Pollett Apr 9, 2007. Outline Closure Properties of Context Free Languages Algorithms for CFLs Introducing Turing Machines Closure Properties of CFL

More information

Introduction to Syntax Analysis. The Second Phase of Front-End

Introduction to Syntax Analysis. The Second Phase of Front-End Compiler Design IIIT Kalyani, WB 1 Introduction to Syntax Analysis The Second Phase of Front-End Compiler Design IIIT Kalyani, WB 2 Syntax Analysis The syntactic or the structural correctness of a program

More information

TOPOLOGY, DR. BLOCK, FALL 2015, NOTES, PART 3.

TOPOLOGY, DR. BLOCK, FALL 2015, NOTES, PART 3. TOPOLOGY, DR. BLOCK, FALL 2015, NOTES, PART 3. 301. Definition. Let m be a positive integer, and let X be a set. An m-tuple of elements of X is a function x : {1,..., m} X. We sometimes use x i instead

More information

The Turing Machine. Unsolvable Problems. Undecidability. The Church-Turing Thesis (1936) Decision Problem. Decision Problems

The Turing Machine. Unsolvable Problems. Undecidability. The Church-Turing Thesis (1936) Decision Problem. Decision Problems The Turing Machine Unsolvable Problems Motivating idea Build a theoretical a human computer Likened to a human with a paper and pencil that can solve problems in an algorithmic way The theoretical machine

More information

Type Systems COMP 311 Rice University Houston, Texas

Type Systems COMP 311 Rice University Houston, Texas Rice University Houston, Texas 1 Type Systems for Programming Language were invented by mathematicians before electronic computers were invented. What is a type? A meaningful subset of the set of the domain

More information

Testing Continuous Distributions. Artur Czumaj. DIMAP (Centre for Discrete Maths and it Applications) & Department of Computer Science

Testing Continuous Distributions. Artur Czumaj. DIMAP (Centre for Discrete Maths and it Applications) & Department of Computer Science Testing Continuous Distributions Artur Czumaj DIMAP (Centre for Discrete Maths and it Applications) & Department of Computer Science University of Warwick Joint work with A. Adamaszek & C. Sohler Testing

More information

Model checking pushdown systems

Model checking pushdown systems Model checking pushdown systems R. Ramanujam Institute of Mathematical Sciences, Chennai jam@imsc.res.in Update Meeting, IIT-Guwahati, 4 July 2006 p. 1 Sources of unboundedness Data manipulation: integers,

More information

Faster and Dynamic Algorithms For Maximal End-Component Decomposition And Related Graph Problems In Probabilistic Verification

Faster and Dynamic Algorithms For Maximal End-Component Decomposition And Related Graph Problems In Probabilistic Verification Faster and Dynamic Algorithms For Maximal End-Component Decomposition And Related Graph Problems In Probabilistic Verification Krishnendu Chatterjee Monika Henzinger Abstract We present faster and dynamic

More information

751 Problem Set I JWR. Due Sep 28, 2004

751 Problem Set I JWR. Due Sep 28, 2004 751 Problem Set I JWR Due Sep 28, 2004 Exercise 1. For any space X define an equivalence relation by x y iff here is a path γ : I X with γ(0) = x and γ(1) = y. The equivalence classes are called the path

More information

Equivalence and Simplification of Regular Expressions

Equivalence and Simplification of Regular Expressions Equivalence and Simplification of Regular Expressions Wednesday, September 26, 2007 Reading: Stoughton 3.2 CS235 Languages and Automata Department of Computer Science Wellesley College Goals for Today

More information

Introduction to Syntax Analysis

Introduction to Syntax Analysis Compiler Design 1 Introduction to Syntax Analysis Compiler Design 2 Syntax Analysis The syntactic or the structural correctness of a program is checked during the syntax analysis phase of compilation.

More information

Finite Automata Theory and Formal Languages TMV027/DIT321 LP4 2018

Finite Automata Theory and Formal Languages TMV027/DIT321 LP4 2018 Finite Automata Theory and Formal Languages TMV027/DIT321 LP4 2018 Lecture 11 Ana Bove April 26th 2018 Recap: Regular Languages Decision properties of RL: Is it empty? Does it contain this word? Contains

More information

CHAPTER 8. Copyright Cengage Learning. All rights reserved.

CHAPTER 8. Copyright Cengage Learning. All rights reserved. CHAPTER 8 RELATIONS Copyright Cengage Learning. All rights reserved. SECTION 8.3 Equivalence Relations Copyright Cengage Learning. All rights reserved. The Relation Induced by a Partition 3 The Relation

More information

A Reduction of Conway s Thrackle Conjecture

A Reduction of Conway s Thrackle Conjecture A Reduction of Conway s Thrackle Conjecture Wei Li, Karen Daniels, and Konstantin Rybnikov Department of Computer Science and Department of Mathematical Sciences University of Massachusetts, Lowell 01854

More information

Foundations of AI. 9. Predicate Logic. Syntax and Semantics, Normal Forms, Herbrand Expansion, Resolution

Foundations of AI. 9. Predicate Logic. Syntax and Semantics, Normal Forms, Herbrand Expansion, Resolution Foundations of AI 9. Predicate Logic Syntax and Semantics, Normal Forms, Herbrand Expansion, Resolution Wolfram Burgard, Andreas Karwath, Bernhard Nebel, and Martin Riedmiller 09/1 Contents Motivation

More information

CSE-321 Programming Languages 2014 Final

CSE-321 Programming Languages 2014 Final Name: Hemos ID: CSE-321 Programming Languages 2014 Final Problem 1 Problem 2 Problem 3 Problem 4 Problem 5 Problem 6 Total Score Max 15 12 14 14 30 15 100 There are six problems on 12 pages in this exam.

More information

2. Sets. 2.1&2.2: Sets and Subsets. Combining Sets. c Dr Oksana Shatalov, Fall

2. Sets. 2.1&2.2: Sets and Subsets. Combining Sets. c Dr Oksana Shatalov, Fall c Dr Oksana Shatalov, Fall 2014 1 2. Sets 2.1&2.2: Sets and Subsets. Combining Sets. Set Terminology and Notation DEFINITIONS: Set is well-defined collection of objects. Elements are objects or members

More information

Context-Free Languages & Grammars (CFLs & CFGs) Reading: Chapter 5

Context-Free Languages & Grammars (CFLs & CFGs) Reading: Chapter 5 Context-Free Languages & Grammars (CFLs & CFGs) Reading: Chapter 5 1 Not all languages are regular So what happens to the languages which are not regular? Can we still come up with a language recognizer?

More information

Foundations of Computer Science Spring Mathematical Preliminaries

Foundations of Computer Science Spring Mathematical Preliminaries Foundations of Computer Science Spring 2017 Equivalence Relation, Recursive Definition, and Mathematical Induction Mathematical Preliminaries Mohammad Ashiqur Rahman Department of Computer Science College

More information

Compiler Construction

Compiler Construction Compiler Construction Thomas Noll Software Modeling and Verification Group RWTH Aachen University https://moves.rwth-aachen.de/teaching/ss-16/cc/ Conceptual Structure of a Compiler Source code x1 := y2

More information

Real Analysis, 2nd Edition, G.B.Folland

Real Analysis, 2nd Edition, G.B.Folland Real Analysis, 2nd Edition, G.B.Folland Chapter 4 Point Set Topology Yung-Hsiang Huang 4.1 Topological Spaces 1. If card(x) 2, there is a topology on X that is T 0 but not T 1. 2. If X is an infinite set,

More information

Where Can We Draw The Line?

Where Can We Draw The Line? Where Can We Draw The Line? On the Hardness of Satisfiability Problems Complexity 1 Introduction Objectives: To show variants of SAT and check if they are NP-hard Overview: Known results 2SAT Max2SAT Complexity

More information

Type Inference with Inequalities

Type Inference with Inequalities Type Inference with Inequalities Michael I. Schwartzbach mis@daimi.aau.dk Computer Science Department Aarhus University Ny Munkegade DK-8000 Århus C, Denmark Abstract Type inference can be phrased as constraint-solving

More information

STABILITY AND PARADOX IN ALGORITHMIC LOGIC

STABILITY AND PARADOX IN ALGORITHMIC LOGIC STABILITY AND PARADOX IN ALGORITHMIC LOGIC WAYNE AITKEN, JEFFREY A. BARRETT Abstract. Algorithmic logic is the logic of basic statements concerning algorithms and the algorithmic rules of deduction between

More information

COMPUTABILITY THEORY AND RECURSIVELY ENUMERABLE SETS

COMPUTABILITY THEORY AND RECURSIVELY ENUMERABLE SETS COMPUTABILITY THEORY AND RECURSIVELY ENUMERABLE SETS JOSHUA LENERS Abstract. An algorithm is function from ω to ω defined by a finite set of instructions to transform a given input x to the desired output

More information

Crossings between curves with many tangencies

Crossings between curves with many tangencies Crossings between curves with many tangencies Jacob Fox,, Fabrizio Frati, János Pach,, and Rom Pinchasi Department of Mathematics, Princeton University, Princeton, NJ jacobfox@math.princeton.edu Dipartimento

More information

CpSc 421 Final Solutions

CpSc 421 Final Solutions CpSc 421 Final Solutions Do any eight of the ten problems below. If you attempt more than eight problems, please indicate which ones to grade (otherwise we will make a random choice). This allows you to

More information

COMP 4161 NICTA Advanced Course. Advanced Topics in Software Verification. Toby Murray, June Andronick, Gerwin Klein

COMP 4161 NICTA Advanced Course. Advanced Topics in Software Verification. Toby Murray, June Andronick, Gerwin Klein COMP 4161 NICTA Advanced Course Advanced Topics in Software Verification Toby Murray, June Andronick, Gerwin Klein λ 1 Last time... λ calculus syntax free variables, substitution β reduction α and η conversion

More information

Numerical Optimization

Numerical Optimization Convex Sets Computer Science and Automation Indian Institute of Science Bangalore 560 012, India. NPTEL Course on Let x 1, x 2 R n, x 1 x 2. Line and line segment Line passing through x 1 and x 2 : {y

More information

Lecture 17: Continuous Functions

Lecture 17: Continuous Functions Lecture 17: Continuous Functions 1 Continuous Functions Let (X, T X ) and (Y, T Y ) be topological spaces. Definition 1.1 (Continuous Function). A function f : X Y is said to be continuous if the inverse

More information

Context-Free Languages and Parse Trees

Context-Free Languages and Parse Trees Context-Free Languages and Parse Trees Mridul Aanjaneya Stanford University July 12, 2012 Mridul Aanjaneya Automata Theory 1/ 41 Context-Free Grammars A context-free grammar is a notation for describing

More information

Typestate Verification: Abstraction Techniques and Complexity Results

Typestate Verification: Abstraction Techniques and Complexity Results Typestate Verification: Abstraction Techniques and Complexity Results J. Field 1, D. Goyal 1, G. Ramalingam 1, and E. Yahav 2 1 IBM T.J. Watson Research Center {jfield,dgoyal,rama}@watson.ibm.com 2 Tel

More information

More reverse mathematics of the Heine-Borel Theorem

More reverse mathematics of the Heine-Borel Theorem 1 10 ISSN 1759-9008 1 More reverse mathematics of the Heine-Borel Theorem JEFFRY L HIRST JESSICA MILLER Abstract: Using the techniques of reverse mathematics, we characterize subsets X [0, 1] in terms

More information

Discrete Mathematics Lecture 4. Harper Langston New York University

Discrete Mathematics Lecture 4. Harper Langston New York University Discrete Mathematics Lecture 4 Harper Langston New York University Sequences Sequence is a set of (usually infinite number of) ordered elements: a 1, a 2,, a n, Each individual element a k is called a

More information

The clique number of a random graph in (,1 2) Let ( ) # -subgraphs in = 2 =: ( ) We will be interested in s.t. ( )~1. To gain some intuition note ( )

The clique number of a random graph in (,1 2) Let ( ) # -subgraphs in = 2 =: ( ) We will be interested in s.t. ( )~1. To gain some intuition note ( ) The clique number of a random graph in (,1 2) Let () # -subgraphs in = 2 =:() We will be interested in s.t. ()~1. To gain some intuition note ()~ 2 =2 and so ~2log. Now let us work rigorously. () (+1)

More information

Uniqueness triples from the diamond axiom

Uniqueness triples from the diamond axiom Uniqueness triples from the diamond axiom Ari Meir Brodsky Ariel University 11 Iyyar, 5778 Thursday, April 26, 2018 Set Theory, Model Theory and Applications Ben-Gurion University of the Negev, Eilat Campus

More information

Computable Euclidean Domains

Computable Euclidean Domains Computable Euclidean Domains Asher M. Kach (Joint Work with Rod Downey and with Paul Ellis and Reed Solomon) Southern Wisconsin Logic Colloquium 9 October 2012 Asher M. Kach Computable Euclidean Domains

More information

The clique number of a random graph in (,1 2) Let ( ) # -subgraphs in = 2 =: ( ) 2 ( ) ( )

The clique number of a random graph in (,1 2) Let ( ) # -subgraphs in = 2 =: ( ) 2 ( ) ( ) 1 The clique number of a random graph in (,1 2) Let () # -subgraphs in = 2 =:() We will be interested in s.t. ()~1. To gain some intuition note ()~ 2 =2 and so ~2log. Now let us work rigorously. () (+1)

More information

LANGUAGE PROCESSORS. Presented By: Prof. S.J. Soni, SPCE Visnagar.

LANGUAGE PROCESSORS. Presented By: Prof. S.J. Soni, SPCE Visnagar. LANGUAGE PROCESSORS Presented By: Prof. S.J. Soni, SPCE Visnagar. Introduction Language Processing activities arise due to the differences between the manner in which a software designer describes the

More information

Lecture 1. 1 Notation

Lecture 1. 1 Notation Lecture 1 (The material on mathematical logic is covered in the textbook starting with Chapter 5; however, for the first few lectures, I will be providing some required background topics and will not be

More information

Compiler Construction

Compiler Construction Compiler Construction Lecture 2: Lexical Analysis I (Introduction) Thomas Noll Lehrstuhl für Informatik 2 (Software Modeling and Verification) noll@cs.rwth-aachen.de http://moves.rwth-aachen.de/teaching/ss-14/cc14/

More information

THREE LECTURES ON BASIC TOPOLOGY. 1. Basic notions.

THREE LECTURES ON BASIC TOPOLOGY. 1. Basic notions. THREE LECTURES ON BASIC TOPOLOGY PHILIP FOTH 1. Basic notions. Let X be a set. To make a topological space out of X, one must specify a collection T of subsets of X, which are said to be open subsets of

More information

Variants of Turing Machines

Variants of Turing Machines November 4, 2013 Robustness Robustness Robustness of a mathematical object (such as proof, definition, algorithm, method, etc.) is measured by its invariance to certain changes Robustness Robustness of

More information

9.5 Equivalence Relations

9.5 Equivalence Relations 9.5 Equivalence Relations You know from your early study of fractions that each fraction has many equivalent forms. For example, 2, 2 4, 3 6, 2, 3 6, 5 30,... are all different ways to represent the same

More information

컴파일러입문 제 6 장 구문분석

컴파일러입문 제 6 장 구문분석 컴파일러입문 제 6 장 구문분석 목차 6.1 구문분석방법 6.2 구문분석기의출력 6.3 Top-down 방법 6.4 Bottom-up 방법 Syntax Analysis Page 2 구문분석방법 Text p.220 How to check whether an input string is a sentence of a grammar and how to construct

More information

H = {(1,0,0,...),(0,1,0,0,...),(0,0,1,0,0,...),...}.

H = {(1,0,0,...),(0,1,0,0,...),(0,0,1,0,0,...),...}. II.4. Compactness 1 II.4. Compactness Note. Conway states on page 20 that the concept of compactness is an extension of benefits of finiteness to infinite sets. I often state this idea as: Compact sets

More information

Elementary Recursive Function Theory

Elementary Recursive Function Theory Chapter 6 Elementary Recursive Function Theory 6.1 Acceptable Indexings In a previous Section, we have exhibited a specific indexing of the partial recursive functions by encoding the RAM programs. Using

More information

Lecture 11 COVERING SPACES

Lecture 11 COVERING SPACES Lecture 11 COVERING SPACES A covering space (or covering) is not a space, but a mapping of spaces (usually manifolds) which, locally, is a homeomorphism, but globally may be quite complicated. The simplest

More information

Linear lambda calculus and PTIME-completeness

Linear lambda calculus and PTIME-completeness Under consideration for publication in J. Functional Programming 1 Linear lambda calculus and PTIME-completeness HARRY G. MAIRSON Computer Science Department Volen Center for Complex Numbers Brandeis University

More information

Some irrational polygons have many periodic billiard paths

Some irrational polygons have many periodic billiard paths Some irrational polygons have many periodic billiard paths W. Patrick Hooper Northwestern University Spring Topology and Dynamics Conference Milwaukee, Wisconsin March 5, 8 Lower bounds on growth rates

More information

λ calculus is inconsistent

λ calculus is inconsistent Content Rough timeline COMP 4161 NICTA Advanced Course Advanced Topics in Software Verification Gerwin Klein, June Andronick, Toby Murray λ Intro & motivation, getting started [1] Foundations & Principles

More information

Chapter Seven: Regular Expressions

Chapter Seven: Regular Expressions Chapter Seven: Regular Expressions Regular Expressions We have seen that DFAs and NFAs have equal definitional power. It turns out that regular expressions also have exactly that same definitional power:

More information

Completeness of Queries over SQL Databases

Completeness of Queries over SQL Databases Completeness of Queries over SQL Databases Werner Nutt Free University of Bozen-Bolzano Dominikanerplatz 3 39100 Bozen, Italy nutt@inf.unibz.it Simon Razniewski Free University of Bozen-Bolzano Dominikanerplatz

More information

Approximation Algorithms

Approximation Algorithms Approximation Algorithms Group Members: 1. Geng Xue (A0095628R) 2. Cai Jingli (A0095623B) 3. Xing Zhe (A0095644W) 4. Zhu Xiaolu (A0109657W) 5. Wang Zixiao (A0095670X) 6. Jiao Qing (A0095637R) 7. Zhang

More information

Logical Aspects of Spatial Databases

Logical Aspects of Spatial Databases Logical Aspects of Spatial Databases Part I: First-order geometric and topological queries Jan Van den Bussche Hasselt University Spatial data Q: what is a spatial dataset? A: a set S R n equivalently,

More information

Formal languages and computation models

Formal languages and computation models Formal languages and computation models Guy Perrier Bibliography John E. Hopcroft, Rajeev Motwani, Jeffrey D. Ullman - Introduction to Automata Theory, Languages, and Computation - Addison Wesley, 2006.

More information

Compact Sets. James K. Peterson. September 15, Department of Biological Sciences and Department of Mathematical Sciences Clemson University

Compact Sets. James K. Peterson. September 15, Department of Biological Sciences and Department of Mathematical Sciences Clemson University Compact Sets James K. Peterson Department of Biological Sciences and Department of Mathematical Sciences Clemson University September 15, 2017 Outline 1 Closed Sets 2 Compactness 3 Homework Closed Sets

More information

Compiler Construction

Compiler Construction Compiler Construction Thomas Noll Software Modeling and Verification Group RWTH Aachen University https://moves.rwth-aachen.de/teaching/ss-16/cc/ Recap: Circularity of Attribute Grammars Circularity of

More information

3. Syntax Analysis. Andrea Polini. Formal Languages and Compilers Master in Computer Science University of Camerino

3. Syntax Analysis. Andrea Polini. Formal Languages and Compilers Master in Computer Science University of Camerino 3. Syntax Analysis Andrea Polini Formal Languages and Compilers Master in Computer Science University of Camerino (Formal Languages and Compilers) 3. Syntax Analysis CS@UNICAM 1 / 54 Syntax Analysis: the

More information

Constrained Types and their Expressiveness

Constrained Types and their Expressiveness Constrained Types and their Expressiveness JENS PALSBERG Massachusetts Institute of Technology and SCOTT SMITH Johns Hopkins University A constrained type consists of both a standard type and a constraint

More information

However, this is not always true! For example, this fails if both A and B are closed and unbounded (find an example).

However, this is not always true! For example, this fails if both A and B are closed and unbounded (find an example). 98 CHAPTER 3. PROPERTIES OF CONVEX SETS: A GLIMPSE 3.2 Separation Theorems It seems intuitively rather obvious that if A and B are two nonempty disjoint convex sets in A 2, then there is a line, H, separating

More information

Verifying a Border Array in Linear Time

Verifying a Border Array in Linear Time Verifying a Border Array in Linear Time František Franěk Weilin Lu P. J. Ryan W. F. Smyth Yu Sun Lu Yang Algorithms Research Group Department of Computing & Software McMaster University Hamilton, Ontario

More information

4. Definition: topological space, open set, topology, trivial topology, discrete topology.

4. Definition: topological space, open set, topology, trivial topology, discrete topology. Topology Summary Note to the reader. If a statement is marked with [Not proved in the lecture], then the statement was stated but not proved in the lecture. Of course, you don t need to know the proof.

More information

Regular Expressions. Chapter 6

Regular Expressions. Chapter 6 Regular Expressions Chapter 6 Regular Languages Generates Regular Language Regular Expression Recognizes or Accepts Finite State Machine Stephen Cole Kleene 1909 1994, mathematical logician One of many

More information

ROUGH MEMBERSHIP FUNCTIONS: A TOOL FOR REASONING WITH UNCERTAINTY

ROUGH MEMBERSHIP FUNCTIONS: A TOOL FOR REASONING WITH UNCERTAINTY ALGEBRAIC METHODS IN LOGIC AND IN COMPUTER SCIENCE BANACH CENTER PUBLICATIONS, VOLUME 28 INSTITUTE OF MATHEMATICS POLISH ACADEMY OF SCIENCES WARSZAWA 1993 ROUGH MEMBERSHIP FUNCTIONS: A TOOL FOR REASONING

More information

Formal Languages and Automata

Formal Languages and Automata Mobile Computing and Software Engineering p. 1/3 Formal Languages and Automata Chapter 3 Regular languages and Regular Grammars Chuan-Ming Liu cmliu@csie.ntut.edu.tw Department of Computer Science and

More information

The fundamental principle of identity for strings is informally given as follows.

The fundamental principle of identity for strings is informally given as follows. A4 Theories of strings 1. General Ideas About Strings and String Addition...2 2. A Mostly Formal Theory of Finite Strings...3 3. A Formal Theory of Finite Strings...4 4. Base-One Arithmetic...4 5. Other

More information

Decidable Problems. We examine the problems for which there is an algorithm.

Decidable Problems. We examine the problems for which there is an algorithm. Decidable Problems We examine the problems for which there is an algorithm. Decidable Problems A problem asks a yes/no question about some input. The problem is decidable if there is a program that always

More information

Monadic Datalog Containment on Trees

Monadic Datalog Containment on Trees Monadic Datalog Containment on Trees André Frochaux 1, Martin Grohe 2, and Nicole Schweikardt 1 1 Goethe-Universität Frankfurt am Main, {afrochaux,schweika}@informatik.uni-frankfurt.de 2 RWTH Aachen University,

More information

MA513: Formal Languages and Automata Theory Topic: Context-free Grammars (CFG) Lecture Number 18 Date: September 12, 2011

MA513: Formal Languages and Automata Theory Topic: Context-free Grammars (CFG) Lecture Number 18 Date: September 12, 2011 MA53: Formal Languages and Automata Theory Topic: Context-free Grammars (CFG) Lecture Number 8 Date: September 2, 20 xercise: Define a context-free grammar that represents (a simplification of) expressions

More information

Cofinite Induced Subgraph Nim

Cofinite Induced Subgraph Nim University of California, Los Angeles October 4, 2012 Nim Nim: Game played with n heaps of beans Players alternate removing any positive number of beans from any one heap When all heaps are empty the next

More information

CS 512, Spring 2017: Take-Home End-of-Term Examination

CS 512, Spring 2017: Take-Home End-of-Term Examination CS 512, Spring 2017: Take-Home End-of-Term Examination Out: Tuesday, 9 May 2017, 12:00 noon Due: Wednesday, 10 May 2017, by 11:59 am Turn in your solutions electronically, as a single PDF file, by placing

More information

Context-free Grammars

Context-free Grammars 1 contents of Context-free Grammars Phrase Structure Everyday Grammars for Programming Language Formal Definition of Context-free Grammars Definition of Language Left-to-right Application cfg ects Transforming

More information

A Cantor-Bernstein theorem for paths in graphs

A Cantor-Bernstein theorem for paths in graphs A Cantor-Bernstein theorem for paths in graphs 1 Reinhard Diestel & Carsten Thomassen The Cantor-Bernstein theorem says that if for two infinite sets A and B there are injective functions f: A B and g:

More information

Discrete Mathematics Course Review 3

Discrete Mathematics Course Review 3 21-228 Discrete Mathematics Course Review 3 This document contains a list of the important definitions and theorems that have been covered thus far in the course. It is not a complete listing of what has

More information

REVIEW OF FUZZY SETS

REVIEW OF FUZZY SETS REVIEW OF FUZZY SETS CONNER HANSEN 1. Introduction L. A. Zadeh s paper Fuzzy Sets* [1] introduces the concept of a fuzzy set, provides definitions for various fuzzy set operations, and proves several properties

More information

Complexity of Disjoint Π-Vertex Deletion for Disconnected Forbidden Subgraphs

Complexity of Disjoint Π-Vertex Deletion for Disconnected Forbidden Subgraphs Journal of Graph Algorithms and Applications http://jgaa.info/ vol. 18, no. 4, pp. 603 631 (2014) DOI: 10.7155/jgaa.00339 Complexity of Disjoint Π-Vertex Deletion for Disconnected Forbidden Subgraphs Jiong

More information

Chapter 4: LR Parsing

Chapter 4: LR Parsing Chapter 4: LR Parsing 110 Some definitions Recall For a grammar G, with start symbol S, any string α such that S called a sentential form α is If α Vt, then α is called a sentence in L G Otherwise it is

More information

Computer Science Technical Report

Computer Science Technical Report Computer Science Technical Report Feasibility of Stepwise Addition of Multitolerance to High Atomicity Programs Ali Ebnenasir and Sandeep S. Kulkarni Michigan Technological University Computer Science

More information

d(γ(a i 1 ), γ(a i )) i=1

d(γ(a i 1 ), γ(a i )) i=1 Marli C. Wang Hyperbolic Geometry Hyperbolic surfaces A hyperbolic surface is a metric space with some additional properties: it has the shortest length property and every point has an open neighborhood

More information

Fundamental Trade-Offs in Aggregate Packet Scheduling

Fundamental Trade-Offs in Aggregate Packet Scheduling Fundamental Trade-Offs in Aggregate Packet Scheduling Zhenhai Duan, Member, IEEE, Zhi-Li Zhang, Member, IEEE, Yiwei Thomas Hou, Senior Member, IEEE 1 Abstract In this paper we investigate the fundamental

More information

Algorithms for AI and NLP (INF4820 TFSs)

Algorithms for AI and NLP (INF4820 TFSs) S Det N VP V The dog barked LTOP h 1 INDEX e 2 def q rel bark v rel prpstn m rel LBL h 4 dog n rel LBL h RELS LBL h 1 ARG0 x 5 LBL h 9 8 ARG0 e MARG h 3 RSTR h 6 ARG0 x 2 5 ARG1 x BODY h 5 7 HCONS h 3

More information

SET DEFINITION 1 elements members

SET DEFINITION 1 elements members SETS SET DEFINITION 1 Unordered collection of objects, called elements or members of the set. Said to contain its elements. We write a A to denote that a is an element of the set A. The notation a A denotes

More information

INTRODUCTION. An easy way to express the idea of an algorithm (very much like C/C++, Java, Pascal, Ada, )

INTRODUCTION. An easy way to express the idea of an algorithm (very much like C/C++, Java, Pascal, Ada, ) INTRODUCTION Objective: - Algorithms - Techniques - Analysis. Algorithms: Definition: Pseudocode: An algorithm is a sequence of computational steps that tae some value, or set of values, as input and produce

More information

Lecture 19 Subgradient Methods. November 5, 2008

Lecture 19 Subgradient Methods. November 5, 2008 Subgradient Methods November 5, 2008 Outline Lecture 19 Subgradients and Level Sets Subgradient Method Convergence and Convergence Rate Convex Optimization 1 Subgradients and Level Sets A vector s is a

More information

CS 4110 Programming Languages & Logics. Lecture 28 Recursive Types

CS 4110 Programming Languages & Logics. Lecture 28 Recursive Types CS 4110 Programming Languages & Logics Lecture 28 Recursive Types 7 November 2014 Announcements 2 Foster office hours 11-12pm Guest lecture by Fran on Monday Recursive Types 3 Many languages support recursive

More information