Natural deduction for truth-functional logic

Size: px
Start display at page:

Download "Natural deduction for truth-functional logic"

Transcription

1 Natural deduction for truth-functional logic Phil Boston University Why natural deduction? After all, we just found this nice method of truth-tables, which can be used to determine the validity or invalidity of any argument in truth-functional logic! But there are some problems with truth-tables They can be very inefficient. The reason is that if you have an argument which contains k atomic formulas, then you ll need a truthtable with 2 k rows The method of truth-tables doesn t work for logic as a whole. It is a very special feature of truth-functional logic that all the relevant possible worlds can just be arranged in a list Instead, the best way to demonstrate validity is proof A proof is just a series of simple steps, each easily recognizable as valid Natural deduction is a system of construction of proofs. That is, when a statement is a logical consequence of others, we ll use natural deduction to demonstrate this. The system of natural deduction idealizes good human reasoning. In fact, we have already done a lot of (informal) examples of natural deduction argumentation think of the solutions to puzzles about Alice, Bob and Carol. The plan A proof is a series of obviously correct steps but when is a step obviously correct? 1

2 What if people can t agree about the correctness of an inference? To answer this question, we ll build a system of proof: that is, identify some basic argument patterns which are clearly correct these basic patterns are called rules of inference every step of a proof must follow one of the rules of inference then, correctness is assured Natural deduction, the basic idea Recall that the point of a deductive argument is to show that the conclusion is a logical consequence of the premises The argument does not show that the premises are true it just shows that if the premises are true then so is the conclusion So, you begin a natural deduction proof by assuming the premises You then apply rules of inference to show that from those premises, further statements logically follow Recall that at this point, we want natural deduction for truth-functional logic So, we ll now go through the various connectives and pick out some patterns which are clearly correct as a standard of correctness, we will appeal only to the definition of truth! Rules for conjunction The easiest connective to handle is conjunction Recall from the definition of truth that A B is true just in case both A and B are true From the truth-table for conjunction, we can now derive the two basic rules for handling conjunction 2

3 Conjunction introduction The truth-table implies that if any two formulas are true, so is their conjunction So, the definition of truth guarantees that the following pattern of inference is always correct: Conjunction introduction: from A and B, infer A B Or in other words: if you have any two formulas, then you can infer their conjunction This is the basic way of proving that a conjunction is true Conjunction elimination Conversely, what if you already know that a conjunction is true and want to find out what follows from it? then you want an elimination rule According to the definition of truth, if a conjunction A B is true, then so are each of A and B. So, the the following pattern of inference is correct as well: conjunction elimination: from A B, infer any of A and B. or in other words: if you have a conjunction, then you can infer any of its conjuncts. Example of the conjunction rules in action Clearly the argument A B, B C A C is valid. can you prove this using the rules? 1 P Q 2 Q R 3 P E, 1 4 R E, 2 5 P R I, 3, 4 Notice how much faster and clearer than the truth-tables this is. 3

4 Practice 1. P Q Q P 2. P (Q R) (P Q) R 3. P, Q (P Q) P Conditional The rules for conditional are somewhat deeper As before, we want an introduction rule and an elimination rule Conditional elimination (or modus ponens ) Recall from the truth-table that the conditional A B is true just in case either A is false or B is true so, suppose A B is true, and also that A is true. Since A isn t false, therefore B has to be true. so the following is always valid conditional elimination ( modus ponens ): from A B and A, infer B. or in other words, given a conditional and its antecedent, you can infer the consequent. Example Show the validity of P R, P Q Q R 1 P R 2 P Q 3 Q E, 2 4 P E, 2 5 R E, 1, 4 6 Q R I, 3, 5 for another example, try P Q R, P, Q R. 4

5 Conditional introduction (or conditional proof ) For this rule, it s probably best to begin with an example: show that P Q P Q is valid intuitively you could argue like this assume P. For the sake of argument, further assume Q. Then, P Q would have to be true. So given only P, we have that if Q were true, then P Q would be true. In other words, P Q P Q is valid. in this reasoning, we wanted to prove a conditional. So for the sake of argument we assumed its antecedent and deduced its consequent. This means the that regardless of whether the antecedent is true we know that the conditional must be true. the natural deduction method is quite similar: Now here s the rule: 1 P 2 Q 3 P Q I, 1, 2 4 P Q I, 3 conditional introduction: having proved B under a temporary assumption of A, you can infer A B outright Practice 1. P Q P Q 2. P Q, P R P Q R 3. P Q, Q R P R 4. P R P Q R 5. P, Q R P Q P R 6. P Q R P (Q R) 7. P (Q R) P Q R 8. P (Q R) Q (P R) 9. P Q P (P Q) 10. P P Why is the rule of conditional introduction valid? This is slightly trickier. But here is the idea. 5

