Workbook Unit 13: Natural Deduction Proofs (IV)

Similar documents
STABILITY AND PARADOX IN ALGORITHMIC LOGIC

Mathematical Logic Prof. Arindama Singh Department of Mathematics Indian Institute of Technology, Madras. Lecture - 37 Resolution Rules

ELEMENTARY NUMBER THEORY AND METHODS OF PROOF

Chapter 9 Deductive Arguments II Truth-Functional Logic. Tutorial: Truth Tables

Answer Key #1 Phil 414 JL Shaheen Fall 2010

Propositional Logic. Part I

Recursively Enumerable Languages, Turing Machines, and Decidability

Resolution (14A) Young W. Lim 6/14/14

2 Introduction to operational semantics

Mathematical Logic Prof. Arindama Singh Department of Mathematics Indian Institute of Technology, Madras. Lecture - 9 Normal Forms

for all x, the assertion P(x) is false. there exists x, for which the assertion P(x) is true.

Diagonalization. The cardinality of a finite set is easy to grasp: {1,3,4} = 3. But what about infinite sets?

Formal Methods of Software Design, Eric Hehner, segment 1 page 1 out of 5

CS2 Algorithms and Data Structures Note 10. Depth-First Search and Topological Sorting

Definition: A context-free grammar (CFG) is a 4- tuple. variables = nonterminals, terminals, rules = productions,,

Homework 1 CS 1050 A Due:

Propositional Logic Formal Syntax and Semantics. Computability and Logic

Section 2.4: Arguments with Quantified Statements

[Ch 6] Set Theory. 1. Basic Concepts and Definitions. 400 lecture note #4. 1) Basics

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

Proofwriting Checklist

(a) (4 pts) Prove that if a and b are rational, then ab is rational. Since a and b are rational they can be written as the ratio of integers a 1

INTLOGS17 Test 1. Prof: S Bringsjord TA: Rini Palamittam NY

CS103 Spring 2018 Mathematical Vocabulary

AXIOMS OF AN IMPERATIVE LANGUAGE PARTIAL CORRECTNESS WEAK AND STRONG CONDITIONS. THE AXIOM FOR nop

BOOLEAN ALGEBRA AND CIRCUITS

Order from Chaos. University of Nebraska-Lincoln Discrete Mathematics Seminar

CS103 Handout 29 Winter 2018 February 9, 2018 Inductive Proofwriting Checklist

Propositional Logic. Andreas Klappenecker

Lecture Notes 15 Number systems and logic CSS Data Structures and Object-Oriented Programming Professor Clark F. Olson

Introduction to dependent types in Coq

Lecture 5. Logic I. Statement Logic

Propositional Calculus

A Brief Introduction to Truth-Table Logic. Kent Slinker Pima Community College

Lecture Notes on Contracts

p x i 1 i n x, y, z = 2 x 3 y 5 z

Lecture 1 Contracts : Principles of Imperative Computation (Fall 2018) Frank Pfenning

Operational Semantics

Lecture 1 Contracts. 1 A Mysterious Program : Principles of Imperative Computation (Spring 2018) Frank Pfenning

The angle measure at for example the vertex A is denoted by m A, or m BAC.

NP-Completeness of 3SAT, 1-IN-3SAT and MAX 2SAT

The Satisfiability Problem [HMU06,Chp.10b] Satisfiability (SAT) Problem Cook s Theorem: An NP-Complete Problem Restricted SAT: CSAT, k-sat, 3SAT

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

Interpretations and Models. Chapter Axiomatic Systems and Incidence Geometry

Propositional Calculus: Boolean Algebra and Simplification. CS 270: Mathematical Foundations of Computer Science Jeremy Johnson

Order from Chaos. Nebraska Wesleyan University Mathematics Circle

Part II: Propositional Logic Homework Problems

1 Introduction CHAPTER ONE: SETS

(Refer Slide Time 3:31)

Greedy Algorithms. Previous Examples: Huffman coding, Minimum Spanning Tree Algorithms

Lecture 5: The Halting Problem. Michael Beeson

1 The Axiom of Extensionality

Symbolic Execution and Proof of Properties

Binary Decision Diagrams

THE FOUNDATIONS OF MATHEMATICS

First-Order Logic PREDICATE LOGIC. Syntax. Terms

