Handout #7 Predicate Logic Trees

Similar documents
Predicate Logic. Andreas Klappenecker

PL: Truth Trees. Handout Truth Trees: The Setup

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

2-4: The Use of Quantifiers

2. Use quantifiers to express the associative law for multiplication of real numbers.

3. The Logic of Quantified Statements Summary. Aaron Tan August 2017

PHIL012. SYMBOLIC LOGIC PREDICATE LOGIC DERIVATIONS. Predicate Derivations: Four Quantifier Rules

Introduction to Sets and Logic (MATH 1190)

Exercises 1 - Solutions

Discrete Mathematics

Resolution: Motivation

Formal Logic: Quantifiers, Predicates, and Validity. CS 130 Discrete Structures

Propositional Functions. Quantifiers. Assignment of values. Existential Quantification of P(x) Universal Quantification of P(x)

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

Errata for Symbolic Logic: Syntax, Semantics and Proof (2013) by David W. Agler. Last Updated: 4/30/2014

Logic and Modelling. Introduction to Predicate Logic. Jörg Endrullis. VU University Amsterdam

Denote John by j and Smith by s, is a bachelor by predicate letter B. The statements (1) and (2) may be written as B(j) and B(s).

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

ICS141: Discrete Mathematics for Computer Science I

Predicate Logic - Semantic Tableau

Predicate Logic. CSE 191, Class Note 02: Predicate Logic Computer Sci & Eng Dept SUNY Buffalo

Logic and Propositional Calculus

Predicate Logic: Sematics Part 1

Transparencies to accompany Rosen, Discrete Mathematics and Its Applications Section 1.3. Section 1.3 Predicates and Quantifiers

Introduction to Predicate Logic Part 1. Professor Anita Wasilewska Lecture Notes (1)

Mat 243 Exam 1 Review

Mathematical Logic. Reasoning in First Order Logic. Chiara Ghidini. FBK-IRST, Trento, Italy

Proposi'onal Logic Not Enough

4 Quantifiers and Quantified Arguments 4.1 Quantifiers

CPPE TURN OVER

Completeness for FOL

First-Order Logic (FOL)

Review for Midterm 1. Andreas Klappenecker

CSCE 222 Discrete Structures for Computing. Review for Exam 1. Dr. Hyunyoung Lee !!!

Discrete Mathematics & Mathematical Reasoning Predicates, Quantifiers and Proof Techniques

Predicate Calculus lecture 1

First-Order Logic. Chapter Overview Syntax

Part I: Propositional Calculus

MAT2345 Discrete Math

Propositional Logic Not Enough

! Predicates! Variables! Quantifiers. ! Universal Quantifier! Existential Quantifier. ! Negating Quantifiers. ! De Morgan s Laws for Quantifiers

Phil 2B03 (McMaster University Final Examination) Page 1 of 4

Section Summary. Section 1.5 9/9/2014

Logical Operators. Conjunction Disjunction Negation Exclusive Or Implication Biconditional

Review. Propositional Logic. Propositions atomic and compound. Operators: negation, and, or, xor, implies, biconditional.

PREDICATE LOGIC. Schaum's outline chapter 4 Rosen chapter 1. September 11, ioc.pdf

Philosophy 240 Symbolic Logic Russell Marcus Hamilton College Fall 2014

2/2/2018. CS 103 Discrete Structures. Chapter 1. Propositional Logic. Chapter 1.1. Propositional Logic

Overview. CS389L: Automated Logical Reasoning. Lecture 7: Validity Proofs and Properties of FOL. Motivation for semantic argument method

Propositional Logic: Review

1.3 Propositional Equivalences

Class 29 - November 3 Semantics for Predicate Logic

Lifted Inference: Exact Search Based Algorithms

Discrete Mathematics and Its Applications

Math Fundamentals of Higher Math

Logic as a Tool Chapter 4: Deductive Reasoning in First-Order Logic 4.4 Prenex normal form. Skolemization. Clausal form.

Automated Reasoning Lecture 5: First-Order Logic

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

Mathematical Logics. 12. Soundness and Completeness of tableaux reasoning in first order logic. Luciano Serafini

Logic. Logic is a discipline that studies the principles and methods used in correct reasoning. It includes:

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

Propositional Logic. Premises: If Jack knows Jill, then Jill knows Jack. Jack knows Jill. Conclusion: Is it the case that Jill knows Jack?