6 Suppose that you ve shown B to follow from the formula A plus some zero or more other formulas X. Now suppose toward a contradiction that X, A B is not valid. Then there is a possible world W where all of X are true but A B is false. So in W, all of X, A are true while B is false. Hence W is a countermodel to X, A B, contradicting our assumption that B follows from X, A. Disjunction Like conditional, disjunction consists of an easy rule and an interesting one Disjunction introduction The definition of truth says that if a formula is true, then so is its disjunction with any other formula So here is the rule: Disjunction introduction: given A, infer A B for any B whatsoever This is an rather permissive rule, which weirds some people out but, note that it only goes on one direction! Disjunction elimination Suppose that you ve got a disjunction A B. then you don t know which of A and B is true! either was enough to prove it So what else can you learn if you just know A B? We saw the solution earlier: proof by cases. Let s consider an example: show the validity of P, Q R (P Q) (P R) you might argue informally like this: We are given P and Q R. Now further suppose for the sake of argument that Q is true. Then, P Q must be true, so that (P Q) (P R) is true. On the other hand, suppose for the sake of argument that R is true. Then P R is true, so (P Q) (P R) must be true again. So (P Q) (P R) has got to be true in any case! 6

7 Formally the argument is very similar: Now here s the rule: 1 P 2 Q R 3 Q 4 P Q I, 1, 3 5 (P Q) (P R) I, 4 6 R 7 P R I, 1, 6 8 (P Q) (P R) I, 7 9 (P Q) (P R) E, 2, 5, 8 Disjunction elimination: Suppose that you already got A B. Suppose you prove C from the temporary assumption of A, and that you also prove C from the temporary assumption of B. Then you can infer C outright. Practice 1. P Q P Q 2. P Q (P R) (Q R) 3. (P R) (Q R) R 4. (P Q) (R S) P R 5. P Q P Q R 6. P Q R P R 7. P Q, P R, Q R P R 8. P R, Q R P Q R 9. P Q Q P 10. (P Q) R P (Q R) 11. (P Q) (P R) P (Q R) Note that you can give an argument for the soundness of disjunction elimination which is similar to the one we gave for conditional introduction. Suppose that X, A C and X, B C are both valid. Toward a contradiction, further suppose that X, A B C is not valid. 7

8 Then there is a possible world W such that W = X and W = A B, and yet W = C. Since X, A C is valid and W = X yet W = C, it follows that W = A. Likewise, X, B C is valid and W = X yet W = C, and therefore W = B. Thus W = A and W = B. Hence W = A B, a contradiction! Hence X, A B C must be valid. Negation Things have been awfully positive so far... what about negation? Here, the nicest approach is actually to introduce a new formula you can think of this the statement round square amphibious pigs are flying in a vacuum, or as that s crazy!, or simply as P P thus, is just another formula we ve added to the language crucially, it is false at all possible worlds so, for example, P is equivalent to P what is P equivalent to? We will introduce rules for negation as rules for introducing and eliminating absurdity Absurdity intro and elim Again let s consider an example: P (P Q). Informally you could argue like this. We are given P. Toward a contradiction, suppose for the sake of argument that P Q. Well, then P. That is a contradiction! So given P, we must conclude (P Q). And the formal argument is almost exactly the same: 1 P 2 P Q 3 P E, 2 4 I, 1, 3 5 (P Q) E, 4 8

9 One of the rules used in this argument is easy to state: absurdity introduction: suppose that you ve deduced from A. Then infer A. The elimination rule has two sides. The first we ve seen already: suppose you ve shown that A implies. Then infer A, outside the assumption of A. But that s not all. Notice that absurdity elimination is also negation introduction; so it s useful if there s a negation we want to prove But what if we have a negation, and are trying to get something new out of it? For example, consider ( P Q) P. intuitively this should seem valid: the premise says that none of P and Q is true, which is just to say P and Q must both be true. since we want to prove P, we begin by assuming P and then go for 1 ( P Q) 2 P The principle we used here is this: 3 P Q 4 I, 1, 3 5 P E, 4 suppose you ve shown that A implies. Then infer A, outside the assumption of A. The two principles can be combined elegantly, if we add another idea: let A be a formula. If A has the form B, then the opposite of A is B. Otherwise, the opposite of A is A. Let s write A for the opposite of A. Now here is the elimination rule for absurdity: absurdity elimination having deduced absurdity from a temporary assumption of A, then infer A outright Proofs by absurdity can get a bit tricky. 9

10 For example, consider (P Q) P Q intuitively, this should be valid: if P Q is false, then P, Q aren t both true, which means that at least one of P and Q is true. But how to prove this? To prove a disjunction we seem to need to prove a disjunct but (P Q) P is not valid!... So what to do? The trick is to assume the opposite of what we want to prove, and go for absurdity. Having assumed ( P Q), we will aim to prove P Q To that end, we introduce further assumption of P toward the inner goal of another absurdity! Similarly for Q. 1 (P Q) 2 ( P Q) 3 P 4 P Q I, 3 5 I, 2, 4 6 P E, 5 7 Q 8 P Q I, 7 9 I, 2, 8 10 Q E, 9 11 P Q I, 6, I, 1, P Q E, 12 Practice 1. P Q, Q P 2. P, Q (P Q) 3. (P Q), P Q 4. (P Q) P 5. P Q R, R Q 6. P (Q R) R (P Q) 10

