Modular Grammar Design with Typed Parametric Principles

Size: px
Start display at page:

Download "Modular Grammar Design with Typed Parametric Principles"

Transcription

1 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 et al., 2004), a new, modular grammar formalism based on dependency grammar. As xdg is based on graph description, our emphasis is on capturing the notion of multigraph, a tuple of arbitrary many graphs sharing the same set of nodes. An xdg grammar consists of the stipulation of an extensible set of parametric principles, which yields a modular and compositional approach to grammar design. Keywords grammar formalisms, dependency grammar, type systems 11.1 Introduction Extensible Dependency Grammar (xdg) (Debusmann et al., 2004) is a general framework for dependency grammar, with multiple levels of linguistic representations called dimensions. Its approach, motivated by the dependency grammar paradigm (Tesnière, 1959, Mel čuk, 1988), is articulated around a description language for multi-dimensional attributed labeled graphs. xdg is a generalization of Topological Dependency Grammar (tdg) (Duchier and Debusmann, 2001). For xdg, a grammar is a constraint that describes the valid linguistic signs as n-dimensional attributed labeled graphs, i.e. n-tuples of graphs sharing the same set of attributed nodes, but having different sets of labeled edges. It is central to xdg that all aspects of these signs are FG-MoL James Rogers (ed.). Copyright c 2009, CSLI Publications. 113

2 114 / Ralph Debusmann, Denys Duchier and Andreas Rossberg stipulated explicitly by principles: the class of models for each dimension, additional properties that they must satisfy, how one dimension must relate to another, and even lexicalization. Yet, no formal account set in the xdg framework has so far explained what exactly these principles are, nor how they can be brought to bear on specific dimensions. In this paper, we show how an xdg grammar can be formally assembled from modular components called parametric principles. This yields a modular and compositional approach to grammar design. Compositional coherence is ensured by a type system whose primary novelty is to accommodate the notion of multi-dimensional graphs. Instantiation of parametric principles not only imposes grammatical constraints, but, through the type system, also determines the necessary structure of grammatical signs. In this perspective, a grammar framework is simply a library of parametric principles such as the one offered by the xdg Development Kit (xdk) (Debusmann and Duchier, 2004). The xdk is a freely available development environment for xdg grammars including a concurrent constraint parser written in the Mozart/Oz programming language (Mozart Consortium, 2005) Extensible Dependency Grammar We briefly illustrate the xdg approach with an example of the German subordinate sentence (dass) einen Mann Maria zu lieben versucht. 1 Figure 1 shows an analysis with two dimensions: id models grammatical function and lp word-order using topological fields (Duchier and Debusmann, 2001, Gerdes and Kahane, 2001) subj vinf obj prt mf mf vcf einen a(acc) det Mann man Maria Maria zu to lieben love versucht tries df d einen a(acc) n Mann man n Maria Maria pf p zu to v lieben love v versucht tries FIGURE 1: Example XDG analysis, ID left, LP right Both dimensions share the same set of nodes (circles) but have different edges. On id, Maria is subject (subj) of control verb versucht, and Mann object (obj) of lieben. On lp, Mann and Maria are both in the Mittelfeld (mf) of versucht, i.e. Mann has climbed to the finite verb. 1 (that) Mary tries to love a man see (Duchier and Debusmann, 2001)

3 Modular Grammar Design with Typed Parametric Principles / 115 The instance of xdg demonstrated above covers only syntax. However, xdg instances can use arbitrary many dimensions of representation, e.g. e.g. including semantics (including predicate-argument structure and scope relationships) (Debusmann et al., 2004), prosody and information structure (Debusmann et al., 2005). In fact, xdg per se is not a grammar formalism but only a general graph description language for multi-dimensional attributed labeled graphs. In order to be used as a grammar formalism, it first needs to be instantiated using appropriate principles (see below). In this respect, it is similar to Head-driven Phrase Structure Grammar (HPSG) (Pollard and Sag, 1994), which per se is only a description language for typed feature structures (Carpenter, 1992), and becomes a grammar formalism only when it is instantiated, using appropriate types for the feature structures and the principles for e.g. head feature percolation and subcategorization. In particular, xdg is more general than other dependency-based grammar formalisms like Meaning Text Theory (MTT) (Mel čuk, 1988), Functional Generative Description (FGD) (Sgall et al., 1986), Word Grammar (WG) (Hudson, 1990) and Free Order Dependency Grammar (FODG) (Holan et al., 2000) since it can accommodate arbitrary many dimensions of representation and arbitrary principles to stipulate the well-formedness conditions. For instance, the dimensions of xdg need not be trees but can also be directed acyclic graphs (dags), e.g. to handle re-entrancies for the modeling of control constructions or relative clauses. In addition, the dimensions can be totally agnostic to word order. In our example above, the id dimension did not state any word order requirements, only the lp dimension did Type System Formalization. Let V be an infinite set of node variables, L a finite set of labels, and A a set of attributes. An attributed labeled graph (V, E, A) consists of a finite set of nodes V V, a finite set of labeled directed edges E V V L between them, and an assignment A : V A of attributes to nodes. An n-dimensional attributed labeled graph ((V, E 1, A 1 ),...,(V, E n, A n )), or multigraph, is a n-tuple of labeled attributed graphs (V, E i, A i ) over the same set of nodes V. To provide a typed account of the xdg framework, we need a satisfactory type for graphs. A first idea is ({V}, {V V L}, V A), where we write {τ} for set of τ, but such a type is very imprecise: it fails to express that the nodes used in the edges (2nd arg) are elements of the graph s set of nodes (1st arg). Since additionally element

