Mathematics for linguists

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

Propositional Logic Language

Overview. I Review of natural deduction. I Soundness and completeness. I Semantics of propositional formulas. I Soundness proof. I Completeness proof.

Chapter 11: Automated Proof Systems (1)

CSC Discrete Math I, Spring Propositional Logic

Advanced Topics in LP and FP

Natural Deduction for Propositional Logic

Natural Deduction. Formal Methods in Verification of Computer Systems Jeremy Johnson

2. The Logic of Compound Statements Summary. Aaron Tan August 2017

Logic: Propositional Logic (Part I)

Deduction by Daniel Bonevac. Chapter 3 Truth Trees

MAI0203 Lecture 7: Inference and Predicate Calculus

CHAPTER 10. Gentzen Style Proof Systems for Classical Logic

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

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

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

LOGIC PROPOSITIONAL REASONING

Intelligent Agents. First Order Logic. Ute Schmid. Cognitive Systems, Applied Computer Science, Bamberg University. last change: 19.

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

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

Chapter 11: Automated Proof Systems

Learning Goals of CS245 Logic and Computation

Propositional Logic Sequent Calculus

22c:145 Artificial Intelligence

Lecture 2. Logic Compound Statements Conditional Statements Valid & Invalid Arguments Digital Logic Circuits. Reading (Epp s textbook)

CSE 20: Discrete Mathematics

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

3 The Semantics of the Propositional Calculus

02 Propositional Logic

2.2: Logical Equivalence: The Laws of Logic

Proofs. Joe Patten August 10, 2018

Warm-Up Problem. Is the following true or false? 1/35

Přednáška 12. Důkazové kalkuly Kalkul Hilbertova typu. 11/29/2006 Hilbertův kalkul 1

Inference in Propositional Logic

15414/614 Optional Lecture 1: Propositional Logic

What is Logic? Introduction to Logic. Simple Statements. Which one is statement?

Intermediate Logic. Natural Deduction for TFL

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

Part Two: The Basic Components of the SOFL Specification Language

Propositional Calculus: Formula Simplification, Essential Laws, Normal Forms

Propositional Logic Arguments (5A) Young W. Lim 10/11/16

Saturation up to Redundancy for Tableau and Sequent Calculi

Propositional and Predicate Logic - V

Deductive Systems. Lecture - 3

Lecture Notes on Sequent Calculus

Propositional Logic: Deductive Proof & Natural Deduction Part 1

Introduction to Intuitionistic Logic

Propositions and Proofs

Foundations of Artificial Intelligence

Foundations of Artificial Intelligence

Propositional natural deduction

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

Logic for Computer Science - Week 5 Natural Deduction

Propositional Logic: Review

PHIL12A Section answers, 16 February 2011

Kamila BENDOVÁ INTERPOLATION AND THREE-VALUED LOGICS

Propositional logic. Programming and Modal Logic

Foundations of Artificial Intelligence

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

Two sources of explosion

Logic for Computer Science - Week 4 Natural Deduction

Natural Deduction is a method for deriving the conclusion of valid arguments expressed in the symbolism of propositional logic.

On the Craig interpolation and the fixed point

Propositional Logic Arguments (5A) Young W. Lim 11/8/16

Semantics and Pragmatics of NLP

Conjunction: p q is true if both p, q are true, and false if at least one of p, q is false. The truth table for conjunction is as follows.

The semantics of propositional logic

COMP219: Artificial Intelligence. Lecture 19: Logic for KR

Outline. Overview. Syntax Semantics. Introduction Hilbert Calculus Natural Deduction. 1 Introduction. 2 Language: Syntax and Semantics

Propositional Logic Arguments (5A) Young W. Lim 11/30/16

COMP219: Artificial Intelligence. Lecture 19: Logic for KR

7. Propositional Logic. Wolfram Burgard and Bernhard Nebel

ECE473 Lecture 15: Propositional Logic

Supplementary Logic Notes CSE 321 Winter 2009

Section 1.2: Propositional Logic

Language of Propositional Logic

Propositional Logic: Models and Proofs

1 Propositional Logic

Artificial Intelligence. Propositional logic

Artificial Intelligence Knowledge Representation I

COMP219: Artificial Intelligence. Lecture 20: Propositional Reasoning

PHIL12A Section answers, 28 Feb 2011

