Contexts for Quantification

Similar documents
Relational Reasoning in Natural Language

Natural Logic. Larry Moss, Indiana University. ASL North American Annual Meeting, March 19, 2010

Syllogistic Logic and its Extensions

Natural Logic. Larry Moss, Indiana University. October 23, UC Berkeley Logic Seminar

Natural Logic Welcome to the Course!

Logics for Natural Language Inference (expanded version of lecture notes from a course at ESSLLI 2010) Lawrence S. Moss November 2010

Natural Logic. Larry Moss, Indiana University EASLLC, /41

Proseminar on Semantic Theory Fall 2013 Ling 720 Propositional Logic: Syntax and Natural Deduction 1

ESSLLI 2007 COURSE READER. ESSLLI is the Annual Summer School of FoLLI, The Association for Logic, Language and Information

First Order Logic (FOL) 1 znj/dm2017

Extensions to the Logic of All x are y: Verbs, Relative Clauses, and Only

NATURAL LOGIC 报告人 : 徐超哲学系逻辑学逻辑前沿问题讨论班 / 56

Propositional Logic Not Enough

Grundlagenmodul Semantik All Exercises

Introduction to Metalogic

Proseminar on Semantic Theory Fall 2013 Ling 720 First Order (Predicate) Logic: Syntax and Natural Deduction 1

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

Description Logics. Foundations of Propositional Logic. franconi. Enrico Franconi

Propositional logic (revision) & semantic entailment. p. 1/34

First-Order Logic (FOL)

n Empty Set:, or { }, subset of all sets n Cardinality: V = {a, e, i, o, u}, so V = 5 n Subset: A B, all elements in A are in B

Classical First-Order Logic

INTRODUCTION TO LOGIC. Propositional Logic. Examples of syntactic claims

From Constructibility and Absoluteness to Computability and Domain Independence

CS 730/830: Intro AI. 3 handouts: slides, asst 6, asst 7. Wheeler Ruml (UNH) Lecture 12, CS / 16. Reasoning.

CS 730/730W/830: Intro AI

Inference in a Boolean Fragment

arxiv: v1 [cs.lo] 4 Aug 2008

First Order Logic (FOL)

INTRODUCTION TO NONMONOTONIC REASONING

The Lambek-Grishin calculus for unary connectives

Axiomatic set theory. Chapter Why axiomatic set theory?

Workshop on Inference from Text: Natural Logic

Logic, Sets, and Proofs

First-Degree Entailment

Classical Propositional Logic

CS156: The Calculus of Computation Zohar Manna Winter 2010

Logic. (Propositional Logic)

Decidability: Church-Turing Thesis

Knowledge based Agents

Propositional Logic: Review

Let s Give Up. Larry Moss. North American Summer School on Logic, Language, and Information June 25-29, Indiana University 1/31

Logics with Counting. Ian Pratt-Hartmann School of Computer Science University of Manchester Manchester M13 9PL, UK

Proseminar on Semantic Theory Fall 2013 Ling 720 The Proper Treatment of Quantification in Ordinary English, Part 1: The Fragment of English

Adding Some. Larry Moss. Nordic Logic School August 7-11, Indiana University 1/37

COMP9414: Artificial Intelligence Propositional Logic: Automated Reasoning

Propositional Logic: Models and Proofs

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

Introduction to Semantics. The Formalization of Meaning 1

Generalized Quantifiers Logical and Linguistic Aspects

03 Review of First-Order Logic

Classical First-Order Logic

Proseminar on Semantic Theory Fall 2010 Ling 720 The Basics of Plurals: Part 1 1 The Meaning of Plural NPs and the Nature of Predication Over Plurals

Formal Epistemology: Lecture Notes. Horacio Arló-Costa Carnegie Mellon University

Logic: Propositional Logic (Part I)

Cleo Condoravdi Palo Alto Research Center. University of Illinois at Urbana-Champaign June 30, 2010

Theorem. For every positive integer n, the sum of the positive integers from 1 to n is n(n+1)

CHAPTER 2 INTRODUCTION TO CLASSICAL PROPOSITIONAL LOGIC

Modal Logics. Most applications of modal logic require a refined version of basic modal logic.

COMP 182 Algorithmic Thinking. Proofs. Luay Nakhleh Computer Science Rice University

Description Logics. an introduction into its basic ideas

Logical Translations Jean Mark Gawron San Diego State University. 1 Introduction 2

cse541 LOGIC FOR COMPUTER SCIENCE

Logical Structures in Natural Language: First order Logic (FoL)