4 116 / Ralph Debusmann, Denys Duchier and Andreas Rossberg graphs of a multigraph must be defined over the same set of nodes, some form of dependent typing (Aspinall and Hofmann, 2005) appears inescapable. Given that general systems of dependent types tend to make type-checking undecidable, we sketch instead a stratified system, using a specialised notion of kinds (Pierce, 2002), that is sufficient for our purpose Type structure We assume given a number of disjoint sets of symbols D i called finite domain kinds. Among them, two are distinguished: Nodes and Labels. Much of our type and kinding systems are quite standard. For reasons of space, we only detail the parts which are original to our proposal, and write τ :: κ and e : τ for the judgments that type τ has kind κ and expression e has type τ, omitting kinding and typing contexts. κ ::= top D i domain G c1 c k graph M c1 c k multigraph... D i G v M v τ :: κ κ κ τ :: κ FIGURE 2: Kinds and subkinds τ, τ i ::= c 1 c k domain [f 1 : τ 1,...,f n : τ n ] record {τ} set graph τ 1 τ 2 τ 3 graph (τ 1,..., τ n ) tuple [f 1 : τ 1,...,f n : τ n ] multigraph τ 1 τ 2 function grammar τ grammar!τ singleton... FIGURE 3: Types Finite domain sum types. They are built from symbols drawn from finite domain kinds: we write c 1 c k for a finite domain sum type in kind D i and ǫ Di for its empty sum. Here are their kinding (left) and typing (right) rules: c 1,...,c k symbols in D i c 1 c k :: D i c 1 c k :: D i c i : c 1 c k Kinds G c1 c k and M c1 c k indexed by finite domain sums make it possible to have types that depend on specific subsets of Nodes or Labels

5 Modular Grammar Design with Typed Parametric Principles / 117 without requiring more general term-dependent types. Singleton types. If c 1 c k :: Nodes is the type of nodes of a graph, then {c 1 c k } is the type of a set of these nodes. This is not sufficiently precise to type the set of nodes of the graph because it doesn t express that the latter is a maximal set. To achieve this aim, we introduce a novel, specialised variation of singleton types (Aspinall, 1995, Stone and Harper, 2005). Unlike standard singleton types, our form does not refer to values, hence we avoid the need for dependent types. We write!(c 1 c k ) for the type inhabited by the single value {c 1,..., c k }. Here are the relevant kinding, typing, and subtyping rules: τ :: D i!τ ::!(c 1 c k ) :: {c 1,...,c k } :!(c 1 c k )!τ {τ} Graph types. A graph is defined from finite domain types ν and l for its nodes and labels, and a type a for its attributes. We write G ν for the kind of a graph over node type ν. Kinding and typing rules are: ν :: Nodes l :: Labels a :: V :!ν E : {(ν, ν, l)} A : ν a graph ν l a :: G ν Graph V E A : graph ν l a The typing rule requires the node set to be assigned a singleton type, capturing the precise set of nodes in the type ν. Typing thus precludes the set of edges mentioning invalid nodes. Note also that the syntax of graph kinds in Figure 3 requires ν to be a concrete domain type. Multigraph types. A multigraph is a record of graphs over the same finite domain ν of nodes. We write M ν for its kind. Here are the kinding and typing rules: g 1 :: G ν... g n :: G ν [f 1 : g 1,..., f n : g n ] :: M ν G 1 : g 1 :: G ν... G n : g n :: G ν [f 1 = G 1,..., f n = G n ] : [f 1 : g 1,...,f n : g n ] :: M ν Grammars. An xdg grammar is a set of predicates over the same multigraph type: τ :: M ν grammar τ :: τ :: M ν S : {τ prop} Grammar S : grammar τ Note that, in order to match our intuitions about grammars, the grammar type should be polymorphic in the finite domain type for nodes, otherwise the number of nodes is fixed. This can be achieved by extending the kinding system to admit kind schemes G δ and M δ where δ is a domain variable. An xdg framework is a set, also called a library, of principle templates.

