Multi-dimensional Dependency Grammar as Multigraph Description

Size: px
Start display at page:

Download "Multi-dimensional Dependency Grammar as Multigraph Description"

Transcription

1 Multi-dimensional Dependency Grammar as Multigraph Description Ralph Debusmann and Gert Smolka Programming Systems Lab Universität des Saarlandes Postfach 0 0 Saarbrücken, Germany {rade,smolka}@ps.uni-sb.de Abstract Extensible Dependency Grammar (XDG) is new, modular grammar formalism for natural langue. An XDG analysis is a multi-dimensional dependency graph, where each dimension represents a different aspect of natural langue, e.g. syntactic function, predicate-argument structure, information structure etc. Thus, XDG brings togeer two recent trends in computational linguistics: e increased application of ideas from dependency grammar and e idea of multi-layered linguistic description. n is paper, we tackle one of e stumbling blocks of XDG so far its incomplete formalization. We present e first complete formalization of XDG, as a description langue for multigraphs based on simply typed lambda calculus. ntroduction Extensible Dependency Grammar (XDG) (Debusmann et al. 00) brings togeer two recent trends from computational linguistics:. dependency grammar. multi-layered linguistic description Firstly, e ideas of dependency grammar, lexicalization, e head-dependent asymmetry, valency etc., have become more and more popular in computational linguistics. Most of e popular grammar formalisms like Combinatorial Categorial Grammar (CCG) (Steedman 000), Headdriven Phrase Structure Grammar (HPSG) (Pollard & S 99), Lexical Functional Grammar (LFG) (Bresnan 00) and Tree Adjoining Grammar (TAG) (Joshi 987) have already adopted ese ideas. Moreover, e most successful approaches statistical parsing crucially depend on notions from dependency grammar (Collins 999), and new treebanks based on dependency grammar are being developed for various langues, e.g. e Prue Dependency Treebank (PDT) for Czech and e TiGer Dependency Bank for German. Secondly, many treebanks such as e Penn Treebank, e TiGer Treebank and e PDT are continuously being extended wi additional layers of annotation in addition to e syntactic layer, i.e. ey become more and more multilayered. For example, e PropBank (Kingsbury & Palmer Copyright c 00, American Association for Artificial ntelligence ( All rights reserved. 00) (Penn Treebank), e SALSA project (Erk et al. 00) (TiGer Treebank) and e tectogrammatical layer (PDT) add a layer of predicate-argument structure. Oer added layers concern information structure (PDT) and discourse structure as in e Penn Discourse Treebank (Webber et al. 00). These additional layers of annotation are often dependencylike, i.e. could be straightforwardly represented in a framework for dependency grammar which is multi-layered. XDG is such a framework. t has already been successfully applied to model a relational syntax-semantics interface (Debusmann et al. 00) and to model e relation between prosodic structure and information structure in English (Debusmann, Postolache, & Traat 00). We hope to soon be able to employ XDG to directly make use of e information contained in e new multi-layered treebanks, e.g. for e automatic induction of multi-layered grammars for parsing and generation. To achieve is goal, XDG still needs to overcome a number of weaknesses. The first is e lack of a polynomial parsing algorim so far, we only have a parser based on constraint programming (Debusmann, Duchier, & Niehren 00), which is fairly efficient, given at e parsing problem is NP-hard, but does not scale up to large-scale grammars. The second major stumbling block of XDG so far is e lack of a complete formalization. The latter is what we will change in is paper: we will present a formalization of XDG as a description langue for multigraphs based on simply typed lambda calculus (Church 90; Andrews 00). To give a hint of e expressivity of XDG, we additionally present a proof at e parsing problem of (unrestricted) XDG is NP-hard. We begin e paper wi introducing e notion of multigraphs. Multigraphs Multigraphs are motivated by dependency grammar, and in particular by its structures: dependency graphs. Dependency Graphs Dependency graphs such as e one in Figure typically represent e syntactic structure of sentences in natural langue. They have e following properties:. Each node (round circle) is associated wi a word (, Peter, wants etc.), which is connected to e corresponding node by a dotted vertical line called projection edge, 70

2 for ese lines signify e projection of e nodes onto e sentence.. Each node is additionally associated wi an index (,, etc.) signifying its position in e sentence, and displayed above e words.. The nodes are connected to each oer by labeled and directed edges, which express syntactic relations. n e example, ere is an edge from node to node labeled adv, expressing at wants is modified by e adverb, and one from to labeled subj, expressing at Peter is e subject of wants. wants also has e infinitival verbal complement (edge label vinf), which has e particle (part) to and e object (obj) sphetti. adv syntax Peter wants to subj vinf semantics part obj pat sphetti Peter wants to sphetti adv subj vinf part obj Figure : Multigraph Peter wants to sphetti Figure : Dependency Graph (syntactic analysis) Dependency graphs are not restricted to describing syntactic structures alone. As an example in point, Figure shows a dependency graph which describes e semantic structure of our example sentence, where e adverb is e root and has e eme (edge label ) wants, which in turn has e ent () Peter and e eme. has e ent Peter and e patient (pat) sphetti. Node (e particle to) has no meaning and us remains unconnected. Peter wants to pat sphetti Figure : Dependency Graph (semantic analysis) Multigraphs A multigraph is a multi-dimensional dependency graph consisting of an arbitrary number of dependency graphs called dimensions. All dimensions share e same set of nodes. Multigraphs can significantly simplify linguistic modeling by modularizing bo e structures and eir description. We show an example multigraph in Figure, where we simply draw e dimensions of syntax (upper half, from Figure ) and semantics (lower half, from Figure ) as individual dependency graphs for clarity, and indicate e node sharing by arranging shared nodes in e same columns. The multigraph simultaneously describes e syntactic and semantic structures of e sentence, and expresses e.g. at Peter (node ), e subject of wants, syntactically realizes bo e ent of wants and of (node ). Formalization We formalize multigraphs as tuples (V, Dim, Word, W, Lab, E, Attr, A) of a finite set V of nodes, a finite set Dim of dimensions, a finite set Word of words, e node-word mapping W V Word, a finite set Lab of edge labels, a set E V V Dim Lab of edges, and in addition a finite set Attr of attributes and e node-attributes mapping A V Dim Attr to equip e nodes wi extra information (not used in e example above). The set of nodes V must be a finite interval of e natural numbers starting from, i.e., given n nodes, V = {,..., n}, which induces a strict total order on V. Relations We associate each dimension d Dim wi four relations: ) e labeled edge relation ( d ), ) e edge relation ( d ), ) e dominance relation ( + d ), and ) e precedence relation ( ). Labeled Edge. Given two nodes v and v and a label l Lab, e labeled edge relation v d v holds iff ere is an edge from v to v labeled l on dimension d: l d = {(v, v, l) (v, v, d, l) E} () Edge. Given two nodes v and v, e edge relation v d v holds iff ere is an edge from v to v on dimension d labeled by any label in Lab: d = {(v, v ) l Lab : v l d v } () Dominance. The (strict, non-reflexive) dominance relation + d is e transitive closure of e edge relation d. Precedence. Given two nodes v and v, e precedence relation v v holds iff v < v, where < is e total order on e natural numbers. Note at here, formally, a dimension is just a name identifying a particular dependency graph in e multigraph. Conceptually, a dimension denotes not just e name but e dependency graph itself. 7