CS 3512, Spring Instructor: Doug Dunham. Textbook: James L. Hein, Discrete Structures, Logic, and Computability, 3rd Ed. Jones and Barlett, 2010

星の研究. A Study of Stars. Junten Science Library 4. Revised English version based on the lecture on 2 nd Dec for

Mathematical Logic Part One

Bootcamp. Christoph Thiele. Summer An example of a primitive universe

Utility Maximization

1. Logic as a subject matter is the study of logics, understood as models of acceptable inference patterns

The set consisting of all natural numbers that are in A and are in B is the set f1; 3; 5g;

Lecture 14: Lower Bounds for Tree Resolution

Revisiting Kalmar completeness metaproof

Lecture 4: examples of topological spaces, coarser and finer topologies, bases and closed sets

Continuous functions and homeomorphisms

function at the given point. Thus, for our previous example we would find that lim f(x) = 0

Logic and its Applications

Ramsey s Theorem on Graphs

Semantic Tableau Prover for Modal Logic

CONNECTED SPACES AND HOW TO USE THEM

PROPOSITIONAL LOGIC (2)

6.080 / Great Ideas in Theoretical Computer Science Spring 2008

Logical Connectives. All kittens are cute. ; I like pizza. ; The sky is blue. ; Triangles have three sides.

Propositional Calculus. Math Foundations of Computer Science

Notes on Turing s Theorem and Computability

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

Example of a Demonstration that a Problem is NP-Complete by reduction from CNF-SAT

CSC 501 Semantics of Programming Languages

Truth Trees. Truth Tree Fundamentals

Lecture Notes on Static Semantics

CSE 20 DISCRETE MATH. Fall

Algebra of Sets. Aditya Ghosh. April 6, 2018 It is recommended that while reading it, sit with a pen and a paper.

We will show that the height of a RB tree on n vertices is approximately 2*log n. In class I presented a simple structural proof of this claim:

MATH20902: Discrete Maths, Solutions to Problem Set 1. These solutions, as well as the corresponding problems, are available at

CS161 Handout 07 Summer 2013 July 17, 2013 Guide to Reductions. Thanks to Julie Tibshirani for helping with this handout!

MITOCW watch?v=kvtlwgctwn4

CS Bootcamp Boolean Logic Autumn 2015 A B A B T T T T F F F T F F F F T T T T F T F T T F F F

CSE-6490B Assignment #1

Design Theory for Relational Databases

Kuratowski Notes , Fall 2005, Prof. Peter Shor Revised Fall 2007

Induction and Semantics in Dafny

CS 161 Computer Security

Lecture 1. 1 Notation

On Considerations of Language in the Diagonal Proof

Stable Harmony. Nils Kurbis

Material from Recitation 1

Foundations of Computation

HOL DEFINING HIGHER ORDER LOGIC LAST TIME ON HOL CONTENT. Slide 3. Slide 1. Slide 4. Slide 2 WHAT IS HIGHER ORDER LOGIC? 2 LAST TIME ON HOL 1

Transcription:

Workbook Unit 13: Natural Deduction Proofs (IV) Overview 1 1. The Biconditional Introduction Rule ( Int) 2 2. The Disjunction Elimination Rule ( Elim) 7 3. Reductio ad absurdum arguments: ~Int and ~Elim 14 3.1. Negation Introduction Rule (~Int) 15 3.2. The Negation Elimination Rule (~Elim) 20 What You Need to Know and Do 23 Overview This unit introduces the remaining inference rules Int, Elim, ~Int and ~Elim explains how tautologies are proved in system SD Prerequisites You need to have completed Units 10, 11, 12 Logic Self-Taught: Course Workbook, version 2007-1 13-1 Katarzyna Paprzycka drp@swps.edu.pl