Why Knowledge Representation?

07 Equational Logic and Algebraic Reasoning

COMP219: Artificial Intelligence. Lecture 19: Logic for KR

Logical Inference. Artificial Intelligence. Topic 12. Reading: Russell and Norvig, Chapter 7, Section 5

Reasoning. Inference. Knowledge Representation 4/6/2018. User

COMP219: Artificial Intelligence. Lecture 19: Logic for KR

A syllogistic system for propositions with intermediate quantifiers

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

Opposition Inferences and Generalized Quantifiers 1

CS560 Knowledge Discovery and Management. CS560 - Lecture 3 1

7. Propositional Logic. Wolfram Burgard and Bernhard Nebel

Knowledge base (KB) = set of sentences in a formal language Declarative approach to building an agent (or other system):

Knowledge Representation. Propositional logic

This is logically equivalent to the conjunction of the positive assertion Minimal Arithmetic and Representability

Fuzzy Description Logics

Part I: Propositional Calculus

Automata, Logic and Games: Theory and Application

Deliberative Agents Knowledge Representation I. Deliberative Agents

Proseminar on Semantic Theory Fall 2010 Ling 720. The Basics of Plurals: Part 2 Distributivity and Indefinite Plurals

Language of Propositional Logic

Motivation. CS389L: Automated Logical Reasoning. Lecture 10: Overview of First-Order Theories. Signature and Axioms of First-Order Theory

SEMANTICS OF POSSESSIVE DETERMINERS STANLEY PETERS DAG WESTERSTÅHL

Resolution (14A) Young W. Lim 8/15/14

Modal Dependence Logic

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

Semantics and Generative Grammar. A Little Bit on Adverbs and Events

It rains now. (true) The followings are not propositions.

Announcements CompSci 102 Discrete Math for Computer Science

CM10196 Topic 2: Sets, Predicates, Boolean algebras

arxiv: v1 [cs.lo] 11 Oct 2011

1 Functions and Sets. 1.1 Sets and Subsets. Phil 450: The Limits of Logic Jeff Russell, Fall 2014

KLEENE LOGIC AND INFERENCE

Generalized Quantifiers and Definite Descriptions

Propositional Logic. Jason Filippou UMCP. ason Filippou UMCP) Propositional Logic / 38

Overview. Knowledge-Based Agents. Introduction. COMP219: Artificial Intelligence. Lecture 19: Logic for KR

Inquisitive semantics

Transcription:

Contexts for Quantification Valeria de Paiva Stanford April, 2011 Valeria de Paiva (Stanford) C4Q April, 2011 1 / 28

Natural logic: what we want Many thanks to Larry, Ulrik for slides! Program Show that significant parts of natural language inference can be carried out in easy, mathematically characterized logical systems. Whenever possible, to obtain complete axiomatizations, because the resulting logical systems are likely to be interesting. To work using all tools of fields like proof theory, (finite) model theory, algebraic logic, and complexity theory... Valeria de Paiva (Stanford) C4Q April, 2011 2 / 28

Introduction Logic is a cake that can be cut many ways. This work presents the logical system TIL (for textual inference logic), a formalization of the AI system Bridge developed in PARC. Valeria de Paiva (Stanford) C4Q April, 2011 3 / 28

Introduction Previous presentations of TIL described it as a stand alone system, synthetized from what is produced by the software. This is applied logic. Much work has gone and has still has to go into the process of creating these representations from sentences, but we will not worry about this process (or how to improve it) here. Want to see TIL now in the context of the work of van Benthem, Pratt-Hartmann and especially Moss, as an extension of traditional syllogistic logic. Valeria de Paiva (Stanford) C4Q April, 2011 4 / 28

Which logic? Bridge reads in a sentence s in English and produces a logical knowledge representation r for it. The collection of all representations forms the system TIL. TIL was meant to be kept as close as it was sensible to FOL (first-order logic) but from the start we knew that to model natural language sentences we wanted intensional concepts and contexts.. (cf. Preventing Existence, FOIS 01) Valeria de Paiva (Stanford) C4Q April, 2011 5 / 28

An Example: Three boys ate pizzas" Conceptual Structure: subconcept(boy-1,[list1]) subconcept(eat-3,[list2]) subconcept(pizza-5,[list3]) role(ob,eat-3,pizza-5) role(sb,eat-3,boy-1) role(cardinality-restriction,boy-1,3) role(cardinality-restriction,pizza-5,pl) Contextual Structure: context(t) instantiable(boy-1,t) instantiable(eat-3,t) instantiable(pizza-5,t) top-context(t) Valeria de Paiva (Stanford) C4Q April, 2011 6 / 28