6 118 / Ralph Debusmann, Denys Duchier and Andreas Rossberg 11.4 Typed Templates Attributes are usually given in the form of attribute/value matrices and principles parametrized by values which can be found at specific feature paths. For example, on the syntactic dimension (V, E id, A id ) the agreement tuple assigned to each word must be one of those licensed by its lexical entry: 2 Agr [id = Graph V E id A id ] = v V : A id (v).agr A id (v).lex.agrs We can generalize this into a reusable principle by abstracting over feature paths using access functions: Elem D F 1 F 2 M = let Graph V E A = D(M) in v V : F 1 (A(v)) F 2 (A(v)) but this is not very legible and, for notational convenience, we explore here an alternative that we call templates: Elem d, p 1, p 2 [d = Graph V E A] = v V : A(v).p 1 A(v).p 2 where d, p 1, p 2 are feature path variables. A feature path is a (possibly empty) sequence of features. We write π for a path, ǫ for the empty path, and π 1 π 2 for the concatenation of π 1 and π 2. It is possible to generalize the language by allowing feature paths or feature path variables in types and patterns (and by extension in record dot access) where previously only features were allowed. The intuition of such an extension lies in the congruence [ǫ : τ] τ, [π 1 π 2 : τ] [π 1 : [π 2 : τ]], and in the interpretation of a dot access.π as a postfix function of type [π : τ] τ. Note that, if we write graph ν l a for the type of Elem s argument graph, it is our intention that type inference should require a to match the pattern [p 1 : τ, p 2 : {τ},...]. This can be achieved either with a type system supporting record polymorphism or by adopting an openworld semantics 3 for records and multigraphs, à la ψ-terms of life. For simplicity, in this article we choose the latter. We write p 1, p 2 τ for the type of a template abstracting over feature path variables p 1 and p 2 ; t may contain occurrences of p 1 and p 2. We write τ 1 :: κ 1,...,τ n :: κ n τ to express kinding constraints on the free type variables of τ. The type of Elem is then: Elem : d, p 1, p 2 ν :: Nodes, l :: Labels, τ :: [d : graph ν l [p 1 : τ, p 2 : {τ}]] prop 2 We adopt a pattern matching notation with obvious meaning 3 no closed arities

7 Modular Grammar Design with Typed Parametric Principles / Parametric Principles We now illustrate how typed templates are intended to be used to define parametric principles. 4 We write v l E v for an edge (v, v, l) E, v E v for one with any label, v + E v for the transitive closure, and v E D for the type-raised relation where D = {v v E v }, etc... Tree Principle. It stipulates the set L of edge labels and requires that 1) each node has at most one incoming edge, 2) there is precisely one node with no incoming edge (one root), and 3) there are no cycles: Tree d L [d = Graph V E A] = v V : M V : M E v M 1!v V : M V : M E v M = 0 v V : D V : v + E D v / D Here is the type constraint assigning singleton type!l to L: Tree : d ν :: Nodes, l :: Labels!l [d : graph ν l _] prop Valency Principle. Incoming and outgoing edges must comply with the in and out valencies which stipulate, for each label l L, how many edges labeled with l are licensed: Valency d, p in, p out L [d = Graph V E A] = v V l L : M V : M l E v M A(v).p in.l v V l L : D V : v l E D D A(v).p out.l Writing N for the type of natural numbers, here is the type constraint: Valency : d, p in, p out ν :: Nodes, l :: Labels!l [d : graph ν l [p in : l {N}, p out : l {N}]] prop Climbing Principle. Originating from tdg, this principle expresses that the tree-shape on dimension d 1 is a flattening of that of d 2 : 1) the dominance relation on d 1 must be a subset of that on d 2, 2) on d 1, each node must land on its d 2 -mother or climb higher: Climbing d 1, d 2 [d 1 = Graph V E 1 A 1, d 2 = Graph V E 2 A 2 ] = v V : D 1, D 2 V : v + E 1 D 1 v + E 2 D 2 D 1 D 2 U 1, U 2 V : U 1 + E 1 v U 2 E 1 E2 v U 1 U 2 Climbing : d 1, d 2 ν :: Nodes [d 1 : graph ν, d 2 : graph ν ] prop 4 For lack of space, we present only a few principles. For further information, the reader is referred to e.g. (Debusmann et al., 2004, Debusmann and Duchier, 2004).