3 A Description Langue for Multigraphs We proceed wi formalizing Extensible Dependency Grammar (XDG) as a description langue for multigraphs based based on simply typed lambda calculus. Types Definition. We define e types T Ty given a set At of atoms (arbitrary symbols): a At T Ty ::= B boolean V node T T function {a,..., a n } finite domain {a : T,..., a n : T n } record () where n and for finite domains and records, a,..., a n are pairwise distinct. Following (Church 90; Andrews 00), we adopt e classical semantics for lambda calculus and us forbid empty finite domain types. nterpretation. B as {0, } We interpret: V as a finite interval of e natural numbers from T T as e set of all functions from e interpretation of T to e interpretation of T {a,..., a n } as e set {a,..., a n } {a : T,..., a n : T n } as e set of all functions f wi. Dom f = {a,..., a n }. for all i n, f a i is an element of e interpretation of T i Multigraph Type Multigraphs can be distinguished according to eir dimensions, words, edge labels and attributes. This leads us to e definition of a multigraph type, which we define given e types Ty as a tuple M = (dim, word, lab, attr), where. dim Ty is a finite domain of dimensions. word Ty is a finite domain of words. lab dim Ty is a function from dimensions to label types (finite domains), i.e. e type of e edge labels on at dimension. attr dim Ty is a function from dimensions to attributes types (any type in Ty), i.e. e type of e attributes on at dimension Writing M T for e interpretation of type T over M, a multigraph M = (V, Dim, Word, W, Lab, E, Attr, A) has multigraph type M = (dim, word, lab, attr) iff. The dimensions are e same:. The words are e same: Dim = M dim () Word = M word (). The edges in E have e right edge labels for eir dimension (according to lab): (v, v, d, l) E : l M (lab d) (). The nodes have e right attributes for eir dimension (according to attr): v V : d Dim : (A v d) M (attr d) (7) Terms The terms of XDG augment simply typed lambda calculus wi atoms, records and record selection. Given a set of constants Con, we define: a At c Con t ::= x variable c constant λx : T.t abstraction t t application a atom {a = t,..., a n = t n } record t.a record selection where for records, a,..., a n are pairwise distinct. Signature An XDG signature is determined by a multigraph type M = (dim, word, lab, attr), and consists of two parts: e logical constants and e multigraph constants. Logical Constants. The logical constants include e type constant B and e following term constants: 0 : B false : B true : B B negation : B B B disjunction. = T : T T B equality T : (T B) B existential quantification For convenience, we introduce e usual logical constants,,,, T and T as notation. Multigraph Constants. The multigraph constants include e type constant V, and e following term constants: d : V V lab d B labeled edge d : V V B edge + d : V V B dominance : V V B precedence (word ) : V word word (d ) : V attr d attributes (0) where we interpret d as e labeled edge relation on dimension d. d as e edge relation on d. (8) (9) 7

4 + d as e dominance relation on d. as e precedence relation (word ) as e word (d ) as e attributes on d. Grammar An XDG grammar G = (M, P ) is defined by a multigraph type M and a set P of formulas called principles. Each principle must be formulated according to e signature M. Models The models of a grammar G = (M, P ) are all multigraphs which. have multigraph type M. satisfy all principles P Recognition Problem We distinguish two kinds of recognition problems:. e universal recognition problem. e fixed recognition problem Universal Recognition Problem. Given an XDG grammar G wi words word and a string s = w... w n in word +, e universal recognition problem (G, s) is e problem of determining wheer ere is a model of G such at:. ere are as many nodes as words: V = {,..., n} (). e concatenation of e words of e nodes yields s: (word )... (word n) = s () Fixed Recognition Problem. The fixed recognition problem (G, s) poses e same question as e universal recognition problem, but wi e restriction at for all input strings s, e grammar G must remain fixed. Complexity What is e complexity of e two kinds of recognition problems? n is section, we prove at e fixed recognition problem is NP-hard. The purpose of e proof is to give e reader a feeling for e expressivity of XDG. Fixed Recognition Problem Proof. To prove at e fixed string membership problem is NP-hard, we opt for e reduction of e NP-complete problem of SAT (satisfiability), which is e problem of deciding wheer a formula in propositional logic has an assignment at evaluates to true. We restrict ourselves to formulas f, which is already sufficient to cover full propositional logic: f ::= X, Y, Z,... variable 0 false f f implication The reduction of SAT proceeds as follows: (). n ree steps, we transform e propositional formula into a string suitable as input to e fixed string membership problem. For example, given e formula (X 0) Y () e transformation goes along as follows: (a) To avoid ambiguity, we transform e formula into prefix notation: X 0 Y () (b) A propositional formula can contain an arbitrary number of variables, yet e domain of words of an XDG grammar must be finite. To overcome is limitation, we adopt a unary encoding for variables, where we encode e first variable from e left of e formula (here: X) as var, e second (here: Y ) var etc.: var 0 var () (c) To clearly distinguish e string from e original propositional formula, we replace all implication symbols wi e word impl: impl impl var 0 var (7). We introduce e Propositional Logic dimension (abbreviation: ) to model e structure of e propositional formula. On e dimension, e example formula () is analyzed as in Figure. arg arg bar arg arg impl impl var 0 var { } { } { }{ } { }{ } { } { } tru= tru=0 tru= tru=0 tru=0 tru= tru=0 tru=0 bars= bars= bars= bars= bars= bars= bars= bars= bar bar Figure : analysis of (X 0) Y The edge labels are arg and arg for e antecedent and e consequent of an implication, respectively, and bar for connecting e bars (word ) of e unary variable encoding. Below e words of e nodes, we display eir attributes, which are of e following type: { } tru : B (8) bars : V where tru represents e tru value of e node and bars e number of bars below e next node to its right plus. The bars attribute will become crucial for establishing coreferences between variables. ts type is V for two reasons: (a) There are always less (or equally many) variables in a formula an ere are nodes, since every encoded formula contains less (or equally many) variables an words. Hence, V always suffices to distinguish em. (b) We require e precedence predicate to implement incrementation (cf. 9. below), which is defined only on V