11 7. P, Q (P Q) 8. P P 9. P P 10. P P Biconditional As the name suggests, you can think of a biconditional as two conditionals: A B is equivalent to A B and B A The inference rules for biconditional just treat it like that conjunction of conditionals: Biconditional introduction: if you ve deduced B from A and also deduced A from B, then infer A B. Biconditional elimination: suppose you re given A B. Given A as well, infer B. Conversely also given B, infer A. For example, consider P Q, Q R P R here, you just slog away... 1 P Q 2 Q R 3 P 4 Q E, 1, 3 5 R E, 2, 4 6 R 7 Q E, 2, 6 8 P E, 1, 7 9 P R I, 5, 8 Practice 1. P Q (P Q) (Q P ) 2. (P Q) (Q P ) P Q 3. P Q Q P 4. P Q P Q 5. P Q, R S P R S Q 6. P Q, (R P ) S (R Q) S 11

12 7. P Q, P Q R Q P R 8. P Q, (S P ) Q) (S R P ) (S Q) P ) (S R Q) (don t actually do this, but how do I know that it s valid?) Derived Rules We ve now got a complete system of rules for natural deduction in truthfunctional logic Completeness means that if an argument is valid, then its validity can be demonstrated using those rules alone So that s nice! As a practical matter, proofs using just the rules we ve got so far can be pretty long and tedious So we will now introduce a bunch of further rules which aren t essential, but which make life easier A derived rule is a rule which doesn t let us prove anything we couldn t prove already If something is proved using derived rules, then it could be proved using just basic ones, and so has to be valid. Modus Tollens If you do a lot of natural deduction using just basic rules, you will find that this pattern shows up all the time: 1 A B 2 B 3 A 4 B 5 6 B After a while this gets tedious and boring, and a general principle is clear: given a conditional and the negation of its consequent, you can always deduce the negation of the antecedent So our first derived rule is this: modus tollens: given a conditional and the negation of its consequent, infer the negation of the antecedent 12

13 Double negation rules There are a seemingly obvious pair of argument-schemes we have not yet legitimated: A A, and A A But given any formula A, you can always deduce A, like this: 1 A 2 A 3 I, 1, 2 4 A E, 3 and conversely given A you can deduce A: 1 A 2 A Summarizing these in a rule we get 3 I, 1, 2 4 A E, 3 double negation: from A, infer A, and vice versa. Excluded middle There is a version of proof by cases which sometimes comes in handy: Suppose you know that something follows from A and also follows from A Then it must be true outright! Why? How can we justify this? First demonstrate the validity of A A, then use disjunction elimination. So the rule is this: having deduced B from A and also having deduced B from A, infer B outright. 13

14 Reiteration Suppose that you re building an argument you began by assuming the premises then you added some temporary assumptions too within the scope of the temporary assumptions, you can always assert what follows from the original premises after all, if it follows from the premises, then it must follow from the premises plus the temporary assumptions so if you ve proved something, you ought to be able to reiterate it within the scope of any further assumptions The basic rules of natural deduction legitimate this practice: 1 A 2 B 3 A B I, 1, 2 4 A E, 3 it is ok if you think that this justification a bit sneaky but, the principle is really wired into the system and in any case, it is obviously correct so here is the rule: reiteration: if you ve already recorded some statement as a premise or conclusion within the scope of the lines, then reiterate that statement within the scope of that plus any further lines. Ex Falso Quodlibet Consider the argument P, P Q is it valid? Well, suppose it s not valid then there s a world where all premises are true while the conclusion is false so there s a world where both P and P are true that s absurd! therefore, P, P Q is valid Similarly, consider P is it valid? 14

15 suppose not then some world makes true and P false but is false by definition! so, yes it is definitely valid There is a more general principle here: from a contradiction, everything follows Can this reasoning be carried out using natural deduction? Yes! 1 2 A 3 reiteration, 2 4 A E, 4 so here s the rule: EFQ: having deduced, infer any other formula A Disjunctive syllogism This is a very natural principle involving disjunction and negation Suppose you know that A B is true but also that A is true Then at least one of A and B is true while A is not true So B must be true It is easy to justify, given the rules we ve derived already: 1 A B 2 A 3 A 4 I, 2, 3 5 B EFQ, 4 6 B 7 B reiteration, 6 8 B E, 1, 5, 7 15

Proof strategies, or, a manual of logical style

Proof strategies, or, a manual of logical style Proof strategies, or, a manual of logical style Dr Holmes September 27, 2017 This is yet another version of the manual of logical style I have been working on for many years This semester, instead of posting

More information

Intermediate Logic. Natural Deduction for TFL

Intermediate Logic. Natural Deduction for TFL Intermediate Logic Lecture Two Natural Deduction for TFL Rob Trueman rob.trueman@york.ac.uk University of York The Trouble with Truth Tables Natural Deduction for TFL The Trouble with Truth Tables The

More information

Today s Lecture 2/25/10. Truth Tables Continued Introduction to Proofs (the implicational rules of inference)

Today s Lecture 2/25/10. Truth Tables Continued Introduction to Proofs (the implicational rules of inference) Today s Lecture 2/25/10 Truth Tables Continued Introduction to Proofs (the implicational rules of inference) Announcements Homework: -- Ex 7.3 pg. 320 Part B (2-20 Even). --Read chapter 8.1 pgs. 345-361.