1. The Biconditional Introduction Rule ( Int) If in one subderivation whose assumption is p you can derive r, and in another subderivation whose assumption is r you can derive p, then you are allowed to add a line to the derivation with the biconditional p r. i. p Assp ( Int) j. r k. r Assp ( Int) l. p p r Int i j, k l Intuitions This rule is quite intuitive if you understand the Int rule and if you understand that a biconditional p if and of if r is a conjunction of two conditionals: p if r (r p) and p only if r (p r). Constructing subderivations for rule Int The Int rule is again a structural rule. Whenever we want to introduce a biconditional into the derivation, we must first construct two sister subderivations and the Int rule tells us exactly what the assumptions of those subderivations will be and what conclusions we will need to derive. Practice constructing such derivations in the exercises below. Exercises on Applying Int Int.I.a. In all of the following proof schemata, you are asked to apply the Int rule to derive a certain biconditional. Fill in the information missing in step 9. (Note that the point of the exercise is not to actually construct the whole proof!) (a) 3 B Assp ( Int) 5 A 6 A Assp ( Int) 8 B 9 B A Int 3 5, 6 8 (b) 3 C Assp ( Int) 5 ~A 6 ~A Assp ( Int) 8 C 9 C ~A Int 3 5, 6 8 Logic Self-Taught Unit 13. Natural Deduction Proofs (IV) 13-2

(c) 3 B C Assp ( Int) 5 C B 6 C B Assp ( Int) 8 B C 9 (B C) (C B) Int 3 5, 6 8 (d) 3 A C Assp ( Int) 5 ~C A 6 ~C A Assp ( Int) 8 A C 9 (A C) (~C A) Int 3 5, 6 8 Int.I.b. In all of the following proof schemata, you are asked to apply the Int rule to derive a biconditional (line 9). To do that we need construct two sister subderivations. Your task is to fill in the assumptions and the conclusions of both subderivations. (As before, the point of the exercise is not to actually construct the whole proof!) (a) (b) 3 D Assp ( Int) 5 A 6 A Assp ( Int) 8 D 9 D A Int 3 5, 6 8 (c) 3 ~~B Assp ( Int) 5 ~(A ~B) 6 ~(A ~B) Assp ( Int) 8 ~~B 9 ~~B ~(A ~B) Int 3 5, 6 8 3 A C Assp ( Int) 5 C B 6 C B Assp ( Int) 8 A C 9 (A C) (C B) Int 3 5, 6 8 (d) 3 A B Assp ( Int) 5 C 6 C Assp ( Int) 8 A B 9 (A B) C Int 3 5, 6 8 Logic Self-Taught Unit 13. Natural Deduction Proofs (IV) 13-3

Examples of Proofs Using Int Example 1. To show that the biconditional A B follows from the conjunction (A B) (B A), we need to construct two subderivations and in each derive its conclusion. Once the derivations are set up, the task is clear. Remember that while you are allowed to repeat information from the mother to each daughter. You are not allowed to repeat information between the sister derivations the derivation of A from B and from Premise 1 needs to proceed independently from the derivation of B from A and Premise 1. Complete the derivation and check that you have done so correctly with the Solutions. 1. (A B) (B A) Pr. 2. A Assp ( Int) B B Assp ( Int) A A B Logic Self-Taught Unit 13. Natural Deduction Proofs (IV) 13-4

Example 2. Prove that (A C) (B D) follows from two premises: A B and C D. This proof is again not difficult as long as we construct the subderivations properly: 1. A B Pr. 2. C D Pr. 3. A C Assp ( Int) B D B D Assp ( Int) A C (A C) (B D) Complete the proof and check the results with the Solutions. Logic Self-Taught Unit 13. Natural Deduction Proofs (IV) 13-5

Exercises on Proofs Using Int Int.II. Construct the following proofs: (a) Prove that: C D 1. A C Pr. 2. D ~A Pr. (b) Prove that: ~A ~C 1. ~A C Pr. 2. A ~C Pr. (c) Prove that: A C 1. A B Pr. 2. B C Pr. (d) Prove that: D 1. (A A) B Pr. 2. B D Pr. Logic Self-Taught Unit 13. Natural Deduction Proofs (IV) 13-6

2. The Disjunction Elimination Rule ( Elim) Given a disjunction in an earlier line of a derivation and given that you can derive a certain statement r from each of the disjuncts (in two sister subderivations), you are allowed to introduce the statement r to the derivation. i. p q j. p Assp ( Elim) k. r l. q Assp ( Elim) m. r r Elim i, j k, l m Intuitions Fill in the conclusion in the schema below: Annie will either eat the pecan pie or the apple pie. Suppose that Annie eats the pecan pie. Annie will destroy her diet. Suppose that Annie eats the apple pie. Annie will destroy her diet. Zosia z pewnością przytyje Constructing subderivations for Elim The Elim rule allows us to use information from a disjunction. Once we know that the need to use a disjunction in a derivation, the rule tells us to construct two sister subderivations and it tells us exactly what the assumptions of those subderivations must be. However, unlike the previous structural rules we have come to know ( Int and Int), the Elim rule does not specify what conclusion we will be deriving save for requiring that it be the same conclusion. What conclusion we will be deriving in each subderivation will be determined by the context of the actual proof we will be doing by what we will want to derive in each specific proof. Logic Self-Taught Unit 13. Natural Deduction Proofs (IV) 13-7