8 120 / Ralph Debusmann, Denys Duchier and Andreas Rossberg Lexicon Principle. xdg grammars are typically lexicalized: the record assignments to nodes are then partially determined by a lexicon Lex. The lexicon principle stipulates that each node must be assigned a lexical entry: Lexicon d Lex [d = Graph V E A] = v V : A(v) Lex Here is the corresponding type constraint, stipulating that the graph on dimension d has no edges (since this dimension has only the purpose to carry the lexical entries): Lexicon : d ν :: Nodes, τ :: {τ} [d : graph ν ǫ Labels τ ] prop Lookup Principle. A lexical entry is normally a record having a feature for each dimension. The lookup principle looks up a lexical entry s subrecord for a particular dimension and equates it with the p lex feature of the node s attributes: Lookup d 1, d 2, p lex [d 1 = Graph V E 1 A 1, d 2 = Graph V E 2 A 2 ] = v V : A 1 (v).p lex = A 2 (v).d 1 Lookup : d 1, d 2, p lex ν :: Nodes, τ :: [d 1 : graph ν _ [p lex : τ], d 2 : graph ν _ [d 1 : τ]] prop 11.6 Example ID/LP Grammar We now describe how the grammar of (Duchier and Debusmann, 2001) can be assembled in our typed framework of parametric principles. To better illustrate the compositionality of our approach, we adopt an incremental presentation that derives more complex grammars from simpler ones through operations of composition and restriction: (Grammar S 1 ) ++ (Grammar S 2 ) = Grammar (S 1 S 2 ) (Grammar S 1 ) // S 2 = Grammar (S 1 S 2 ) The grammar requires 3 dimensions: id for syntax, lp for topology, and lex for parametrization by a lexicon. They are respectively characterized by the following sets of labels: L id = {det, subj, obj, vbse, vprt, vinf, prt} L lp = {d, df, n, mf, vcf, p, pf, v, vxf} L lex = Figure 4 shows how grammars for the 3 individual dimensions (G id, G lp, G lex ) are stipulated by instantiation of principles. For example, for G id, instantiation of Tree id L id has three consequences: (1) signs are required to match [id = X ], i.e. to have an id dimension, (2) the

9 References / 121 directed graph on that dimension must have labels in L id, (3) this graph must be a tree. G id+lex is a grammar where the id dimension is restricted by lexical constraints from the lex dimension: it is obtained by combining G id and G lex using the composition operator ++, and connecting them by the Lookup id, lex principle using the restriction operator //. Similarly for G lp+lex. Finally the full grammar G id/lp is obtained by combining G id+lex and G lp+lex and mutually constraining them by the Climbing and Barriers principles. G lex = Grammar {Lexicon lex Lex} G id = Grammar {Tree id L id, Valency id, in, out L id } G id+lex = (G id ++ G lex ) // {Lookup id, lex, lex } G lp = Grammar {Tree lp L lp, Valency lp, in, out L lp, Order lp, on, order, pos, self, Projectivity lp, pos } G lp+lex = (G lp ++ G lex ) // {Lookup lp, lex, lex } G id/lp = (G id+lex ++ G lp+lex ) // {Climbing lp, id, Barriers lp, id, blocks } FIGURE 4: Defining grammars in an incremental and compositional way 11.7 Conclusion In this paper, we have made a threefold contribution: (1) we described a novel system of restricted dependent types capable of precisely describing graphs and multi-dimensional graphs, (2) we introduced a notion of typed templates with which we could express parametric principles, (3) we showed how these could enable a modular and compositional approach to grammar design. Finally we illustrated our proposal with an example reconstruction of an earlier grammar. References Aspinall, David Subtyping with singleton types. In Computer Science Logic, vol. 933 of Lecture Notes in Computer Science. Springer-Verlag. Aspinall, David and Martin Hofmann Dependent types. In B. Pierce, ed., Advanced Topics in Types and Programming Languages, chap. I.2, pages The MIT Press. Carpenter, Bob The Logic of Typed Feature Structures. Cambridge Tracts in Theoretical Computer Science. Cambridge University Press, 32nd edn.

10 122 / Ralph Debusmann, Denys Duchier and Andreas Rossberg Debusmann, Ralph and Denys Duchier XDG Development Kit. rade/mogul/publish/doc/debusmann-xdk/. Debusmann, Ralph, Denys Duchier, Alexander Koller, Marco Kuhlmann, Gert Smolka, and Stefan Thater A Relational Syntax-Semantics Interface Based on Dependency Grammar. In Proceedings of COLING Geneva/CH. Debusmann, Ralph, Oana Postolache, and Maarika Traat A Modular Account of Information Structure in Extensible Dependency Grammar. In Proceedings of the CICLING 2005 Conference. Mexico City/MEX: Springer. Duchier, Denys and Ralph Debusmann Topological Dependency Trees: A Constraint-Based Account of Linear Precedence. In Proceedings of ACL Toulouse/FR. Gerdes, Kim and Sylvain Kahane Word Order in German: A Formal Dependency Grammar Using a Topological Hierarchy. In ACL 2001 Proceedings. Toulouse/FR. Holan, Tomás, Vladislav Kubon, Karel Oliva, and Martin Platek On Complexity of Word-Order. Journal t.a.l. pages Hudson, Richard A English Word Grammar. Oxford/UK: B. Blackwell. Mel čuk, Igor Dependency Syntax: Theory and Practice. Albany/US: State Univ. Press of New York. Mozart Consortium The Mozart-Oz Website. Pierce, Benjamin Types and Programming Languages. The MIT Press. Pollard, Carl and Ivan A. Sag Head-Driven Phrase Structure Grammar. Chicago/US: University of Chicago Press. Sgall, Petr, Eva Hajicova, and Jarmila Panevova The Meaning of the Sentence in its Semantic and Pragmatic Aspects. Dordrecht/NL: D. Reidel. Stone, Christopher and Robert Harper Extensional equivalence and singleton types. Transactions on Computational Logic to appear. Tesnière, Lucien Eléments de Syntaxe Structurale. Paris/FR: Klincksiek.

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

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