More information

FORMAL PROOFS DONU ARAPURA

FORMAL PROOFS DONU ARAPURA FORMAL PROOFS DONU ARAPURA This is a supplement for M385 on formal proofs in propositional logic. Rather than following the presentation of Rubin, I want to use a slightly different set of rules which

More information

Deduction by Daniel Bonevac. Chapter 3 Truth Trees

Deduction by Daniel Bonevac. Chapter 3 Truth Trees Deduction by Daniel Bonevac Chapter 3 Truth Trees Truth trees Truth trees provide an alternate decision procedure for assessing validity, logical equivalence, satisfiability and other logical properties

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

Propositional Logic Review

Propositional Logic Review Propositional Logic Review UC Berkeley, Philosophy 142, Spring 2016 John MacFarlane The task of describing a logical system comes in three parts: Grammar Describing what counts as a formula Semantics Defining

More information

In this chapter, we specify a deductive apparatus for PL.

In this chapter, we specify a deductive apparatus for PL. Handout 5 PL Derivations In this chapter, we specify a deductive apparatus for PL Definition deductive apparatus A deductive apparatus for PL is a set of rules of inference (or derivation rules) that determine

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

PHIL12A Section answers, 28 Feb 2011

PHIL12A Section answers, 28 Feb 2011 PHIL12A Section answers, 28 Feb 2011 Julian Jonker 1 How much do you know? Give formal proofs for the following arguments. 1. (Ex 6.18) 1 A B 2 A B 1 A B 2 A 3 A B Elim: 2 4 B 5 B 6 Intro: 4,5 7 B Intro:

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

Proof Worksheet 2, Math 187 Fall 2017 (with solutions)

Proof Worksheet 2, Math 187 Fall 2017 (with solutions) Proof Worksheet 2, Math 187 Fall 2017 (with solutions) Dr. Holmes October 17, 2017 The instructions are the same as on the first worksheet, except you can use all the rules in the strategies handout. We

More information

PHIL012. SYMBOLIC LOGIC PROPOSITIONAL LOGIC DERIVATIONS

PHIL012. SYMBOLIC LOGIC PROPOSITIONAL LOGIC DERIVATIONS HIL012 SYMBOLIC LOGIC ROOSITIONL LOGIC DERIVTIONS When we argue, what we want are (i) clearly specifiable rules, (ii) that apply to any particular subject matter, and (iii) that legitimate transitions

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

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

Arguments and Proofs. 1. A set of sentences (the premises) 2. A sentence (the conclusion)

Arguments and Proofs. 1. A set of sentences (the premises) 2. A sentence (the conclusion) Arguments and Proofs For the next section of this course, we will study PROOFS. A proof can be thought of as the formal representation of a process of reasoning. Proofs are comparable to arguments, since

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

CSCI.6962/4962 Software Verification Fundamental Proof Methods in Computer Science (Arkoudas and Musser) Chapter p. 1/33

CSCI.6962/4962 Software Verification Fundamental Proof Methods in Computer Science (Arkoudas and Musser) Chapter p. 1/33 CSCI.6962/4962 Software Verification Fundamental Proof Methods in Computer Science (Arkoudas and Musser) Chapter 4.1-4.8 p. 1/33 CSCI.6962/4962 Software Verification Fundamental Proof Methods in Computer

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

A Quick Lesson on Negation

A Quick Lesson on Negation A Quick Lesson on Negation Several of the argument forms we have looked at (modus tollens and disjunctive syllogism, for valid forms; denying the antecedent for invalid) involve a type of statement which

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

PHIL 422 Advanced Logic Inductive Proof

PHIL 422 Advanced Logic Inductive Proof PHIL 422 Advanced Logic Inductive Proof 1. Preamble: One of the most powerful tools in your meta-logical toolkit will be proof by induction. Just about every significant meta-logical result relies upon

More information

1.1 Statements and Compound Statements

1.1 Statements and Compound Statements Chapter 1 Propositional Logic 1.1 Statements and Compound Statements A statement or proposition is an assertion which is either true or false, though you may not know which. That is, a statement is something

More information

Section 1.3: Valid and Invalid Arguments

Section 1.3: Valid and Invalid Arguments Section 1.3: Valid and Invalid Arguments Now we have developed the basic language of logic, we shall start to consider how logic can be used to determine whether or not a given argument is valid. In order

More information

CHAPTER 6 - THINKING ABOUT AND PRACTICING PROPOSITIONAL LOGIC

CHAPTER 6 - THINKING ABOUT AND PRACTICING PROPOSITIONAL LOGIC 1 CHAPTER 6 - THINKING ABOUT AND PRACTICING PROPOSITIONAL LOGIC Here, you ll learn: what it means for a logic system to be finished some strategies for constructing proofs Congratulations! Our system of

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

THE LOGIC OF COMPOUND STATEMENTS

THE LOGIC OF COMPOUND STATEMENTS THE LOGIC OF COMPOUND STATEMENTS All dogs have four legs. All tables have four legs. Therefore, all dogs are tables LOGIC Logic is a science of the necessary laws of thought, without which no employment