TIL has concepts, contexts and roles... Instead of constants and variables like FOL, TIL has concepts and subconcepts. The concept boy-1 is a subconcept of one of the concepts in the list of concepts represented by the synsets in WordNet for boy. Similarly for the concepts pizza-5 and eat-3. Valeria de Paiva (Stanford) C4Q April, 2011 7 / 28

TIL has concepts, contexts and roles... Concepts in TIL are similar to Description Logic concepts. They are similar to predicates in FOL, but are not always unary predicates. Think of eat-3 above as a collection of eating events, in which other concepts in our domain participate. Have two kinds of concepts, primitive concepts extracted from an idealized version of WordNet and constructed concepts, which are always sub-concepts of some primitive concept. we assume that our concepts are as fine or as coarse as the sentences that we deal with require. Valeria de Paiva (Stanford) C4Q April, 2011 8 / 28

TIL has concepts, contexts and roles... Concepts are related to others via roles. Like role(ob,eat-3,pizza-5) role(sb,eat-3,boy-1) The name of the role in question (ob-ject, sb-subject, agent, patient, theme, etc...) will not matter for us here. Linguists are used to this event semantics. Yes, this is similar to description logics, but not exactly one. Deciding which roles will be used with which concepts is a major problem in computational linguistics. We bypass this problem by assuming that roles are assigned in a consistent, coherent and maximally informative way. Valeria de Paiva (Stanford) C4Q April, 2011 9 / 28

TIL has concepts, contexts and roles... One main difference is contexts and how we use them for e.g. negation. For example, for the sentence No boys hopped. Conceptual Structure: role(cardinality-restriction,boy-5,no) role(sb,hop-6,boy-5) subconcept(boy-5,[list1]) subconcept(hop-6,[list2]) Contextual Structure: context(ctx(hop-6)), context(t) context-lifting-relation(antiveridical,t,ctx(hop-6)) context-relation(t,ctx(hop-6),not-29) instantiable(boy-5,ctx(hop-6)) instantiable(hop-6,ctx(hop-6)) top-context(t) uninstantiable(hop-6,t) Valeria de Paiva (Stanford) C4Q April, 2011 10 / 28

TIL has concepts, contexts and roles... Contexts here are similar to the formal objects with the same name, discussed by J. McCarthy. Contexts are used to fence-off concepts and corresponding predicates. The same mechanism works for negation, disjunction and many intensional concepts, like know, believe, prevent, etc.. Instantiability and uninstantiability are used to deal with quantification and existential import. Valeria de Paiva (Stanford) C4Q April, 2011 11 / 28

Inference in TIL? Inference in TIL is very rudimentary. We can drop clauses like in most event semantics. From the sentence Ed walked and Mary talked we are able to infer both Ed walked and Mary talked by simply forgetting the respective clauses in the original representation. We can do trivial inferences like identity and we can compose derivations: s r r t s s s t Valeria de Paiva (Stanford) C4Q April, 2011 12 / 28

How does TIL deal with syllogisms?... As far as semantics is concerned, very much like Moss and MacCartney s systems Example: All boys are mammals Conceptual Structure: role(cardinality-restriction,boy-2,all(pl)) role(cardinality-restriction,mammal-4,pl) role(copula-pred,be-3,mammal-4) role(copula-subj,be-3,boy-2) subconcept(boy-2,[list1]) subconcept(mammal-4,[list2]) Contextual Structure: context(t) instantiable(be-3,t) instantiable(boy-2,t) instantiable(mammal-4,t) top-context(t) Valeria de Paiva (Stanford) C4Q April, 2011 13 / 28

Semantics Concepts are interpreted as subsets, so subconcept(boy-2,[list1]) means that the boys we re talking about are a subset of all the boys in the universe in the senses of the word boy in Wordnet. Similarly the eating concept in our sentence is a subset of the eating events in the universe. subconcept(eat-3,[list]) This is a bit non-intuitive for proper names, but we still use subsets and not individuals. This semantics agrees with Moss description. Valeria de Paiva (Stanford) C4Q April, 2011 14 / 28

Syllogistic Logic of All Thanks Larry! Syntax: Start with a collection of unary atoms (for nouns). The sentences are the expressions All p are q Semantics: A model M is a collection of sets M, and for each noun p we have an interpretation [[p]] M. Proof system: M = All p are q iff [[p]] [[q]] All p are p All p are n All n are q All p are q Valeria de Paiva (Stanford) C4Q April, 2011 15 / 28