Lexicalized Syntax and Topology for Non-projective Dependency Grammar

Lexicalized Syntax and Topology for Non-projective Dependency Grammar Lexicalized Syntax and Topology for Non-projectie Dependency Grammar Denys Duchier 1 Programming Systems Lab Uniersität des Saarlandes Saarbrücken, Germany Abstract We propose a lexicalized formulation

More information

Multi-dimensional Dependency Grammar as Multigraph Description

Multi-dimensional Dependency Grammar as Multigraph Description 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

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

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

Movement-Generalized Minimalist Grammars

Movement-Generalized Minimalist Grammars Movet-Generalized Minimalist Grammars Thomas Graf tgraf@ucla.edu tgraf.bol.ucla.edu University of California, Los Angeles LACL 2012 July 2, 2012 Outline 1 Monadic Second-Order Logic (MSO) Talking About

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

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

HPSG: Binding Theory

HPSG: Binding Theory HPSG: Binding Theory Doug Arnold doug@essexacuk Introduction Binding Theory is to do with the syntactic restrictions on the distribution of referentially dependent items and their antecedents: reflexives/reciprocals

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

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

Person Case Constraints and Feature Complexity in Syntax

Person Case Constraints and Feature Complexity in Syntax Person Case Constraints and Feature Complexity in Syntax Thomas Graf mail@thomasgraf.net http://thomasgraf.net Stony Brook University University of Vienna January 9, 2014 What is the PCC? Person Case Constraint

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

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

Introduction to Semantics. The Formalization of Meaning 1

Introduction to Semantics. The Formalization of Meaning 1 The Formalization of Meaning 1 1. Obtaining a System That Derives Truth Conditions (1) The Goal of Our Enterprise To develop a system that, for every sentence S of English, derives the truth-conditions

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

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

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

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

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

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

Dependency grammar. Recurrent neural networks. Transition-based neural parsing. Word representations. Informs Models

Dependency grammar. Recurrent neural networks. Transition-based neural parsing. Word representations. Informs Models Dependency grammar Morphology Word order Transition-based neural parsing Word representations Recurrent neural networks Informs Models Dependency grammar Morphology Word order Transition-based neural parsing

More information

Topics in Lexical-Functional Grammar. Ronald M. Kaplan and Mary Dalrymple. Xerox PARC. August 1995

Topics in Lexical-Functional Grammar. Ronald M. Kaplan and Mary Dalrymple. Xerox PARC. August 1995 Projections and Semantic Interpretation Topics in Lexical-Functional Grammar Ronald M. Kaplan and Mary Dalrymple Xerox PARC August 199 Kaplan and Dalrymple, ESSLLI 9, Barcelona 1 Constituent structure

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

CHAPTER THREE: RELATIONS AND FUNCTIONS

CHAPTER THREE: RELATIONS AND FUNCTIONS CHAPTER THREE: RELATIONS AND FUNCTIONS 1 Relations Intuitively, a relation is the sort of thing that either does or does not hold between certain things, e.g. the love relation holds between Kim and Sandy

More information

Towards a formal model of natural language description based on restarting automata with parallel DR-structures

Towards a formal model of natural language description based on restarting automata with parallel DR-structures Towards a formal model of natural language description based on restarting automata with parallel DR-structures Markéta Lopatková, František Mráz, and Martin Plátek Charles University in Prague, Czech

More information

Context-free grammars for natural languages

Context-free grammars for natural languages Context-free grammars Basic definitions Context-free grammars for natural languages Context-free grammars can be used for a variety of syntactic constructions, including some non-trivial phenomena such

More information

What can logic do for AI? David McAllester TTI-Chicago

What can logic do for AI? David McAllester TTI-Chicago What can logic do for AI? David McAllester TTI-Chicago Motivating Type Theory Meta-Mathematics: Type Theory as Cognitive Science Mathematics exists as a human social enterprise. Modern mathematicians tend

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

Introduction to Metalogic

Introduction 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 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

STRUCTURAL NON-CORRESPONDENCE IN TRANSLATION

STRUCTURAL NON-CORRESPONDENCE IN TRANSLATION STRUCTURAL NON-CORRESPONDENCE IN TRANSLATION Louisa Sadler, Dept. of Language and Linguistics, University of Essex, Wivenhoe Park, Colchester, CO4 3SQ, Essex, UK. louisa@uk.ac.essex Henry S. Thompson,

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

Compositionality and Syntactic Structure Marcus Kracht Department of Linguistics UCLA 3125 Campbell Hall 405 Hilgard Avenue Los Angeles, CA 90095

Compositionality and Syntactic Structure Marcus Kracht Department of Linguistics UCLA 3125 Campbell Hall 405 Hilgard Avenue Los Angeles, CA 90095 Compositionality and Syntactic Structure Marcus Kracht Department of Linguistics UCLA 3125 Campbell Hall 405 Hilgard Avenue Los Angeles, CA 90095 1543 kracht@humnet.ucla.edu 1. The Questions ➀ Why does

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