Exercises on Applying Elim Elim.I.a. In all of the following proof schemata, you are asked to apply the Elim rule to derive a certain statement. Fill in the information missing in step 9. (Note that the point of the exercise is not to actually construct the whole proof!) (a) 2 B A 3 B Assp ( Elim) (b) 2 ~C D 3 ~C Assp ( Elim) 5 C 6 A Assp ( Elim) 8 C 9 C Elim 2, 3 5, 6 8 (c) 2 (D A) (A C) 3 D A Assp ( Elim) 5 ~B A 6 A C Assp ( Elim) 8 ~B A 9 ~B A Elim 2, 3 5, 6 8 5 A 6 D Assp ( Elim) 8 A 9 A Elim 2, 3 5, 6 8 (d) 2 ~A ~B 3 ~A Assp ( Elim) 5 B A 6 ~B Assp ( Elim) 8 B A 9 B A Elim 2, 3 5, 6 8 Logic Self-Taught Unit 13. Natural Deduction Proofs (IV) 13-8

Elim.I.b. In all of the following proof schemata, you are asked to apply the Elim rule to derive a certain statement (line 9). To do that we need construct two subderivations. Your task is to fill in the assumptions and the conclusions of the subderivations (As before, the point of the exercise is not to actually construct the whole proof!) (a) 2 D B 3 D Assp ( Elim) 5 C 6 B Assp ( Elim) 8 C 9 C Elim 2, 3 5, 6 8 (c) 2 C (A B) 3 C Assp ( Elim) 5 ~D ~B 6 A B Assp ( Elim) 8 ~D ~B 9 ~D ~B Elim 2, 3 5, 6 8 (b) 2 A B 3 A Assp ( Elim) 5 C A 6 B Assp ( Elim) 8 C A 9 C A Elim 2, 3 5, 6 8 (d) 2 (A B) (B A) 3 A B Assp ( Elim) 5 A B 6 B A Assp ( Elim) 8 A B 9 A B Elim 2, 3 5, 6 8 Logic Self-Taught Unit 13. Natural Deduction Proofs (IV) 13-9

Elim.I.c. In all of the following proof schemata, you are asked to apply the Elim rule to derive a certain statement (line 9). To do that we need construct two subderivations. Your task is to fill in the assumptions and the conclusions of the subderivations (As before, the point of the exercise is not to actually construct the whole proof!) (a) 2 A ~A 3 A Assp ( Elim) 5 C 6 ~A Assp ( Elim) 8 C 9 C Elim 2, 3 5, 6 8 (c) 2 (A B) (B C) 3 A B Assp ( Elim) 5 ~B 6 B C Assp ( Elim) 8 ~B 9 ~B Elim 2, 3 5, 6 8 (b) 2 ~B ~~D 3 ~B Assp ( Elim) 5 ~~C 6 ~~D Assp ( Elim) 8 ~~C 9 ~~C Elim 2, 3 5, 6 8 (d) 2 (A B) (B A) 3 A B Assp ( Elim) 5 B A 6 B A Assp ( Elim) 8 B A 9 B A Elim 2, 3 5, 6 8 Logic Self-Taught Unit 13. Natural Deduction Proofs (IV) 13-10

Examples of Proofs Using Elim Example 3. Prove that the following reasoning is valid: Either Ann or Betty will go to the cinema. Ann will go to the cinema just in case Cecilia and Danny will both go to the cinema. If Betty goes to the cinema then Danny and George will both go to the cinema. So, Danny will go to the cinema for sure. In symbols (where the first letters of the names abbreviate appropriate simple statements): A B A (C D) B (D G) D Such premises might seem hopeless. We could derive D from premise 2 but we would have to have A, which we do not have. We could derive D from premise 3 but we would have to have B, which we do not have. Fortunately, we know that either A or B is true (premise 1). We just need to use this information appropriately. The rule that allows us to use information from a disjunction is the Elim rule. The rule tells us to construct two sister subderivations and it tells us that the assumptions of these subderivations must be A and B, respectively. The rule tells us that as long as we derive the same statement in both subderivations, we will be able to derive that statement in the main derivation. The statement that we ultimately want to derive is D, so let s fill in D as the conclusion of the subderivations. Complete the derivation and check with the Solutions. 1. A B Pr. 2. A (C D) Pr. 3. B (D G) Pr. 4. A Assp ( Elim) D B Assp ( Elim) D D Logic Self-Taught Unit 13. Natural Deduction Proofs (IV) 13-11

