A proof theoretical account of polarity items and monotonic inference.

Similar documents
Surface Reasoning Lecture 2: Logic and Grammar

The Lambek-Grishin calculus for unary connectives

Scope Ambiguities through the Mirror

On relational interpretation of multi-modal categorial logics

Galois Connections in Categorial Type Logic

Continuations in Type Logical Grammar. Grafting Trees: (with Chris Barker, UCSD) NJPLS, 27 February Harvard University

Ling 98a: The Meaning of Negation (Week 5)

Grammatical resources: logic, structure and control

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

A Tableau System for Natural Logic and Natural Reasoning

Meeting a Modality? Restricted Permutation for the Lambek Calculus. Yde Venema

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

Monotonicity Calculus: What is for, and How it is Formulated

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

Categories, types, symmetries

Categorial Grammar. Larry Moss NASSLLI. Indiana University

Introduction to Semantics. The Formalization of Meaning 1

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

Monads as a Solution for Generalized Opacity

The Semantics of Definite DPs 1. b. Argument Position: (i) [ A politician ] arrived from Washington. (ii) Joe likes [ the politician ].

Logic. Readings: Coppock and Champollion textbook draft, Ch

Logica e Linguaggio. Raffaella Bernardi. March 22, University of Trento

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

Lambek Grammars as Combinatory Categorial Grammars

Semantics and Generative Grammar. The Semantics of Adjectival Modification 1. (1) Our Current Assumptions Regarding Adjectives and Common Ns

A Computational Approach to Minimalism

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

Introduction to Semantics. Common Nouns and Adjectives in Predicate Position 1

a. Develop a fragment of English that contains quantificational NPs. b. Develop a translation base from that fragment to Politics+λ

Natural Deduction for Propositional Logic

Semantics and Generative Grammar. Expanding Our Formalism, Part 1 1

Semantics and Pragmatics of NLP

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

First Order Logic: Syntax and Semantics

1 The standard quantifiers in FOL

Logic. proof and truth syntacs and semantics. Peter Antal

Bounded and Ordered Satisfiability: Connecting Recognition with Lambek-style Calculi to Classical Satisfiability Testing

Categorial Grammars and Substructural Logics

Lambek calculus is NP-complete

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

Propositional Logic Language

Logic: First Order Logic

Predicate Calculus. Formal Methods in Verification of Computer Systems Jeremy Johnson

Sharpening the empirical claims of generative syntax through formalization

First-Degree Entailment

564 Lecture 25 Nov. 23, Continuing note on presuppositional vs. nonpresuppositional dets.

REPRESENTATION THEOREMS FOR IMPLICATION STRUCTURES

Parsing with CFGs L445 / L545 / B659. Dept. of Linguistics, Indiana University Spring Parsing with CFGs. Direction of processing

Parsing with CFGs. Direction of processing. Top-down. Bottom-up. Left-corner parsing. Chart parsing CYK. Earley 1 / 46.

Model-Theory of Property Grammars with Features

Complexity of the Lambek Calculus and Its Fragments

1 Rules in a Feature Grammar

Syllogistic Logic and its Extensions

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

THE LANGUAGE OF FIRST-ORDER LOGIC (FOL) Sec2 Sec1(1-16)

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

Towards Abstract Categorial Grammars

Logical Methods in NLP

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

Relational Reasoning in Natural Language

Fully Lexicalized Pregroup Grammars

Categorial Grammar. Algebra, Proof Theory, Applications. References Categorial Grammar, G. Morrill, OUP, 2011.

Semantics and Generative Grammar. Pronouns and Variable Assignments 1. We ve seen that implicatures are crucially related to context.

Finite Presentations of Pregroups and the Identity Problem

Polarized Classical Non-associative Lambek Calculus and Formal Semantics

Generalized Quantifiers Logical and Linguistic Aspects

TR : Tableaux for the Logic of Proofs

Hybrid Type-Logical Grammars, First-Order Linear Logic and the Descriptive Inadequacy of Lambda Grammars

Logic: Propositional Logic (Part I)

Lecture 7. Logic. Section1: Statement Logic.

Proseminar on Semantic Theory Fall 2013 Ling 720 Proving the Soundness and Completeness of Propositional Logic: Some Highlights 1

The λ-calculus and Curry s Paradox Drew McDermott , revised

Description Logics. Deduction in Propositional Logic. franconi. Enrico Franconi

Parasitic Scope (Barker 2007) Semantics Seminar 11/10/08

CSCI 5582 Artificial Intelligence. Today 9/28. Knowledge Representation. Lecture 9

EXERCISE 10 SOLUTIONS

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

Propositional logic. Programming and Modal Logic

Chiastic Lambda-Calculi

Recent Progress on Monotonicity

Lecture Notes on From Rules to Propositions

Final Exam (100 points)

Basics of conversational implicatures