A brief introduction to Logic. (slides from

PL: Truth Trees. Handout Truth Trees: The Setup

KLEENE LOGIC AND INFERENCE

Logic Part II: Intuitionistic Logic and Natural Deduction

Propositional Logic: Evaluating the Formulas

Type Systems. Lecture 9: Classical Logic. Neel Krishnaswami University of Cambridge

Classical Propositional Logic

Symbolic Logic 3. For an inference to be deductively valid it is impossible for the conclusion to be false if the premises are true.

COMP9414: Artificial Intelligence Propositional Logic: Automated Reasoning

Mathematical Reasoning (Part I) 1

Propositional Logic: Methods of Proof. Chapter 7, Part II

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

Compound Propositions

Logic. Part I: Propositional Logic. Max Schäfer. Formosan Summer School on Logic, Language, and Computation 2010

3 Propositional Logic

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

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

Supplementary exercises in propositional logic

Transcription:

Mathematics for linguists WS 2009/2010 University of Tübingen January 7, 2010 Gerhard Jäger Mathematics for linguists p. 1

Inferences and truth trees Inferences (with a finite set of premises; from now on we tacitly assume that premise sets are finite) can always be tranformed into tautologies using the deduction theorem Inferences can also directly be proved using truth trees though: premises are assumed to be true conclusion is assumed to be false Mathematics for linguists p. 2

Inferences and truth trees to prove the inference start your truth tree with ϕ 1,...,ϕ n ψ, ϕ 1. ϕ n ψ Mathematics for linguists p. 3

Inferences and truth trees Theorem 6 Let ϕ 1,...,ϕ n be formulas of statement logic. ψ follows logically from the premises ϕ 1,...,ϕ n if every branch of a truth tree which starts with ϕ 1,...,ϕ n and ψ and only uses the known rules, can be closed with an x because every formula occurs in it both in negated and non-negated form. Mathematics for linguists p. 4

Example 1. p q (A) 2. q (A) 3. p (A) p q, q p 4. p (1) x (3, 4) 5. q (1) x (2, 5) Mathematics for linguists p. 5

Example Inference p q,p r, r p q there is more than one way to prove this Mathematics for linguists p. 6

Example 1. p q (A) 2. p r (A) 3. r (A) 4. (p q) (A) 5. p (2) 6. r (2) x (2, 6) 7. p (1) x (5, 7) 8. q (1) 9. p (4) x (5, 9) 10. q (4) x (8, 10) Mathematics for linguists p. 7

Example 1. p q (A) 2. p r (A) 3. r (A) 4. (p q) (A) 5. p (1) 6. q (1) 7. p (2) x (5, 7) 8. r (2) x (3, 8) 9. p (2) 10. r (2) x (3, 10) 11. p (4) x (9, 11) 12. q (4) x (6, 12) Mathematics for linguists p. 8

Natural deduction: motivation proving theorems via truth trees is sometimes tedious intuitive content of the operators of statement logic is not directly transparent for instance, some inferences are obvious from this intutive content: ϕ,ψ ϕ ψ ϕ,ϕ ψ ϕ ψ,ψ ϕ ϕ ψ ϕ ψ ϕ ψ. Mathematics for linguists p. 9

Natural deduction: motivation meta-logical properties of the inference relation cannot be used identity: ϕ ϕ cut: monotonicity: M ϕ N,ϕ ξ M,N ξ M ϕ M,ψ ϕ Mathematics for linguists p. 10

Natural deduction: motivation Calculus of natural deduction: syntactic calculus: only the syntactic form of the formula matters (so the calculus of truth trees is also syntactic, despite its name) two central issues for each operator O: When is is possible to use O in the conclusion of an inference? (introduction rule) What can I do with a premise that contains O as main functor? (elimination rule) Mathematics for linguists p. 11

Natural deduction: motivation Examples for introduction rules: M ϕ M ψ M ϕ ψ M,ϕ ψ M ϕ ψ Examples for elimination rules M ϕ ψ M ϕ M ϕ ψ M ϕ M ψ Mathematics for linguists p. 12

Calculus of natural deduction Notation: we use (rather than ) for syntactically derived inferences Terminology: syntactically proven formulas are called theorems (which is the counterpart to the semantic notion of a tautology) If the conclusion ϕ can be syntactically derived from the premises M, then ϕ is derivable from M (counterpart to the semantic notion follows logically ) Mathematics for linguists p. 13

Natural deduction basic structure of a proof (in the calculus of natural deduction): premises intermediate steps. intermediate steps conclusion Mathematics for linguists p. 14

Natural deduction intermediate steps are formulas that can be derived from preceding lines (within the same box or within including boxes) by applying an introduction rule or an elimination rule, or complete proofs (i.e. boxes) copies of preceding lines Mathematics for linguists p. 15

Accessibility good: Every line in a proof is included by a set of boxes. Relative to a certain line n, another line m is accessible if m precedes n, and all boxes that include m also include n...... m...... n... bad:...... n... m... Mathematics for linguists p. 16

Natural deduction Rules: for every operator of statement logic, there are one or two introduction rules and one or two elimination rules Notation: at least one formula or box above the horizontal line one formula below the horizontal line name of the rule is written next to the line Mathematics for linguists p. 17

Natural deduction Rule application: if all formulas/boxes over the line occur in a proof and are accessible, then the formula below the line may be added to the proof formulas in a proof are numbered the numbers of the used premises are written behind the new formula Mathematics for linguists p. 18

Natural deduction: rules Negation ϕ. ψ ψ ϕ I ϕ E ϕ Mathematics for linguists p. 19

Natural deduction: rules Conjunction ϕ ψ ϕ ψ I ϕ ψ E1 ϕ ϕ ψ E2 ψ Mathematics for linguists p. 20

Natural deduction: rules Disjunction ϕ ϕ ψ I1 ϕ ψ ϕ I2 ϕ ψ ϕ ψ. ξ ξ. ξ E Mathematics for linguists p. 21

Natural deduction: rules Implication ϕ. ψ ϕ ψ I ϕ ψ ϕ ψ E Mathematics for linguists p. 22

Natural deduction: rules Equivalence ϕ ψ. ψ ϕ ψ. ϕ I ϕ ψ ϕ ψ E, 1 ϕ ψ ψ ϕ E, 2 Mathematics for linguists p. 23

Natural deduction Definition 7 If it is possible to construct a proof of the form according to the rules of natural deduction, then ψ is derivable from ϕ 1,...,ϕ n, i.e. ϕ 1. ϕ n. ψ ϕ 1,...,ϕ n ψ Mathematics for linguists p. 24

Natural deduction Theorem 8 (Soundness and completeness) M ϕ if and only if M ϕ Mathematics for linguists p. 25

Examples: de Morgan s Laws (1) 1. (p q) (A) 2. ( p q) (A) 3. p (A) 4. p q I1; 3 5. p I; 3, 4, 2 6. q (A) 7. p q I2; 6 8. q I; 6, 7, 2 9.p E; 5 10.q E; 8 11.p q I; 9, 10 12. ( p q) I; 2, 11, 1 13. p q E; 12 (p q) p q Mathematics for linguists p. 26

Examples: de Morgan s Laws (2) 1. p q (A) 2.p q (A) 3.p I1; 2 4.q I2; 2 5. p (A) 6. p (6) 7. q (A) p q (p q) 8.p (A) 9.p 8 10. p I; 8, 4, 7 11. p E; 1, 5, 6, 7, 9 12. (p q) I; 2, 3, 11 Mathematics for linguists p. 27

Examples: de Morgan s Laws (3) 1. (p q) (A) 2.p (A) 3.p q I1; 2 4. p I; 2, 1, 3 5.q (A) 6.p q I2; 5 7. q I; 5, 1, 6 8. p q I; 4, 7 (p q) p q Mathematics for linguists p. 28

Examples: de Morgan s Laws (4) 1. p q (A) 2. p I1; 1 3. q I2; 1 4.p q (A) 5.p (A) 6.p 5 7.q (A) p q (p q) 8. p 9. p 8 (A) 10. p I; 8, 3, 7 11.p E; 10 12.p E; 4, 5, 6, 7, 11 13. (p q) I; 4, 2, 12 Mathematics for linguists p. 29

Lemmas Cut rule: M ϕ M,N ξ N,ϕ ξ if a derivation has been proved once, it can be re-used massively simplifies work Mathematics for linguists p. 30

Ex falsum quod libet 1.ϕ (A) 2. ϕ (A) 3. ψ (A) 4. ψ I; 3, 1, 2 5.ψ E; 4 ϕ, ϕ ψ this inference, once proved, can be used as a new rule if, at some stage in a proof, both and ϕ are accessible (for any formula ϕ), any other formula may be added Mathematics for linguists p. 31