Exercises on Proofs Using Elim Elim.II. Construct the following proofs: (a) Prove that: B 1. ~A B Pr. 2. ~A B Pr. (b) Prove that: C 1. A B Pr. 2. (A C) (B C) Pr. Logic Self-Taught Unit 13. Natural Deduction Proofs (IV) 13-12

(c) Prove that: D G 1. A B Pr. 2. (A C) D Pr. 3. G (~A B) Pr. (d) Prove that: H B 1. A B Pr. 2. A (G H) Pr. 3. G H Pr. Logic Self-Taught Unit 13. Natural Deduction Proofs (IV) 13-13

(e) Prove that: G H 1. A B Pr. 2. A (G H) Pr. 3. G H Pr. (f) Prove that: D 1. (B A) D Pr. 2. A (B C) Pr. 3. C D Pr. 3. Reductio ad absurdum arguments: ~Int and ~Elim Both remaining rules ~Int and ~Elim are based on reductio ad absurdum arguments. This is a well-known form of reasoning, in which one assumes the opposite of what one is trying to prove and shows that this assumption leads to absurdity (contradiction). If one indeed manages to show that the assumption leads to a contradiction then one is justified in concluding that the assumption is false. The form of reasoning was systematically used by Parmenides in his theory of being. The theory was based on two axioms, which Parmenides thought to be selfevident: (A 1 ) Being (i.e. what is) is (A 2 ) Nonbeing (i.e. what is not) is not From those axioms, Parmenides derived four theorems: (1) Being is ungenerable (does not have a beginning) (2) Being is imperishable (does not have an end) (3) Being is continuous (does not have holes) (4) Being is unchangeable Logic Self-Taught Unit 13. Natural Deduction Proofs (IV) 13-14

He used reductio arguments to prove each theorem. Here is how he established the first: Suppose the contrary of what I want to prove: suppose that being has a beginning. If so, then there would be some time when the being begins, let s call this time t 0. We should ask: What was prior to time t 0? The only available answer is: there had to be nonbeing. But we know from axiom (A 2 ) that nonbeing cannot be. This means that the supposition that being has a beginning leads to a contradiction, for it leads us to conclude that nonbeing would be (prior to t 0 ) while we know that nonbeing can not be (according to the truth of reason (A 2 )). We must reject the supposition that caused the problem, viz. that being has a beginning, and conclude that being does not have a beginning, that being is ungenerable. 3.1. Negation Introduction Rule (~Int) If in a subderivation with p as an assumption, you manage to derive both a statement and its negation, then you may add the negation ~p to the derivation. i. p Assp (~Int) j. r k. ~r ~p ~Int i j, i k Intuitions Fill in the missing steps in Parmenides reasoning: 1. Being has a beginning (Pr.) 2. There is a moment m p at which being begins. (2) 3. Prior to m p there is (3) 4. Non-being is not (A 2 ) 5. Zosia z pewnością przytyje ~Int (1-3, 1-4) A statement and its negation, or directly contradictory statements When we talked about Parmenides theory of being, we spoke of a contradiction or absurdity. As we shall see later, the pair of statements A ~A and B ~B is also contradictory. The rule ~Int requires, however, that we have directly contradictory statements, i.e. a statement and its negation. Here are examples of such pairs: A ~A ~(A ~A) A ~A ~(A ~A) A ~A ~A ~~A A B ~(A B) Statements p and q are directly contradictory just in case either q is the negation of p or p is the negation of q. Logic Self-Taught Unit 13. Natural Deduction Proofs (IV) 13-15