Propositional Logic: Logical Agents (Part I)

Rules of Inference. Lecture 1 Tuesday, September 24. Rosalie Iemhoff Utrecht University, The Netherlands

Propositional Logic and Semantics

MAI0203 Lecture 7: Inference and Predicate Calculus

Ling 130 Notes: Predicate Logic and Natural Deduction

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

A Review of the Essentials of Extensional Semantics 1

1 Classical scalar implicature

03 Review of First-Order Logic

Notes for the Logic Course 2010/2011

LC Graphs for the Lambek calculus with product

Natural Logic Welcome to the Course!

Algebraic Canonicity in Non-Classical Logics

Seminar in Semantics: Gradation & Modality Winter 2014

Reasoning with Polarity in Categorial Type Logic

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

Contexts for Quantification

Transcription:

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

Contents 1 Introduction.............................................. 3 2 Polarity Items............................................ 4 3 Monotonic Inferences...................................... 5 4 Monotonicity and Polarity.................................. 6 5 The Picture up to now..................................... 8 6 Natural Logic............................................. 9 7 Formalization............................................. 10 8 Natural Logic. An example................................. 12 9 Advantages and Disadvantages.............................. 13 10 Multimodal Lambek Calculus............................... 14 11 How it works............................................. 15 12 Polarity Items............................................ 17 13 Conclusion and Further research............................ 18 14 Monotonicity Calculus..................................... 19

1. Introduction Facts: Aim: In natural languages there exist phenomena depending on semantic motivations for grammaticality. A system employed as parser of linguistic strings must be able to take semantic information into consideration when working with such expressions. Polarity Items are an example of this class of phenomena: Their syntactic distribution depends on the semantic properties of their licensor. The semantic information used for parsing is relevant when reasoning on the parsed sentences as well. To build a system able to: 1. encode the required semantic information; 2. take advantage of this information while parsing, and 3. formalize natural reasoning inferences.

2. Polarity Items Definition: Polarity Items a. Positive Polarity Items (PPIs) are expressions licensed by monotone increasing functions. b. Negative Polarity Items (NPIs) are expressions licensed by monotone decreasing functions. Definition: Monotone Functions a. f is monotone increasing (not. Mon) iff x, y A, x A y implies f(x) B f(y). b. f is monotone decreasing (not. Mon) iff x, y A x A y implies f(y) B f(x). Linguistic Data Nobody left yet Everybody left something + ( ) Everybody left yet ( ) Nobody left something +

3. Monotonic Inferences Monotonicity is tied up to natural reasoning. Everybody (left something expensive) Everybody (left something) (A) Nobody (left yet) Nobody (left in a hurry yet) (B) A substitution of an expression with something more (A) or less (B) general could be done in any position in a sentence. If P Q N[P ] N[Q] (A) or N[Q] N[P ] (B) In order to know which pattern must be applied, we need to know the polarity of the position in which the expression occurs.

4. Monotonicity and Polarity In few words: Polarity Positions: Monotoncity vs. Polarity dynamic vs. static semantic vs. syntactic argument positions vs. all positions 1. First order logic: Lyndon defines polarity in terms of the number of negations surrounding a subformula; But FOL doesn t capture the compositional behaviour needed for formalizing natural language. We need typed lambda calculus. 2. Typed lambda calculus: van Benthem (1986) defines polarity in terms of functional application, i.e. number of monotone decreasing functions having scope on a subterm.

van Benthem (1990) proves that in lambda terms, polarity entails monotonicity. Let N, M, M Λ If N[M + ], then N is upward monotone in M, and If N[M ], then N is downward monotone in M. Schematically, given [M ] [M ], then If N[M + ], then [N[M]] [N[M ]], If N[M ], then [N[M ]] [N[M]] If N[X + ], then λx.n[x] denotes an Mon function. If N[X ], then λx.n[x] denotes an Mon function.

5. The Picture up to now A system able to (1) encode monotonicity markers, (2) compute polarity positions, and (3) use this information during parsing and inference can account for linguistic phenomena depending on monotonic semantic properties for grammaticality and formalize (a fragment of) natural reasoning. Curry-Howard Correspondence: Proofs can be interpreted as lambda terms; Polarity position in the proofs can correspond to polarity position in the lambda terms. Therefore Polarity position in the proofs can correspond to monotonic position in the lamda terms. Hence, Inference can be drawn from (syntatic) structures.

6. Natural Logic van Benthem (1986), Sánchez (1991) Aim: To give a proof theoretic formalization of natural reasoning drawing inferences from parsed linguistic expressions, viz. (1), (2) and part of (3). Method: Enriching the logical types of the Lambek calculus (LP) with monotonicity markers and defining monotonicity and polarity algorithms which takes an LP derivation and compute the polarity of each of its nodes. Monotonic Rules Given a derivation of M : C. Let N be a sub-term of M corresponding to the substructure Γ in and M a term such that [M ] A [M ], and let Γ 2 be a structure corresponding to M, then [Γ + 1 ] C [Γ + 2 ] C (Mon ) and [Γ 2 ] C [Γ 1 ] C (Mon )