Equational Logic. Chapter Syntax Terms and Term Algebras

Equational Logic. Chapter Syntax Terms and Term Algebras Chapter 2 Equational Logic 2.1 Syntax 2.1.1 Terms and Term Algebras The natural logic of algebra is equational logic, whose propositions are universally quantified identities between terms built up from

More information

Towards an Algebraic Morphosyntax

Towards an Algebraic Morphosyntax Towards an Algebraic Morphosyntax Thomas Graf mail@thomasgraf.net http://thomasgraf.net Stony Brook University Moscow State University December 16, 2015 Piece of a Larger Puzzle There is a huge number

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

Parsing with Context-Free Grammars

Parsing with Context-Free Grammars Parsing with Context-Free Grammars Berlin Chen 2005 References: 1. Natural Language Understanding, chapter 3 (3.1~3.4, 3.6) 2. Speech and Language Processing, chapters 9, 10 NLP-Berlin Chen 1 Grammars

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

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

CS626: NLP, Speech and the Web. Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 14: Parsing Algorithms 30 th August, 2012

CS626: NLP, Speech and the Web. Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 14: Parsing Algorithms 30 th August, 2012 CS626: NLP, Speech and the Web Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 14: Parsing Algorithms 30 th August, 2012 Parsing Problem Semantics Part of Speech Tagging NLP Trinity Morph Analysis

More information

What is a natural syntactic model for frame-semantic composition?

What is a natural syntactic model for frame-semantic composition? What is a natural syntactic model for frame-semantic composition? Timm Lichte, Laura Kallmeyer & Rainer Osswald University of Düsseldorf, Germany CTF14, August 26, 214 SFB 991 1 / 26 Overview natural syntax

More information

Proseminar on Semantic Theory Fall 2010 Ling 720. Remko Scha (1981/1984): Distributive, Collective and Cumulative Quantification

Proseminar on Semantic Theory Fall 2010 Ling 720. Remko Scha (1981/1984): Distributive, Collective and Cumulative Quantification 1. Introduction Remko Scha (1981/1984): Distributive, Collective and Cumulative Quantification (1) The Importance of Scha (1981/1984) The first modern work on plurals (Landman 2000) There are many ideas

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

An Inquisitive Formalization of Interrogative Inquiry

An Inquisitive Formalization of Interrogative Inquiry An Inquisitive Formalization of Interrogative Inquiry Yacin Hamami 1 Introduction and motivation The notion of interrogative inquiry refers to the process of knowledge-seeking by questioning [5, 6]. As

More information

Generalized Quantifiers Logical and Linguistic Aspects

Generalized Quantifiers Logical and Linguistic Aspects Generalized Quantifiers Logical and Linguistic Aspects Lecture 1: Formal Semantics and Generalized Quantifiers Dag Westerståhl University of Gothenburg SELLC 2010 Institute for Logic and Cognition, Sun

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

Ch. 2: Phrase Structure Syntactic Structure (basic concepts) A tree diagram marks constituents hierarchically

Ch. 2: Phrase Structure Syntactic Structure (basic concepts) A tree diagram marks constituents hierarchically Ch. 2: Phrase Structure Syntactic Structure (basic concepts) A tree diagram marks constituents hierarchically NP S AUX VP Ali will V NP help D N the man A node is any point in the tree diagram and it can

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

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

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

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

Unterspezifikation in der Semantik Scope Semantics in Lexicalized Tree Adjoining Grammars

Unterspezifikation in der Semantik Scope Semantics in Lexicalized Tree Adjoining Grammars in der emantik cope emantics in Lexicalized Tree Adjoining Grammars Laura Heinrich-Heine-Universität Düsseldorf Wintersemester 2011/2012 LTAG: The Formalism (1) Tree Adjoining Grammars (TAG): Tree-rewriting

More information

Notes on Logical Frameworks

Notes on Logical Frameworks Notes on Logical Frameworks Robert Harper IAS November 29, 2012 1 Introduction This is a brief summary of a lecture on logical frameworks given at the IAS on November 26, 2012. See the references for technical

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

Syllogistic Logic and its Extensions

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

Syntax. Notation Throughout, and when not otherwise said, we assume a vocabulary V = C F P.

Syntax. 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 information

Software Engineering using Formal Methods

Software Engineering using Formal Methods Software Engineering using Formal Methods First-Order Logic Wolfgang Ahrendt 26th September 2013 SEFM: First-Order Logic 130926 1 / 53 Install the KeY-Tool... KeY used in Friday s exercise Requires: Java

More information

Entailment with Conditional Equality Constraints (Extended Version)

Entailment with Conditional Equality Constraints (Extended Version) Entailment with Conditional Equality Constraints (Extended Version) Zhendong Su Alexander Aiken Report No. UCB/CSD-00-1113 October 2000 Computer Science Division (EECS) University of California Berkeley,