Symbolising Quantified Arguments

AAA615: Formal Methods. Lecture 2 First-Order Logic


First-Order Predicate Logic. Basics

Computational Logic. Recall of First-Order Logic. Damiano Zanardini

CSC Discrete Math I, Spring Propositional Logic

Exercises for the Logic Course

Interpretations of PL (Model Theory)

CHAPTER 10. Predicate Automated Proof Systems

Discrete Mathematics Logics and Proofs. Liangfeng Zhang School of Information Science and Technology ShanghaiTech University

Equivalence of Propositions

Predicate Logic. Example. Statements in Predicate Logic. Some statements cannot be expressed in propositional logic, such as: Predicate Logic

Full file at Chapter 1

Logic and Propositional Calculus

software design & management Gachon University Chulyun Kim

Boolean Algebra and Proof. Notes. Proving Propositions. Propositional Equivalences. Notes. Notes. Notes. Notes. March 5, 2012

Incomplete version for students of easllc2012 only. 6.6 The Model Existence Game 99

Logic (3A) Young W. Lim 12/5/13

Formal (Natural) Deduction for Predicate Calculus

Deduction by Daniel Bonevac. Chapter 3 Truth Trees

Lecture Predicates and Quantifiers 1.5 Nested Quantifiers

Introduction to Decision Sciences Lecture 2

CS1021. Why logic? Logic about inference or argument. Start from assumptions or axioms. Make deductions according to rules of reasoning.

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

1 Introduction to Predicate Resolution

Quantifiers Here is a (true) statement about real numbers: Every real number is either rational or irrational.

Predicate Logic Thursday, January 17, 2013 Chittu Tripathy Lecture 04

Recall that the expression x > 3 is not a proposition. Why?

I thank the author of the examination paper on which sample paper is based. VH

15414/614 Optional Lecture 3: Predicate Logic

Topic DPL: Answers. Exercise 1.1a Explain why the rule &E for MPL is a sound rule.

CS156: The Calculus of Computation Zohar Manna Winter 2010

COMP9414: Artificial Intelligence First-Order Logic

Logic and Proof. On my first day of school my parents dropped me off at the wrong nursery. There I was...surrounded by trees and bushes!

Solutions to Sample Problems for Midterm

First order logic. Example The deduction of statements: This reasoning is intuitively correct. Every man is mortal. Since Ade is a man, he is mortal.

On my first day of school my parents dropped me off at the wrong nursery. There I was...surrounded by trees and bushes! 26-Aug-2011 MA

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

Transcription:

Handout #7 Predicate Logic Trees Predicate trees: Decomposition Rules Negated Existential Decomposition ( D) ( x)p ( x) P Existential Decomposition ( D) ( x)p P(a/x) where a is an individual constant (name) that does not previously occur in the branch Negated Universal Decomposition ( D) ( x)p ( x) P Universal Decomposition ( D) ( x)p P(a/x) where a is any individual constant (name) Example #1 Example #2 Example #3 1 ( x)px P 2 ( y)ryy P 3 ( x) Px 1 D 4 ( y) Ryy 2 D 1 ( x)px P 2 ( y)ryy P 3 ( x) Px 1 D 4 ( y) Ryy 2 D 5 Pa 3 D 6 Raa 4 D 7 Rbb 4 D 1 ( x)px P 2 ( x)qx P 3 Pa 1 D 4 Qa 2 D NO! Predicate Trees: Strategies & Terminology 1

In PL, a completed open branch is defined as a fully decomposed branch that is not closed. For trees in RL, a new definition is required since it branches involving universally quantified propositions cannot be fully decomposed. Completed Open Branch A branch is a completed open branch if and only if (1) all complex propositions that can be fully decomposed are decomposed, (2) for all universally quantified propositions ( x)p occurring in the branch, there is a substitution instance P(a/x) for each constant in that branch, and (3) the branch is not a closed branch. Example #1 1 Pa P 2 Rb P 3 Lcc P 4 ( x)px P 5 Pa 4 D 6 Pb 4 D 7 Pc 4 D 0 At line 4, it is important to note clause (2) of the definition of a completed open branch. What this says is that for all universally quantified propositions ( x)p occurring in the branch, there is a subtitution instance P(a/x) for each constant in that branch. Note that there are three constants / names in the above branch containing ( x)px (a b, and c), thus, ( x)px should be decomposed (using D) using each of these as substitution instances. Example #2 1 ( x)px P 2 ( x) Px P 3 Pa 2 D 4 Pb 1 D 0 NO! In the above example, the universally quantified proposition at line (2) is not decomposed for each constant in the branch. Strategic Rules for Decomposing Predicate Truth-Trees 1 Use no more rules than needed. 2 Decompose negated quantified expressions and existentially quantified expressions first. 3 Use rules that close branches. 4 Use stacking rules before branching rules. 5 When decomposing universally quantified propositions, it is a good idea to use constants that already occur in the branch. 6 Decompose more complex propositions before simpler propositions. 2