TIL satisfies the rules for All All p are p All p are n All n are q All p are q Semantically just transitivity of subset containment. All boys are boys is odd, but not problematic... For TIL the transitive inference is simply climbing up the concept hierarchy. All boys are mammals All mammals are animals All boys are animals Valeria de Paiva (Stanford) C4Q April, 2011 16 / 28

Syllogistic Logic of Some The sentences are the expressions Some p are q Semantics: A model M is a collection of sets M, and for each noun p,q we have an interpretation [[p,q]] M. M = Some p are q iff [[p]] [[q]] Proof system: Some p are q Some q are p Some p are q Some p are p All q are n Some p are q Some p are n Valeria de Paiva (Stanford) C4Q April, 2011 17 / 28

TIL satisfies the rules for Some Some p are q Some q are p Some p are q Some p are p All q are n Some p are q Some p are n The semantics is the same as Moss, intersection of subsets. The inference relation between all and some is outsourced. Our poor man s inference system called Entailment and Contradiction Detection (ECD), has a table of relationships between cardinality-restrictions postulated. This is useful if you want to keep your logic options open, no need to decide if empty domains... Valeria de Paiva (Stanford) C4Q April, 2011 18 / 28

The languages S and S with noun-level negation If one adds complemented atoms on top of the language of All and Some, with interpretation via set complement: [[p]] = M \ [[p]], So if one has S All p are q Some p are q All p are q No p are q Some p are q Some p aren t q S Some non-p are non-q Things can get strange, as explained by Moss-Hartmann... Valeria de Paiva (Stanford) C4Q April, 2011 19 / 28

The logical system for S p + names The language S p is the language of All and Some, with no negation, p for positive syllogisms. All p are p Some p are q Some p are p Some p are q Some q are p All p are n All n are q All p are q All n are p Some n are q Some p are q J is J J is M M is F F is J J is a p J is a q Some p are q All p are q J is a p J is a q M is a p J is M J is a p Valeria de Paiva (Stanford) C4Q April, 2011 20 / 28

TIL satisfies S p + names This corresponds to sentences like Jon is Jon, Jon is Mary and Mary is Fred entails Fred is Jon, Jon is a man and Jon is a doctor entails Some men are doctors, All cats are mammals and Jon is a cat entails Jon is a mammal Mary is a cat and Jon is Mary entails Jon is a cat. Valeria de Paiva (Stanford) C4Q April, 2011 21 / 28

A picture stolen from Larry... F OL Church-Turing FO mon FO 2 2 variable FO logic Peano-Frege R adds full N-negation S S S R R p relational syllogistic S p Valeria de Paiva (Stanford) C4Q April, 2011 22 / 28

TIL is not about syllogisms or copula... Event semantics in general is about transitive, intransitive, ditransitive, etc. verbs. TIL should be able to deal with S p and R p and more... Noun negation should not present problems, (outsourced again) but sentential negation is dealt via contexts. Contexts look like the higher parts of the picture... Modal and hybrid logic! Valeria de Paiva (Stanford) C4Q April, 2011 23 / 28

Another picture stolen from Larry... F OL Church-Turing FO mon FO 2 K n 2 variable FO logic Peano-Frege R adds full N-negation S S S R R p relational syllogistic S p Valeria de Paiva (Stanford) C4Q April, 2011 24 / 28

Thinking Differently... Valeria de Paiva (Stanford) C4Q April, 2011 25 / 28

Avi-Francez 05 sequent system Γ,x: S x: S Γ,x: J is a p y : J is a q Γ λx.y : All p are q Γ z : All p are q y : J is a p Γ, zy: J is a q Γ x: J is p y : J is q Γ, x, y : Some p are q Γ m: Some p are q,x: J is a p,y: J is a q t: S Γ, let x, y = m in t: S Valeria de Paiva (Stanford) C4Q April, 2011 26 / 28

Conjectures TIL =? K n (R p ) Must show S maps into TIL properly Same for R What about S and R dagger? TIL maps into FOL (Crouch), but need to do better... Decidability? Monotonicity principles? Valeria de Paiva (Stanford) C4Q April, 2011 27 / 28

Conclusions TIL defined from representations, linguistic intuitions taken seriously. Attempts to fit it into the Cinderella shoe of traditional logic. Gains on the combination logic front, already. Work is only starting... Valeria de Paiva (Stanford) C4Q April, 2011 28 / 28