More information

Classical First-Order Logic

Classical First-Order Logic Classical First-Order Logic Software Formal Verification Maria João Frade Departmento de Informática Universidade do Minho 2008/2009 Maria João Frade (DI-UM) First-Order Logic (Classical) MFES 2008/09

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

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

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

Propositional and Predicate Logic - V

Propositional and Predicate Logic - V Propositional and Predicate Logic - V Petr Gregor KTIML MFF UK WS 2016/2017 Petr Gregor (KTIML MFF UK) Propositional and Predicate Logic - V WS 2016/2017 1 / 21 Formal proof systems Hilbert s calculus

More information

Focus in complex noun phrases

Focus in complex noun phrases Focus in complex noun phrases Summary In this paper I investigate the semantics of association with focus in complex noun phrases in the framework of Alternative Semantics (Rooth 1985, 1992). For the first

More information

06 From Propositional to Predicate Logic

06 From Propositional to Predicate Logic Martin Henz February 19, 2014 Generated on Wednesday 19 th February, 2014, 09:48 1 Syntax of Predicate Logic 2 3 4 5 6 Need for Richer Language Predicates Variables Functions 1 Syntax of Predicate Logic

More information

1 Predicates and Arguments

1 Predicates and Arguments Glue logic vs. Spreading Architecture in LFG * Avery Andrews, ANU, September, 2003 talk given at ALS2003, University of Newcastle, NSW comments welcome Although the f-structures of LFG look like an intuitively

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

Mathematics 114L Spring 2018 D.A. Martin. Mathematical Logic

Mathematics 114L Spring 2018 D.A. Martin. Mathematical Logic Mathematics 114L Spring 2018 D.A. Martin Mathematical Logic 1 First-Order Languages. Symbols. All first-order languages we consider will have the following symbols: (i) variables v 1, v 2, v 3,... ; (ii)

More information

Restricted truth predicates in first-order logic

Restricted truth predicates in first-order logic Restricted truth predicates in first-order logic Thomas Bolander 1 Introduction It is well-known that there exist consistent first-order theories that become inconsistent when we add Tarski s schema T.

More information

WHAT IS AN SMT SOLVER? Jaeheon Yi - April 17, 2008

WHAT IS AN SMT SOLVER? Jaeheon Yi - April 17, 2008 WHAT IS AN SMT SOLVER? Jaeheon Yi - April 17, 2008 WHAT I LL TALK ABOUT Propositional Logic Terminology, Satisfiability, Decision Procedure First-Order Logic Terminology, Background Theories Satisfiability

More information

Lecture 9. Model theory. Consistency, independence, completeness, categoricity of axiom systems. Expanded with algebraic view.

Lecture 9. Model theory. Consistency, independence, completeness, categoricity of axiom systems. Expanded with algebraic view. V. Borschev and B. Partee, October 17-19, 2006 p. 1 Lecture 9. Model theory. Consistency, independence, completeness, categoricity of axiom systems. Expanded with algebraic view. CONTENTS 0. Syntax and

More information

Complete Process Semantics for Inhibitor Nets Technical Report

Complete Process Semantics for Inhibitor Nets Technical Report Complete Process Semantics for Inhibitor Nets Technical Report Gabriel Juhás 2, Robert Lorenz 1, and Sebastian Mauser 1 1 Department of Applied Computer Science, Catholic University of Eichstätt-Ingolstadt,

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

Introduction to Logic in Computer Science: Autumn 2006

Introduction to Logic in Computer Science: Autumn 2006 Introduction to Logic in Computer Science: Autumn 2006 Ulle Endriss Institute for Logic, Language and Computation University of Amsterdam Ulle Endriss 1 Plan for Today Today s class will be an introduction

More information

Grammar and Feature Unification

Grammar and Feature Unification Grammar and Feature Unification Problems with CF Phrase Structure Grammars Difficult to capture dependencies between constituents the boy runs the boys run * the boy run * the boys runs Problems with CF

More information

Linear Temporal Logic and Büchi Automata

Linear Temporal Logic and Büchi Automata Linear Temporal Logic and Büchi Automata Yih-Kuen Tsay Department of Information Management National Taiwan University FLOLAC 2009 Yih-Kuen Tsay (SVVRL @ IM.NTU) Linear Temporal Logic and Büchi Automata

More information

Why Knowledge Representation?

Why Knowledge Representation? CSE 3401: Intro to AI & LP Knowledge Representation & First-Order Logic Required Readings: R & N Chapter 8 Optional: If you need more background: 7.1-7.3 Motivation for logic, basic introduction to semantics.

More information

On the Logic of LGB Type Structures. Part III: Minimalism

On the Logic of LGB Type Structures. Part III: Minimalism On the Logic of LGB Type Structures. Part III: Minimalism MARCUS KRACHT ABSTRACT. In this paper we shall in detail at Minimalism in the sense of [3]. We shall show how the structures can be formalised

