Continuations in Type Logical Grammar. Grafting Trees: (with Chris Barker, UCSD) NJPLS, 27 February Harvard University
|
|
- Caren Lane
- 5 years ago
- Views:
Transcription
1 Grafting Trees: Continuations in Type Logical Grammar Chung-chieh Shan Harvard University (with Chris Barker, UCSD) NJPLS, 27 February 2004
2 Computational Linguistics 1
3 What a linguist cares about Entailment Nobody liked any course Nobody liked any computer science course Somebody liked a course Somebody liked a computer science course Truth conditions are part of sentence meanings. 2
4 What a linguist cares about Entailment Nobody liked any course Nobody liked any computer science course Somebody liked a course Somebody liked a computer science course Truth conditions are part of sentence meanings. Ambiguity Nobody liked a course. Nobody liked any course. linear scope x. y. liked(x, y) y. x. liked(x, y) inverse scope You can fool some of the people all of the time, and all of the people some of the time, but you can not fool all of the people all of the time. Abraham Lincoln 2
5 What a linguist cares about Entailment Nobody liked any course Nobody liked any computer science course Somebody liked a course Somebody liked a computer science course Truth conditions are part of sentence meanings. Ambiguity Nobody liked a course. Nobody liked any course. linear scope x. y. liked(x, y) y. x. liked(x, y) inverse scope You can fool some of the people all of the time, and all of the people some of the time, but you can not fool all of the people all of the time. Abraham Lincoln Acceptability No student liked any course *Every student liked any course Few students liked any course *Any student liked no course 2
6 What a linguist cares about Entailment Nobody liked any course Nobody liked any computer science course Somebody liked a course Somebody liked a computer science course Truth conditions are part of sentence meanings. Ambiguity Nobody liked a course. Nobody liked any course. linear scope x. y. liked(x, y) y. x. liked(x, y) inverse scope You can fool some of the people all of the time, and all of the people some of the time, but you can not fool all of the people all of the time. Abraham Lincoln Acceptability No student liked any course *Every student liked any course Few students liked any course *Any student liked no course This talk deals with English, but the approach hopefully extends to other languages. 2
7 The Curry-Howard isomorphism Syntax : Deduction rules for proving grammaticality Semantics : Translation to a logical metalanguage Acceptability Ambiguity Entailment 3
8 Outline OLD Multiplicative linear logic for linguistics Alice liked Bob. NEW Delimited continuations for quantification Alice liked everybody s mother. OLD Unary modalities for polarity sensitivity *Alice liked anybody s mother. Nobody liked anybody s mother. NEW Evaluation order for linear precedence *Anybody liked nobody s mother. NEW Staging for scope ambiguities Somebody liked everybody s mother. Payoffs For linguistics: Cover more empirical data. Relate (denotational) semantics to (operational) psycholinguistics? For computer science: Understand delimited continuations geometrically and logically. Staging side effects? 4
9 Linear logic for linguistics Alice liked Bob. *Alice liked. *Alice liked Bob NJPLS. *Alice Bob liked. liked (np\s)/np Bob np /E Alice np liked Bob np\s \E Alice (liked Bob) s Alice liked A sequent is complete iff its antecedent is built up using the connective only and its conclusion is s ( sentence ). Bob 5
10 Linear logic for linguistics Alice liked Bob. *Alice liked. *Alice liked Bob NJPLS. *Alice Bob liked. liked (np\s)/np Bob np /E Alice np liked Bob np\s \E Alice (liked Bob) s Alice liked A sequent is complete iff its antecedent is built up using the connective only and its conclusion is s ( sentence ). Bob Natural-deduction rules for categorial grammar (a kind of type logical grammar) Γ B C I Γ B C C A /I A/C B A \I B\A B C Γ{B C} A E Γ{ } A A/C Γ C /E Γ A Γ B B\A \E Γ A A A Axiom Tensor B C means B followed by C (non-commutative; non-associative) Implications A/C means makes A before C B\A means makes A after B 5
11 In-situ quantification Everybody liked Bob. Somebody liked Bob. Nobody liked Bob. liked (np\s)/np Bob np /E nobody s/(np\s) liked Bob np\s /E nobody (liked Bob) s nobody liked Bob 6
12 In-situ quantification Everybody liked Bob. Somebody liked Bob. Nobody liked Bob. liked (np\s)/np Bob np /E nobody s/(np\s) liked Bob np\s /E nobody (liked Bob) s nobody liked Bob Alice liked [nobody] s mother. [Nobody] s mother liked Bob. s mother nobody Bob Alice nobody liked s mother liked 6
13 Delimited continuations Alice ( liked (nobody s mother) ) nobody ( s mother ((1 Alice) liked) ) s mother 1 s mother Alice nobody Alice nobody liked liked 7
14 Delimited continuations Alice ( liked (nobody s mother) ) nobody ( s mother ((1 Alice) liked) ) s mother 1 s mother Alice nobody Alice nobody liked liked liked nobody Alice s mother 1 7
15 Delimited continuations Alice ( liked (nobody s mother) ) nobody ( s mother ((1 Alice) liked) ) s mother 1 s mother Alice nobody Alice nobody liked liked Additional natural-deduction rules for multimodal categorial grammar Γ B C I Γ B C B C Γ{B C} A E Γ{ } A C A I A C B A I B A A C Γ C E Γ A Γ B B A E Γ A Coming up: nobody s (np s) Tensor B C means B plugged into C (non-commutative; non-associative) Implications A C means makes A inside C B A means makes A outside B 7
16 Delimited continuations: structural postulates A Γ S A ============== Root A 1 1 Γ S A A (B C) C Γ S A B ==================== Left (A B) C C Γ S A B ==================== Right B (C A) C Γ S A B 8
17 Delimited continuations: structural postulates Γ{A} S ========== Root Γ{A 1} S Γ{A (B C)} S =============== Left Γ{(A B) C} S =============== Right Γ{B (C A)} S 9
18 Delimited continuations: structural postulates Γ{A} S ========== Root Γ{A 1} S Γ{A (B C)} S =============== Left Γ{(A B) C} S =============== Right Γ{B (C A)} S Γ { Alice (liked (nobody s mother)) } S ========================================= Root Γ {( Alice (liked (nobody s mother)) ) 1 } S ========================================= Right Γ {( liked (nobody s mother) ) (1 Alice) } S ========================================= Right Γ { (nobody s mother) ( (1 Alice) liked )} S ========================================= Left Γ { nobody ( s mother ((1 Alice) liked) )} S s mother Alice liked nobody 9
19 Delimited continuations: structural postulates Γ{A} S ========== Root Γ{A 1} S Γ{A (B C)} S =============== Left Γ{(A B) C} S =============== Right Γ{B (C A)} S Γ { Alice (liked (nobody s mother)) } S ========================================= Root Γ {( Alice (liked (nobody s mother)) ) 1 } S ========================================= Right Γ {( liked (nobody s mother) ) (1 Alice) } S ========================================= Right Γ { (nobody s mother) ( (1 Alice) liked )} S ========================================= Left Γ { nobody ( s mother ((1 Alice) liked) )} S 1 s mother Alice liked nobody 9
20 Delimited continuations: structural postulates Γ{A} S ========== Root Γ{A 1} S Γ{A (B C)} S =============== Left Γ{(A B) C} S =============== Right Γ{B (C A)} S Γ { Alice (liked (nobody s mother)) } S ========================================= Root Γ {( Alice (liked (nobody s mother)) ) 1 } S ========================================= Right Γ {( liked (nobody s mother) ) (1 Alice) } S ========================================= Right Γ { (nobody s mother) ( (1 Alice) liked )} S ========================================= Left Γ { nobody ( s mother ((1 Alice) liked) )} S 1 s mother Alice nobody liked 9
21 Delimited continuations: structural postulates Γ{A} S ========== Root Γ{A 1} S Γ{A (B C)} S =============== Left Γ{(A B) C} S =============== Right Γ{B (C A)} S Γ { Alice (liked (nobody s mother)) } S ========================================= Root Γ {( Alice (liked (nobody s mother)) ) 1 } S ========================================= Right Γ {( liked (nobody s mother) ) (1 Alice) } S ========================================= Right Γ { (nobody s mother) ( (1 Alice) liked )} S ========================================= Left Γ { nobody ( s mother ((1 Alice) liked) )} S 1 s mother Alice nobody liked 9
22 Delimited continuations: structural postulates Γ{A} S ========== Root Γ{A 1} S Γ{A (B C)} S =============== Left Γ{(A B) C} S =============== Right Γ{B (C A)} S Γ { Alice (liked (nobody s mother)) } S ========================================= Root Γ {( Alice (liked (nobody s mother)) ) 1 } S ========================================= Right Γ {( liked (nobody s mother) ) (1 Alice) } S ========================================= Right Γ { (nobody s mother) ( (1 Alice) liked )} S ========================================= Left Γ { nobody ( s mother ((1 Alice) liked) )} S 1 s mother Alice nobody liked 9
23 Delimited continuations for in-situ quantification Axiom np np s mother np\np \E liked (np\s)/np np s mother np /E Alice np liked (np s mother) np\s \E Alice ( liked (np s mother) ) s Root,Right,Right,Left np ( s mother ((1 Alice) liked) ) s I nobody s (np s) s mother ( (1 Alice) liked ) np s E nobody ( s mother ((1 Alice) liked) ) s Left,Right,Right,Root Alice ( liked (nobody s mother) ) s Ambiguity in delimitation: Alice told Bob to criticize nobody s mother. 10
24 Delimited continuations for in-situ quantifications np ( liked (np s mother) ) s Root,Right,Right,Left np ( s mother ((1 np) liked) ) s I nobody s (np s) s mother ( (1 np) liked ) np s E nobody ( s mother ((1 np) liked) ) s Left,Right,Right,Left np ( (liked (nobody s mother)) 1 ) s I somebody s (np s) (liked (nobody s mother)) 1 np s E somebody ( (liked (nobody s mother)) 1 ) s Left,Root somebody ( liked (nobody s mother) ) s The quantifier evaluated earlier takes wider scope in the syntactic proof and the truth-conditional meaning. 11
25 Polarity sensitivity The quantifiers a, some, and any all look existential: Did a student call? Did some student call? Did any student call? x. student(x) called(x) But do not behave the same: No student liked some course. (unambiguous ) No student liked a course. (ambiguous, ) No student liked any course. (unambiguous ) Some student liked no course. (unambiguous ) A student liked no course. (ambiguous, ) *Any student liked no course. (unacceptable) Any is a negative polarity item: Very roughly, it requires negative contexts, such as in the scope of no. Some is a positive polarity item: Very roughly, it is allergic to negative contexts. Meaning affects ambiguity and acceptability! But linear order matters too. 12
26 Unary polarities Define three types for sentences of varying polarity: s = r s (verbs now return this type) s + = r [ p] p s s = [ p] p r s Unary type constructors like p and [ p] come in pairs. Each pair is an adjunction. Additional natural-deduction rules for unary connectives (focus on polarity) Γ A p Γ p A p I p A Γ{ p A} B p E Γ{ } B p Γ A [ p]i Γ [ p]a A handy lemma: Γ [ p]a [ p]e p Γ A Axiom p A p A [ p]i A [ p] p A Hence s s + and s s. Possibility p A means A for some p-child q A means A for some q-child r A means A for some r-child Necessity [ p]a means A for every p-parent [ q]a means A for every q-parent [ r]a means A for every r-parent 13
27 Unary modalities for polarity sensitivity np ( liked (np s mother) ) s p I p ( np (liked (np s mother)) ) p s [ p]i np ( liked (np s mother) ) s Root,Right,Right,Left np ( s mother ((1 np) liked) ) s I anybody s (np s ) s mother ( (1 np) liked ) np s E anybody ( s mother ((1 np) liked) ) s Left,Right,Right,Left np ( (liked (anybody s mother)) 1 ) s I nobody s (np s ) (liked (anybody s mother)) 1 np s E nobody ( (liked (anybody s mother)) 1 ) s Left,Root nobody ( liked (anybody s mother) ) s 14
28 Unary modalities for polarity sensitivity, cont d A sequent is complete iff its antecedent is built up using the connective only and its conclusion is of the form r A (that is, either s or s + ). Alice ( liked (np s mother) ) s p I p ( Alice (liked (np s mother)) ) p s [ p]i Alice ( liked (np s mother) ) s Root,Right,Right,Left np ( s mother ((1 Alice) liked) ) s I anybody s (np s ) s mother ( (1 Alice) liked ) np s E anybody ( s mother ((1 Alice) liked) ) s *Alice liked anybody s mother. Nobody said that Alice liked anybody s mother. 15
29 Unary modalities for polarity sensitivities s s + some any s s nobody s (np s ) anybody s (np s ) somebody s + (np s + ) a woman s (np s ) s + ε ε s s no a No student liked some course. (unambiguous ) No student liked a course. (ambiguous, ) Prediction: the quantifiers in a sentence must No student liked any course. (unambiguous ) form a valid transition Some student liked no course. (unambiguous ) sequence, from widest A student liked no course. (ambiguous, ) to narrowest scope. *Any student liked no course. (unacceptable) 16
30 Evaluation order These structural postulates in multimodal categorial grammar: Γ{A} S ========== Root Γ{A 1} S Γ{(A B) C} S =============== Left Γ{A (B C)} S Γ{(A B) C} S =============== Right Γ{B (C A)} S encode this recursive definition of evaluation contexts: C ::= { } C { { } B } C { A { } }. Modify the Right rule: Γ{A} S ========== Root Γ{A 1} S Γ{(A B) C} S =============== Left Γ{A (B C)} S Γ{( q A B) C} S ================= Right Γ{B (C q A)} S to enforce left-to-right evaluation in evaluation contexts: C ::= { } C { { } B } C { q A { } }. Here we mark pure values with the unary prefix q. 17
31 Staging The q modality stands for quotation of programs. Any program can be quoted: Γ{ q A} S Quote (T) Γ{A} S And any two programs can be concatenated: Γ{ q (A B)} S Concat (K ) Γ{ q A q B} S But only complete programs (with types of the form r A) can be unquoted (run): Γ{ r A} S Run Γ{ q r A} S These stipulations interact to make correct linguistic predictions. Nobody liked a woman s mother (ambiguous, ) *Anybody liked nobody s mother (unacceptable) 18
32 Evaluation order and staging for linear scope First of all, nobody likes a woman s mother can take linear scope. This is easy under left-to-right evaluation, because quantifiers evaluated earlier scope wider. np ( liked (np s mother) ) s q I q ( np (liked (np s mother)) ) q s Axiom s s Run q s s q E q ( np (liked (np s mother)) ) s Concat 2 q np ( q liked q (np s mother) ) s Quote q np ( q liked (np s mother) ) s Root,Right,Right,Left, I, E,Left,Right,Right,Root q np ( q liked (a woman s mother) ) s p I p ( q np ( q liked (a woman s mother)) ) p s [ p]i q np ( q liked (a woman s mother) ) s Quote 2 np ( liked (a woman s mother) ) s Root,Left, I, E,Left,Root nobody ( liked (a woman s mother) ) s 19
33 Evaluation order and staging for inverse scope Moreover, nobody likes a woman s mother can also take inverse scope, because the answer type s = r s returned by nobody can be unquoted. np ( liked (np s mother) ) s p I p ( np (liked (np s mother)) ) p s [ p]i np ( liked (np s mother) ) s Root,Left, I, E,Left,Root nobody ( liked (np s mother) ) s q I q ( nobody (liked (np s mother)) ) q s Axiom s s Run q s s q E q ( nobody (liked (np s mother)) ) s Concat 2 q nobody ( q liked q (np s mother) ) s Quote q nobody ( q liked (np s mother) ) s Root,Right,Right,Left, I, E,Left,Right,Right,Root q nobody ( q liked (a woman s mother) ) s Quote 2 nobody ( liked (a woman s mother)) s 20
34 Evaluation order and staging for polarity sensitivity Nevertheless, anybody likes nobody s mother cannot take inverse scope, because the answer type s = [ p] p r s returned by anybody cannot be unquoted. np ( liked (np s mother) ) s p I p ( np (liked (np s mother)) ) p s [ p]i np ( liked (np s mother) ) s Root,Left, I, E,Left,Root anybody ( liked (np s mother) ) s q I q ( anybody (liked (np s mother)) ) s Axiom s q s q s Run s q E q ( anybody (liked (np s mother)) ) s Concat 2 q anybody ( q liked q (np s mother) ) s Quote q anybody ( q liked (np s mother) ) s Root,Right,Right,Left, I, E,Left,Right,Right,Root q anybody ( q liked (nobody s mother) ) s Quote 2 anybody ( liked (nobody s mother)) s 21
35 An old puzzle solved s s + some s s nobody s (np s ) anybody s (np s ) somebody s + (np s + ) a woman s (np s ) s + ε No student liked some course. (unambiguous ) No student liked a course. (ambiguous, ) No student liked any course. (unambiguous ) Some student liked no course. (unambiguous ) A student liked no course. (ambiguous, ) *Any student liked no course. (unacceptable) any ε s s no a Prediction: the quantifiers in a sentence must form a valid transition sequence, from widest to narrowest scope. Also, inverse-scope transitions must pass through a start state. 22
36 An old puzzle solved, and a new one s s + some any s s nobody s (np s ) anybody s (np s ) somebody s + (np s + ) a woman s (np s ) everybody??? s + ε ε s s no a What is the type of everybody? Hint: A woman introduced everybody to somebody : linear scope ok. 23
37 An old puzzle solved, and a new one s s + some s s nobody s (np s ) anybody s (np s ) somebody s + (np s + ) a woman s (np s ) everybody s (np s + ) s + ε every ε any s s no a What is the type of everybody? Hint: A woman introduced everybody to somebody : linear scope ok. So every must turn the output of some into the input of a. 23
38 An old puzzle solved, and a new one s s + some s s nobody s (np s ) anybody s (np s ) somebody s + (np s + ) a woman s (np s ) everybody s (np s + ) s + ε every ε any s s no a What is the type of everybody? Hint: A woman introduced everybody to somebody : linear scope ok. So every must turn the output of some into the input of a. Confirmation: Nobody introduced Alice to somebody : linear scope bad. Nobody introduced everybody to somebody : linear scope ok again! 23
39 Outline OLD Multiplicative linear logic for linguistics Alice liked Bob. NEW Delimited continuations for quantification Alice liked everybody s mother. OLD Unary modalities for polarity sensitivity *Alice liked anybody s mother. Nobody liked anybody s mother. NEW Evaluation order for linear precedence *Anybody liked nobody s mother. NEW Staging for scope ambiguities Somebody liked everybody s mother. Payoffs For linguistics: Cover more empirical data. Relate (denotational) semantics to (operational) psycholinguistics? For computer science: Understand delimited continuations geometrically and logically. Staging side effects? 24
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 informationCOMP Intro to Logic for Computer Scientists. Lecture 11
COMP 1002 Intro to Logic for Computer Scientists Lecture 11 B 5 2 J Puzzle 10 The first formulation of the famous liar s paradox, attributed to a Cretan philosopher Epimenides, stated All Cretans are liars.
More informationLecture 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 informationLearning 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 informationThe Lambek-Grishin calculus for unary connectives
The Lambek-Grishin calculus for unary connectives Anna Chernilovskaya Utrecht Institute of Linguistics OTS, Utrecht University, the Netherlands anna.chernilovskaya@let.uu.nl Introduction In traditional
More informationLogic. Propositional Logic: Syntax
Logic Propositional Logic: Syntax Logic is a tool for formalizing reasoning. There are lots of different logics: probabilistic logic: for reasoning about probability temporal logic: for reasoning about
More informationPropositional Logic: Syntax
Logic Logic is a tool for formalizing reasoning. There are lots of different logics: probabilistic logic: for reasoning about probability temporal logic: for reasoning about time (and programs) epistemic
More informationA Polynomial Time Algorithm for Parsing with the Bounded Order Lambek Calculus
A Polynomial Time Algorithm for Parsing with the Bounded Order Lambek Calculus Timothy A. D. Fowler Department of Computer Science University of Toronto 10 King s College Rd., Toronto, ON, M5S 3G4, Canada
More informationIntroduction 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 informationSeminar in Semantics: Gradation & Modality Winter 2014
1 Subject matter Seminar in Semantics: Gradation & Modality Winter 2014 Dan Lassiter 1/8/14 Handout: Basic Modal Logic and Kratzer (1977) [M]odality is the linguistic phenomenon whereby grammar allows
More informationLogic. Readings: Coppock and Champollion textbook draft, Ch
Logic Readings: Coppock and Champollion textbook draft, Ch. 3.1 3 1. Propositional logic Propositional logic (a.k.a propositional calculus) is concerned with complex propositions built from simple propositions
More informationParasitic Scope (Barker 2007) Semantics Seminar 11/10/08
Parasitic Scope (Barker 2007) Semantics Seminar 11/10/08 1. Overview Attempts to provide a compositional, fully semantic account of same. Elements other than NPs in particular, adjectives can be scope-taking
More informationOn relational interpretation of multi-modal categorial logics
Gerhard Jäger 1 On relational interpretation of multi-modal categorial logics Gerhard Jäger Gerhard.Jaeger@let.uu.nl Utrecht Institute of Linguistics (OTS) September 27, 2001 Gerhard Jäger 2 1 Outline
More informationThe 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 informationModal Logics. Most applications of modal logic require a refined version of basic modal logic.
Modal Logics Most applications of modal logic require a refined version of basic modal logic. Definition. A set L of formulas of basic modal logic is called a (normal) modal logic if the following closure
More informationA Little Deductive Logic
A Little Deductive Logic In propositional or sentential deductive logic, we begin by specifying that we will use capital letters (like A, B, C, D, and so on) to stand in for sentences, and we assume that
More informationScope Ambiguities through the Mirror
Scope Ambiguities through the Mirror Raffaella Bernardi In this paper we look at the interpretation of Quantifier Phrases from the perspective of Symmetric Categorial Grammar. We show how the apparent
More informationLogic for Computer Science Handout Week 8 DERIVED RULE MODUS TOLLENS DERIVED RULE RAA DERIVED RULE TND
Logic for Computer Science Handout Week 8 DERIVED RULE MODUS TOLLENS We have last week completed the introduction of a calculus, which is sound and complete. That is, we can syntactically establish the
More information06 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 informationGrammatical resources: logic, structure and control
Grammatical resources: logic, structure and control Michael Moortgat & Dick Oehrle 1 Grammatical composition.................................. 5 1.1 Grammar logic: the vocabulary.......................
More informationGalois Connections in Categorial Type Logic
Galois Connections in Categorial Type Logic Raffaella Bernardi joint work with Carlos Areces and Michael Moortgat Contents 1 Introduction.............................................. 4 2 Residuated operators
More informationInterpreting quotations
There s treasure everywhere: a Calvin and Hobbes collection by Bill Watterson Interpreting quotations Chung-chieh Shan, Rutgers University Semantics Research Group, 21 March 2008 2 Mixing mention and use
More informationPredicate Calculus. Lila Kari. University of Waterloo. Predicate Calculus CS245, Logic and Computation 1 / 59
Predicate Calculus Lila Kari University of Waterloo Predicate Calculus CS245, Logic and Computation 1 / 59 Predicate Calculus Alternative names: predicate logic, first order logic, elementary logic, restricted
More informationPredicate in English. Predicates and Quantifiers. Predicate in Logic. Propositional Functions: Prelude. Propositional Function
Predicates and Quantifiers Chuck Cusack Predicate in English In English, a sentence has 2 parts: the subject and the predicate. The predicate is the part of the sentence that states something about the
More informationINTRODUCTION 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 informationExtensions to the Logic of All x are y: Verbs, Relative Clauses, and Only
1/53 Extensions to the Logic of All x are y: Verbs, Relative Clauses, and Only Larry Moss Indiana University Nordic Logic School August 7-11, 2017 2/53 An example that we ll see a few times Consider the
More informationPropositional Logic Language
Propositional Logic Language A logic consists of: an alphabet A, a language L, i.e., a set of formulas, and a binary relation = between a set of formulas and a formula. An alphabet A consists of a finite
More information- First-order formula. Instructor: Yu Zhen Xie
CS2209A 2017 Applied Logic for Computer Science Lecture 10 Predicate Logic - First-order formula Instructor: Yu Zhen Xie 1 Propositions with parameters Is it true? Answer: depends. When x is an integer,
More informationCS 1571 Introduction to AI Lecture 14. First-order logic. CS 1571 Intro to AI. Midterm
CS 1571 Introduction to AI Lecture 14 First-order logic Milos Hauskrecht milos@cs.pitt.edu 5329 Sennott Square Midterm The midterm for the course will be held on October 28, 2014 In class exam Closed book
More informationPropositional Logic. Yimei Xiang 11 February format strictly follow the laws and never skip any step.
Propositional Logic Yimei Xiang yxiang@fas.harvard.edu 11 February 2014 1 Review Recursive definition Set up the basis Generate new members with rules Exclude the rest Subsets vs. proper subsets Sets of
More informationSEMANTICS OF POSSESSIVE DETERMINERS STANLEY PETERS DAG WESTERSTÅHL
SEMANTICS OF POSSESSIVE DETERMINERS STANLEY PETERS DAG WESTERSTÅHL Linguistics Department, Stanford University Department of Philosophy, Göteborg University peters csli.stanford.edu, dag.westerstahl phil.gu.se
More informationLing 130 Notes: Predicate Logic and Natural Deduction
Ling 130 Notes: Predicate Logic and Natural Deduction Sophia A. Malamud March 7, 2014 1 The syntax of Predicate (First-Order) Logic Besides keeping the connectives from Propositional Logic (PL), Predicate
More informationNatural Deduction for Propositional Logic
Natural Deduction for Propositional Logic Bow-Yaw Wang Institute of Information Science Academia Sinica, Taiwan September 10, 2018 Bow-Yaw Wang (Academia Sinica) Natural Deduction for Propositional Logic
More informationMonads as a Solution for Generalized Opacity
Monads as a Solution for Generalized Opacity Gianluca Giorgolo & Ash Asudeh April 27, 2014 - TTNLS 2014 Denotations vs. senses 1 + 1 = 2 The two sides of the equality have the same denotation But they
More information185.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 informationA Little Deductive Logic
A Little Deductive Logic In propositional or sentential deductive logic, we begin by specifying that we will use capital letters (like A, B, C, D, and so on) to stand in for sentences, and we assume that
More informationComputational Logic. Recall of First-Order Logic. Damiano Zanardini
Computational Logic Recall of First-Order Logic Damiano Zanardini UPM European Master in Computational Logic (EMCL) School of Computer Science Technical University of Madrid damiano@fi.upm.es Academic
More informationLecture 3 : Predicates and Sets DRAFT
CS/Math 240: Introduction to Discrete Mathematics 1/25/2010 Lecture 3 : Predicates and Sets Instructor: Dieter van Melkebeek Scribe: Dalibor Zelený DRAFT Last time we discussed propositions, which are
More informationBringing 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 informationGeneralized 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 informationcis32-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 informationFirst Order Logic (FOL) 1 znj/dm2017
First Order Logic (FOL) 1 http://lcs.ios.ac.cn/ znj/dm2017 Naijun Zhan March 19, 2017 1 Special thanks to Profs Hanpin Wang (PKU) and Lijun Zhang (ISCAS) for their courtesy of the slides on this course.
More informationUNIT-I: Propositional Logic
1. Introduction to Logic: UNIT-I: Propositional Logic Logic: logic comprises a (formal) language for making statements about objects and reasoning about properties of these objects. Statements in a logical
More informationLogic. Propositional Logic: Syntax. Wffs
Logic Propositional Logic: Syntax Logic is a tool for formalizing reasoning. There are lots of different logics: probabilistic logic: for reasoning about probability temporal logic: for reasoning about
More informationExamples: P: it is not the case that P. P Q: P or Q P Q: P implies Q (if P then Q) Typical formula:
Logic: The Big Picture Logic is a tool for formalizing reasoning. There are lots of different logics: probabilistic logic: for reasoning about probability temporal logic: for reasoning about time (and
More informationDiscrete Mathematics and Its Applications
Discrete Mathematics and Its Applications Lecture 1: The Foundations: Logic and Proofs (1.3-1.5) MING GAO DASE @ ECNU (for course related communications) mgao@dase.ecnu.edu.cn Sep. 19, 2017 Outline 1 Logical
More informationLIN1032 Formal Foundations for Linguistics
LIN1032 Formal Foundations for Lecture 5 Albert Gatt In this lecture We conclude our discussion of the logical connectives We begin our foray into predicate logic much more expressive than propositional
More informationCategorial Grammar. Algebra, Proof Theory, Applications. References Categorial Grammar, G. Morrill, OUP, 2011.
Categorial Grammar Algebra, Proof Theory, Applications References Categorial Grammar, G. Morrill, OUP, 2011. - The Logic of Categorial Grammars, R. Moot & Ch. Retore, Springer, FoLLI, 2012. Mehrnoosh Sadrzadeh
More informationPredicate Calculus lecture 1
Predicate Calculus lecture 1 Section 1.3 Limitation of Propositional Logic Consider the following reasoning All cats have tails Gouchi is a cat Therefore, Gouchi has tail. MSU/CSE 260 Fall 2009 1 MSU/CSE
More informationLambek Grammars as Combinatory Categorial Grammars
Lambek Grammars as Combinatory Categorial Grammars GERHARD JÄGER, Zentrum für Allgemeine Sprachwissenschaft (ZAS), Jägerstr 10/11, 10117 Berlin, Germany E-mail: jaeger@zasgwz-berlinde Abstract We propose
More informationSyntax. Notation Throughout, and when not otherwise said, we assume a vocabulary V = C F P.
First-Order Logic Syntax The alphabet of a first-order language is organised into the following categories. Logical connectives:,,,,, and. Auxiliary symbols:.,,, ( and ). Variables: we assume a countable
More informationIntroduction to first-order logic:
Introduction to first-order logic: First-order structures and languages. Terms and formulae in first-order logic. Interpretations, truth, validity, and satisfaction. Valentin Goranko DTU Informatics September
More informationFirst-Order Logic. 1 Syntax. Domain of Discourse. FO Vocabulary. Terms
First-Order Logic 1 Syntax Domain of Discourse The domain of discourse for first order logic is FO structures or models. A FO structure contains Relations Functions Constants (functions of arity 0) FO
More informationMathematical Logic and Linguistics
Mathematical Logic and Linguistics Glyn Morrill & Oriol Valentín Department of Computer Science Universitat Politècnica de Catalunya morrill@cs.upc.edu & oriol.valentin@gmail.com BGSMath Course Class 9
More informationPredicate Calculus. Formal Methods in Verification of Computer Systems Jeremy Johnson
Predicate Calculus Formal Methods in Verification of Computer Systems Jeremy Johnson Outline 1. Motivation 1. Variables, quantifiers and predicates 2. Syntax 1. Terms and formulas 2. Quantifiers, scope
More informationPropositional Logic Arguments (5A) Young W. Lim 11/8/16
Propositional Logic (5A) Young W. Lim Copyright (c) 2016 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version
More informationDiscrete Structures Lecture 5
Introduction EXAMPLE 1 Express xx yy(xx + yy = 0) without the existential quantifier. Solution: xx yy(xx + yy = 0) is the same as xxxx(xx) where QQ(xx) is yyyy(xx, yy) and PP(xx, yy) = xx + yy = 0 EXAMPLE
More information22c: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 informationCS1021. Why logic? Logic about inference or argument. Start from assumptions or axioms. Make deductions according to rules of reasoning.
3: Logic Why logic? Logic about inference or argument Start from assumptions or axioms Make deductions according to rules of reasoning Logic 3-1 Why logic? (continued) If I don t buy a lottery ticket on
More informationIntroduction to Metalogic
Philosophy 135 Spring 2008 Tony Martin Introduction to Metalogic 1 The semantics of sentential logic. The language L of sentential logic. Symbols of L: Remarks: (i) sentence letters p 0, p 1, p 2,... (ii)
More informationPropositional Logic: Semantics
Propositional Logic: Semantics Alice Gao Lecture 4, September 19, 2017 Semantics 1/56 Announcements Semantics 2/56 The roadmap of propositional logic Semantics 3/56 FCC spectrum auction an application
More informationa. Develop a fragment of English that contains quantificational NPs. b. Develop a translation base from that fragment to Politics+λ
An Algebraic Approach to Quantification and Lambda Abstraction: Applications to the Analysis of English (1) Ingredients on the Table a. A logical language with both quantification and lambda abstraction
More informationCSI30. Chapter 1. The Foundations: Logic and Proofs Nested Quantifiers
Chapter 1. The Foundations: Logic and Proofs 1.9-1.10 Nested Quantifiers 1 Two quantifiers are nested if one is within the scope of the other. Recall one of the examples from the previous class: x ( P(x)
More informationPropositional logic (revision) & semantic entailment. p. 1/34
Propositional logic (revision) & semantic entailment p. 1/34 Reading The background reading for propositional logic is Chapter 1 of Huth/Ryan. (This will cover approximately the first three lectures.)
More informationSemantics and Generative Grammar. Quantificational DPs, Part 3: Covert Movement vs. Type Shifting 1
Quantificational DPs, Part 3: Covert Movement vs. Type Shifting 1 1. Introduction Thus far, we ve considered two competing analyses of sentences like those in (1). (1) Sentences Where a Quantificational
More informationLogic: The Big Picture
Logic: The Big Picture A typical logic is described in terms of syntax: what are the legitimate formulas semantics: under what circumstances is a formula true proof theory/ axiomatization: rules for proving
More informationLing 98a: The Meaning of Negation (Week 5)
Yimei Xiang yxiang@fas.harvard.edu 15 October 2013 1 Review Negation in propositional logic, oppositions, term logic of Aristotle Presuppositions Projection and accommodation Three-valued logic External/internal
More informationPART II QUANTIFICATIONAL LOGIC
Page 1 PART II QUANTIFICATIONAL LOGIC The language m of part I was built from sentence letters, symbols that stand in for sentences. The logical truth of a sentence or the logical validity of an argument,
More information03 Review of First-Order Logic
CAS 734 Winter 2014 03 Review of First-Order Logic William M. Farmer Department of Computing and Software McMaster University 18 January 2014 What is First-Order Logic? First-order logic is the study of
More informationTopic #3 Predicate Logic. Predicate Logic
Predicate Logic Predicate Logic Predicate logic is an extension of propositional logic that permits concisely reasoning about whole classes of entities. Propositional logic treats simple propositions (sentences)
More information3. 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 informationBerlin, May 16 / 2003
Berlin, May 16 / 2003 1 The challenge of free choice permission The basic puzzle epistemic variants wide disjunction FC permission and quantification Conjunctive permission 2 The basic puzzle (1) a. You
More informationLING 106. Knowledge of Meaning Lecture 3-1 Yimei Xiang Feb 6, Propositional logic
LING 106. Knowledge of Meaning Lecture 3-1 Yimei Xiang Feb 6, 2016 Propositional logic 1 Vocabulary of propositional logic Vocabulary (1) a. Propositional letters: p, q, r, s, t, p 1, q 1,..., p 2, q 2,...
More informationLING 501, Fall 2004: Quantification
LING 501, Fall 2004: Quantification The universal quantifier Ax is conjunctive and the existential quantifier Ex is disjunctive Suppose the domain of quantification (DQ) is {a, b}. Then: (1) Ax Px Pa &
More informationRelational Reasoning in Natural Language
1/67 Relational Reasoning in Natural Language Larry Moss ESSLLI 10 Course on Logics for Natural Language Inference August, 2010 Adding transitive verbs the work on R, R, and other systems is joint with
More informationPropositional Logic: Logical Agents (Part I)
Propositional Logic: Logical Agents (Part I) This lecture topic: Propositional Logic (two lectures) Chapter 7.1-7.4 (this lecture, Part I) Chapter 7.5 (next lecture, Part II) Next lecture topic: First-order
More informationIt is not the case that ϕ. p = It is not the case that it is snowing = It is not. r = It is not the case that Mary will go to the party =
Introduction to Propositional Logic Propositional Logic (PL) is a logical system that is built around the two values TRUE and FALSE, called the TRUTH VALUES. true = 1; false = 0 1. Syntax of Propositional
More informationSection Summary. Section 1.5 9/9/2014
Section 1.5 Section Summary Nested Quantifiers Order of Quantifiers Translating from Nested Quantifiers into English Translating Mathematical Statements into Statements involving Nested Quantifiers Translated
More informationPropositional 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 informationCOMP 409: Logic Homework 5
COMP 409: Logic Homework 5 Note: The pages below refer to the text from the book by Enderton. 1. Exercises 1-6 on p. 78. 1. Translate into this language the English sentences listed below. If the English
More informationSemantics and Generative Grammar. Expanding Our Formalism, Part 1 1
Expanding Our Formalism, Part 1 1 1. Review of Our System Thus Far Thus far, we ve built a system that can interpret a very narrow range of English structures: sentences whose subjects are proper names,
More informationMat 243 Exam 1 Review
OBJECTIVES (Review problems: on next page) 1.1 Distinguish between propositions and non-propositions. Know the truth tables (i.e., the definitions) of the logical operators,,,, and Write truth tables for
More informationSupplementary Notes on Inductive Definitions
Supplementary Notes on Inductive Definitions 15-312: Foundations of Programming Languages Frank Pfenning Lecture 2 August 29, 2002 These supplementary notes review the notion of an inductive definition
More informationAI Principles, Semester 2, Week 2, Lecture 5 Propositional Logic and Predicate Logic
AI Principles, Semester 2, Week 2, Lecture 5 Propositional Logic and Predicate Logic Propositional logic Logical connectives Rules for wffs Truth tables for the connectives Using Truth Tables to evaluate
More informationAdjoint Logic and Its Concurrent Semantics
Adjoint Logic and Its Concurrent Semantics Frank Pfenning ABCD Meeting, Edinburgh, December 18-19, 2017 Joint work with Klaas Pruiksma and William Chargin Outline Proofs as programs Linear sequent proofs
More informationPropositional Logic Arguments (5A) Young W. Lim 11/30/16
Propositional Logic (5A) Young W. Lim Copyright (c) 2016 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version
More informationCSC242: Intro to AI. Lecture 12. Tuesday, February 26, 13
CSC242: Intro to AI Lecture 12 Quiz Stop Time: 2:15 ULW First draft due Mar 1 8-10 pages minimum First-Order Logic First-Order Logic Propositional Logic Syntax & Semantics Truth tables Model checking
More informationChapter 2 Background. 2.1 A Basic Description Logic
Chapter 2 Background Abstract Description Logics is a family of knowledge representation formalisms used to represent knowledge of a domain, usually called world. For that, it first defines the relevant
More informationGrundlagenmodul Semantik All Exercises
Grundlagenmodul Semantik All Exercises Sommersemester 2014 Exercise 1 Are the following statements correct? Justify your answers in a single short sentence. 1. 11 {x x is a square number} 2. 11 {x {y y
More informationRelations to first order logic
An Introduction to Description Logic IV Relations to first order logic Marco Cerami Palacký University in Olomouc Department of Computer Science Olomouc, Czech Republic Olomouc, November 6 th 2014 Marco
More informationPropositional 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 informationCHAPTER 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 informationTowards Abstract Categorial Grammars
Towards Abstract Categorial Grammars Philippe de Groote LORIA UMR n o 7503 INRIA Campus Scientifique, B.P. 239 54506 Vandœuvre lès Nancy Cedex France degroote@loria.fr Abstract We introduce a new categorial
More informationPredicate Calculus - Syntax
Predicate Calculus - Syntax Lila Kari University of Waterloo Predicate Calculus - Syntax CS245, Logic and Computation 1 / 26 The language L pred of Predicate Calculus - Syntax L pred, the formal language
More informationIntroduction to Sets and Logic (MATH 1190)
Introduction to Sets Logic () Instructor: Email: shenlili@yorku.ca Department of Mathematics Statistics York University Sept 18, 2014 Outline 1 2 Tautologies Definition A tautology is a compound proposition
More information22c:145 Artificial Intelligence. First-Order Logic. Readings: Chapter 8 of Russell & Norvig.
22c:145 Artificial Intelligence First-Order Logic Readings: Chapter 8 of Russell & Norvig. Einstein s Puzzle in Logic We used propositinal variables to specify everything: x 1 = house #1 is red ; x 2 =
More informationSemantics I, Rutgers University Week 3-1 Yimei Xiang September 17, Predicate logic
Semantics I, Rutgers University Week 3-1 Yimei Xiang September 17, 2018 Predicate logic 1. Why propositional logic is not enough? Discussion: (i) Does (1a) contradict (1b)? [Two sentences are contradictory
More information7 LOGICAL AGENTS. OHJ-2556 Artificial Intelligence, Spring OHJ-2556 Artificial Intelligence, Spring
109 7 LOGICAL AGENS We now turn to knowledge-based agents that have a knowledge base KB at their disposal With the help of the KB the agent aims at maintaining knowledge of its partially-observable environment
More informationINDUCTIVE DEFINITION
1 INDUCTIVE DEFINITION OUTLINE Judgements Inference Rules Inductive Definition Derivation Rule Induction 2 META-VARIABLES A symbol in a meta-language that is used to describe some element in an object
More informationE-type interpretation without E-type pronoun: How Peirce s Graphs. capture the uniqueness implication of donkey sentences
E-type interpretation without E-type pronoun: How Peirce s Graphs capture the uniqueness implication of donkey sentences Author: He Chuansheng (PhD student of linguistics) The Hong Kong Polytechnic University
More information