Constructing Subderivations for ~Int The ~Int rule specifies clearly what the assumption of the subderivation must be. It does not specify, however, what the pair of contradictory statements is. Therein lies the difficulty in using the ~Int rule. The direct contradiction we seek might be related to the assumption but it may very well be completely unrelated to it. Exercises on Applying ~Int ~Int.I.a. Complete the missing statements in the directly contradictory pairs, keeping the convention that statements in the second column (~p) are negations of the statements in the first column (p). p ~p A ~A A B ~(A B) ~(A B) ~~(A B) ~A B ~(~A B) ~~A ~~~A ~B ~~B p ~p C ~D ~(C ~D) ~A ~(A B) ~(~A ~(A B)) ~(C B) ~~(C B) ~A C ~(~A C) ~~~C ~~~~C ~B B ~(~B B) ~Int.I.b. In all of the following proof schemata, you are asked to apply the ~Int rule to derive a certain negation. Fill in the information missing in step 9. (Note that the point of the exercise is not to actually construct the whole proof!) (a) 3 B Assp (~Int) 5 ~C 8 C 9 ~B ~Int 3 5, 3 8 (c) 3 ~B Assp (~Int) 5 ~C D 8 ~(~C D) 9 ~~B ~Int 3 5, 3 8 (b) 3 A B Assp (~Int) 5 ~C 8 ~~C 9 ~(A B) ~Int 3 5, 3 8 (d) 3 ~A ~B Assp (~Int) 5 ~C 8 ~~C 9 ~(~A ~B) ~Int 3 5, 3 8 Logic Self-Taught Unit 13. Natural Deduction Proofs (IV) 13-16

~Int.I.c. In all of the following proof schemata, you are asked to apply the ~Int rule to derive a certain negation. Fill in the information missing in steps 3 and 5. (Note that the point of the exercise is not to actually construct the whole proof!) (a) 3 C Assp (~Int) 5 ~A 8 A 9 ~C ~Int 3 5, 3 8 (c) 3 A B Assp (~Int) 5 ~(C B) 8 C B 9 ~(A B) ~Int 3 5, 3 8 (b) 3 ~A Assp (~Int) 5 ~B 8 B 9 ~~A ~Int 3 5, 3 8 (d) 3 ~(A B) Assp (~Int) 5 ~C 8 C 9 ~~(A B) ~Int 3 5, 3 8 Logic Self-Taught Unit 13. Natural Deduction Proofs (IV) 13-17

Examples of Proofs Using ~Int Example 4. Prove that the following reasoning is valid: If Ann and Betty go to the cinema then so will Celia. Betty went to the cinema but Celia did not. So, Ann did not go to the cinema either. In symbols (using the same convention as before): (A B) C B ~C ~A Note that we cannot use any elimination strategy to derive ~A. In order to derive ~A by elimination, ~A would have to be a component in what we have, but it is not. Let s try to think whether we cannot apply an introduction strategy to derive ~A here we will be introducing a negation (~Int). In order to do that we need to construct an appropriate subderivation with A as assumption: 1. (A B) C Pr. 2. B ~C Pr. 3. A Assp (~Int) ~A Note that ~Int does not tell us what to derive except that what we need to derive is a direct contradiction. In such a case a good rule of thumb is to see whether we can find the beginnings of a contradiction already in the premises, i.e. if we can use an elimination strategy to derive a contradiction. This is indeed so in our case. The premises contain as components the statements C and ~C. If we could only get them to stand on their own lines in the subderivation, we would have all we need to complete our derivation. Complete the proof and check with the Solutions that you ve done so correctly. Logic Self-Taught Unit 13. Natural Deduction Proofs (IV) 13-18

Exercises on Proofs Using ~Int ~Int.II. Construct the following proofs: (a) Prove that: ~A 1. A B Pr. 2. A ~B Pr. (b) Prove that: ~~C 1. C B Pr. 2. A Pr. (c) Prove that: ~(A B) 1. A C Pr. 2. B ~~D Pr. 3. ~C ~D Pr. (d) Prove that: ~(A B) 1. (A B) C Pr. 2. ~(C A) Pr. Logic Self-Taught Unit 13. Natural Deduction Proofs (IV) 13-19