More information

Classical First-Order Logic

Classical First-Order Logic Classical First-Order Logic Software Formal Verification Maria João Frade Departmento de Informática Universidade do Minho 2009/2010 Maria João Frade (DI-UM) First-Order Logic (Classical) MFES 2009/10

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

Introduction to Metalogic 1

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

Quantification: Quantifiers and the Rest of the Sentence

Quantification: Quantifiers and the Rest of the Sentence Ling255: Sem & Cogsci Maribel Romero February 17, 2005 Quantification: Quantifiers and the Rest of the Sentence 1. Introduction. We have seen that Determiners express a relation between two sets of individuals

More information

Intensionality. 1. Intensional Propositional Logic (IntPL).

Intensionality. 1. Intensional Propositional Logic (IntPL). Ling255: Sem and CogSci Maribel Romero April 5, 2005 1. Intensional Propositional Logic (IntPL). Intensionality Intensional PL adds some operators O to our standard PL. The crucial property of these operators

More information

A proof theoretical account of polarity items and monotonic inference.

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

Propositional and Predicate Logic - II

Propositional and Predicate Logic - II Propositional and Predicate Logic - II Petr Gregor KTIML MFF UK WS 2016/2017 Petr Gregor (KTIML MFF UK) Propositional and Predicate Logic - II WS 2016/2017 1 / 16 Basic syntax Language Propositional logic

More information

Why Knowledge Representation? Example. Example. CSE 3401: Intro to AI & LP Knowledge Representation & First-Order Logic

Why Knowledge Representation? Example. Example. CSE 3401: Intro to AI & LP Knowledge Representation & First-Order Logic CSE 3401: Intro to AI & LP Knowledge Representation & First-Order Logic Required Readings: Chapter 8 Optional: If you need more background: Why Knowledge Representation? Consider the task of understanding

More information

Mechanizing Metatheory in a Logical Framework

Mechanizing Metatheory in a Logical Framework Under consideration for publication in J. Functional Programming 1 Mechanizing Metatheory in a Logical Framework Robert Harper and Daniel R. Licata Carnegie Mellon University (e-mail: {rwh,drl}@cs.cmu.edu)

More information

Semantics 2 Part 1: Relative Clauses and Variables

Semantics 2 Part 1: Relative Clauses and Variables Semantics 2 Part 1: Relative Clauses and Variables Sam Alxatib EVELIN 2012 January 17, 2012 Reviewing Adjectives Adjectives are treated as predicates of individuals, i.e. as functions from individuals

More information

Quantification in the predicate calculus

Quantification in the predicate calculus Quantification in the predicate calculus PHIL 43916 eptember 5, 2012 1. The problem posed by quantified sentences... 1 2. yntax of PC... 2 3. Bound and free iables... 3 4. Models and assignments... 4 5.

More information

Errata and Remarks for The Semantics and Proof Theory of the Logic of Bunched Implications BI-monograph-errata.

Errata and Remarks for The Semantics and Proof Theory of the Logic of Bunched Implications  BI-monograph-errata. Errata and Remarks for The Semantics and Proof Theory of the Logic of Bunched Implications http://www.cs.bath.ac.uk/~pym/ BI-monograph-errata.pdf David J. Pym University of Bath 30 March, 2008 Abstract

More information

Topology Proceedings. COPYRIGHT c by Topology Proceedings. All rights reserved.

Topology Proceedings. COPYRIGHT c by Topology Proceedings. All rights reserved. Topology Proceedings Web: http://topology.auburn.edu/tp/ Mail: Topology Proceedings Department of Mathematics & Statistics Auburn University, Alabama 36849, USA E-mail: topolog@auburn.edu ISSN: 0146-4124

More information

Advanced Topics in LP and FP

Advanced Topics in LP and FP Lecture 1: Prolog and Summary of this lecture 1 Introduction to Prolog 2 3 Truth value evaluation 4 Prolog Logic programming language Introduction to Prolog Introduced in the 1970s Program = collection

More information

A NOTE ON COMPOSITIONALITY IN THE FIRST ORDER LANGUAGE

A NOTE ON COMPOSITIONALITY IN THE FIRST ORDER LANGUAGE Janusz Maciaszek Luis Villegas-Forero A NOTE ON COMPOSITIONALITY IN THE FIRST ORDER LANGUAGE Abstract The main objective of this paper is to present the syntax and semantic of First Order Language in a

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

Inquisitive semantics

Inquisitive semantics Inquisitive semantics NASSLLI 2012 lecture notes Ivano Ciardelli University of Bordeaux Floris Roelofsen University of Amsterdam June 25, 2012 Jeroen Groenendijk University of Amsterdam About this document

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

First-Order Logic. Chapter Overview Syntax

First-Order Logic. Chapter Overview Syntax Chapter 10 First-Order Logic 10.1 Overview First-Order Logic is the calculus one usually has in mind when using the word logic. It is expressive enough for all of mathematics, except for those concepts

More information