Fully Lexicalized Pregroup Grammars
|
|
- Godwin Ryan
- 6 years ago
- Views:
Transcription
1 Fully Lexicalized Pregroup Grammars Annie Foret joint work with Denis Béchet and LINA Nantes University, FRANCE IRISA University Rennes1, FRANCE Wollic 2007 p.1
2 PLAN Introduction Transformation : hopes Background : PG First facts A Preliminary Fact Trials in the restricted case Encodings as morphisms Construction what is the full construction : illustration how does it work? key properties (soundness is easy, completeness is not) Conclusion and some related questions Wollic 2007 p.2
3 Introduction The categories are types of a free pregroup generated by a set of primitive types (P r) with a partial order on P r. This partial order is not a lexicalized information, not independent of the language that corresponds to a PG. q s for a yes-or-no question Question : Is it possible to find a PG that is equivalent to a given PG but where the partial order on primitive types is universal? Such that : (hopes) the computed PG is not too big polynomial transformation it works in a similar way as the source PG a homomorphism,... the same number of types to a word k-valued. Wollic 2007 p.3
4 Transformation Wollic 2007 p.4 language equivalence = lexicon not too big k-valued + length similar parse
5 Pregroup : definitions A pregroup is a structure (P,,, l, r, 1) s. t. (P,,, 1) is a partially ordered monoid a in which l, r are unary operations on P that satisfy: (P RE) a l.a 1 a.a l and a.a r 1 a r.a or equivalently: a.b c a c.b l b a r.c Some equations follow from the def. a rl = 1 = a lr we also have: (a.b) r = b r.a r, (a.b) l = b l.a l, 1 r = 1 = 1 l but not, in general: a rr a a ll iterated adjoints:... a ( 2) =a ll, a ( 1) =a l, a (0) =a, a (1) =a r, a (2) =a rr... a A monoid is a structure < M,, 1 >, such that is associative and has a neutral element 1 A partially ordered monoid is a monoid (M,, 1) with a partial order that satisfies a, b, c: a b c a c b and a c b c. Wollic 2007 p.5
6 Background Pregroup def [Free pregroup] Let (P, ) be an ordered set of primitive types, T (P, ) = {p (i 1) 1 p (i n) n 0 k n, p k P and i k } is the set of types. the empty sequence is denoted by 1. For X and Y T (P, ), X Y iff this relation is deductible in the following system where p, q P, n, k and X, Y, Z T (P, ) : X X (Id) X Y Y Z (Cut) X Z XY Z Xp (n) p (n+1) Y Z (A L ) X Y Z X Y p (n+1) p (n) Z (A R ) Xp (k) Y Z (INDL ) Xq (k) Y Z X Y q (k) Z (INDR ) X Y p (k) Z q p if k is even, and p q if k is odd Wollic 2007 p.6
7 Background Let (P, ) be a finite partially ordered set. Pregroup grammar def A pregroup grammar based on (P, ) is a lexicalized a grammar G = (Σ, I, s) such that s T (P, ) ; G assigns a type X to a string v 1,..., v n of Σ iff for 1 i n, X i I(v i ) such that X 1 X n X in the free pregroup T (P, ). The language L(G) is the set of strings in Σ that are assigned s by G. a a lexicalized grammar is a triple (Σ, I, s): Σ is a finite alphabet, I assigns a finite set of categories (or types) to each c Σ, s is a category (or type) associated to correct sentences. Wollic 2007 p.7
8 Background Pregroup example Our example is taken from Lambek, with the primitive types: π 2 = second person, p 2 = past participle, o = object, q = yes-or-no question, q = question q q This sentence gets type q (q s): whom have you seen q o ll q l qp l 2 πl 2 π 2 p 2 o l Wollic 2007 p.8
9 Background Pregroup example Our example is taken from Lambek, with the primitive types: π 2 = second person, p 2 = past participle, o = object, q = yes-or-no question, q = question q q This sentence gets type q (q s): whom have you seen q o ll q l qp l 2 πl 2 π 2 p 2 o l Wollic 2007 p.8
10 Background Pregroup example Our example is taken from Lambek, with the primitive types: π 2 = second person, p 2 = past participle, o = object, q = yes-or-no question, q = question q q This sentence gets type q (q s): whom have you seen q o ll q l qp l 2 πl 2 π 2 p 2 o l Wollic 2007 p.8
11 Background Pregroup example Our example is taken from Lambek, with the primitive types: π 2 = second person, p 2 = past participle, o = object, q = yes-or-no question, q = question q q This sentence gets type q (q s): whom have you seen q o ll q l qp l 2 πl 2 π 2 p 2 o l Wollic 2007 p.8
12 PLAN Introduction Transformation : hopes Background : PG First facts A Preliminary Fact Trials in the restricted case Encodings as morphisms Construction what is the full construction : illustration how does it work? key properties (soundness is easy, completeness is not) Conclusion and some related questions Wollic 2007 p.9
13 Proposition. A Preliminary Fact from Buszkowski 01 [PG equivalence and generative capacity] For any PG G on (P, ), we can construct a PG G based on (P, =), s.t. G and G have the same language. Wollic 2007 p.10
14 Proposition. A Preliminary Fact from Buszkowski 01 [PG equivalence and generative capacity] For any PG G on (P, ), we can construct a PG G based on (P, =), s.t. G and G have the same language. Obvious : Pregroups Lang. = Context-free Lang. = order 1 AB-Categorial Or duplicate the lexical types for each occurrence involved in some an ordering p i p j However this does not preserve the size of the lexicon in general order(a/b)=order(b\a)=max(order(a, 1+order(B))), 0 on P r if X = X p 2n 0 Y {X p 2n j Y p j p 0 } ; if X = X p0 2n+1 Y {X pj 2n+1 Y p j p 0 } Wollic 2007 p.10
15 Trials in a restricted case Let (P, ) be reduced to p 0 p 1, with as =, (and q = p 1 ). Consider the homomorphism from (P, ) to (P, ) h γ : h γ (X (n) ) = h γ (X) (n) h γ (p 0 ) = q γ γ (1) h γ (X.Y ) = h γ (X).h γ (Y ) h γ (p 1 ) = q h γ (1) = 1 h γ (p i ) = p i if i {0, 1} h(p 0 ) h(p 1 ), since γ γ (1) 1 h(p 1 ) h(p 0 ), since γ γ (1) 1 but... it is not "order-reflecting" : X = p (2n 2) 0 p (2n 1) 0 p (2n) 1 p (2n 1) 1 such that X 1, whereas h γ (X) 1 Wollic 2007 p.11
16 Trials in a restricted case Let (P, ) be reduced to p 0 p 1, with as =, (and q = p 1 ). Consider the homomorphism from (P, ) to (P, ) h γ : h γ (X (n) ) = h γ (X) (n) h γ (p 0 ) = q γ γ (1) h γ (X.Y ) = h γ (X).h γ (Y ) h γ (p 1 ) = q h γ (1) = 1 h γ (p i ) = p i if i {0, 1} but... it is not "order-reflecting" : X = p (2n 2) 0 p (2n 1) 0 p (2n) 1 p (2n 1) 1 such that X 1, whereas h γ (X) 1 : h γ (X) = p 1 γγ (1) γ (2) γ (1) p (1) 1 p(2) 1 p(1) 1 Wollic 2007 p.11
17 Towards the general case various partial order schemas Difficulties p i1 p i2 p i3 p i4... p j1 p j2 p j3 p j4... p k4 p k5 p k1 pk2 pk6... p k3 p k7 from group images [h(x)] = [h(y )] implies [X] = [Y ] thus ensure different equivalence classes (q Pr ) for different connex components [X] = [Y ] implies [h(x)] = [h(y )] thus ensure same equivalence class (q) inside a connex component involving s, upper and/or lower Wollic 2007 p.12
18 Morphism-based encodings definitions A mapping h from the free pregroup on (P, ) to the free pregroup on (P, ), is a pregroup homomorphism iff 1. X T (P, ) : h(x (n) ) = h(x) (n) 2. X, Y T (P, ) : h(x.y ) = h(x).h(y ) 3. h(1) = 1 4. X, Y T (P, ) : if X Y then h(x) h(y ) [Monotonicity] A mapping from a poset (P, ) to a poset (P, ) is said partial-order-preserving iff 4b. p i, p j P : if p i p j then h(p i ) h(p j ). to ensure, for (4) Wollic 2007 p.13
19 A similar parse Morphism-based encodings An example revisited π 2 = second person, p 2 = past participle, o = object, q = yes-or-no question, q q q = question This sentence gets type q (q s): whom have you seen q o ll q l qp l 2 πl 2 π 2 p 2 o l h(q )h(o) ll h(q) l h(q)h(p 2 ) l h(π 2 ) l h(π 2 ) h(p 2 )h(o) l Wollic 2007 p.14
20 Simulation :a converse of monotonicity Def-Prop. [Order-reflecting homomorphism] Every homomorphism h from the free pregroup on (P, ) to the free pregroup on (P, ) is such that (1) and (2) are equivalent and define order-reflecting homomorphisms: (1). X, Y T (P, ) if h(x) h(y ) then X Y (2). X T (P, ) if h(x) 1 then X 1 to ensure (2), rather than (1) Wollic 2007 p.15
21 Simulation :a converse of monotonicity Def-Prop. [Order-reflecting homomorphism] Every homomorphism h from the free pregroup on (P, ) to the free pregroup on (P, ) is such that (1) and (2) are equivalent and define order-reflecting homomorphisms: (1). X, Y T (P, ) if h(x) h(y ) then X Y (2). X T (P, ) if h(x) 1 then X 1 Proof. (1) is a corollary of (2) as follows: suppose (2) holds for a pregroup-morphism h with (3) h(x) h(y ), we get (4) h(x Y r ) = h(x) h(y ) r h(y ) h(y ) r 1 property (2) then gives (5) X Y r 1, hence X Y (by adding Y on the right of (5) ). to ensure (2), rather than (1) Wollic 2007 p.15
22 PLAN Introduction Transformation : hopes Background : PG First facts A Preliminary Fact Trials in the restricted case Encodings as morphisms Construction what is the full construction : illustration how does it work? key properties (soundness is easy, completeness is not) Conclusion and some related questions Wollic 2007 p.16
23 Construction on one component. Let P = P r P r, P r a connex component q and β k, γ k, are new letters (no postulate) for each p k of P r a We take as poset P = P r {q} {β k, γ k p k P r}, is the restriction of on P r ( is identity if P r is empty). Definition. [Simulation-morphism h for P r] h(x (n) ) = h(x) (n) h(p i ) = λ (0) i q (0) δ (0) i }{{} h(1) = 1 h(x.y ) = h(x).h(y ) for p i P r h(p i ) = p i if p i P r a the symbol q can also be written q P r if necessary w.r.t. P r Wollic 2007 p.17
24 Construction on one component. Let P = P r P r, P r a connex component q and β k, γ k, are new letters (no postulate) for each p k of P r Definition. [Simulation-morphism h for P r] h(x (n) ) = h(x) (n) h(p i ) = λ (0) i q (0) δ (0) i }{{} h(1) = 1 h(x.y ) = h(x).h(y ) for p i P r h(p i ) = p i if p i P r where λ i = α ( (γ (1) for k =n..1 if p k p i k γ k )) and δ i = ( (β k β (1) k for k=1..n, if p k p i )) α the symbol q can also be written q P r if necessary w.r.t. P r Wollic 2007 p.17
25 Restricted case : p 0 p 1... h(p i ) = λ (0) i q (0) δ (0) i }{{} δ (1) j q (1) λ (1) j }{{} = h(p j) (1) (note the inversion) for p 0 p 1 where (new symbols): λ 0 = α (γ (1) 0 γ 0 ) δ 0 = (β 0 β (1) 0 ) (β 1 β (1) 1 )α λ 0 λ 1 λ 1 = α (γ (1) 1 γ 1 ) (γ (1) 0 γ 0 ) δ 1 = (β 0 β (1) 0 ) α δ 0 δ 1 we have : λ 0 λ 1, because (β 1 β (1) 1 ) 1 therefore h(p 0 ).h(p 1 ) (1) 1 with h(p 1 )h(p 0 ) (1) 1 δ 0 δ 1, because 1 (γ (1) 1 γ 1 ) a subterm per lower atom ( 1) in λ, per upper ( 1) atom in δ Wollic 2007 p.18
26 Restricted case : p 0 p 1... h(p i ) = λ (0) i q (0) δ (0) i }{{} δ (1) j q (1) λ (1) j }{{} = h(p j) (1) (note the inversion) for p 0 p 1 where (new symbols): λ 0 = α (γ (1) 0 γ 0 ) δ 0 = (β 0 β (1) 0 ) (β 1 β (1) 1 )α λ 0 λ 1 λ 1 = α (γ (1) 1 γ 1 ) (γ (1) 0 γ 0 ) δ 1 = (β 0 β (1) 0 ) α δ 0 δ 1 we have : λ 0 λ 1, because (β 1 β (1) 1 ) 1 therefore h(p 0 ).h(p 1 ) (1) 1 = δ 0 δ 1, because 1 (γ (1) 1 γ 1 ) α (γ (1) 1 γ 1 )q (0) (β 1 β (1) 1 ) (β 0 β (1) 0 )α.α (1) (β (1+1) 0 β (1) 0 )q(1) (γ (1) 1 γ (1+1) 1 ) (γ (1) 0 γ (1+1) 0 ) α (1) 1 with h(p 1 )h(p 0 ) (1) 1 a subterm per lower atom ( 1) in λ, per upper ( 1) atom in δ Wollic 2007 p.18
27 Restricted case : p 0 p 1... h(p i ) = λ (0) i q (0) δ (0) i }{{} for p 0 p 1 p 2 p 1 where (new symbols): λ 0 = α (γ (1) 2 γ 2 ) δ 0 = (β 0 β (1) 0 ) (β 1 β (1) 1 )α λ 2 = α (γ (1) 2 γ 2 ) δ 2 = (β 1 β (1) 1 ) (β 2 β (1) 2 )α λ 1 = α (γ (1) 2 γ 2 ) (γ (1) 1 γ 1 ) (γ (1) 0 γ 0 ) δ 1 = (β 1 β (1) 1 ) α a subterm per lower atom ( 1) in λ, per upper ( 1) atom in δ if "reflexive subterm" were dropped : h(p 0 ) = h(p 2 )! Wollic 2007 p.18
28 The Unrestricted Case on P = P r }{{} P r. Proposition. [h is order-preserving] (easy by construction) if p i p j then h(p i ) h(p j ). It is then a pregroup homomorphism. Proposition. [Monotonicity of h] (corollary) X, Y T (P, ) : if X Y then h(x) h(y ) Proposition. [h is order-reflecting] (hard part) X, Y T (P, ) : if h(x) h(y ) then X Y Proposition. [Incrementality] The construction holds for a connex component P r or several connex components, possibly whole P Wollic 2007 p.19
29 How h(x) 1 X 1 Reasoning with Left Derivations h(x) =... q u 1... q u 2... q u 3... links...? Derivation D from 1 1 ending in h(x) 1 Let k denote the step of the leftmost introduction of q, as q (n) q (n+1) : 0 = 1. k 1 = Γ 0 Γ 0 with k 1 1 k = Γ 0 q (n) q (n+1) Γ 0 with k 1. }{{} m = Γ m k q (n) Γm k q (n+1) Γ m k with h(x) = m 1 }{{}}{{}}{{} =h(x) Γ 0 1 Γ 0 by derivation structure Wollic 2007 p.20
30 How h(x) 1 X 1 Technical Lemmas On a kind of parenthesizing in the encodings Lemma. let X = X 1 α (2u1) Y 1 α (2u 1+1) }{{}... X n α (2un) Y n α (2u n+1) }{{} X n+1 where all X k, Y k have no α, and α is not related by ; (i) if X 1 then : (1) k : Y k 1 (2) X 1 X 2... X k... X n X n+1 1 X 1 α (2u 1) Y 1 α (2u 1+1)... X n α (2u n) Y n α (2u n+1) X n+1 variant Wollic 2007 p.21
31 How h(x) 1 X 1 Technical Lemmas On a kind of parenthesizing in the encodings Lemma. let X = X 1 α (2u1) Y 1 α (2u 1+1) }{{}... X n α (2un) Y n α (2u n+1) }{{} X n+1 where all X k, Y k have no α, and α is not related by ; (i) if X 1 then : (1) k : Y k 1 (2) X 1 X 2... X k... X n X n+1 1 (ii) if Y 0 α (2v+1) X α (2v+2) 1 where Y 0 has no α, then : (1) k : Y k 1 (2) X 1 X 2... X k... X n X n+1 1 variant Wollic 2007 p.21
32 Central Lemma Lemma. Let I P r denote the set of indices of elements in P r. Let Γ = h(x 1 ) Y 1 }{{}... h(x k) Y k }{{}... h(x m) Y m }{{} h(x m+1) (m 0) where all Y k have the form: λ 2u i λ 2u+1 j or δ 2u 1 i δj 2u with i, j I P r where some X k may be empty (then considered as 1, with h(1) = 1) (1) If Γ 1 then k 1 m : ( k k 1 : h(x k ) has no q) ( k k 1 : Y k 1) (2) If Γ 1 then X 1 X 2... X m X m+1 1 (3) If δ (2k) i Γδ (2k+1) j 1, or λ (2k+1) i Γλ (2k+2) j 1 then k 1 m : ( k k 1 : h(x k ) has no q) ( k k 1 : Y k 1) (4) If δ (2k) i Γδ (2k+1) j 1, or λ (2k+1) i Γλ (2k+2) j 1 then X 1 X 2... X m X m+1 1 The proof is technical : a key-point is that some derivations are impossible ( leftmost introductions + parenthesizing lemma). Some complications in the formulation (1) and (3) simplify the proof discussion we get later p i p j in the first form, p j p i in the second form Wollic 2007 p.22
33 Main results Proposition. [Equivalence property] X, Y T (P, ) : h(x) h(y ) iff X Y Proposition. [Pregroup Grammar Simulation] Given a pregroup grammar G = (Σ, I, s) on (P, ) we define h from a PG on (P, ) to a PG on (P, ) ; we construct a grammar G = (Σ, h(i), h(s)), on (P, ) where h(i) is the assignment of h(x i ) to a i for X i I(a i ), as a result we have : L(G) = L(G ) This proposition applies the transformation to the whole set of primitive types, thus providing a fully lexicalized grammar G (no order postulate). A similar result holds to a fragment P r of P = P r P r Wollic 2007 p.23
34 Conclusion Pregroups were introduced as a simplification of Lambek calculus. The order on primitive types has been introduced in PG to simplify the calculus for simple types. The consequence is that PG is not fully lexicalized. We have proven that this restriction is not so important because a PG using an order on primitive types can be transformed into a PG based on a simple free pregroup using a pregroup morphism, s.t. : its size is bound by the size of the initial PG times the number of primitive types (times a constant which is approximatively 4), the size of the resulting PG is often much less that this bound; moreover, this transformation does not change the number of types that are assigned to a word (a k-valued PG is transformed into a k-valued PG). Wollic 2007 p.24
35 Transformation language equivalence = similar parse lexicon not too big k-valued + length Related questions... add a preorder to other calculus, similar property?... hierarchies with/without order postulates?... learning with/without order postulates? Wollic 2007 p.25
36 Some other slides for some details and links. Wollic 2007 p.26
37 A schema L AB (G) L NL (G) L L (G) L NL (G) L L (G) L P G,= (G) L P G, (G 0 ) Wollic 2007 p.27
38 Detailed writing and properties of the auxiliary types The Central Lemma uses the following facts on auxiliary types : if p i p j then λ 2u i λ 2u+1 j 1 if p i p j then λ 2u i λ 2u+1 j 1 if p j p i then δ 2u 1 i δj 2u 1 if p j p i then δ 2u 1 i δj 2u 1 This can be summarized as : the only Y k, s.t. Y k 1 of central Lemma are λ 2u i λ 2u+1 j for p i p j and δ 2u 1 i δj 2u for p j p i Wollic 2007 p.28
39 Detailed writing and properties of the auxiliary types The only Y k 1 of Central Lemma are λ 2u i λ 2u+1 j for p i p j and δ 2u 1 i for p j p i. This can be checked using the following detailed writing λ 2u i λ 2u+1 j (i = j): α (2u) ( for k =n..1 if p k p i (γ (2u+1) k γ (2u) k )) ( for k=1..n if p k p i (γ (2u+1) k γ (2u+1+1) k )) α (2u+1) δ 2u j δ 2u 1 i δj 2u (i = j): α (2u 1) ( for k =n..1 if p k p i (β (2u 1+1) k β (2u 1) k )) ( (β (2u) k for k=1..n, if p k p i β (2u+1) k )) α (2u) λ 2u i λ 2u+1 j (i j): α (2u) ( for k =n..1 if p k p i (γ (2u+1) k γ (2u) k )) ( for k=1..n if p k p j (γ (2u+1) k γ (2u+1+1) k )) α (2u+1) δ 2u 1 i δj 2u (i j): α (2u 1) ( for k =n..1 if p k p i (β (2u 1+1) k β (2u 1) k )) ( (β (2u) k for k=1..n, if p k p j β (2u+1) k )) α (2u) Wollic 2007 p.29
40 Morphism-based encodings Proposition. Each order-preserving mapping from (P, ) to (P, ) can be uniquely extended to a unique pregroup homomorphism on T (P, ) to T (P, ). i.e. from monotonicity on P r : p i p j implies h(p i ) h(p j ) to monotonicity on T (P, ) : if X Y then h(x) h(y ) to ensure : p i p j implies h(p i ) h(p j ) Wollic 2007 p.30
41 Morphism-based encodings Proposition. Each order-preserving mapping from (P, ) to (P, ) can be uniquely extended to a unique pregroup homomorphism on T (P, ) to T (P, ). i.e. from monotonicity on P r : p i p j implies h(p i ) h(p j ) to monotonicity on T (P, ) : if X Y then h(x) h(y ) Proof. The unicity comes from the three first points of the definition of pregroup homomorphism. The last point is a consequence of order-preservation which is easy by induction on a derivation D for X Y to ensure : p i p j implies h(p i ) h(p j ) Wollic 2007 p.30
42 Lemma variant Variants. A similar result holds in the odd case (called Bis version ) for X = X 1 α (2u1 1) Y 1 α (2u 1) }{{}... X k α (2uk 1) Y k α (2u k) }{{}... X n α (2un 1) Y n α (2u n) }{{} X n+1 Wollic 2007 p.31
43 Order 1 Lemma (Buszkowski LACL 01) If p is atomic and o(a i ) 1 for 1 i n : A 1,..., A n p is derivable in AB iff it is derivable in L1 iff T (A 1 )... T (A n ) p in free pregroups where T (A/B) = T (A).T (B) l T (B\A) = T (B) r.t (A) the analogue of : is A/B, B A T (A/B).T (B) = T (A).T (B) l.t (B) T (A) and the analogue of : B, B\A A is T (B).T (B\A) = T (B).T (B) r T (A) T (A) Wollic 2007 p.32
44 On Types for Correct Sentences. Usually, type s associated to correct sentences must be a primitive type (s P ). here s can be any type in T (P, ). not a significant modification of PG because X 1 X n X is equivalent to X 1 X n X r 1. if Y X then Y X r XX r 1 ; if Y X r 1 then Y Y X r X X Wollic 2007 p.33
45 On Types for Correct Sentences. Usually, type s associated to correct sentences must be a primitive type (s P ). here s can be any type in T (P, ). not a significant modification of PG because X 1 X n X is equivalent to X 1 X n X r 1. if Y X then Y X r XX r 1 ; if Y X r 1 then Y Y X r X X PG G using a composed type S into a PG G using s, by a right wall S r s (the type can be seen as the type of the final point of a sentence) because X S XS r s s. Wollic 2007 p.33
46 Main Results Proposition. [Order-reflecting property] The simulation-morphism h from the free pregroup on (P, ) to the free pregroup on (P, ) satisfies (1) and (2): (1). X, Y T (P, ) if h(x) h(y ) then X Y (2). X, Y T (P, ) if h(x) 1 then X 1 by (P, ). In fact, (1) can be shown from the central lemma (2) (case m = 0) and (2) above is equivalent to (1) as explained before. As a corollary of monotonicity and previous proposition, we get: Proposition. [Pregroup Order Simulation] The simulation-morphism h from the free pregroup on (P, ) to the free pregroup on (P, ) enjoys the following property: X, Y T (P, ) h(x) h(y ) iff X Y Wollic 2007 p.34
A Toolbox for Pregroup Grammars
A Toolbox for Pregroup Grammars p. 1/?? A Toolbox for Pregroup Grammars Une boîte à outils pour développer et utiliser les grammaires de prégroupe Denis Béchet (Univ. Nantes & LINA) Annie Foret (Univ.
More informationOn rigid NL Lambek grammars inference from generalized functor-argument data
7 On rigid NL Lambek grammars inference from generalized functor-argument data Denis Béchet and Annie Foret Abstract This paper is concerned with the inference of categorial grammars, a context-free grammar
More informationLearnability of Pregroup Grammars
Learnability of Pregroup Grammars Denis Béchet, Annie Foret, Isabelle Tellier To cite this version: Denis Béchet, Annie Foret, Isabelle Tellier. Learnability of Pregroup Grammars. Studia Logica, Springer
More informationLearnability of Pregroup Grammars
Learnability of Pregroup Grammars Denis Béchet 1, Annie Foret 2, and Isabelle Tellier 3 1 LIPN - UMR CNRS 7030, Villetaneuse Denis.Bechet@lipn.univ-paris13.fr 2 IRISA - IFSIC, Campus de Beaulieu, Rennes
More informationFinite Presentations of Pregroups and the Identity Problem
6 Finite Presentations of Pregroups and the Identity Problem Alexa H. Mater and James D. Fix Abstract We consider finitely generated pregroups, and describe how an appropriately defined rewrite relation
More informationLambek grammars based on pregroups
Lambek grammars based on pregroups Wojciech Buszkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University Poznań Poland e-mail: buszko@amu.edu.pl Logical Aspects of Computational Linguistics,
More informationPregroups and their logics
University of Chieti May 6-7, 2005 1 Pregroups and their logics Wojciech Buszkowski Adam Mickiewicz University Poznań, Poland University of Chieti May 6-7, 2005 2 Kazimierz Ajdukiewicz (1890-1963) was
More informationA Polynomial Time Algorithm for Parsing with the Bounded Order Lambek Calculus
A Polynomial Time Algorithm for Parsing with the Bounded Order Lambek Calculus Timothy A. D. Fowler Department of Computer Science University of Toronto 10 King s College Rd., Toronto, ON, M5S 3G4, Canada
More informationPeriodic lattice-ordered pregroups are distributive
Periodic lattice-ordered pregroups are distributive Nikolaos Galatos and Peter Jipsen Abstract It is proved that any lattice-ordered pregroup that satisfies an identity of the form x lll = x rrr (for the
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 informationIterated Galois connections in arithmetic and linguistics. J. Lambek, McGill University
1 Iterated Galois connections in arithmetic and linguistics J. Lambek, McGill University Abstract: Galois connections may be viewed as pairs of adjoint functors, specialized from categories to partially
More informationcse303 ELEMENTS OF THE THEORY OF COMPUTATION Professor Anita Wasilewska
cse303 ELEMENTS OF THE THEORY OF COMPUTATION Professor Anita Wasilewska LECTURE 1 Course Web Page www3.cs.stonybrook.edu/ cse303 The webpage contains: lectures notes slides; very detailed solutions to
More informationSyntax. Notation Throughout, and when not otherwise said, we assume a vocabulary V = C F P.
First-Order Logic Syntax The alphabet of a first-order language is organised into the following categories. Logical connectives:,,,,, and. Auxiliary symbols:.,,, ( and ). Variables: we assume a countable
More information3 Propositional Logic
3 Propositional Logic 3.1 Syntax 3.2 Semantics 3.3 Equivalence and Normal Forms 3.4 Proof Procedures 3.5 Properties Propositional Logic (25th October 2007) 1 3.1 Syntax Definition 3.0 An alphabet Σ consists
More informationNote: In any grammar here, the meaning and usage of P (productions) is equivalent to R (rules).
Note: In any grammar here, the meaning and usage of P (productions) is equivalent to R (rules). 1a) G = ({R, S, T}, {0,1}, P, S) where P is: S R0R R R0R1R R1R0R T T 0T ε (S generates the first 0. R generates
More informationUNIT II REGULAR LANGUAGES
1 UNIT II REGULAR LANGUAGES Introduction: A regular expression is a way of describing a regular language. The various operations are closure, union and concatenation. We can also find the equivalent regular
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 informationPartially commutative linear logic: sequent calculus and phase semantics
Partially commutative linear logic: sequent calculus and phase semantics Philippe de Groote Projet Calligramme INRIA-Lorraine & CRIN CNRS 615 rue du Jardin Botanique - B.P. 101 F 54602 Villers-lès-Nancy
More informationFinite Automata Theory and Formal Languages TMV027/DIT321 LP4 2018
Finite Automata Theory and Formal Languages TMV027/DIT321 LP4 2018 Lecture 14 Ana Bove May 14th 2018 Recap: Context-free Grammars Simplification of grammars: Elimination of ǫ-productions; Elimination of
More informationDisplacement Logic for Grammar
Displacement Logic for Grammar Glyn Morrill & Oriol Valentín Department of Computer Science Universitat Politècnica de Catalunya morrill@cs.upc.edu & oriol.valentin@gmail.com ESSLLI 2016 Bozen-Bolzano
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 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 informationREPRESENTATION THEOREMS FOR IMPLICATION STRUCTURES
Wojciech Buszkowski REPRESENTATION THEOREMS FOR IMPLICATION STRUCTURES Professor Rasiowa [HR49] considers implication algebras (A,, V ) such that is a binary operation on the universe A and V A. In particular,
More informationAxiomatisation of Hybrid Logic
Imperial College London Department of Computing Axiomatisation of Hybrid Logic by Louis Paternault Submitted in partial fulfilment of the requirements for the MSc Degree in Advanced Computing of Imperial
More informationEquivalent Types in Lambek Calculus and Linear Logic
Equivalent Types in Lambek Calculus and Linear Logic Mati Pentus Steklov Mathematical Institute, Vavilov str. 42, Russia 117966, Moscow GSP-1 MIAN Prepublication Series for Logic and Computer Science LCS-92-02
More informationPlan. 1 Introduction. 2 On categorial grammars and learnability. 3 Logical Information Systems (LIS) 4 Categorial grammars and/as LIS.
Plan 1 Introduction 2 On categorial grammars and learnability 3 Logical Information Systems (LIS) 4 Categorial grammars and/as LIS 5 Annex 1 2 On Categorial Grammatical Inference and Logical Information
More informationA proof theoretical account of polarity items and monotonic inference.
A proof theoretical account of polarity items and monotonic inference. Raffaella Bernardi UiL OTS, University of Utrecht e-mail: Raffaella.Bernardi@let.uu.nl Url: http://www.let.uu.nl/ Raffaella.Bernardi/personal
More informationContext Free Grammars
Automata and Formal Languages Context Free Grammars Sipser pages 101-111 Lecture 11 Tim Sheard 1 Formal Languages 1. Context free languages provide a convenient notation for recursive description of languages.
More informationApplications of Regular Algebra to Language Theory Problems. Roland Backhouse February 2001
1 Applications of Regular Algebra to Language Theory Problems Roland Backhouse February 2001 Introduction 2 Examples: Path-finding problems. Membership problem for context-free languages. Error repair.
More informationThe Lambek-Grishin calculus for unary connectives
The Lambek-Grishin calculus for unary connectives Anna Chernilovskaya Utrecht Institute of Linguistics OTS, Utrecht University, the Netherlands anna.chernilovskaya@let.uu.nl Introduction In traditional
More informationOn the Complexity of the Reflected Logic of Proofs
On the Complexity of the Reflected Logic of Proofs Nikolai V. Krupski Department of Math. Logic and the Theory of Algorithms, Faculty of Mechanics and Mathematics, Moscow State University, Moscow 119899,
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 informationIntroduction to Kleene Algebras
Introduction to Kleene Algebras Riccardo Pucella Basic Notions Seminar December 1, 2005 Introduction to Kleene Algebras p.1 Idempotent Semirings An idempotent semiring is a structure S = (S, +,, 1, 0)
More informationPropositional logic. First order logic. Alexander Clark. Autumn 2014
Propositional logic First order logic Alexander Clark Autumn 2014 Formal Logic Logical arguments are valid because of their form. Formal languages are devised to express exactly that relevant form and
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 informationCS481F01 Prelim 2 Solutions
CS481F01 Prelim 2 Solutions A. Demers 7 Nov 2001 1 (30 pts = 4 pts each part + 2 free points). For this question we use the following notation: x y means x is a prefix of y m k n means m n k For each of
More informationBoolean Algebra and Propositional Logic
Boolean Algebra and Propositional Logic Takahiro Kato June 23, 2015 This article provides yet another characterization of Boolean algebras and, using this characterization, establishes a more direct connection
More informationBoolean Algebra and Propositional Logic
Boolean Algebra and Propositional Logic Takahiro Kato September 10, 2015 ABSTRACT. This article provides yet another characterization of Boolean algebras and, using this characterization, establishes a
More informationContext-Free Grammars (and Languages) Lecture 7
Context-Free Grammars (and Languages) Lecture 7 1 Today Beyond regular expressions: Context-Free Grammars (CFGs) What is a CFG? What is the language associated with a CFG? Creating CFGs. Reasoning about
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 information1. Propositional Calculus
1. Propositional Calculus Some notes for Math 601, Fall 2010 based on Elliott Mendelson, Introduction to Mathematical Logic, Fifth edition, 2010, Chapman & Hall. 2. Syntax ( grammar ). 1.1, p. 1. Given:
More informationLecture 4: Proposition, Connectives and Truth Tables
Discrete Mathematics (II) Spring 2017 Lecture 4: Proposition, Connectives and Truth Tables Lecturer: Yi Li 1 Overview In last lecture, we give a brief introduction to mathematical logic and then redefine
More informationA MODEL-THEORETIC PROOF OF HILBERT S NULLSTELLENSATZ
A MODEL-THEORETIC PROOF OF HILBERT S NULLSTELLENSATZ NICOLAS FORD Abstract. The goal of this paper is to present a proof of the Nullstellensatz using tools from a branch of logic called model theory. In
More informationAn Overview of Residuated Kleene Algebras and Lattices Peter Jipsen Chapman University, California. 2. Background: Semirings and Kleene algebras
An Overview of Residuated Kleene Algebras and Lattices Peter Jipsen Chapman University, California 1. Residuated Lattices with iteration 2. Background: Semirings and Kleene algebras 3. A Gentzen system
More informationHomework. Context Free Languages. Announcements. Before We Start. Languages. Plan for today. Final Exam Dates have been announced.
Homework Context Free Languages PDAs and CFLs Homework #3 returned Homework #4 due today Homework #5 Pg 169 -- Exercise 4 Pg 183 -- Exercise 4c,e,i (use JFLAP) Pg 184 -- Exercise 10 Pg 184 -- Exercise
More information1. Propositional Calculus
1. Propositional Calculus Some notes for Math 601, Fall 2010 based on Elliott Mendelson, Introduction to Mathematical Logic, Fifth edition, 2010, Chapman & Hall. 2. Syntax ( grammar ). 1.1, p. 1. Given:
More informationInterpolation via translations
Interpolation via translations Walter Carnielli 2,3 João Rasga 1,3 Cristina Sernadas 1,3 1 DM, IST, TU Lisbon, Portugal 2 CLE and IFCH, UNICAMP, Brazil 3 SQIG - Instituto de Telecomunicações, Portugal
More information5 Context-Free Languages
CA320: COMPUTABILITY AND COMPLEXITY 1 5 Context-Free Languages 5.1 Context-Free Grammars Context-Free Grammars Context-free languages are specified with a context-free grammar (CFG). Formally, a CFG G
More informationPrimitive recursive functions: decidability problems
Primitive recursive functions: decidability problems Armando B. Matos October 24, 2014 Abstract Although every primitive recursive (PR) function is total, many problems related to PR functions are undecidable.
More informationIntroduction to Metalogic
Philosophy 135 Spring 2008 Tony Martin Introduction to Metalogic 1 The semantics of sentential logic. The language L of sentential logic. Symbols of L: Remarks: (i) sentence letters p 0, p 1, p 2,... (ii)
More informationParsing. Context-Free Grammars (CFG) Laura Kallmeyer. Winter 2017/18. Heinrich-Heine-Universität Düsseldorf 1 / 26
Parsing Context-Free Grammars (CFG) Laura Kallmeyer Heinrich-Heine-Universität Düsseldorf Winter 2017/18 1 / 26 Table of contents 1 Context-Free Grammars 2 Simplifying CFGs Removing useless symbols Eliminating
More informationPropositional Logic Language
Propositional Logic Language A logic consists of: an alphabet A, a language L, i.e., a set of formulas, and a binary relation = between a set of formulas and a formula. An alphabet A consists of a finite
More informationGrammars and Context-free Languages; Chomsky Hierarchy
Regular and Context-free Languages; Chomsky Hierarchy H. Geuvers Institute for Computing and Information Sciences Version: fall 2015 H. Geuvers Version: fall 2015 Huygens College 1 / 23 Outline Regular
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 informationUndecidable Problems. Z. Sawa (TU Ostrava) Introd. to Theoretical Computer Science May 12, / 65
Undecidable Problems Z. Sawa (TU Ostrava) Introd. to Theoretical Computer Science May 12, 2018 1/ 65 Algorithmically Solvable Problems Let us assume we have a problem P. If there is an algorithm solving
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 informationThis lecture covers Chapter 7 of HMU: Properties of CFLs
This lecture covers Chapter 7 of HMU: Properties of CFLs Chomsky Normal Form Pumping Lemma for CFs Closure Properties of CFLs Decision Properties of CFLs Additional Reading: Chapter 7 of HMU. Chomsky Normal
More informationUnambiguous Morphic Images of Strings
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
More informationTR : Binding Modalities
City University of New York (CUNY) CUNY Academic Works Computer Science Technical Reports Graduate Center 2012 TR-2012011: Binding Modalities Sergei N. Artemov Tatiana Yavorskaya (Sidon) Follow this and
More informationAxioms of Kleene Algebra
Introduction to Kleene Algebra Lecture 2 CS786 Spring 2004 January 28, 2004 Axioms of Kleene Algebra In this lecture we give the formal definition of a Kleene algebra and derive some basic consequences.
More informationarxiv: v2 [math.gr] 22 Aug 2016
THEORY OF DISGUISED-GROUPS EDUARDO BLANCO GÓMEZ arxiv:1607.07345v2 [math.gr] 22 Aug 2016 Abstract. In this paper we define a new algebraic object: the disguised-groups. We show the main properties of the
More informationChapter 6. Properties of Regular Languages
Chapter 6 Properties of Regular Languages Regular Sets and Languages Claim(1). The family of languages accepted by FSAs consists of precisely the regular sets over a given alphabet. Every regular set is
More informationCategorial Grammars and Substructural Logics
Categorial Grammars and Substructural Logics Wojciech Buszkowski Adam Mickiewicz University in Poznań University of Warmia and Mazury in Olsztyn 1 Introduction Substructural logics are formal logics whose
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 informationComputational Models Lecture 2 1
Computational Models Lecture 2 1 Handout Mode Ronitt Rubinfeld and Iftach Haitner. Tel Aviv University. March 16/18, 2015 1 Based on frames by Benny Chor, Tel Aviv University, modifying frames by Maurice
More informationLogic via Algebra. Sam Chong Tay. A Senior Exercise in Mathematics Kenyon College November 29, 2012
Logic via Algebra Sam Chong Tay A Senior Exercise in Mathematics Kenyon College November 29, 2012 Abstract The purpose of this paper is to gain insight to mathematical logic through an algebraic perspective.
More informationBounded and Ordered Satisfiability: Connecting Recognition with Lambek-style Calculi to Classical Satisfiability Testing
Chapter 1 Bounded and Ordered Satisfiability: Connecting Recognition with Lambek-style Calculi to Classical Satisfiability Testing MICHAIL FLOURIS, LAP CHI LAU, TSUYOSHI MORIOKA, PERIKLIS A. PAPAKONSTANTINOU,
More informationAlgebras. Larry Moss Indiana University, Bloomington. TACL 13 Summer School, Vanderbilt University
1/39 Algebras Larry Moss Indiana University, Bloomington TACL 13 Summer School, Vanderbilt University 2/39 Binary trees Let T be the set which starts out as,,,, 2/39 Let T be the set which starts out as,,,,
More informationA parsing technique for TRG languages
A parsing technique for TRG languages Daniele Paolo Scarpazza Politecnico di Milano October 15th, 2004 Daniele Paolo Scarpazza A parsing technique for TRG grammars [1]
More informationDistributive residuated frames and generalized bunched implication algebras
Distributive residuated frames and generalized bunched implication algebras Nikolaos Galatos and Peter Jipsen Abstract. We show that all extensions of the (non-associative) Gentzen system for distributive
More informationHarvard CS 121 and CSCI E-207 Lecture 12: General Context-Free Recognition
Harvard CS 121 and CSCI E-207 Lecture 12: General Context-Free Recognition Salil Vadhan October 11, 2012 Reading: Sipser, Section 2.3 and Section 2.1 (material on Chomsky Normal Form). Pumping Lemma for
More informationComputational Models - Lecture 5 1
Computational Models - Lecture 5 1 Handout Mode Iftach Haitner and Yishay Mansour. Tel Aviv University. April 10/22, 2013 1 Based on frames by Benny Chor, Tel Aviv University, modifying frames by Maurice
More informationPREDICATE LOGIC: UNDECIDABILITY AND INCOMPLETENESS HUTH AND RYAN 2.5, SUPPLEMENTARY NOTES 2
PREDICATE LOGIC: UNDECIDABILITY AND INCOMPLETENESS HUTH AND RYAN 2.5, SUPPLEMENTARY NOTES 2 Neil D. Jones DIKU 2005 14 September, 2005 Some slides today new, some based on logic 2004 (Nils Andersen) OUTLINE,
More informationProperties of context-free Languages
Properties of context-free Languages We simplify CFL s. Greibach Normal Form Chomsky Normal Form We prove pumping lemma for CFL s. We study closure properties and decision properties. Some of them remain,
More informationMATH 101B: ALGEBRA II PART A: HOMOLOGICAL ALGEBRA
MATH 101B: ALGEBRA II PART A: HOMOLOGICAL ALGEBRA These are notes for our first unit on the algebraic side of homological algebra. While this is the last topic (Chap XX) in the book, it makes sense to
More informationNotes on Monoids and Automata
Notes on Monoids and Automata Uday S. Reddy November 9, 1994 In this article, I define a semantics for Algol programs with Reynolds s syntactic control of interference?;? in terms of comonoids in coherent
More informationCS 373: Theory of Computation. Fall 2010
CS 373: Theory of Computation Gul Agha Mahesh Viswanathan Fall 2010 1 1 Normal Forms for CFG Normal Forms for Grammars It is typically easier to work with a context free language if given a CFG in a normal
More informationProvenance Semirings. Todd Green Grigoris Karvounarakis Val Tannen. presented by Clemens Ley
Provenance Semirings Todd Green Grigoris Karvounarakis Val Tannen presented by Clemens Ley place of origin Provenance Semirings Todd Green Grigoris Karvounarakis Val Tannen presented by Clemens Ley place
More informationMore on Finite Automata and Regular Languages. (NTU EE) Regular Languages Fall / 41
More on Finite Automata and Regular Languages (NTU EE) Regular Languages Fall 2016 1 / 41 Pumping Lemma is not a Sufficient Condition Example 1 We know L = {b m c m m > 0} is not regular. Let us consider
More informationFormal Languages, Automata and Models of Computation
CDT314 FABER Formal Languages, Automata and Models of Computation Lecture 5 School of Innovation, Design and Engineering Mälardalen University 2011 1 Content - More Properties of Regular Languages (RL)
More informationInformal Statement Calculus
FOUNDATIONS OF MATHEMATICS Branches of Logic 1. Theory of Computations (i.e. Recursion Theory). 2. Proof Theory. 3. Model Theory. 4. Set Theory. Informal Statement Calculus STATEMENTS AND CONNECTIVES Example
More informationIntroduction to Theory of Computing
CSCI 2670, Fall 2012 Introduction to Theory of Computing Department of Computer Science University of Georgia Athens, GA 30602 Instructor: Liming Cai www.cs.uga.edu/ cai 0 Lecture Note 3 Context-Free Languages
More informationComputational Models - Lecture 4
Computational Models - Lecture 4 Regular languages: The Myhill-Nerode Theorem Context-free Grammars Chomsky Normal Form Pumping Lemma for context free languages Non context-free languages: Examples Push
More informationTHE AUSTRALIAN NATIONAL UNIVERSITY Second Semester COMP2600 (Formal Methods for Software Engineering)
THE AUSTRALIAN NATIONAL UNIVERSITY Second Semester 2012 COMP2600 (Formal Methods for Software Engineering) Writing Period: 3 hours duration Study Period: 15 minutes duration Permitted Materials: One A4
More informationContext-Free Grammars and Languages. We have seen that many languages cannot be regular. Thus we need to consider larger classes of langs.
Context-Free Grammars and Languages We have seen that many languages cannot be regular. Thus we need to consider larger classes of langs. Contex-Free Languages (CFL s) played a central role natural languages
More informationComputational Models - Lecture 3
Slides modified by Benny Chor, based on original slides by Maurice Herlihy, Brown University. p. 1 Computational Models - Lecture 3 Equivalence of regular expressions and regular languages (lukewarm leftover
More informationAperiodic String Transducers
Aperiodic String Transducers Luc Dartois, Ismaël Jecker Université Libre de Bruxelles, Belgium Pierre-Alain Reynier Aix Marseille Univ, Université de Toulon, CNRS, LIS, Marseille, France Regular string-to-string
More informationFall 1999 Formal Language Theory Dr. R. Boyer. 1. There are other methods of nding a regular expression equivalent to a nite automaton in
Fall 1999 Formal Language Theory Dr. R. Boyer Week Four: Regular Languages; Pumping Lemma 1. There are other methods of nding a regular expression equivalent to a nite automaton in addition to the ones
More informationLecture 2: Connecting the Three Models
IAS/PCMI Summer Session 2000 Clay Mathematics Undergraduate Program Advanced Course on Computational Complexity Lecture 2: Connecting the Three Models David Mix Barrington and Alexis Maciel July 18, 2000
More informationPUSHDOWN AUTOMATA (PDA)
PUSHDOWN AUTOMATA (PDA) FINITE STATE CONTROL INPUT STACK (Last in, first out) input pop push ε,ε $ 0,ε 0 1,0 ε ε,$ ε 1,0 ε PDA that recognizes L = { 0 n 1 n n 0 } Definition: A (non-deterministic) PDA
More informationIntroduction to Metalogic 1
Philosophy 135 Spring 2012 Tony Martin Introduction to Metalogic 1 1 The semantics of sentential logic. The language L of sentential logic. Symbols of L: (i) sentence letters p 0, p 1, p 2,... (ii) connectives,
More informationDecision Problems with TM s. Lecture 31: Halting Problem. Universe of discourse. Semi-decidable. Look at following sets: CSCI 81 Spring, 2012
Decision Problems with TM s Look at following sets: Lecture 31: Halting Problem CSCI 81 Spring, 2012 Kim Bruce A TM = { M,w M is a TM and w L(M)} H TM = { M,w M is a TM which halts on input w} TOTAL TM
More informationSyllogistic Logic and its Extensions
1/31 Syllogistic Logic and its Extensions Larry Moss, Indiana University NASSLLI 2014 2/31 Logic and Language: Traditional Syllogisms All men are mortal. Socrates is a man. Socrates is mortal. Some men
More informationDERIVATIONS. Introduction to non-associative algebra. Playing havoc with the product rule? BERNARD RUSSO University of California, Irvine
DERIVATIONS Introduction to non-associative algebra OR Playing havoc with the product rule? PART VI COHOMOLOGY OF LIE ALGEBRAS BERNARD RUSSO University of California, Irvine FULLERTON COLLEGE DEPARTMENT
More informationCS 341 Homework 16 Languages that Are and Are Not Context-Free
CS 341 Homework 16 Languages that Are and Are Not Context-Free 1. Show that the following languages are context-free. You can do this by writing a context free grammar or a PDA, or you can use the closure
More informationGrammatical resources: logic, structure and control
Grammatical resources: logic, structure and control Michael Moortgat & Dick Oehrle 1 Grammatical composition.................................. 5 1.1 Grammar logic: the vocabulary.......................
More informationComputational Models Lecture 2 1
Computational Models Lecture 2 1 Handout Mode Iftach Haitner. Tel Aviv University. October 30, 2017 1 Based on frames by Benny Chor, Tel Aviv University, modifying frames by Maurice Herlihy, Brown University.
More informationLogic Michælmas 2003
Logic Michælmas 2003 ii Contents 1 Introduction 1 2 Propositional logic 3 3 Syntactic implication 5 3.0.1 Two consequences of completeness.............. 7 4 Posets and Zorn s lemma 9 5 Predicate logic
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 informationGenerating All Circular Shifts by Context-Free Grammars in Chomsky Normal Form
Generating All Circular Shifts by Context-Free Grammars in Chomsky Normal Form Peter R.J. Asveld Department of Computer Science, Twente University of Technology P.O. Box 217, 7500 AE Enschede, the Netherlands
More information