3.2. The Negation Elimination Rule (~Elim) If in a subderivation with ~p as an assumption, you manage to derive both a statement and its negation, then you may add the statement p to the derivation. i. ~p Assp (~Elim) j. r k. ~r p ~Elim i j, i k Intuitions Complete Parmendies reasoning: 1. Being is not continuous (Pr.) 2. There is a hole h in being. (1) 3. At any moment m h of the duration of the hole h, there is (2) 4. Non-being is not. (A 2 ) 5. Zosia z pewnością przytyje ~Elim (1-3, 1-4) Constructing subderivations for ~Elim The ~Elim is very similar to ~Int. It specifies exactly what the assumption must be, it does not specify exactly what direct contradiction to derive. However, there is a sense in which it is easier to apply ~Int than ~Elim. If you compare the statements that the rules justify, you will see that the statement justified by ~Int will always be a negation (~p) whereas the statement justified by ~Elim can be anything (p). This means that there is no clear indication when to apply ~Elim. Moreover, because the rule requires us to venture onto an often difficult hunt for a direct contradiction, it should be used very sparingly. This is why the rule should be used only as the last resort when everything else fails. Logic Self-Taught Unit 13. Natural Deduction Proofs (IV) 13-20

Ćwiczenia na stosowanie reguły ~Elim ~Elim.I.a. In all of the following proof schemata, you are asked to apply the ~Elim rule to derive a certain statement. Fill in the information missing in step 9. (Note that the point of the exercise is not to actually construct the whole proof!) (a) 3 ~A Assp (~Elim) 5 ~C 8 C 9 A ~Elim 3 5, 3 8 (c) 3 ~(A B) Assp (~Elim) 5 ~C D 8 ~(~C D) 9 A B ~Elim 3 5, 3 8 (b) 3 ~~B Assp (~Elim) 5 ~C 8 ~~C 9 ~B ~Elim 3 5, 3 8 (d) 3 ~~(~A ~B) Assp (~Elim) 5 ~C 8 ~~C 9 ~(~A ~B) ~Elim 3 5, 3 8 ~Elim.I.b. In all of the following proof schemata, you are asked to apply the ~Int rule to derive a certain negation. Fill in the information missing in steps 3 and 5. (Note that the point of the exercise is not to actually construct the whole proof!) (a) (b) 3 ~~C Assp (~Elim) 5 ~(A B) 8 A B 9 ~C ~Elim 3 5, 3 8 (c) 3 ~(~A B) Assp (~Elim) 5 ~(~C B) 8 ~C B 9 ~A B ~Elim 3 5, 3 8 3 ~A Assp (~Elim) 5 ~(B C) 8 B C 9 A ~Elim 3 5, 3 8 (d) 3 ~(A B) Assp (~Elim) 5 ~(A B) 8 A B 9 A B ~Elim 3 5, 3 8 Logic Self-Taught Unit 13. Natural Deduction Proofs (IV) 13-21

Examples of Proofs Using ~Elim Example 5. Prove that A follows from two premises ~A B and B A. It might look like there is nothing simpler to do we just need to use an elimination strategy. We can get A from the second premise (apply Elim), but we would need B. We could get B from the first premise, but we would have to have ~A, which we do not, however. So the elimination strategy fails. Since we want to derive a simple proposition, we cannot use an introduction strategy. All that remains is ~Elim. Let s set up the subderivation: 1. ~A B Pr. 2. B A Pr. 3. ~A Assp (~Elim) A Now the task is to derive a direct contradiction. Again, let s review the premises perhaps we can find a direct contradiction as components of the premises. Indeed we can: as long as we derive A, we will have a direct contradiction of A and ~A. Complete the proof and check that you have done so correctly with the Solutions. (Note that you should reiterate ~A in the subderivation at some point to derive the second term of the contradiction). Examples on Proofs Using ~Elim ~Elim.II. Construct the following proofs: (a) Prove that: A 1. ~~A C Pr. 2. B ~~D Pr. (b) Prove that: ~C 1. ~C (B ~C) Pr. 2. ~B Pr. Logic Self-Taught Unit 13. Natural Deduction Proofs (IV) 13-22

(c) Prove that: A B 1. ~(A B) (C D) Pr. 2. ~D Pr. (d) Prove that: C 1. ~C ~B Pr. 2. ~A (~B B) Pr. (h) Prove that: ~(A B) [difficult] 1. A C Pr. 2. B ~~D Pr. 3. ~C ~D Pr. What You Need to Know and Do You need to know the inference rules and be able to apply them You need to be able to construct proofs using the inference rules Logic Self-Taught Unit 13. Natural Deduction Proofs (IV) 13-23