2.4.5 Metatheorems about Deductions

Size: px
Start display at page:

Download "2.4.5 Metatheorems about Deductions"

Transcription

1 96 CHAPTER 2. FIRST-ORDER LOGIC Metatheorems about Deductions We have been using the word theorem in two di erent ways. When ` we say that is a theorem of. We have also stated and proven theorems in English about deductions in afirst-orderlanguage. TheseEnglishtheoremsareoftencalledmetatheorems to emphasize that they are statements in English about deductions and first-order logic. How to show that a deduction exists without actually giving one? Answer: One must first prove metatheorems about deductions. Induction on Deductions Let be a set of w s. Since there is a procedure for building all the theorems of by first starting with the formulas in [ and then, applying modus ponens, we have the following induction principle. Induction Principle: Let S be a set of w s such that 1. [ S 2. for all w s and,if 2 S and (! ) 2 S, then 2 S. Then S contains the all the theorems of. Proof Strategy: Let Stmt(') beastatementaboutaw '. Inordertoproveanassertion for all w s ', if ` ', thenstmt(') by induction, use the following diagram: Base Step: Prove Stmt( )forallformulas 2 [. Inductive Step: Let and be w s. Assume Stmt( ) and Stmt(! ). Prove Stmt( ). Remark. The proof strategy, follows from the above induction principle applied to the set S = {' is a w : Stmt(')}. WenowapplythisstrategywhereStmt(') is `8x'. Theorem (Generalization Theorem). Suppose that x does not occur free in any formula in. For all w s ', if ` ', then `8x'. Proof. Assume that x does not occur free in any formula in. We shall prove, using the induction principle, the following: For all w s ', if ` ', then `8x'. Base Step: Let be in [. If 2, then x does not occur free in.thus,(!8x ) is in axiom group 4 of the Logical Axioms Since ` and ` (!8x ), we conclude (by modus ponens) that `8x. If 2, then is a logical axiom. Thus, the generalization 8x is also a logical axiom. Therefore, `8x. Inductive Step: Let and be w s. Assume the induction hypothesis `8x and `8x(! ). (IH) We must prove that `8x. Note that 8x(! )! (8x!8x )isinaxiomgroup3 of the Logical Axioms By (IH) we have that `8x(! )and `8x. Thus, by applying modus ponens twice, we have that `8x. Thiscompletestheproofofthe theorem.

2 2.4. A DEDUCTIVE CALCULUS 97 A converse of the Generalization Theorem holds. Theorem For all w s ', if `8x', then ` '. Proof. Assume that `8x'. Bylogicalaxiom2, wehavethat ` (8x'! '). Thus, by modus ponens, we conclude that ` '. Theorem (Rule T). If ` 1,..., ` n and { 1,..., n } tautologically implies, then `. Proof. Assume that ` 1,..., ` n and that { 1,..., n } tautologically implies. Thus, 1! 2!! n! is a tautology and hence, it is a logical axiom (1). Because ` 1,..., ` n,weconcludethat ` by applying modus ponens n times. For example, since (! ) tautologicallyimplies and, and{, } tautologically implies (! ), we have the following corollary of Theorem Corollary ` (! ) ifandonlyif ` and `. Recall that the notation ; is an abbreviation for [{ }. Theorem (Deduction Theorem). Let be a set of w s and let,' be w s. Then ; ` ' if and only if ` (! '). Proof. Let be a set of w s and let,' be w s. Then ; ` ' i ; [ tautologicallyimplies' by Theorem The proof is complete. i [ tautologically implies (! ') by Problem 8 on page 52 of notes i ` (! ') by Theorem Corollary Let be a set of w s. If and are tautologically equivalent, then (1) ` i `. (2) ; ` ' i ; ` ', foranyw '. Proof. Let be a set of w s and let and be tautologically equivalent. Theorem implies that ` i `,establishing(1). Toprove(2),observethatsince and are tautologically equivalent, we have that! ' and! ' are tautologically equivalent, for any w '. Wecannowprovethat ; ` ' i ; ` ' as follows: The proof is complete. ; ` ' i ` (! ') by Theorem i ` (! ') by (1) i ; ` ' by Theorem

3 98 CHAPTER 2. FIRST-ORDER LOGIC Corollary (Contraposition). ; ' ` i ; ` '. Proof. Let be a set of w s and let ', be w s. Observe that ('! ) and (! ') are tautologically equivalent. We now prove that ; ' ` i ; ` ' as follows: The proof is complete. ; ' ` i ` ('! ) by Theorem i ` (! ') by Corollary (1) i ; ` ' by Theorem Definition Aset offormulasisconsistent if there is no formula such that ` and `. Moreover, a set of w s is inconsistent when it is not consistent; that is, when there is a formula such that ` and `. Remark Suppose that is inconsistent. Then for any w, wehavethat `. The reason for this follows: Let such that ` and `.Then,because! (! ) is a tautology, it follows that `. Corollary (Reductio ad Absurdum). If ; ' is inconsistent, then ` '. Proof. Assume that ; ' is inconsistent. So, there is a formula such that ; ' ` and ; ' `. Thus, ` ('! )and ` ('! )bythedeductiontheorem. Since {'!,'! } tautologically implies ', weconcludethat ` ' by Rule T. Corollary implies that if 0 ', then ; ' is consistent. Since (! )! and (! )! are tautologies, we have the following Strategies for Showing that Deductions Exist To show that a deduction exists, one can use the following deduction strategies: (S1) To show ` (! ), it is su ; `, bythedeductiontheorem. (S2) To show that ; `, itissu cienttoshowthat ; `, by contraposition. Also, ; ` 8x i ; 8x `. (S3) To show that `8x, itissu cienttoshowthat `, ifx does not occur free in, by the generalization theorem. (S4) To show that ` (! ), it is su ` and `, byrulet and the fact that {, } tautologically implies (! ). (S5) To show that `, itissu cienttoshowthat `, byruletandthefactthat { } tautologically implies. (S6) To show that `, itissu cienttoshowthat ; is inconsistent, by reductio ad absurdum. (S7) To show that ` 8x, itissu cienttoshowthat ` t x for some term t. Since ` ( t x! 8x ) bylogicalaxiom2andcorollary2.4.27(1). Thus, ` 8x would follow by modus ponens. (If this is not useful, try strategy (S6).)

4 2.4. A DEDUCTIVE CALCULUS 99 Problem 1. Using the above strategies, show that 1. `8xP (x)!9xp (x). 2. 8x8yP(x, y) `8y8zP(z,y). 3. 8xP (x) `8xQ(x)!8x (P (x)! Q(x)). Solution. (1) We will show that ` 8xP (x)! 9xP (x). By the deduction theorem (see (S1)), it is su 8xP (x) ` 9xP (x). By Theorem , we see that 8xP (x) ` P (x). By Example 31 on page 93 and the deduction theorem, we have that P (x) `9xP (x). Since 8xP (x) ` P (x) andp (x) `9xP (x), Lemma implies that 8xP (x) `9xP (x). Therefore, `8xP (x)!9xp (x). (2) We shall show that 8x8yP(x, y) `8y8zP(z,y). Two applications of logical axiom 2 and modus ponens, shows that 8x8yP(x, y) ` P (z,y). Since z is not free in 8x8yP(x, y), we see that 8x8yP(x, y) `8zP(z,y), by applying (S3). Similarly, as y is not free in 8x8yP(x, y), we conclude that 8x8yP(x, y) `8y8zP(z,y). (3) We shall show that 8xP (x) ` 8xQ(x)! 8x (P (x)! Q(x)). By the deduction theorem, it is su {8xP (x), 8xQ(x)} `8x (P (x)! Q(x)). So by strategy (S3), it is su {8xP (x), 8xQ(x)} ` (P (x)! Q(x)). By logical axiom 2 and modus ponens, we see that {8xP (x), 8xQ(x)} `P (x) and{8xp (x), 8xQ(x)} `Q(x). Thus, {8xP (x), 8xQ(x)} `P (x), and {8xP (x), 8xQ(x)} ` Q(x) bycorollary2.4.27(1). Applying strategy (S4), we conclude that {8xP (x), 8xQ(x)} ` (P (x)! Q(x)). Hence, 8xP (x) `8xQ(x)!8x (P (x)! Q(x)). Problem 2. Show that `9x8y'!8y9x'. Solution. We show that a deduction of 9x8y'!8y9x' exists. By the deduction theorem it is su 9x8y' `8y9x'. Hence, by the Generalization Theorem , it is su 9x8y' `9x'. Removing the abbreviations, we need to show that 8x 8y' ` 8x '. By contraposition, this reduces to showing that 8x ' `8x 8y' (see Corollary ). So, by the generalization theorem, we must show that 8x ' ` 8y' and thus, by reductio ad absurdum, it is now su = {8x ', 8y'} is inconsistent. Note that ` ' and ` ' by logical axiom 2 and modus ponens. Hence, is inconsistent. Therefore, it follows that there is a deduction of 9x8y'!8y9x'. Proposition (Q2A). If x does not occur free in, then ` (!8x ) $8x(! ). Proof. By Rule T, it is su ` (!8x )!8x(! ), (?) `8x(! )! (!8x ). (??) For (?): By the deduction theorem we need to show that (!8x ) `8x(! ). By assumption, x does not occur free in. Hence, x does not occur free in (!8x ). Thus,

5 100 CHAPTER 2. FIRST-ORDER LOGIC by the Generalization Theorem , it is now enough to show that (!8x ) ` (! ). Again, by the deduction theorem, it will be su {(!8x ), }`.Let ={(!8x ), }. Thus, (1) `!8x Premise. (2) ` Premise. (3) `8x By (1), (2) and modus ponens. (4) `8x! Logical axiom 2. (5) ` By (3), (4) and modus ponens. This completes the proof of (?). 6 For (??): By the deduction theorem we need to show that 8x(! ) ` (!8x ). So, again by the deduction theorem, we must show that {8x(! ), }`8x. Since x does not occur free in 8x(! )orin, thegeneralizationtheoremimpliesthatwejustneed to show {8x(! ), }`.Let ={8x(! ), }. Thus, (1) `8x(! ) Premise. (2) ` Premise. (3) `8x(! )! (! ) Logical axiom 2. (4) `! By (1), (3) and modus ponens. (5) ` By (2), (4) and modus ponens. This completes the proof of (??). Propositions and , below, are presented in Exercise 8 on page 130 of text. Proposition (Q2B). If x does not occur free in, then` (!9x ) $9x(! ). Proposition (Q3A). If x does not occur free in, then` (8x! ) $9x(! ). Proposition (Q3B). If x does not occur free in, then` (9x! ) $8x(! ). Proof of Proposition By Rule T, it is su ` (9x! )!8x(! ), (?) `8x(! )! (9x! ). (??) We shall first prove (?). It is su (9x! ) `8x(! ), by the deduction theorem. By assumption, x does not occur free in. Hence, x does not occur free in (9x! ). So, by the Generalization Theorem , it is now enough to show that (9x! ) ` (! ). Again, by the deduction theorem, it will be su 6 The list (1) (5) is not a deduction. It is just part of a proof showing that a deduction of (?) exists. In this list we have implicitly applied Lemmas on page 94 of these notes.

6 2.4. A DEDUCTIVE CALCULUS 101 {(9x! ), }`. Let ={(9x! ), }. Thus, 7 (1) ` 8x! Premise. (2) ` Premise. (3) `8x! Logical axiom 2. (4) `! 8x By (3) and Cororollay (1). (5) ` 8x By (2), (4) and modus ponens. (6) ` By (1), (3) and modus ponens. In (4) we used that fact that (8x! ) and(! 8x ) are tautologically equivalent. We shall now prove (??). By the deduction theorem we need to show that 8x(! ) ` (9x! ). So, by the deduction theorem and contraposition, it is su {8x(! ), } ` 9x. As 9x and 8x are tautologically equivalent, by Corollary (1), we only need to show that {8x(! ), } `8x. By assumption, x does not occur free in. Hence, x does not occur free in any formula in {8x(! ), }. Thus,bythegeneralizationtheorem,itisnowenoughtoshowthat {8x(! ), } `. Furthermore, by contraposition, we just need to show that Let = {8x(! ), }. Thus, This completes the proof. {8x(! ), }`. (1) `8x(! ) Premise. (2) ` Premise. (3) `8x(! )! (! ) Logical axiom 2. (4) `! By (1), (3) and modus ponens. (5) ` By (2), (4) and modus ponens. The following theorem can be useful for showing that certain deductions exist. Theorem Let and be w s. If `!,then`8x!8x Proof. This is assigned Exercise #6(a) on page 130 of text. 7 Recall that 9x is an abbreviation for 8x.

7 102 CHAPTER 2. FIRST-ORDER LOGIC Homework: Exercise #6(a), 7, 8, 10 on page 130 of text. Hint for 7(a): This is a strange, but valid, sentence. Use reductio ad absurdum by showing that 8x (P (x)!8xp (x)) `8xP (x) (vialogicalaxiom2, atautology, andgeneralization) and showing, via logical axiom 2 and a tautology, that 8x (P (x)!8xp (x)) ` 8xP (x). Hint for 8: For the first part, by Rule T, it is su Hint for 10: Use Problem 1(2) on page 99. ` (!9x )!9x(! ) (?) `9x(! )! (!9x ). (??)

Chapter 3: Propositional Calculus: Deductive Systems. September 19, 2008

Chapter 3: Propositional Calculus: Deductive Systems. September 19, 2008 Chapter 3: Propositional Calculus: Deductive Systems September 19, 2008 Outline 1 3.1 Deductive (Proof) System 2 3.2 Gentzen System G 3 3.3 Hilbert System H 4 3.4 Soundness and Completeness; Consistency

More information

Predicate Logic. Andreas Klappenecker

Predicate Logic. Andreas Klappenecker Predicate Logic Andreas Klappenecker Predicates A function P from a set D to the set Prop of propositions is called a predicate. The set D is called the domain of P. Example Let D=Z be the set of integers.

More information

Chapter 1 Elementary Logic

Chapter 1 Elementary Logic 2017-2018 Chapter 1 Elementary Logic The study of logic is the study of the principles and methods used in distinguishing valid arguments from those that are not valid. The aim of this chapter is to help

More information

Natural Deduction for Propositional Logic

Natural 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 information

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

COMP 182 Algorithmic Thinking. Proofs. Luay Nakhleh Computer Science Rice University COMP 182 Algorithmic Thinking Proofs Luay Nakhleh Computer Science Rice University 1 Reading Material Chapter 1, Section 3, 6, 7, 8 Propositional Equivalences The compound propositions p and q are called

More information

Proofs. Joe Patten August 10, 2018

Proofs. Joe Patten August 10, 2018 Proofs Joe Patten August 10, 2018 1 Statements and Open Sentences 1.1 Statements A statement is a declarative sentence or assertion that is either true or false. They are often labelled with a capital

More information

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.

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. Chapter 1 Logic 1.1 Introduction and Definitions Definitions. A sentence (statement, proposition) is an utterance (that is, a string of characters) which is either true (T) or false (F). A predicate is

More information

Proofs. Example of an axiom in this system: Given two distinct points, there is exactly one line that contains them.

Proofs. Example of an axiom in this system: Given two distinct points, there is exactly one line that contains them. Proofs A mathematical system consists of axioms, definitions and undefined terms. An axiom is assumed true. Definitions are used to create new concepts in terms of existing ones. Undefined terms are only

More information

02 Propositional Logic

02 Propositional Logic SE 2F03 Fall 2005 02 Propositional Logic Instructor: W. M. Farmer Revised: 25 September 2005 1 What is Propositional Logic? Propositional logic is the study of the truth or falsehood of propositions or

More information

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

Propositional 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 information

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

Propositional 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 information

Foundations of Mathematics MATH 220 FALL 2017 Lecture Notes

Foundations of Mathematics MATH 220 FALL 2017 Lecture Notes Foundations of Mathematics MATH 220 FALL 2017 Lecture Notes These notes form a brief summary of what has been covered during the lectures. All the definitions must be memorized and understood. Statements

More information

Modal Logic: Exercises

Modal Logic: Exercises Modal Logic: Exercises KRDB FUB stream course www.inf.unibz.it/ gennari/index.php?page=nl Lecturer: R. Gennari gennari@inf.unibz.it June 6, 2010 Ex. 36 Prove the following claim. Claim 1. Uniform substitution

More information

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

CSCE 222 Discrete Structures for Computing. Predicate Logic. Dr. Hyunyoung Lee. !!!!! Based on slides by Andreas Klappenecker CSCE 222 Discrete Structures for Computing Predicate Logic Dr. Hyunyoung Lee Based on slides by Andreas Klappenecker 1 Predicates A function P from a set D to the set Prop of propositions is called a predicate.

More information

Supplementary Logic Notes CSE 321 Winter 2009

Supplementary Logic Notes CSE 321 Winter 2009 1 Propositional Logic Supplementary Logic Notes CSE 321 Winter 2009 1.1 More efficient truth table methods The method of using truth tables to prove facts about propositional formulas can be a very tedious

More information

The Process of Mathematical Proof

The Process of Mathematical Proof 1 The Process of Mathematical Proof Introduction. Mathematical proofs use the rules of logical deduction that grew out of the work of Aristotle around 350 BC. In previous courses, there was probably an

More information

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

2. The Logic of Compound Statements Summary. Aaron Tan August 2017 2. The Logic of Compound Statements Summary Aaron Tan 21 25 August 2017 1 2. The Logic of Compound Statements 2.1 Logical Form and Logical Equivalence Statements; Compound Statements; Statement Form (Propositional

More information

A Weak Post s Theorem and the Deduction Theorem Retold

A Weak Post s Theorem and the Deduction Theorem Retold Chapter I A Weak Post s Theorem and the Deduction Theorem Retold This note retells (1) A weak form of Post s theorem: If Γ is finite and Γ = taut A, then Γ A and derives as a corollary the Deduction Theorem:

More information

Part I: Propositional Calculus

Part I: Propositional Calculus Logic Part I: Propositional Calculus Statements Undefined Terms True, T, #t, 1 False, F, #f, 0 Statement, Proposition Statement/Proposition -- Informal Definition Statement = anything that can meaningfully

More information

The Language. Elementary Logic. Outline. Well-Formed Formulae (wff s)

The Language. Elementary Logic. Outline. Well-Formed Formulae (wff s) The Language Elementary Logic Bow-Yaw Wang Institute of Information Science Academia Sinica, Taiwan July 1, 2009 The following symbols are used in sentential logic Symbol Name Remark ( left parenthesis

More information

CSE 20 DISCRETE MATH WINTER

CSE 20 DISCRETE MATH WINTER CSE 20 DISCRETE MATH WINTER 2016 http://cseweb.ucsd.edu/classes/wi16/cse20-ab/ Today's learning goals Evaluate which proof technique(s) is appropriate for a given proposition Direct proof Proofs by contraposition

More information

CITS2211 Discrete Structures Proofs

CITS2211 Discrete Structures Proofs CITS2211 Discrete Structures Proofs Unit coordinator: Rachel Cardell-Oliver August 13, 2017 Highlights 1 Arguments vs Proofs. 2 Proof strategies 3 Famous proofs Reading Chapter 1: What is a proof? Mathematics

More information

CSE 20 DISCRETE MATH SPRING

CSE 20 DISCRETE MATH SPRING CSE 20 DISCRETE MATH SPRING 2016 http://cseweb.ucsd.edu/classes/sp16/cse20-ac/ Today's learning goals Evaluate which proof technique(s) is appropriate for a given proposition Direct proof Proofs by contraposition

More information

Packet #1: Logic & Proofs. Applied Discrete Mathematics

Packet #1: Logic & Proofs. Applied Discrete Mathematics Packet #1: Logic & Proofs Applied Discrete Mathematics Table of Contents Course Objectives Page 2 Propositional Calculus Information Pages 3-13 Course Objectives At the conclusion of this course, you should

More information

Formal (natural) deduction in propositional logic

Formal (natural) deduction in propositional logic Formal (natural) deduction in propositional logic Lila Kari University of Waterloo Formal (natural) deduction in propositional logic CS245, Logic and Computation 1 / 67 I know what you re thinking about,

More information

ECOM Discrete Mathematics

ECOM Discrete Mathematics ECOM 2311- Discrete Mathematics Chapter # 1 : The Foundations: Logic and Proofs Fall, 2013/2014 ECOM 2311- Discrete Mathematics - Ch.1 Dr. Musbah Shaat 1 / 85 Outline 1 Propositional Logic 2 Propositional

More information

CSE 1400 Applied Discrete Mathematics Proofs

CSE 1400 Applied Discrete Mathematics Proofs CSE 1400 Applied Discrete Mathematics Proofs Department of Computer Sciences College of Engineering Florida Tech Fall 2011 Axioms 1 Logical Axioms 2 Models 2 Number Theory 3 Graph Theory 4 Set Theory 4

More information

Gödel s Completeness Theorem

Gödel s Completeness Theorem A.Miller M571 Spring 2002 Gödel s Completeness Theorem We only consider countable languages L for first order logic with equality which have only predicate symbols and constant symbols. We regard the symbols

More information

Propositional Logic: Syntax

Propositional 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 information

Proofs. Chapter 2 P P Q Q

Proofs. Chapter 2 P P Q Q Chapter Proofs In this chapter we develop three methods for proving a statement. To start let s suppose the statement is of the form P Q or if P, then Q. Direct: This method typically starts with P. Then,

More information

CSE 20 DISCRETE MATH. Fall

CSE 20 DISCRETE MATH. Fall CSE 20 DISCRETE MATH Fall 2017 http://cseweb.ucsd.edu/classes/fa17/cse20-ab/ Today's learning goals Distinguish between a theorem, an axiom, lemma, a corollary, and a conjecture. Recognize direct proofs

More information

4 Derivations in the Propositional Calculus

4 Derivations in the Propositional Calculus 4 Derivations in the Propositional Calculus 1. Arguments Expressed in the Propositional Calculus We have seen that we can symbolize a wide variety of statement forms using formulas of the propositional

More information

Predicate Logic - Deductive Systems

Predicate Logic - Deductive Systems CS402, Spring 2018 G for Predicate Logic Let s remind ourselves of semantic tableaux. Consider xp(x) xq(x) x(p(x) q(x)). ( xp(x) xq(x) x(p(x) q(x))) xp(x) xq(x), x(p(x) q(x)) xp(x), x(p(x) q(x)) xq(x),

More information

Logic and Proofs 1. 1 Overview. 2 Sentential Connectives. John Nachbar Washington University December 26, 2014

Logic and Proofs 1. 1 Overview. 2 Sentential Connectives. John Nachbar Washington University December 26, 2014 John Nachbar Washington University December 26, 2014 Logic and Proofs 1 1 Overview. These notes provide an informal introduction to some basic concepts in logic. For a careful exposition, see, for example,

More information

CHAPTER 2. FIRST ORDER LOGIC

CHAPTER 2. FIRST ORDER LOGIC CHAPTER 2. FIRST ORDER LOGIC 1. Introduction First order logic is a much richer system than sentential logic. Its interpretations include the usual structures of mathematics, and its sentences enable us

More information

Completeness for FOL

Completeness for FOL Completeness for FOL Overview Adding Witnessing Constants The Henkin Theory The Elimination Theorem The Henkin Construction Lemma 12 This lemma assures us that our construction of M h works for the atomic

More information

CSE 20 DISCRETE MATH. Winter

CSE 20 DISCRETE MATH. Winter CSE 20 DISCRETE MATH Winter 2017 http://cseweb.ucsd.edu/classes/wi17/cse20-ab/ Today's learning goals Distinguish between a theorem, an axiom, lemma, a corollary, and a conjecture. Recognize direct proofs

More information

Review. Propositions, propositional operators, truth tables. Logical Equivalences. Tautologies & contradictions

Review. Propositions, propositional operators, truth tables. Logical Equivalences. Tautologies & contradictions Review Propositions, propositional operators, truth tables Logical Equivalences. Tautologies & contradictions Some common logical equivalences Predicates & quantifiers Some logical equivalences involving

More information

Logic. Definition [1] A logic is a formal language that comes with rules for deducing the truth of one proposition from the truth of another.

Logic. Definition [1] A logic is a formal language that comes with rules for deducing the truth of one proposition from the truth of another. Math 0413 Appendix A.0 Logic Definition [1] A logic is a formal language that comes with rules for deducing the truth of one proposition from the truth of another. This type of logic is called propositional.

More information

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

3. The Logic of Quantified Statements Summary. Aaron Tan August 2017 3. The Logic of Quantified Statements Summary Aaron Tan 28 31 August 2017 1 3. The Logic of Quantified Statements 3.1 Predicates and Quantified Statements I Predicate; domain; truth set Universal quantifier,

More information

Introduction to Metalogic

Introduction 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 information

Proofs. Chapter 2 P P Q Q

Proofs. Chapter 2 P P Q Q Chapter Proofs In this chapter we develop three methods for proving a statement. To start let s suppose the statement is of the form P Q or if P, then Q. Direct: This method typically starts with P. Then,

More information

Propositional Logic: Syntax

Propositional Logic: Syntax 4 Propositional Logic: Syntax Reading: Metalogic Part II, 22-26 Contents 4.1 The System PS: Syntax....................... 49 4.1.1 Axioms and Rules of Inference................ 49 4.1.2 Definitions.................................

More information

Practice Test III, Math 314, Spring 2016

Practice Test III, Math 314, Spring 2016 Practice Test III, Math 314, Spring 2016 Dr. Holmes April 26, 2016 This is the 2014 test reorganized to be more readable. I like it as a review test. The students who took this test had to do four sections

More information

Intro to Logic and Proofs

Intro to Logic and Proofs Intro to Logic and Proofs Propositions A proposition is a declarative sentence (that is, a sentence that declares a fact) that is either true or false, but not both. Examples: It is raining today. Washington

More information

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

Discrete Mathematics Logics and Proofs. Liangfeng Zhang School of Information Science and Technology ShanghaiTech University Discrete Mathematics Logics and Proofs Liangfeng Zhang School of Information Science and Technology ShanghaiTech University Resolution Theorem: p q p r (q r) p q p r q r p q r p q p p r q r T T T T F T

More information

Examples: P: it is not the case that P. P Q: P or Q P Q: P implies Q (if P then Q) Typical formula:

Examples: 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 information

Manual of Logical Style (fresh version 2018)

Manual of Logical Style (fresh version 2018) Manual of Logical Style (fresh version 2018) Randall Holmes 9/5/2018 1 Introduction This is a fresh version of a document I have been working on with my classes at various levels for years. The idea that

More information

A Guide to Proof-Writing

A Guide to Proof-Writing A Guide to Proof-Writing 437 A Guide to Proof-Writing by Ron Morash, University of Michigan Dearborn Toward the end of Section 1.5, the text states that there is no algorithm for proving theorems.... Such

More information

software design & management Gachon University Chulyun Kim

software design & management Gachon University Chulyun Kim Gachon University Chulyun Kim 2 Outline Propositional Logic Propositional Equivalences Predicates and Quantifiers Nested Quantifiers Rules of Inference Introduction to Proofs 3 1.1 Propositional Logic

More information

Propositional Calculus - Hilbert system H Moonzoo Kim CS Dept. KAIST

Propositional Calculus - Hilbert system H Moonzoo Kim CS Dept. KAIST Propositional Calculus - Hilbert system H Moonzoo Kim CS Dept. KAIST moonzoo@cs.kaist.ac.kr CS402 1 Review Goal of logic To check whether given a formula Á is valid To prove a given formula Á ` Á Syntactic

More information

First-Order Logic. 1 Syntax. Domain of Discourse. FO Vocabulary. Terms

First-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 information

2-4: The Use of Quantifiers

2-4: The Use of Quantifiers 2-4: The Use of Quantifiers The number x + 2 is an even integer is not a statement. When x is replaced by 1, 3 or 5 the resulting statement is false. However, when x is replaced by 2, 4 or 6 the resulting

More information

Section 1.2: Propositional Logic

Section 1.2: Propositional Logic Section 1.2: Propositional Logic January 17, 2017 Abstract Now we re going to use the tools of formal logic to reach logical conclusions ( prove theorems ) based on wffs formed by some given statements.

More information

Chapter 1, Logic and Proofs (3) 1.6. Rules of Inference

Chapter 1, Logic and Proofs (3) 1.6. Rules of Inference CSI 2350, Discrete Structures Chapter 1, Logic and Proofs (3) Young-Rae Cho Associate Professor Department of Computer Science Baylor University 1.6. Rules of Inference Basic Terminology Axiom: a statement

More information

1 The Foundation: Logic and Proofs

1 The Foundation: Logic and Proofs 1 The Foundation: Logic and Proofs 1.1 Propositional Logic Propositions( 명제 ) a declarative sentence that is either true or false, but not both nor neither letters denoting propositions p, q, r, s, T:

More information

The following techniques for methods of proofs are discussed in our text: - Vacuous proof - Trivial proof

The following techniques for methods of proofs are discussed in our text: - Vacuous proof - Trivial proof Ch. 1.6 Introduction to Proofs The following techniques for methods of proofs are discussed in our text - Vacuous proof - Trivial proof - Direct proof - Indirect proof (our book calls this by contraposition)

More information

Lecture 2: Proof Techniques Lecturer: Lale Özkahya

Lecture 2: Proof Techniques Lecturer: Lale Özkahya BBM 205 Discrete Mathematics Hacettepe University http://web.cs.hacettepe.edu.tr/ bbm205 Lecture 2: Proof Techniques Lecturer: Lale Özkahya Resources: Kenneth Rosen, Discrete Mathematics and App. cs.colostate.edu/

More information

Manual of Logical Style

Manual of Logical Style Manual of Logical Style Dr. Holmes January 9, 2015 Contents 1 Introduction 2 2 Conjunction 3 2.1 Proving a conjunction...................... 3 2.2 Using a conjunction........................ 3 3 Implication

More information

MATH 2001 MIDTERM EXAM 1 SOLUTION

MATH 2001 MIDTERM EXAM 1 SOLUTION MATH 2001 MIDTERM EXAM 1 SOLUTION FALL 2015 - MOON Do not abbreviate your answer. Write everything in full sentences. Except calculators, any electronic devices including laptops and cell phones are not

More information

Handout on Logic, Axiomatic Methods, and Proofs MATH Spring David C. Royster UNC Charlotte

Handout on Logic, Axiomatic Methods, and Proofs MATH Spring David C. Royster UNC Charlotte Handout on Logic, Axiomatic Methods, and Proofs MATH 3181 001 Spring 1999 David C. Royster UNC Charlotte January 18, 1999 Chapter 1 Logic and the Axiomatic Method 1.1 Introduction Mathematicians use a

More information

1 The Foundation: Logic and Proofs

1 The Foundation: Logic and Proofs 1 The Foundation: Logic and Proofs 1.1 Propositional Logic Propositions( ) a declarative sentence that is either true or false, but not both nor neither letters denoting propostions p, q, r, s, T: true

More information

Meta-logic derivation rules

Meta-logic derivation rules Meta-logic derivation rules Hans Halvorson February 19, 2013 Recall that the goal of this course is to learn how to prove things about (as opposed to by means of ) classical first-order logic. So, we will

More information

Discrete Structures & Algorithms. Propositional Logic EECE 320 // UBC

Discrete Structures & Algorithms. Propositional Logic EECE 320 // UBC Discrete Structures & Algorithms Propositional Logic EECE 320 // UBC 1 Review of last lecture Pancake sorting A problem with many applications Bracketing (bounding a function) Proving bounds for pancake

More information

University of Ottawa CSI 2101 Midterm Test Instructor: Lucia Moura. March 1, :00 pm Duration: 1:15 hs

University of Ottawa CSI 2101 Midterm Test Instructor: Lucia Moura. March 1, :00 pm Duration: 1:15 hs University of Ottawa CSI 2101 Midterm Test Instructor: Lucia Moura March 1, 2012 1:00 pm Duration: 1:15 hs Closed book, no calculators THIS MIDTERM AND ITS SOLUTION IS SUBJECT TO COPYRIGHT; NO PARTS OF

More information

Propositional Logic: Deductive Proof & Natural Deduction Part 1

Propositional Logic: Deductive Proof & Natural Deduction Part 1 Propositional Logic: Deductive Proof & Natural Deduction Part 1 CS402, Spring 2016 Shin Yoo Deductive Proof In propositional logic, a valid formula is a tautology. So far, we could show the validity of

More information

C241 Homework Assignment 7

C241 Homework Assignment 7 C24 Homework Assignment 7. Prove that for all whole numbers n, n i 2 = n(n + (2n + The proof is by induction on k with hypothesis H(k i 2 = k(k + (2k + base case: To prove H(, i 2 = = = 2 3 = ( + (2 +

More information

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

Computational 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 information

Sec$on Summary. Mathematical Proofs Forms of Theorems Trivial & Vacuous Proofs Direct Proofs Indirect Proofs

Sec$on Summary. Mathematical Proofs Forms of Theorems Trivial & Vacuous Proofs Direct Proofs Indirect Proofs Section 1.7 Sec$on Summary Mathematical Proofs Forms of Theorems Trivial & Vacuous Proofs Direct Proofs Indirect Proofs Proof of the Contrapositive Proof by Contradiction 2 Proofs of Mathema$cal Statements

More information

Math 55 Homework 2 solutions

Math 55 Homework 2 solutions Math 55 Homework solutions Section 1.3. 6. p q p q p q p q (p q) T T F F F T F T F F T T F T F T T F T F T F F T T T F T 8. a) Kwame will not take a job in industry and not go to graduate school. b) Yoshiko

More information

Section 1.1 Propositions

Section 1.1 Propositions Set Theory & Logic Section 1.1 Propositions Fall, 2009 Section 1.1 Propositions In Chapter 1, our main goals are to prove sentences about numbers, equations or functions and to write the proofs. Definition.

More information

Axiomatic systems. Revisiting the rules of inference. Example: A theorem and its proof in an abstract axiomatic system:

Axiomatic systems. Revisiting the rules of inference. Example: A theorem and its proof in an abstract axiomatic system: Axiomatic systems Revisiting the rules of inference Material for this section references College Geometry: A Discovery Approach, 2/e, David C. Kay, Addison Wesley, 2001. In particular, see section 2.1,

More information

Mat 243 Exam 1 Review

Mat 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 information

Math 160A: Soundness and Completeness for Sentential Logic

Math 160A: Soundness and Completeness for Sentential Logic Math 160A: Soundness and Completeness for Sentential Logic Proof system for Sentential Logic. Definition (Ex 1.7.5 p. 66). For Σ a set of wffs, define a deduction from Σ to be a finite sequence xα 0,...,α

More information

3 The Semantics of the Propositional Calculus

3 The Semantics of the Propositional Calculus 3 The Semantics of the Propositional Calculus 1. Interpretations Formulas of the propositional calculus express statement forms. In chapter two, we gave informal descriptions of the meanings of the logical

More information

Completeness for FOL

Completeness for FOL Completeness for FOL Completeness Theorem for F Theorem. Let T be a set of sentences of a firstorder language L and let S be a sentence of the same language. If S is a first-order consequence of T, then

More information

Math.3336: Discrete Mathematics. Nested Quantifiers/Rules of Inference

Math.3336: Discrete Mathematics. Nested Quantifiers/Rules of Inference Math.3336: Discrete Mathematics Nested Quantifiers/Rules of Inference Instructor: Dr. Blerina Xhabli Department of Mathematics, University of Houston https://www.math.uh.edu/ blerina Email: blerina@math.uh.edu

More information

CSE Discrete Structures

CSE Discrete Structures CSE 2315 - Discrete Structures Homework 2- Fall 2010 Due Date: Oct. 7 2010, 3:30 pm Proofs using Predicate Logic For all your predicate logic proofs you can use only the rules given in the following tables.

More information

Filtrations and Basic Proof Theory Notes for Lecture 5

Filtrations and Basic Proof Theory Notes for Lecture 5 Filtrations and Basic Proof Theory Notes for Lecture 5 Eric Pacuit March 13, 2012 1 Filtration Let M = W, R, V be a Kripke model. Suppose that Σ is a set of formulas closed under subformulas. We write

More information

Mathematics 114L Spring 2018 D.A. Martin. Mathematical Logic

Mathematics 114L Spring 2018 D.A. Martin. Mathematical Logic Mathematics 114L Spring 2018 D.A. Martin Mathematical Logic 1 First-Order Languages. Symbols. All first-order languages we consider will have the following symbols: (i) variables v 1, v 2, v 3,... ; (ii)

More information

Assignments for Math 220, Formal Methods. J. Stanley Warford

Assignments for Math 220, Formal Methods. J. Stanley Warford Assignments for J. Stanley Warford September 28, 205 Assignment Chapter, Section, and Exercise numbers in these assignments refer to the text for this course, A Logical Approach to Discrete Math, David

More information

Exercises. Exercise Sheet 1: Propositional Logic

Exercises. Exercise Sheet 1: Propositional Logic B Exercises Exercise Sheet 1: Propositional Logic 1. Let p stand for the proposition I bought a lottery ticket and q for I won the jackpot. Express the following as natural English sentences: (a) p (b)

More information

COT 2104 Homework Assignment 1 (Answers)

COT 2104 Homework Assignment 1 (Answers) 1) Classify true or false COT 2104 Homework Assignment 1 (Answers) a) 4 2 + 2 and 7 < 50. False because one of the two statements is false. b) 4 = 2 + 2 7 < 50. True because both statements are true. c)

More information

Propositional Logic. Fall () Propositional Logic Fall / 30

Propositional Logic. Fall () Propositional Logic Fall / 30 Propositional Logic Fall 2013 () Propositional Logic Fall 2013 1 / 30 1 Introduction Learning Outcomes for this Presentation 2 Definitions Statements Logical connectives Interpretations, contexts,... Logically

More information

Logic and Propositional Calculus

Logic and Propositional Calculus CHAPTER 4 Logic and Propositional Calculus 4.1 INTRODUCTION Many algorithms and proofs use logical expressions such as: IF p THEN q or If p 1 AND p 2, THEN q 1 OR q 2 Therefore it is necessary to know

More information

For all For every For each For any There exists at least one There exists There is Some

For all For every For each For any There exists at least one There exists There is Some Section 1.3 Predicates and Quantifiers Assume universe of discourse is all the people who are participating in this course. Also let us assume that we know each person in the course. Consider the following

More information

Proofs of Mathema-cal Statements. A proof is a valid argument that establishes the truth of a statement.

Proofs of Mathema-cal Statements. A proof is a valid argument that establishes the truth of a statement. Section 1.7 Proofs of Mathema-cal Statements A proof is a valid argument that establishes the truth of a statement. Terminology A theorem is a statement that can be shown to be true using: definitions

More information

Propositional Calculus - Hilbert system H Moonzoo Kim CS Division of EECS Dept. KAIST

Propositional Calculus - Hilbert system H Moonzoo Kim CS Division of EECS Dept. KAIST Propositional Calculus - Hilbert system H Moonzoo Kim CS Division of EECS Dept. KAIST moonzoo@cs.kaist.ac.kr http://pswlab.kaist.ac.kr/courses/cs402-07 1 Review Goal of logic To check whether given a formula

More information

ADVANCED CALCULUS - MTH433 LECTURE 4 - FINITE AND INFINITE SETS

ADVANCED CALCULUS - MTH433 LECTURE 4 - FINITE AND INFINITE SETS ADVANCED CALCULUS - MTH433 LECTURE 4 - FINITE AND INFINITE SETS 1. Cardinal number of a set The cardinal number (or simply cardinal) of a set is a generalization of the concept of the number of elements

More information

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!

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! 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! 26-Aug-2011 MA 341 001 2 Requirements for Proof 1. Mutual understanding

More information

a. (6.25 points) where we let b. (6.25 points) c. (6.25 points) d. (6.25 points) B 3 =(x)[ H(x) F (x)], and (11)

a. (6.25 points) where we let b. (6.25 points) c. (6.25 points) d. (6.25 points) B 3 =(x)[ H(x) F (x)], and (11) A1 Logic (25 points) For each of the following either prove it step-by-step using resolution or another sound and complete technique of your stated choice or disprove it by exhibiting in detail a relevant

More information

4. Derived Leibniz rules

4. Derived Leibniz rules Bulletin of the Section of Logic Volume 29/1 (2000), pp. 75 87 George Tourlakis A BASIC FORMAL EQUATIONAL PREDICATE LOGIC PART II Abstract We continue our exploration of the Basic Formal Equational Predicate

More information

Discrete Mathematics

Discrete Mathematics Department of Mathematics National Cheng Kung University 2008 2.4: The use of Quantifiers Definition (2.5) A declarative sentence is an open statement if 1) it contains one or more variables, and 1 ) quantifier:

More information

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

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 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! 26-Aug-2011 MA 341 001 2 Requirements for Proof 1. Mutual understanding

More information

Glossary of Logical Terms

Glossary of Logical Terms Math 304 Spring 2007 Glossary of Logical Terms The following glossary briefly describes some of the major technical logical terms used in this course. The glossary should be read through at the beginning

More information

Logic: The Big Picture

Logic: 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 information

Math 3336: Discrete Mathematics Practice Problems for Exam I

Math 3336: Discrete Mathematics Practice Problems for Exam I Math 3336: Discrete Mathematics Practice Problems for Exam I The upcoming exam on Tuesday, February 26, will cover the material in Chapter 1 and Chapter 2*. You will be provided with a sheet containing

More information

Inference in Propositional Logic

Inference in Propositional Logic Inference in Propositional Logic Deepak Kumar November 2017 Propositional Logic A language for symbolic reasoning Proposition a statement that is either True or False. E.g. Bryn Mawr College is located

More information

MTH 299 In Class and Recitation Problems SUMMER 2016

MTH 299 In Class and Recitation Problems SUMMER 2016 MTH 299 In Class and Recitation Problems SUMMER 2016 Last updated on: May 13, 2016 MTH299 - Examples CONTENTS Contents 1 Week 1 3 1.1 In Class Problems.......................................... 3 1.2 Recitation

More information

Announcements. Exam 1 Review

Announcements. Exam 1 Review Announcements Quiz today Exam Monday! You are allowed one 8.5 x 11 in cheat sheet of handwritten notes for the exam (front and back of 8.5 x 11 in paper) Handwritten means you must write them by hand,

More information