7. Formalization van Benthem (1986), Sánchez algorithm (1991) define marking algorithms to derive monotonic substitution from parsed sentences. Lexicon not λx t. X Mon s/s wanders λx e.w(x) Mon np + \s every λx (e,t).y (e,t),t z(x(z) Y (z)) Mon (s/(np\s) + )/n Monotonicity algorithm B/A x Γ A Γ B [/E] rewrites to B/A x + Γ B Γ A x [/E]

[A A]. A B B/A [/I] rewrites to [A A]. A B + B/A y [/I] where y = + (y = ) if the number of in the derivation is even (odd). Polarity algorithm For the nodes in a derivation labelled with monotonicity markers polarity is defined as follows: the node is if all nodes in the path from the node to the root are marked and if the number of nodes marked with in this path is odd; the node is + if all nodes in the path from the node to the root are marked and if the number of nodes marked with in this path is even.

8. Natural Logic. An example What can we derive from: Not every logician wanders? Monotonicity markers Polarity markers (s/(np\s) + )/n + n (s/(np\s))/n n + s/(np\s) + + np\s + s/(np\s) np\s s/s + s s/s + s s s + Summing up, the parsed string will be polarity marked as: (not + ((every good logician + ) wanders ) ) + s (not + ((every logician + ) wanders ) ) + s

9. Advantages and Disadvantages Advantages: The polarity marking algorithm is sound. By interpreting proofs as lambda terms (1) marked functional nodes will correctly correspond to monotonic functions; and (2) polarity markers will correctly correspond to polarity positions in lambda terms. Disadvantages: The marking algorithms are external to the parser. Hence, polarity markers do not play an active role in the parsing and cannot be used to account for PIs. Our proposal We can use the logical unary operators of Multimodal Lambek Calculus (NL( )) to carry the markers, and structural unary operators to record their effect.

10. Multimodal Lambek Calculus Michael Moortgat (1997) extends the logic language of the Lambek calculus with unary operators (, ). Language: Logical Language: Given a set of basic categories ATOM, the set of categories CAT is the smallest set such that built over \, / and s and s, where s {+, }. FORM := ATOM FORM/FORM FORM FORM FORM FORM. Structural Language: The set of structures STRUCT is built over the set of logic categories, by means of, and s. STRUCT := FORM STRUCT STRUCT + STRUCT STRUCT Kripke Models, Gentzent Sequent Calculus

11. How it works Monotonicity and polarity are displayed as follows: To express that: A structure has polarity s A function is s-monotone An item must have an s polarity type s B/ s A s A Lexical items are initially marked A. from the logic type to the structure: The polarity information is passed A A A + A [ E] This encodes the basic case of the definition of polarity in lambda terms, viz. M is positive in M.

Application of a monotone function implies the propagation of the marker from the function to the argument: B s s B [ s I] Γ s B\A s Γ A [\E] A negative polarity item (NPI) is marked so that it requires to be the argument of a downward monotonic function, A/ B ( B\A). Roughly, a structure contaning a NPI having wide scope in it, is proved to be of type A. NPI A NPI A [ E] The polarity is computed on-demand by means of the polarity structural rules.

12. Polarity Items nobody (s/ vp) nobody + s/ vp [ E]. left + vp nobody + left + yet + s nobody + ( left + yet + ) s [Pol ] yet ( vp\ vp) yet + vp\ vp [ E] left + yet + [\E] vp left + yet + vp [ E] [/E] nobody + ( left yet ) s nobody + ( left in a hurry yet ) s Every student left yet s? No proof is given. Every student (s/ vp) Every student + s/ vp

13. Conclusion and Further research We have shown that NL( ) with [Pol s ] and [Pol us ] (1) encode monotoncity markers; (2) compute polarity positions, and (3) take advantage of this information whenever needed. Questions: Parsing and reasoning. In NL( ) parsing and reasoning are not integrated. How can the two levels interact? Some PIs can be licensed by the meaning conveyed by the sentence they occur in. Can an integrated system account for such PIs?

14. Monotonicity Calculus 1. Daniel did not say that Chloe had done anything 2. Daniel doubted Chloe had done anything. 3. *Daniel did not doubt anything happened. anything happened s anything happened s [ E] [y s] 2. didn t + iv/ iv. doubt + x iv didn t + ( doubt + x + [/E] ) iv didn t + ( doubt + x ) iv [Pol ] didn t + ( doubt + x + [Pol ] ) iv ( didn t + doubt + ) x + iv [Ass] ( didn t + doubt + [ E] 1 ) y iv didn t + doubt + iv/ s [/I]2