Practice 1. ( x)(px Rx), Pa, Rb 2. ( x) (Px Rx), ( y) (Py Ry), ( z)(pz Rz) 3. ( x)px ( z)pz, ( x) Px 4. ( x) Mx, ( x)px, Pa ( x)mx 5. Laa, ( x)( y)zxy, ( x)( y) Zxy 6.* ( x)( y)(pxy Lxy), ( x)( y)pxy ( x)( y)lxy Predicate Truth Trees: Analysis Truth trees can be used to determine various semantic properties about propositions, sets of propositions, and arguments. Using truth trees to do this requires that you (i) set up the tree in a specific way to test for a specific property (you can t just stack the propositions in every instance), (ii) know how a closed (or completed open) tree indicates a specific semantic property. Luckily, trees are setup and analyzed exactly how they are in propositional logic, e.g. an argument P, Q,, Y Z is valid in RL if and only if it is impossible for the premises to be true and the conclusion false. A truth tree shows that an argument P, Q,, Y Z is valid in RL if and only if P, Q, R,, Y, Z determines a closed tree. Practice Contingency, Tautology, Contradiction 1. ( x)(px Rx) ( x)( Px Wx) 2. ( x)( y)pxy ( x)pxx 3. ( x)( y) ( z)(sxyz Sxxx) Consistency 1. ( x) Paxx, ( x)( y)paxy 2. ( x)pxx ( x)pxx, ( x) ( y)pyx 3. ( x) (Px Mx), ( x) (Px Mx), ( y)(py Zy) ( x)(mx Px) Validity 1. ( x)( y)(mx Ry) ( y)( z)(my Rz) 2. ( x)( z)lxz, ( x)( z)lxz ( z)mxx ( z) Mzz 3.* ( z)(lzz Mzz), ( z) (Lzz Mzz) ( x)pxx ( w) Pww ( z)mzz 3

Answer to #3: Start by Setting up the Tree with a negated conclusion Next, decompose line (3) since it stacks! 1 ( z)(lzz Mzz) P 2 ( z) (Lzz Mzz) ( x)pxx P 3 [ ( w) Pww ( z)mzz] P 1 ( z)(lzz Mzz), P 2 ( z) (Lzz Mzz) ( x)pxx P 4 ( w) Pww 3 D 5 ( z)mzz 3 D Next, let s clean up the propositions in the tree using D and negated quantifier decomposition rules. 1 ( z)(lzz Mzz) P 2 ( z) (Lzz Mzz) ( x)pxx P We have a lot of universally quantified propositions (6), (7), and (8). Let s hold off on decomposing these and decompose line (2) first, which is a conditional. 1 ( z)(lzz Mzz) P 9 ( z) (Lzz Mzz) ( x)pxx 2 D Let s work on the simpler branch first. This is the right branch. We will start with decomposing the existentially quantified proposition at line (9). Remember: do your existentials before you go universal! 4

1 ( z)(lzz Mzz) P 9 ( z) (Lzz Mzz) ( x)pxx 2 D 10 Paa 9 D With Paa at line (10), we can close the right branch if we decompose line (7) and replace the bound w s with a s. 1 ( z)(lzz Mzz) P 9 ( z) (Lzz Mzz) ( x)pxx 2 D 10 Paa 9 D 11 Pww X Next, let s turn to the left branch. Notice, however, that line (9) and line (6) are literal negations of each other. Thus, that branch closes too! 5

1 ( z)(lzz Mzz) P 9 ( z) (Lzz Mzz) ( x)pxx 2 D 10 X Paa 9 D 11 Pww X Viola! We re done. What we have then is a tree where all of the branches are closed, ergo a closed tree. And what does a closed tree tell us about the argument we are teaching for? It s valid! 6