5 . We require at e models on are trees. n XDG, we can express is as follows: (a) ere are no cycles: (v + v) (9) (b) each node has at most one incoming edge: v v v v v. = v (0) (c) ere is precisely one node wi no incoming edge (e root): v : v : v v (). We describe e structure of e tree by, for each node, depending on its word, constraining ) its incoming edges, ) its outgoing edges and ) its order wi respect to its daughters and e order among e daughters: (a) A node wi word impl ) can eier be e antecedent or e consequent of an implication (its incoming edge must be labeled eier arg or arg), ) requires precisely one outgoing edge labeled arg (for e antecedent) and one labeled arg (for e consequent) and must have no oer outgoing edges, and ) must precede its arg-daughter, which in turn must precede e arg-daughter. We illustrate is below in (), where e question mark? marks optional and e exclamation mark! obligatory edges: arg?, arg? impl arg! arg! We can express ese ree constraints in XDG as: (word v) =. impl ) v l v l =. arg l =. arg ) v : v arg v v : v arg v () v : v bar v ) v arg v v arg v v v v v () (b) A node wi word 0 can ) eier be e antecedent or e consequent of an implication and ) must not have any outgoing edges: arg?, arg? 0 () (c) A node wi word var ) can eier be e antecedent or e consequent of an implication, ) requires only precisely one outgoing edge labeled bar for e first bar below it, and ) precedes its bar-daughter: arg?, arg? var bar! () (d) A node wi word ) must have an incoming edge labeled bar, ) can have only at most one outgoing edge labeled bar, and ) precedes its potential bar-daughter: bar! bar? (). Just ordering e nodes is not enough: to precisely capture e context-free structure of e propositional formula and e unary variable encoding, we must ensure at e models are projective, i.e. at no edge crosses any of e projection edges. Oerwise, we are faced wi wrong analyses as in Figure, where e rightmost bar (node 8) is incorrectly taken over by e first bar (node ) of e left variable (node ). arg arg arg arg bar impl impl var 0 var { } { } { }{ } { }{ } { } { } tru= tru=0 tru= tru=0 tru=0 tru=0 tru=0 tru=0 bars= bars= bars= bars= bars= bars= bars= bars= Figure : Non-projective analysis of (X 0) Y We express e projectivity constraint as follows in XDG: for each node v and each daughter v, all nodes v between v and v must be below v: v v v v v : v v v v v + v v v v v v : v v v v v + v (7). We must ensure at e root of analysis always has tru value, i.e. at e propositional formula is true: v : v v ( v).tru. = (8) 7. Nodes wi word 0 have tru value false. Their bar count is not relevant, hence we can pick an arbitrary value and set it to : (word v) =. 0 ( v).tru =. 0 ( v).bars =. (9) 8. The tru value of nodes wi word impl equals e implication of e tru value of its arg-daughter (e antecedent) and its arg-daughter (e consequent). Again e bar count is not relevant and we set it to : (word v) =. impl (v arg v v arg v ( v).tru =. (( v ).tru ( v ).tru)) ( v).bars =. (0) Note at while XDG dimensions can be constrained to be projective, ey need not be. bar bar 7 8 7

6 9. The tru value of bars (word ) is not relevant, and hence we can safely set it to 0. The bar value is eier for e bars not having a daughter, or else one more an its daughter: (word v) =. ( v).tru =. 0 v : v v ( v).bars =. (v bar v ( v ).bars ( v).bars v : ( v ).bars v v ( v).bars) () Notice at e latter constraint actually increments e bar value, even ough XDG does not provide us wi any direct means to do at. The trick is to emulate incrementing using e precedence predicate. 0. The tru value of variables is only constrained by e overall propositional formula. Their bar value is e same as at of eir bar daughter. (word v). = var v bar v ( v).bars. = ( v ).bars (). We can now establish coreferences between e variables. To is end, we stipulate at for each pair of nodes v and v wi word var, if ey have e same bar values, en eir tru values must be e same: (word v). = var (word v ). = var ( v).bars. = ( v ).bars ( v).tru. = ( v ).tru () The described reduction is polynomial, which concludes e proof at e fixed string membership problem is NP-hard. Universal Recognition Problem Proof. Since e fixed recognition problem is a specialization of e universal recognition problem, e NP-hardness result carries over: e universal recognition problem of XDG is also NP-hard. Conclusion n is paper, we have presented e first complete formalization of XDG as a description langue for multigraphs based on simply typed lambda calculus. We also showed at e recognition problem of XDG as it stands is NP-hard. But all is not lost: on e one hand, we already have an implementation of XDG as a constraint satisfaction problem which is fairly efficient for handcrafted grammars at least. Also, oer grammar formalisms such as LFG (Barton, Berwick, & Ristad 987) and HPSG (wi significant restrictions) (Trautwein 99) are also NP-hard but still used for parsing in practice. On e oer hand, e formalization is meant to be a starting point for future research on e formal aspects of XDG, wi e eventual goal to find more tractable, polynomial frments, wiout losing e potential to significantly modularize and us improve e modeling of natural langue. Acknowledgments We would like to ank e oer members of e CHO- RUS project (Alexander Koller, Marco Kuhlmann, Manfred Pinkal, Stefan Thater) for discussion, and also Denys Duchier and Joachim Niehren. This work was funded by e DFG (SFB 78) and e nternational Post-Graduate College in Langue Technology and Cognitive Systems (GK) in Saarbrücken. References Andrews, P. B. 00. An ntroduction to Maematical Logic and Type Theory: To Tru Through Proof. Kluwer Academic Publishers. Barton, G. E.; Berwick, R.; and Ristad, E. S Computational Complexity and Natural Langue. MT Press. Bresnan, J. 00. Lexical Functional Syntax. Blackwell. Church, A. 90. A Formulation of e Simple Theory of Types. Journal of Symbolic Logic (): 8. Collins, M Head-Driven Statistical Models for Natural Langue Parsing. Ph.D. Dissertation, University of Pennsylvania. Debusmann, R.; Duchier, D.; Koller, A.; Kuhlmann, M.; Smolka, G.; and Thater, S. 00. A Relational Syntax- Semantics nterface Based on Dependency Grammar. n Proceedings of COLNG 00. Debusmann, R.; Duchier, D.; and Niehren, J. 00. The XDG Grammar Development Kit. n Proceedings of e MOZ0 Conference, volume 89 of Lecture Notes in Computer Science, Charleroi/BE: Springer. Debusmann, R.; Postolache, O.; and Traat, M. 00. A Modular Account of nformation Structure in Extensible Dependency Grammar. n Proceedings of e CCLNG 00 Conference. Mexico City/MX: Springer. Erk, K.; Kowalski, A.; Pado, S.; and Pinkal, M. 00. Towards a Resource for Lexical Semantics: A Large German Corpus wi Extensive Semantic Annotation. n Proceedings of ACL 00. Joshi, A. K An ntroduction to Tree-Adjoining Grammars. n Manaster-Ramer, A., ed., Maematics of Langue. Amsterdam/NL: John Benjamins. 87. Kingsbury, P., and Palmer, M. 00. From Treebank to PropBank. n Proceedings of LREC-00. Pollard, C., and S,. A. 99. Head-Driven Phrase Structure Grammar. Chico/US: University of Chico Press. Steedman, M The Syntactic Process. Cambridge/US: MT Press. Trautwein, M. 99. The complexity of structure sharing in unification-based Grammars. n Daelemans, W.; Durieux, G.; and Gillis, S., eds., Computational Linguistics in e Neerlands 99, 79. Webber, B.; Joshi, A.; Miltsakaki, E.; Prasad, R.; Dinesh, N.; Lee, A.; and Forbes, K. 00. A Short ntroduction to e Penn Discourse TreeBank. Technical report, University of Pennsylvania. 7