More information

Logic I - Session 10 Thursday, October 15,

Logic I - Session 10 Thursday, October 15, Logic I - Session 10 Thursday, October 15, 2009 1 Plan Re: course feedback Review of course structure Recap of truth-functional completeness? Soundness of SD Thursday, October 15, 2009 2 The course structure

More information

A Little Deductive Logic

A Little Deductive Logic A Little Deductive Logic In propositional or sentential deductive logic, we begin by specifying that we will use capital letters (like A, B, C, D, and so on) to stand in for sentences, and we assume that

More information

8.8 Statement Forms and Material Equivalence

8.8 Statement Forms and Material Equivalence M08_COPI1396_13_SE_C08.QXD 10/16/07 9:19 PM Page 357 8.8 Statement Forms and Material Equivalence 357 murdered. So either lawlessness will be rewarded or innocent hostages will be murdered. 8. If people

More information

Deductive and Inductive Logic

Deductive and Inductive Logic Deductive Logic Overview (1) Distinguishing Deductive and Inductive Logic (2) Validity and Soundness (3) A Few Practice Deductive Arguments (4) Testing for Invalidity (5) Practice Exercises Deductive and

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

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

Symbolic Logic 3. For an inference to be deductively valid it is impossible for the conclusion to be false if the premises are true. Symbolic Logic 3 Testing deductive validity with truth tables For an inference to be deductively valid it is impossible for the conclusion to be false if the premises are true. So, given that truth tables

More information

Chapter 1: The Logic of Compound Statements. January 7, 2008

Chapter 1: The Logic of Compound Statements. January 7, 2008 Chapter 1: The Logic of Compound Statements January 7, 2008 Outline 1 1.1 Logical Form and Logical Equivalence 2 1.2 Conditional Statements 3 1.3 Valid and Invalid Arguments Central notion of deductive

More information

Warm-Up Problem. Write a Resolution Proof for. Res 1/32

Warm-Up Problem. Write a Resolution Proof for. Res 1/32 Warm-Up Problem Write a Resolution Proof for Res 1/32 A second Rule Sometimes throughout we need to also make simplifications: You can do this in line without explicitly mentioning it (just pretend you

More information

A Little Deductive Logic

A Little Deductive Logic A Little Deductive Logic In propositional or sentential deductive logic, we begin by specifying that we will use capital letters (like A, B, C, D, and so on) to stand in for sentences, and we assume that

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

Proving Things. Why prove things? Proof by Substitution, within Logic. Rules of Inference: applying Logic. Using Assumptions.

Proving Things. Why prove things? Proof by Substitution, within Logic. Rules of Inference: applying Logic. Using Assumptions. 1 Proving Things Why prove things? Proof by Substitution, within Logic Rules of Inference: applying Logic Using Assumptions Proof Strategies 2 Why Proofs? Knowledge is power. Where do we get it? direct

More information

Guide to Proofs on Sets

Guide to Proofs on Sets CS103 Winter 2019 Guide to Proofs on Sets Cynthia Lee Keith Schwarz I would argue that if you have a single guiding principle for how to mathematically reason about sets, it would be this one: All sets

More information

Formal Logic. Critical Thinking

Formal Logic. Critical Thinking ormal Logic Critical hinking Recap: ormal Logic If I win the lottery, then I am poor. I win the lottery. Hence, I am poor. his argument has the following abstract structure or form: If P then Q. P. Hence,

More information

Lecture 5 : Proofs DRAFT

Lecture 5 : Proofs DRAFT CS/Math 240: Introduction to Discrete Mathematics 2/3/2011 Lecture 5 : Proofs Instructor: Dieter van Melkebeek Scribe: Dalibor Zelený DRAFT Up until now, we have been introducing mathematical notation

More information

Logic, Sets, and Proofs

Logic, Sets, and Proofs Logic, Sets, and Proofs David A. Cox and Catherine C. McGeoch Amherst College 1 Logic Logical Operators. A logical statement is a mathematical statement that can be assigned a value either true or false.

More information

Single-Predicate Derivations

Single-Predicate Derivations Single-Predicate Derivations Let s do some derivations. Start with an easy one: Practice #1: Fb, Gb Ⱶ (ꓱx)(Fx Gx) Imagine that I have a frog named Bob. The above inference might go like this: Bob is friendly.

More information

MATH 22 INFERENCE & QUANTIFICATION. Lecture F: 9/18/2003

MATH 22 INFERENCE & QUANTIFICATION. Lecture F: 9/18/2003 MATH 22 Lecture F: 9/18/2003 INFERENCE & QUANTIFICATION Sixty men can do a piece of work sixty times as quickly as one man. One man can dig a post-hole in sixty seconds. Therefore, sixty men can dig a

More information

CHAPTER 1 - LOGIC OF COMPOUND STATEMENTS

CHAPTER 1 - LOGIC OF COMPOUND STATEMENTS CHAPTER 1 - LOGIC OF COMPOUND STATEMENTS 1.1 - Logical Form and Logical Equivalence Definition. A statement or proposition is a sentence that is either true or false, but not both. ex. 1 + 2 = 3 IS a statement

More information

First-Degree Entailment

First-Degree Entailment March 5, 2013 Relevance Logics Relevance logics are non-classical logics that try to avoid the paradoxes of material and strict implication: p (q p) p (p q) (p q) (q r) (p p) q p (q q) p (q q) Counterintuitive?

More information

Propositional Logic. Spring Propositional Logic Spring / 32

Propositional Logic. Spring Propositional Logic Spring / 32 Propositional Logic Spring 2016 Propositional Logic Spring 2016 1 / 32 Introduction Learning Outcomes for this Presentation Learning Outcomes... At the conclusion of this session, we will Define the elements

More information

15414/614 Optional Lecture 1: Propositional Logic

15414/614 Optional Lecture 1: Propositional Logic 15414/614 Optional Lecture 1: Propositional Logic Qinsi Wang Logic is the study of information encoded in the form of logical sentences. We use the language of Logic to state observations, to define concepts,

More information

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

Lecture 2. Logic Compound Statements Conditional Statements Valid & Invalid Arguments Digital Logic Circuits. Reading (Epp s textbook) Lecture 2 Logic Compound Statements Conditional Statements Valid & Invalid Arguments Digital Logic Circuits Reading (Epp s textbook) 2.1-2.4 1 Logic Logic is a system based on statements. A statement (or

More information

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

cis32-ai lecture # 18 mon-3-apr-2006 cis32-ai lecture # 18 mon-3-apr-2006 today s topics: propositional logic cis32-spring2006-sklar-lec18 1 Introduction Weak (search-based) problem-solving does not scale to real problems. To succeed, problem

More information

Truth-Functional Logic

Truth-Functional Logic Truth-Functional Logic Syntax Every atomic sentence (A, B, C, ) is a sentence and are sentences With ϕ a sentence, the negation ϕ is a sentence With ϕ and ψ sentences, the conjunction ϕ ψ is a sentence

More information

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

Propositional Logic. Jason Filippou UMCP. ason Filippou UMCP) Propositional Logic / 38 Propositional Logic Jason Filippou CMSC250 @ UMCP 05-31-2016 ason Filippou (CMSC250 @ UMCP) Propositional Logic 05-31-2016 1 / 38 Outline 1 Syntax 2 Semantics Truth Tables Simplifying expressions 3 Inference

More information

Logic for Computer Science - Week 4 Natural Deduction

Logic for Computer Science - Week 4 Natural Deduction Logic for Computer Science - Week 4 Natural Deduction 1 Introduction In the previous lecture we have discussed some important notions about the semantics of propositional logic. 1. the truth value of a

More information

8. Reductio ad absurdum

8. Reductio ad absurdum 8. Reductio ad absurdum 8.1 A historical example In his book, The Two New Sciences, 10 Galileo Galilea (1564-1642) gives several arguments meant to demonstrate that there can be no such thing as actual

More information

6. Conditional derivations

6. Conditional derivations 6. Conditional derivations 6.1 An argument from Hobbes In his great work, Leviathan, the philosopher Thomas Hobbes (1588-1679) gives an important argument for government. Hobbes begins by claiming that

More information

Proof Techniques (Review of Math 271)

Proof Techniques (Review of Math 271) Chapter 2 Proof Techniques (Review of Math 271) 2.1 Overview This chapter reviews proof techniques that were probably introduced in Math 271 and that may also have been used in a different way in Phil

More information

Math 300 Introduction to Mathematical Reasoning Autumn 2017 Proof Templates 1

Math 300 Introduction to Mathematical Reasoning Autumn 2017 Proof Templates 1 Math 300 Introduction to Mathematical Reasoning Autumn 2017 Proof Templates 1 In its most basic form, a mathematical proof is just a sequence of mathematical statements, connected to each other by strict

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

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

PUZZLE. You meet A, B, and C in the land of knights and knaves. A says Either B and I are both knights or we are both knaves.

PUZZLE. You meet A, B, and C in the land of knights and knaves. A says Either B and I are both knights or we are both knaves. PUZZLE You meet A, B, and C in the land of knights and knaves. A says Either B and I are both knights or we are both knaves. B says C and I are the same type. C says Either A is a knave or B is a knave.

More information

6. Conditional derivations

6. Conditional derivations 6. Conditional derivations 6.1 An argument from Hobbes In his great work, Leviathan, the philosopher Thomas Hobbes gives an important argument for government. Hobbes begins by claiming that without a common

More information

3/29/2017. Logic. Propositions and logical operations. Main concepts: propositions truth values propositional variables logical operations

3/29/2017. Logic. Propositions and logical operations. Main concepts: propositions truth values propositional variables logical operations Logic Propositions and logical operations Main concepts: propositions truth values propositional variables logical operations 1 Propositions and logical operations A proposition is the most basic element

More information

Inference and Proofs (1.6 & 1.7)

Inference and Proofs (1.6 & 1.7) EECS 203 Spring 2016 Lecture 4 Page 1 of 9 Introductory problem: Inference and Proofs (1.6 & 1.7) As is commonly the case in mathematics, it is often best to start with some definitions. An argument for

More information

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

Natural Deduction is a method for deriving the conclusion of valid arguments expressed in the symbolism of propositional logic. Natural Deduction is a method for deriving the conclusion of valid arguments expressed in the symbolism of propositional logic. The method consists of using sets of Rules of Inference (valid argument forms)

More information

Guide to Proofs on Discrete Structures

Guide to Proofs on Discrete Structures CS103 Handout 17 Spring 2018 Guide to Proofs on Discrete Structures In Problem Set One, you got practice with the art of proofwriting in general (as applied to numbers, sets, puzzles, etc.) Problem Set

More information

Collins' notes on Lemmon's Logic

Collins' notes on Lemmon's Logic Collins' notes on Lemmon's Logic (i) Rule of ssumption () Insert any formula at any stage into a proof. The assumed formula rests upon the assumption of itself. (ii) Double Negation (DN) a. b. ( Two negations

More information

6. THE OFFICIAL INFERENCE RULES

6. THE OFFICIAL INFERENCE RULES 154 Hardegree, Symbolic Logic 6. THE OFFICIAL INFERENCE RULES So far, we have discussed only four inference rules: modus ponens, modus tollens, and the two forms of modus tollendo ponens. In the present

More information

Chapter 2. Mathematical Reasoning. 2.1 Mathematical Models

Chapter 2. Mathematical Reasoning. 2.1 Mathematical Models Contents Mathematical Reasoning 3.1 Mathematical Models........................... 3. Mathematical Proof............................ 4..1 Structure of Proofs........................ 4.. Direct Method..........................

More information

Overview of Today s Lecture

Overview of Today s Lecture Branden Fitelson Philosophy 4515 (Advanced Logic) Notes 1 Overview of Today s Lecture Administrative Stuff HW #1 grades and solutions have been posted Please make sure to work through the solutions HW

More information

lec6 8: Natural deduction

lec6 8: Natural deduction lec6 8: Natural deduction Joshua Dunfield February 1, 2018 1 Background In the early 1900s, the principal efforts towards foundations for mathematical and logical reasoning mathematical logic focused on

More information

#29: Logarithm review May 16, 2009

#29: Logarithm review May 16, 2009 #29: Logarithm review May 16, 2009 This week we re going to spend some time reviewing. I say re- view since you ve probably seen them before in theory, but if my experience is any guide, it s quite likely

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

PHIL12A Section answers, 16 February 2011

PHIL12A Section answers, 16 February 2011 PHIL12A Section answers, 16 February 2011 Julian Jonker 1 How much do you know? 1. Show that the following sentences are equivalent. (a) (Ex 4.16) A B A and A B A B (A B) A A B T T T T T T T T T T T F

More information

Predicate Logic & Quantification

Predicate Logic & Quantification Predicate Logic & Quantification Things you should do Homework 1 due today at 3pm Via gradescope. Directions posted on the website. Group homework 1 posted, due Tuesday. Groups of 1-3. We suggest 3. In

More information

The Logic of Compound Statements cont.

The Logic of Compound Statements cont. The Logic of Compound Statements cont. CSE 215, Computer Science 1, Fall 2011 Stony Brook University http://www.cs.stonybrook.edu/~cse215 Refresh from last time: Logical Equivalences Commutativity of :

More information

MACM 101 Discrete Mathematics I. Exercises on Propositional Logic. Due: Tuesday, September 29th (at the beginning of the class)

MACM 101 Discrete Mathematics I. Exercises on Propositional Logic. Due: Tuesday, September 29th (at the beginning of the class) MACM 101 Discrete Mathematics I Exercises on Propositional Logic. Due: Tuesday, September 29th (at the beginning of the class) SOLUTIONS 1. Construct a truth table for the following compound proposition:

More information

Logic. Propositional Logic: Syntax

Logic. Propositional Logic: Syntax Logic Propositional Logic: Syntax Logic is a tool for formalizing reasoning. There are lots of different logics: probabilistic logic: for reasoning about probability temporal logic: for reasoning about

More information

Logic for Computer Science - Week 5 Natural Deduction

Logic for Computer Science - Week 5 Natural Deduction Logic for Computer Science - Week 5 Natural Deduction Ștefan Ciobâcă November 30, 2017 1 An Alternative View of Implication and Double Implication So far, we have understood as a shorthand of However,

More information

5. And. 5.1 The conjunction

5. And. 5.1 The conjunction 5. And 5.1 The conjunction To make our logical language more easy and intuitive to use, we can now add to it elements that make it able to express the equivalents of other sentences from a natural language

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

Propositional Logic. Logic. Propositional Logic Syntax. Propositional Logic

Propositional Logic. Logic. Propositional Logic Syntax. Propositional Logic Propositional Logic Reading: Chapter 7.1, 7.3 7.5 [ased on slides from Jerry Zhu, Louis Oliphant and ndrew Moore] Logic If the rules of the world are presented formally, then a decision maker can use logical

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

DISCRETE MATH: LECTURE 3

DISCRETE MATH: LECTURE 3 DISCRETE MATH: LECTURE 3 DR. DANIEL FREEMAN 1. Chapter 2.2 Conditional Statements If p and q are statement variables, the conditional of q by p is If p then q or p implies q and is denoted p q. It is false

More information

Logik für Informatiker Proofs in propositional logic

Logik für Informatiker Proofs in propositional logic Logik für Informatiker Proofs in propositional logic WiSe 009/10 al consequence Q is a logical consequence of P 1,, P n, if all worlds that make P 1,, P n true also make Q true Q is a tautological consequence

More information

5. And. 5.1 The conjunction

5. And. 5.1 The conjunction 5. And 5.1 The conjunction To make our logical language more easy and intuitive to use, we can now add to it elements that make it able to express the equivalents of other sentences from a natural language

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

At the start of the term, we saw the following formula for computing the sum of the first n integers:

At the start of the term, we saw the following formula for computing the sum of the first n integers: Chapter 11 Induction This chapter covers mathematical induction. 11.1 Introduction to induction At the start of the term, we saw the following formula for computing the sum of the first n integers: Claim

More information

8. Reductio ad absurdum

8. Reductio ad absurdum 8. Reductio ad absurdum 8.1 A historical example In his book, The Two New Sciences, Galileo Galilea (1564-1642) gives several arguments meant to demonstrate that there can be no such thing as actual infinities

More information

Notes on Inference and Deduction

Notes on Inference and Deduction Notes on Inference and Deduction Consider the following argument 1 Assumptions: If the races are fixed or the gambling houses are crooked, then the tourist trade will decline. If the tourist trade declines

More information

First Order Logic: Syntax and Semantics

First Order Logic: Syntax and Semantics irst Order Logic: Syntax and Semantics COMP30412 Sean Bechhofer sean.bechhofer@manchester.ac.uk Logic Recap You should already know the basics of irst Order Logic (OL) It s a prerequisite of this course!

More information

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

Natural Deduction. Formal Methods in Verification of Computer Systems Jeremy Johnson Natural Deduction Formal Methods in Verification of Computer Systems Jeremy Johnson Outline 1. An example 1. Validity by truth table 2. Validity by proof 2. What s a proof 1. Proof checker 3. Rules of

More information

Logic. Propositional Logic: Syntax. Wffs

Logic. Propositional Logic: Syntax. Wffs Logic Propositional Logic: Syntax Logic is a tool for formalizing reasoning. There are lots of different logics: probabilistic logic: for reasoning about probability temporal logic: for reasoning about

More information

Introduction Logic Inference. Discrete Mathematics Andrei Bulatov

Introduction Logic Inference. Discrete Mathematics Andrei Bulatov Introduction Logic Inference Discrete Mathematics Andrei Bulatov Discrete Mathematics - Logic Inference 6-2 Previous Lecture Laws of logic Expressions for implication, biconditional, exclusive or Valid

More information

Relevant Logic. Daniel Bonevac. March 20, 2013

Relevant Logic. Daniel Bonevac. March 20, 2013 March 20, 2013 The earliest attempts to devise a relevance logic that avoided the problem of explosion centered on the conditional. FDE, however, has no conditional operator, or a very weak one. If we

More information

Unit 1. Propositional Logic Reading do all quick-checks Propositional Logic: Ch. 2.intro, 2.2, 2.3, 2.4. Review 2.9

Unit 1. Propositional Logic Reading do all quick-checks Propositional Logic: Ch. 2.intro, 2.2, 2.3, 2.4. Review 2.9 Unit 1. Propositional Logic Reading do all quick-checks Propositional Logic: Ch. 2.intro, 2.2, 2.3, 2.4. Review 2.9 Typeset September 23, 2005 1 Statements or propositions Defn: A statement is an assertion

More information

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

Proseminar on Semantic Theory Fall 2013 Ling 720 Propositional Logic: Syntax and Natural Deduction 1 Propositional Logic: Syntax and Natural Deduction 1 The Plot That Will Unfold I want to provide some key historical and intellectual context to the model theoretic approach to natural language semantics,

More information

Chapter 1 Review of Equations and Inequalities

Chapter 1 Review of Equations and Inequalities Chapter 1 Review of Equations and Inequalities Part I Review of Basic Equations Recall that an equation is an expression with an equal sign in the middle. Also recall that, if a question asks you to solve

More information

(p == train arrives late) (q == there are taxis) (r == If p and not q, then r. Not r. p. Therefore, q. Propositional Logic

(p == train arrives late) (q == there are taxis) (r == If p and not q, then r. Not r. p. Therefore, q. Propositional Logic Propositional Logic The aim of logic in computer science is to develop languages to model the situations we encounter as computer science professionals Want to do that in such a way that we can reason

More information

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

1 Functions and Sets. 1.1 Sets and Subsets. Phil 450: The Limits of Logic Jeff Russell, Fall 2014 1 Phil 450: The Limits of Logic Jeff Russell, Fall 2014 Any statement that is not an Axiom (Ax) or a Definition (Def) or a Remark (R) or an Example is an Exercise. Unless it says otherwise, the exercise

More information

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

Propositional Logic Arguments (5A) Young W. Lim 11/30/16 Propositional Logic (5A) Young W. Lim Copyright (c) 2016 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version

More information