The Complexity of First-Order Extensible Dependency Grammar

The Complexity of First-Order Extensible Dependency Grammar The Complexity of First-Order Extensible Dependency Grammar Ralph Debusmann Programming Systems Lab Universität des Saarlandes Postfach 15 11 50 66041 Saarbrücken, Germany rade@ps.uni-sb.de Abstract We

More information

Modular Grammar Design with Typed Parametric Principles

Modular Grammar Design with Typed Parametric Principles 1 Modular Grammar Design with Typed Parametric Principles 1.1 Introduction Extensible Dependency Grammar (xdg) (Debusmann et al., 2004) is a general framework for dependency grammar, with multiple levels

More information

Modular Grammar Design with Typed Parametric Principles

Modular Grammar Design with Typed Parametric Principles 11 Modular Grammar Design with Typed Parametric Principles Ralph Debusmann, Denys Duchier and Andreas Rossberg Abstract This paper introduces a type system for Extensible Dependency Grammar (xdg) (Debusmann

More information

Lecture 7. Logic. Section1: Statement Logic.

Lecture 7. Logic. Section1: Statement Logic. Ling 726: Mathematical Linguistics, Logic, Section : Statement Logic V. Borschev and B. Partee, October 5, 26 p. Lecture 7. Logic. Section: Statement Logic.. Statement Logic..... Goals..... Syntax of Statement

More information

Towards a redundancy elimination algorithm for underspecified descriptions

Towards a redundancy elimination algorithm for underspecified descriptions Towards a redundancy elimination algorithm for underspecified descriptions Alexander Koller and Stefan Thater Department of Computational Linguistics Universität des Saarlandes, Saarbrücken, Germany {koller,stth}@coli.uni-sb.de

More information

Computational Linguistics

Computational Linguistics Computational Linguistics Dependency-based Parsing Clayton Greenberg Stefan Thater FR 4.7 Allgemeine Linguistik (Computerlinguistik) Universität des Saarlandes Summer 2016 Acknowledgements These slides

More information

Computational Linguistics. Acknowledgements. Phrase-Structure Trees. Dependency-based Parsing

Computational Linguistics. Acknowledgements. Phrase-Structure Trees. Dependency-based Parsing Computational Linguistics Dependency-based Parsing Dietrich Klakow & Stefan Thater FR 4.7 Allgemeine Linguistik (Computerlinguistik) Universität des Saarlandes Summer 2013 Acknowledgements These slides

More information

Model-Theory of Property Grammars with Features

Model-Theory of Property Grammars with Features Model-Theory of Property Grammars with Features Denys Duchier Thi-Bich-Hanh Dao firstname.lastname@univ-orleans.fr Yannick Parmentier Abstract In this paper, we present a model-theoretic description of

More information

Propositional Logic: Models and Proofs

Propositional Logic: Models and Proofs Propositional Logic: Models and Proofs C. R. Ramakrishnan CSE 505 1 Syntax 2 Model Theory 3 Proof Theory and Resolution Compiled at 11:51 on 2016/11/02 Computing with Logic Propositional Logic CSE 505

More information

Minimal Recursion Semantics as Dominance Constraints: Translation, Evaluation, and Analysis

Minimal Recursion Semantics as Dominance Constraints: Translation, Evaluation, and Analysis Minimal Recursion Semantics as Dominance Constraints: Translation, Evaluation, and Analysis Ruth Fuchss, 1 Alexander Koller, 1 Joachim Niehren, 2 and Stefan Thater 1 1 Dept. of Computational Linguistics,

More information

Ordering Constraints over Feature Trees

Ordering Constraints over Feature Trees Ordering Constraints over Feature Trees Martin Müller, Joachim Niehren, Andreas Podelski To cite this version: Martin Müller, Joachim Niehren, Andreas Podelski. Ordering Constraints over Feature Trees.

More information

The Formal Architecture of. Lexical-Functional Grammar. Ronald M. Kaplan and Mary Dalrymple

The Formal Architecture of. Lexical-Functional Grammar. Ronald M. Kaplan and Mary Dalrymple The Formal Architecture of Lexical-Functional Grammar Ronald M. Kaplan and Mary Dalrymple Xerox Palo Alto Research Center 1. Kaplan and Dalrymple, ESSLLI 1995, Barcelona Architectural Issues Representation:

More information

Feature Constraint Logics. for Unication Grammars. Gert Smolka. German Research Center for Articial Intelligence and. Universitat des Saarlandes

Feature Constraint Logics. for Unication Grammars. Gert Smolka. German Research Center for Articial Intelligence and. Universitat des Saarlandes Feature Constraint Logics for Unication Grammars Gert Smolka German Research Center for Articial Intelligence and Universitat des Saarlandes Stuhlsatzenhausweg 3, D-66123 Saarbrucken, Germany smolka@dfki.uni-sb.de

More information

A Polynomial Time Algorithm for Parsing with the Bounded Order Lambek Calculus

A 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 information

Maschinelle Sprachverarbeitung

Maschinelle Sprachverarbeitung Maschinelle Sprachverarbeitung Parsing with Probabilistic Context-Free Grammar Ulf Leser Content of this Lecture Phrase-Structure Parse Trees Probabilistic Context-Free Grammars Parsing with PCFG Other

More information

Maschinelle Sprachverarbeitung

Maschinelle Sprachverarbeitung Maschinelle Sprachverarbeitung Parsing with Probabilistic Context-Free Grammar Ulf Leser Content of this Lecture Phrase-Structure Parse Trees Probabilistic Context-Free Grammars Parsing with PCFG Other

More information

3. Only sequences that were formed by using finitely many applications of rules 1 and 2, are propositional formulas.

3. Only sequences that were formed by using finitely many applications of rules 1 and 2, are propositional formulas. 1 Chapter 1 Propositional Logic Mathematical logic studies correct thinking, correct deductions of statements from other statements. Let us make it more precise. A fundamental property of a statement is

More information

The Importance of Being Formal. Martin Henz. February 5, Propositional Logic

The Importance of Being Formal. Martin Henz. February 5, Propositional Logic The Importance of Being Formal Martin Henz February 5, 2014 Propositional Logic 1 Motivation In traditional logic, terms represent sets, and therefore, propositions are limited to stating facts on sets

More information

Propositional logic. First order logic. Alexander Clark. Autumn 2014

Propositional 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 information

Tree Adjoining Grammars

Tree Adjoining Grammars Tree Adjoining Grammars TAG: Parsing and formal properties Laura Kallmeyer & Benjamin Burkhardt HHU Düsseldorf WS 2017/2018 1 / 36 Outline 1 Parsing as deduction 2 CYK for TAG 3 Closure properties of TALs

More information

On Rewrite Constraints and Context Unification

On Rewrite Constraints and Context Unification On Rewrite Constraints and Context Unification Joachim Niehren 1,2,3 Universität des Saarlandes, Postfach 15 11 50, D-66041 Saarbrücken, Germany Sophie Tison 1,2 LIFL, Unicersité Lille 1, F-59655 Villeneuve

More information

Toward a Universal Underspecified Semantic Representation

Toward a Universal Underspecified Semantic Representation 5 Toward a Universal Underspecified Semantic Representation MEHDI HAFEZI MANSHADI, JAMES F. ALLEN, MARY SWIFT Abstract We define Canonical Form Minimal Recursion Semantics (CF-MRS) and prove that all the

More information

Propositional Logic. Testing, Quality Assurance, and Maintenance Winter Prof. Arie Gurfinkel

Propositional Logic. Testing, Quality Assurance, and Maintenance Winter Prof. Arie Gurfinkel Propositional Logic Testing, Quality Assurance, and Maintenance Winter 2018 Prof. Arie Gurfinkel References Chpater 1 of Logic for Computer Scientists http://www.springerlink.com/content/978-0-8176-4762-9/

More information

Parsing Beyond Context-Free Grammars: Tree Adjoining Grammars

Parsing Beyond Context-Free Grammars: Tree Adjoining Grammars Parsing Beyond Context-Free Grammars: Tree Adjoining Grammars Laura Kallmeyer & Tatiana Bladier Heinrich-Heine-Universität Düsseldorf Sommersemester 2018 Kallmeyer, Bladier SS 2018 Parsing Beyond CFG:

More information

Automata theory. An algorithmic approach. Lecture Notes. Javier Esparza

Automata theory. An algorithmic approach. Lecture Notes. Javier Esparza Automata theory An algorithmic approach Lecture Notes Javier Esparza July 2 22 2 Chapter 9 Automata and Logic A regular expression can be seen as a set of instructions ( a recipe ) for generating the words

More information

NP Coordination in Underspecified Scope Representations

NP Coordination in Underspecified Scope Representations NP Coordination in Underspecified Scope Representations Alistair Willis The Open University Milton Keynes, UK. A.G.Willis@open.ac.uk Abstract Accurately capturing the quantifier scope behaviour of coordinated

More information

Unification Grammars and Off-Line Parsability. Efrat Jaeger

Unification Grammars and Off-Line Parsability. Efrat Jaeger Unification Grammars and Off-Line Parsability Efrat Jaeger October 1, 2002 Unification Grammars and Off-Line Parsability Research Thesis Submitted in partial fulfillment of the requirements for the degree

More information

Finite Presentations of Pregroups and the Identity Problem

Finite 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 information

Logic for Computer Science - Week 2 The Syntax of Propositional Logic

Logic for Computer Science - Week 2 The Syntax of Propositional Logic Logic for Computer Science - Week 2 The Syntax of Propositional Logic Ștefan Ciobâcă November 30, 2017 1 An Introduction to Logical Formulae In the previous lecture, we have seen what makes an argument

More information

Comp487/587 - Boolean Formulas

Comp487/587 - Boolean Formulas Comp487/587 - Boolean Formulas 1 Logic and SAT 1.1 What is a Boolean Formula Logic is a way through which we can analyze and reason about simple or complicated events. In particular, we are interested

More information

Models of Adjunction in Minimalist Grammars

Models of Adjunction in Minimalist Grammars Models of Adjunction in Minimalist Grammars Thomas Graf mail@thomasgraf.net http://thomasgraf.net Stony Brook University FG 2014 August 17, 2014 The Theory-Neutral CliffsNotes Insights Several properties

More information

Expanding the Range of Tractable Scope-Underspecified Semantic Representations

Expanding the Range of Tractable Scope-Underspecified Semantic Representations Expanding the Range of Tractable Scope-Underspecified Semantic Representations Mehdi Manshadi and James Allen Department of Computer Science University of Rochester Rochester, NY 14627 {mehdih,james}@cs.rochester.edu

More information

1 More finite deterministic automata

1 More finite deterministic automata CS 125 Section #6 Finite automata October 18, 2016 1 More finite deterministic automata Exercise. Consider the following game with two players: Repeatedly flip a coin. On heads, player 1 gets a point.

More information

INTRODUCTION TO LOGIC. Propositional Logic. Examples of syntactic claims

INTRODUCTION TO LOGIC. Propositional Logic. Examples of syntactic claims Introduction INTRODUCTION TO LOGIC 2 Syntax and Semantics of Propositional Logic Volker Halbach In what follows I look at some formal languages that are much simpler than English and define validity of

More information

CHAPTER 2 INTRODUCTION TO CLASSICAL PROPOSITIONAL LOGIC

CHAPTER 2 INTRODUCTION TO CLASSICAL PROPOSITIONAL LOGIC CHAPTER 2 INTRODUCTION TO CLASSICAL PROPOSITIONAL LOGIC 1 Motivation and History The origins of the classical propositional logic, classical propositional calculus, as it was, and still often is called,

More information

Title: Logical Agents AIMA: Chapter 7 (Sections 7.4 and 7.5)

Title: Logical Agents AIMA: Chapter 7 (Sections 7.4 and 7.5) B.Y. Choueiry 1 Instructor s notes #12 Title: Logical Agents AIMA: Chapter 7 (Sections 7.4 and 7.5) Introduction to Artificial Intelligence CSCE 476-876, Fall 2018 URL: www.cse.unl.edu/ choueiry/f18-476-876

More information

Mathematical Preliminaries. Sipser pages 1-28

Mathematical Preliminaries. Sipser pages 1-28 Mathematical Preliminaries Sipser pages 1-28 Mathematical Preliminaries This course is about the fundamental capabilities and limitations of computers. It has 3 parts 1. Automata Models of computation

More information

Lecture 2: Syntax. January 24, 2018

Lecture 2: Syntax. January 24, 2018 Lecture 2: Syntax January 24, 2018 We now review the basic definitions of first-order logic in more detail. Recall that a language consists of a collection of symbols {P i }, each of which has some specified

More information

Propositional and Predicate Logic. jean/gbooks/logic.html

Propositional and Predicate Logic.   jean/gbooks/logic.html CMSC 630 February 10, 2009 1 Propositional and Predicate Logic Sources J. Gallier. Logic for Computer Science, John Wiley and Sons, Hoboken NJ, 1986. 2003 revised edition available on line at http://www.cis.upenn.edu/

More information

Foundations of Mathematics

Foundations of Mathematics Foundations of Mathematics Andrew Monnot 1 Construction of the Language Loop We must yield to a cyclic approach in the foundations of mathematics. In this respect we begin with some assumptions of language

More information

3 The Semantics of the Propositional Calculus

3 The Semantics of the Propositional Calculus 3 The Semantics of the Propositional Calculus 1. Interpretations Formulas of the propositional calculus express statement forms. In chapter two, we gave informal descriptions of the meanings of the logical

More information

PROPOSITIONAL LOGIC. VL Logik: WS 2018/19

PROPOSITIONAL LOGIC. VL Logik: WS 2018/19 PROPOSITIONAL LOGIC VL Logik: WS 2018/19 (Version 2018.2) Martina Seidl (martina.seidl@jku.at), Armin Biere (biere@jku.at) Institut für Formale Modelle und Verifikation BOX Game: Rules 1. The game board

More information

Chapter 6: Computation Tree Logic

Chapter 6: Computation Tree Logic Chapter 6: Computation Tree Logic Prof. Ali Movaghar Verification of Reactive Systems Outline We introduce Computation Tree Logic (CTL), a branching temporal logic for specifying system properties. A comparison

More information

Lecture Notes on From Rules to Propositions

Lecture Notes on From Rules to Propositions Lecture Notes on From Rules to Propositions 15-816: Substructural Logics Frank Pfenning Lecture 2 September 1, 2016 We review the ideas of ephemeral truth and linear inference with another example from

More information

Safety Analysis versus Type Inference

Safety Analysis versus Type Inference Information and Computation, 118(1):128 141, 1995. Safety Analysis versus Type Inference Jens Palsberg palsberg@daimi.aau.dk Michael I. Schwartzbach mis@daimi.aau.dk Computer Science Department, Aarhus

More information

Theory of computation: initial remarks (Chapter 11)

Theory of computation: initial remarks (Chapter 11) Theory of computation: initial remarks (Chapter 11) For many purposes, computation is elegantly modeled with simple mathematical objects: Turing machines, finite automata, pushdown automata, and such.

More information

Parsing. Based on presentations from Chris Manning s course on Statistical Parsing (Stanford)

Parsing. Based on presentations from Chris Manning s course on Statistical Parsing (Stanford) Parsing Based on presentations from Chris Manning s course on Statistical Parsing (Stanford) S N VP V NP D N John hit the ball Levels of analysis Level Morphology/Lexical POS (morpho-synactic), WSD Elements

More information

Tecniche di Verifica. Introduction to Propositional Logic

Tecniche di Verifica. Introduction to Propositional Logic Tecniche di Verifica Introduction to Propositional Logic 1 Logic A formal logic is defined by its syntax and semantics. Syntax An alphabet is a set of symbols. A finite sequence of these symbols is called

More information

cis32-ai lecture # 18 mon-3-apr-2006

cis32-ai lecture # 18 mon-3-apr-2006 cis32-ai lecture # 18 mon-3-apr-2006 today s topics: propositional logic cis32-spring2006-sklar-lec18 1 Introduction Weak (search-based) problem-solving does not scale to real problems. To succeed, problem

More information

Truth-Functional Logic

Truth-Functional Logic Truth-Functional Logic Syntax Every atomic sentence (A, B, C, ) is a sentence and are sentences With ϕ a sentence, the negation ϕ is a sentence With ϕ and ψ sentences, the conjunction ϕ ψ is a sentence

More information

First-Order Logic First-Order Theories. Roopsha Samanta. Partly based on slides by Aaron Bradley and Isil Dillig

First-Order Logic First-Order Theories. Roopsha Samanta. Partly based on slides by Aaron Bradley and Isil Dillig First-Order Logic First-Order Theories Roopsha Samanta Partly based on slides by Aaron Bradley and Isil Dillig Roadmap Review: propositional logic Syntax and semantics of first-order logic (FOL) Semantic

More information

Bringing machine learning & compositional semantics together: central concepts

Bringing machine learning & compositional semantics together: central concepts Bringing machine learning & compositional semantics together: central concepts https://githubcom/cgpotts/annualreview-complearning Chris Potts Stanford Linguistics CS 244U: Natural language understanding

More information

Knowledge representation DATA INFORMATION KNOWLEDGE WISDOM. Figure Relation ship between data, information knowledge and wisdom.

Knowledge representation DATA INFORMATION KNOWLEDGE WISDOM. Figure Relation ship between data, information knowledge and wisdom. Knowledge representation Introduction Knowledge is the progression that starts with data which s limited utility. Data when processed become information, information when interpreted or evaluated becomes

More information

Yet Another Proof of the Strong Equivalence Between Propositional Theories and Logic Programs

Yet Another Proof of the Strong Equivalence Between Propositional Theories and Logic Programs Yet Another Proof of the Strong Equivalence Between Propositional Theories and Logic Programs Joohyung Lee and Ravi Palla School of Computing and Informatics Arizona State University, Tempe, AZ, USA {joolee,

More information

Typing λ-terms. Types. Typed λ-terms. Base Types. The Typing Relation. Advanced Formal Methods. Lecture 3: Simply Typed Lambda calculus

Typing λ-terms. Types. Typed λ-terms. Base Types. The Typing Relation. Advanced Formal Methods. Lecture 3: Simply Typed Lambda calculus Course 2D1453, 200607 Advanced Formal Methods Lecture 3: Simply Typed Lambda calculus Mads Dam KTH/CSC Some material from B. Pierce: TAPL + some from G. Klein, NICTA Typing λterms The uptyped λcalculus

More information

Sharpening the empirical claims of generative syntax through formalization

Sharpening the empirical claims of generative syntax through formalization Sharpening the empirical claims of generative syntax through formalization Tim Hunter University of Minnesota, Twin Cities NASSLLI, June 2014 Part 1: Grammars and cognitive hypotheses What is a grammar?

More information

Modal Dependence Logic

Modal Dependence Logic Modal Dependence Logic Jouko Väänänen Institute for Logic, Language and Computation Universiteit van Amsterdam Plantage Muidergracht 24 1018 TV Amsterdam, The Netherlands J.A.Vaananen@uva.nl Abstract We

More information

185.A09 Advanced Mathematical Logic

185.A09 Advanced Mathematical Logic 185.A09 Advanced Mathematical Logic www.volny.cz/behounek/logic/teaching/mathlog13 Libor Běhounek, behounek@cs.cas.cz Lecture #1, October 15, 2013 Organizational matters Study materials will be posted

More information

Logic as a Tool Chapter 1: Understanding Propositional Logic 1.1 Propositions and logical connectives. Truth tables and tautologies

Logic as a Tool Chapter 1: Understanding Propositional Logic 1.1 Propositions and logical connectives. Truth tables and tautologies Logic as a Tool Chapter 1: Understanding Propositional Logic 1.1 Propositions and logical connectives. Truth tables and tautologies Valentin Stockholm University September 2016 Propositions Proposition:

More information

Chapter 4: Computation tree logic

Chapter 4: Computation tree logic INFOF412 Formal verification of computer systems Chapter 4: Computation tree logic Mickael Randour Formal Methods and Verification group Computer Science Department, ULB March 2017 1 CTL: a specification

More information

22c:145 Artificial Intelligence

22c:145 Artificial Intelligence 22c:145 Artificial Intelligence Fall 2005 Propositional Logic Cesare Tinelli The University of Iowa Copyright 2001-05 Cesare Tinelli and Hantao Zhang. a a These notes are copyrighted material and may not

More information

The Lambek-Grishin calculus for unary connectives

The 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 information

Learning Goals of CS245 Logic and Computation

Learning Goals of CS245 Logic and Computation Learning Goals of CS245 Logic and Computation Alice Gao April 27, 2018 Contents 1 Propositional Logic 2 2 Predicate Logic 4 3 Program Verification 6 4 Undecidability 7 1 1 Propositional Logic Introduction

More information

A Goal-Oriented Algorithm for Unification in EL w.r.t. Cycle-Restricted TBoxes

A Goal-Oriented Algorithm for Unification in EL w.r.t. Cycle-Restricted TBoxes A Goal-Oriented Algorithm for Unification in EL w.r.t. Cycle-Restricted TBoxes Franz Baader, Stefan Borgwardt, and Barbara Morawska {baader,stefborg,morawska}@tcs.inf.tu-dresden.de Theoretical Computer

More information

Lecture Notes on Inductive Definitions

Lecture Notes on Inductive Definitions Lecture Notes on Inductive Definitions 15-312: Foundations of Programming Languages Frank Pfenning Lecture 2 September 2, 2004 These supplementary notes review the notion of an inductive definition and

More information

cse541 LOGIC FOR COMPUTER SCIENCE

cse541 LOGIC FOR COMPUTER SCIENCE cse541 LOGIC FOR COMPUTER SCIENCE Professor Anita Wasilewska Spring 2015 LECTURE 2 Chapter 2 Introduction to Classical Propositional Logic PART 1: Classical Propositional Model Assumptions PART 2: Syntax

More information

Context Free Grammars

Context 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 information

LC Graphs for the Lambek calculus with product

LC Graphs for the Lambek calculus with product LC Graphs for the Lambek calculus with product Timothy A D Fowler July 18, 2007 1 Introduction The Lambek calculus, introduced in Lambek (1958), is a categorial grammar having two variants which will be

More information

Alan Bundy. Automated Reasoning LTL Model Checking

Alan Bundy. Automated Reasoning LTL Model Checking Automated Reasoning LTL Model Checking Alan Bundy Lecture 9, page 1 Introduction So far we have looked at theorem proving Powerful, especially where good sets of rewrite rules or decision procedures have

More information

Chapter 3 Deterministic planning

Chapter 3 Deterministic planning Chapter 3 Deterministic planning In this chapter we describe a number of algorithms for solving the historically most important and most basic type of planning problem. Two rather strong simplifying assumptions

More information

A* Search. 1 Dijkstra Shortest Path

A* Search. 1 Dijkstra Shortest Path A* Search Consider the eight puzzle. There are eight tiles numbered 1 through 8 on a 3 by three grid with nine locations so that one location is left empty. We can move by sliding a tile adjacent to the

More information

Tree Automata and Rewriting

Tree Automata and Rewriting and Rewriting Ralf Treinen Université Paris Diderot UFR Informatique Laboratoire Preuves, Programmes et Systèmes treinen@pps.jussieu.fr July 23, 2010 What are? Definition Tree Automaton A tree automaton

More information

Ling 130 Notes: Syntax and Semantics of Propositional Logic

Ling 130 Notes: Syntax and Semantics of Propositional Logic Ling 130 Notes: Syntax and Semantics of Propositional Logic Sophia A. Malamud January 21, 2011 1 Preliminaries. Goals: Motivate propositional logic syntax and inferencing. Feel comfortable manipulating

More information

1 First-order logic. 1 Syntax of first-order logic. 2 Semantics of first-order logic. 3 First-order logic queries. 2 First-order query evaluation

1 First-order logic. 1 Syntax of first-order logic. 2 Semantics of first-order logic. 3 First-order logic queries. 2 First-order query evaluation Knowledge Bases and Databases Part 1: First-Order Queries Diego Calvanese Faculty of Computer Science Master of Science in Computer Science A.Y. 2007/2008 Overview of Part 1: First-order queries 1 First-order

More information

Chiastic Lambda-Calculi

Chiastic Lambda-Calculi Chiastic Lambda-Calculi wren ng thornton Cognitive Science & Computational Linguistics Indiana University, Bloomington NLCS, 28 June 2013 wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS,

More information

Lecture Notes on Inductive Definitions

Lecture Notes on Inductive Definitions Lecture Notes on Inductive Definitions 15-312: Foundations of Programming Languages Frank Pfenning Lecture 2 August 28, 2003 These supplementary notes review the notion of an inductive definition and give

More information

Lecture 3: Semantics of Propositional Logic

Lecture 3: Semantics of Propositional Logic Lecture 3: Semantics of Propositional Logic 1 Semantics of Propositional Logic Every language has two aspects: syntax and semantics. While syntax deals with the form or structure of the language, it is

More information

On rigid NL Lambek grammars inference from generalized functor-argument data

On 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 information

Introduction to Temporal Logic. The purpose of temporal logics is to specify properties of dynamic systems. These can be either

Introduction to Temporal Logic. The purpose of temporal logics is to specify properties of dynamic systems. These can be either Introduction to Temporal Logic The purpose of temporal logics is to specify properties of dynamic systems. These can be either Desired properites. Often liveness properties like In every infinite run action

More information

Propositional Logic. CS 3234: Logic and Formal Systems. Martin Henz and Aquinas Hobor. August 26, Generated on Tuesday 31 August, 2010, 16:54

Propositional Logic. CS 3234: Logic and Formal Systems. Martin Henz and Aquinas Hobor. August 26, Generated on Tuesday 31 August, 2010, 16:54 Propositional Logic CS 3234: Logic and Formal Systems Martin Henz and Aquinas Hobor August 26, 2010 Generated on Tuesday 31 August, 2010, 16:54 1 Motivation In traditional logic, terms represent sets,

More information

CSCE 222 Discrete Structures for Computing. Propositional Logic. Dr. Hyunyoung Lee. !!!!!! Based on slides by Andreas Klappenecker

CSCE 222 Discrete Structures for Computing. Propositional Logic. Dr. Hyunyoung Lee. !!!!!! Based on slides by Andreas Klappenecker CSCE 222 Discrete Structures for Computing Propositional Logic Dr. Hyunyoung Lee Based on slides by Andreas Klappenecker 1 Propositions A proposition is a declarative sentence that is either true or false

More information

Introduction to Arti Intelligence

Introduction to Arti Intelligence Introduction to Arti Intelligence cial Lecture 4: Constraint satisfaction problems 1 / 48 Constraint satisfaction problems: Today Exploiting the representation of a state to accelerate search. Backtracking.

More information

Opleiding Informatica

Opleiding Informatica Opleiding Informatica Tape-quantifying Turing machines in the arithmetical hierarchy Simon Heijungs Supervisors: H.J. Hoogeboom & R. van Vliet BACHELOR THESIS Leiden Institute of Advanced Computer Science

More information

Lambek calculus is NP-complete

Lambek calculus is NP-complete Lambek calculus is NP-complete Mati Pentus May 12, 2003 Abstract We prove that for both the Lambek calculus L and the Lambek calculus allowing empty premises L the derivability problem is NP-complete.

More information

A DOP Model for LFG. Rens Bod and Ronald Kaplan. Kathrin Spreyer Data-Oriented Parsing, 14 June 2005

A DOP Model for LFG. Rens Bod and Ronald Kaplan. Kathrin Spreyer Data-Oriented Parsing, 14 June 2005 A DOP Model for LFG Rens Bod and Ronald Kaplan Kathrin Spreyer Data-Oriented Parsing, 14 June 2005 Lexical-Functional Grammar (LFG) Levels of linguistic knowledge represented formally differently (non-monostratal):

More information

Theory of Computation

Theory 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 information

A New 3-CNF Transformation by Parallel-Serial Graphs 1

A New 3-CNF Transformation by Parallel-Serial Graphs 1 A New 3-CNF Transformation by Parallel-Serial Graphs 1 Uwe Bubeck, Hans Kleine Büning University of Paderborn, Computer Science Institute, 33098 Paderborn, Germany Abstract For propositional formulas we

More information

Fundamentals of Software Engineering

Fundamentals of Software Engineering Fundamentals of Software Engineering First-Order Logic Ina Schaefer Institute for Software Systems Engineering TU Braunschweig, Germany Slides by Wolfgang Ahrendt, Richard Bubel, Reiner Hähnle (Chalmers

More information

CS 2800: Logic and Computation Fall 2010 (Lecture 13)

CS 2800: Logic and Computation Fall 2010 (Lecture 13) CS 2800: Logic and Computation Fall 2010 (Lecture 13) 13 October 2010 1 An Introduction to First-order Logic In Propositional(Boolean) Logic, we used large portions of mathematical language, namely those

More information

Undecidable 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, / 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 information

Propositional Logic: Part II - Syntax & Proofs 0-0

Propositional Logic: Part II - Syntax & Proofs 0-0 Propositional Logic: Part II - Syntax & Proofs 0-0 Outline Syntax of Propositional Formulas Motivating Proofs Syntactic Entailment and Proofs Proof Rules for Natural Deduction Axioms, theories and theorems

More information

CSE 1400 Applied Discrete Mathematics Definitions

CSE 1400 Applied Discrete Mathematics Definitions CSE 1400 Applied Discrete Mathematics Definitions Department of Computer Sciences College of Engineering Florida Tech Fall 2011 Arithmetic 1 Alphabets, Strings, Languages, & Words 2 Number Systems 3 Machine

More information

Rule-Based Classifiers

Rule-Based Classifiers Rule-Based Classifiers For completeness, the table includes all 16 possible logic functions of two variables. However, we continue to focus on,,, and. 1 Propositional Logic Meta-theory. Inspection of a

More information

Languages. Languages. An Example Grammar. Grammars. Suppose we have an alphabet V. Then we can write:

Languages. Languages. An Example Grammar. Grammars. Suppose we have an alphabet V. Then we can write: Languages A language is a set (usually infinite) of strings, also known as sentences Each string consists of a sequence of symbols taken from some alphabet An alphabet, V, is a finite set of symbols, e.g.

More information

Surface Reasoning Lecture 2: Logic and Grammar

Surface Reasoning Lecture 2: Logic and Grammar Surface Reasoning Lecture 2: Logic and Grammar Thomas Icard June 18-22, 2012 Thomas Icard: Surface Reasoning, Lecture 2: Logic and Grammar 1 Categorial Grammar Combinatory Categorial Grammar Lambek Calculus

More information

Applied Logic. Lecture 1 - Propositional logic. Marcin Szczuka. Institute of Informatics, The University of Warsaw

Applied Logic. Lecture 1 - Propositional logic. Marcin Szczuka. Institute of Informatics, The University of Warsaw Applied Logic Lecture 1 - Propositional logic Marcin Szczuka Institute of Informatics, The University of Warsaw Monographic lecture, Spring semester 2017/2018 Marcin Szczuka (MIMUW) Applied Logic 2018

More information

Mathematical Logic. An Introduction

Mathematical Logic. An Introduction Mathematical Logic. An Introduction Summer 2006 by Peter Koepke Table of contents Table of contents............................................... 1 1 Introduction.................................................

More information

Automatically Evaluating Text Coherence using Anaphora and Coreference Resolution

Automatically Evaluating Text Coherence using Anaphora and Coreference Resolution 1 1 Barzilay 1) Automatically Evaluating Text Coherence using Anaphora and Coreference Resolution Ryu Iida 1 and Takenobu Tokunaga 1 We propose a metric for automatically evaluating discourse coherence

More information

Fundamentals of Software Engineering

Fundamentals of Software Engineering Fundamentals of Software Engineering First-Order Logic Ina Schaefer Institute for Software Systems Engineering TU Braunschweig, Germany Slides by Wolfgang Ahrendt, Richard Bubel, Reiner Hähnle (Chalmers

More information

Theoretical Foundations of the UML

Theoretical Foundations of the UML Theoretical Foundations of the UML Lecture 17+18: A Logic for MSCs Joost-Pieter Katoen Lehrstuhl für Informatik 2 Software Modeling and Verification Group moves.rwth-aachen.de/teaching/ws-1718/fuml/ 5.

More information