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

Similar documents
Proof strategies, or, a manual of logical style

Manual of Logical Style

Natural deduction for truth-functional logic

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

Manual of Logical Style (fresh version 2018)

Supplementary Logic Notes CSE 321 Winter 2009

Section 1.2: Propositional Logic

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

Proofs: A General How To II. Rules of Inference. Rules of Inference Modus Ponens. Rules of Inference Addition. Rules of Inference Conjunction

Chapter 2. Mathematical Reasoning. 2.1 Mathematical Models

MCS-236: Graph Theory Handout #A4 San Skulrattanakulchai Gustavus Adolphus College Sep 15, Methods of Proof

Proofs. Introduction II. Notes. Notes. Notes. Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry. Fall 2007

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

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

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

Proofs. Joe Patten August 10, 2018

Logic, Sets, and Proofs

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

PROPOSITIONAL CALCULUS

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

Propositional Logic: Syntax

1.1 Statements and Compound Statements

3 The Semantics of the Propositional Calculus

Practice Test III, Math 314, Spring 2016

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

Adam Blank Spring 2017 CSE 311. Foundations of Computing I

Proof Techniques (Review of Math 271)

CITS2211 Discrete Structures Proofs

Steinhardt School of Culture, Education, and Human Development Department of Teaching and Learning. Mathematical Proof and Proving (MPP)

Propositional Logic. Spring Propositional Logic Spring / 32

Inference and Proofs (1.6 & 1.7)

Mathematical Logic Part One

4 Derivations in the Propositional Calculus

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

Notes from How to Prove it: A Structured Approach by Daniel J. Velleman

Topic 1: Propositional logic

Introducing Proof 1. hsn.uk.net. Contents

15414/614 Optional Lecture 1: Propositional Logic

CMPSCI 250: Introduction to Computation. Lecture 11: Proof Techniques David Mix Barrington 5 March 2013

CSE 20 DISCRETE MATH. Winter

CSE 20 DISCRETE MATH WINTER

CSE 20 DISCRETE MATH SPRING

Logic - recap. So far, we have seen that: Logic is a language which can be used to describe:

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

Logic. Propositional Logic: Syntax

Intermediate Logic. Natural Deduction for TFL

Sample Problems for all sections of CMSC250, Midterm 1 Fall 2014

n logical not (negation) n logical or (disjunction) n logical and (conjunction) n logical exclusive or n logical implication (conditional)

CSE 20 DISCRETE MATH. Fall

CS1800: Strong Induction. Professor Kevin Gold

MA103 STATEMENTS, PROOF, LOGIC

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.

Mathematical Logic Prof. Arindama Singh Department of Mathematics Indian Institute of Technology, Madras. Lecture - 15 Propositional Calculus (PC)

Formal (natural) deduction in propositional logic

Discrete Structures of Computer Science Propositional Logic III Rules of Inference

Deductive Systems. Lecture - 3

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

CSE 1400 Applied Discrete Mathematics Proofs

Logic. Quantifiers. (real numbers understood). x [x is rotten in Denmark]. x<x+x 2 +1

Propositional natural deduction

Must... stay... strong!

A Quick Lesson on Negation

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.

Propositional Logic. Argument Forms. Ioan Despi. University of New England. July 19, 2013

Formal Logic 2. This lecture: Standard Procedure of Inferencing Normal forms Standard Deductive Proofs in Logic using Inference Rules

Writing proofs for MATH 61CM, 61DM Week 1: basic logic, proof by contradiction, proof by induction

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

First order Logic ( Predicate Logic) and Methods of Proof

6c Lecture 14: May 14, 2014

Deduction by Daniel Bonevac. Chapter 3 Truth Trees

Proof Rules for Correctness Triples

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

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

(ÀB Ä (A Â C)) (A Ä ÀC) Á B. This is our sample argument. Formal Proofs

KB Agents and Propositional Logic

Predicate Logic & Quantification

Lecture 5 : Proofs DRAFT

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

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

Natural Deduction for Propositional Logic

Mathematical Logic Part One

Propositional Logic Review

Packet #1: Logic & Proofs. Applied Discrete Mathematics

CHAPTER 6 - THINKING ABOUT AND PRACTICING PROPOSITIONAL LOGIC

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

Price: $25 (incl. T-Shirt, morning tea and lunch) Visit:

Logic. Propositional Logic: Syntax. Wffs

Glossary of Logical Terms

Truth-Functional Logic

Propositional Logic: Syntax

The Foundations: Logic and Proofs. Chapter 1, Part III: Proofs

10/5/2012. Logic? What is logic? Propositional Logic. Propositional Logic (Rosen, Chapter ) Logic is a truth-preserving system of inference

EECS 1028 M: Discrete Mathematics for Engineers

CSE 311: Foundations of Computing. Lecture 7: Logical Inference

Valid Reasoning. Alice E. Fischer. CSCI 1166 Discrete Mathematics for Computing February, Outline Truth and Validity Valid Reasoning

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

Logical Agents. Outline

THE LOGIC OF COMPOUND STATEMENTS

Lecture 4: Constructing the Integers, Rationals and Reals

A statement is a sentence that is definitely either true or false but not both.

Transcription:

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, pp 51-62. Example: A theorem and its proof in an abstract axiomatic system: Suppose the following have been either established or assumed: Theorem 1: q (r s) Theorem: If p, then s. Given: p Prove: s (1) p Given (2) q Axiom 1 (3) r s Theorem 1 (4) s Simplification The above is an example in the style of Kay s text. There is a good bit going on there, some of which is implicit and goes unexplained in the text, so the point to this lecture is to work through, clarify, and hopefully answer some questions about what is happening in these proofs. Furthermore, Kay states [p 55] [...] but we do not need to get too fancy here in our terminology. Furthermore, in proofs we just go ahead and use this logical procedure without making reference to it. What Kay is referring to is a rule of inference, some of which we ve already seen. While I d agree that we don t need to do an in depth tour of the branch of logic known as the propositional calculus, it s a bad idea to overlook the rules entirely - do so, and you ll either end up looking at a proof and thinking Now where did THAT come from... or working on a proof and wondering What s a legal step for me to take? The notes provide an outline to some questions and answers. Although there aren t a lot of examples for you to work, please do work through the associated lecture - it ll be very talkative, and I ll use it to elaborate on what s going on.

What s the point? We ve been looking at axiomatic systems in the context of Euclid s geometry; the goal of this section is to examine them at a more abstract level. Recall that an axiomatic system has four components: undefined terms axioms defined terms theorems plus the rules of inference that allow us to progress from the building blocks (the undefined terms, axioms, and defined terms) to the results which are the theorems. Although it gets glossed over in the Kay, what you really are focusing on here are the rules of inference. You won t see much in the way of undefined or defined terms, since we re working at a symbolic level. What you will see are axioms and theorems getting connected to form more theorems in a logical structure. What s the distinction between an axiom and a theorem? An axiom is a statement which is assumed to be a true in the system, and is accepted without proof. A theorem is proven using the terms and axioms of a system as steps in a chain of deductive logic. However, in the examples and homework, this is arbitrary, because the individual problems are set up in a vacuum, with an element of let s pretend - suppose these are the axioms, and suppose that somebody somewhere has already proven the theorems. From your perspective, they could all be axioms. Or theorems. Don t get hung up on it. The theorems are phrased as conditionals. How do I prove a conditional? Assume the hypothesis as a given, and work through until the conclusion appears. Kay immediately breaks each theorem into two pieces, Given: and Prove:. The conclusion is s. Did we just prove that s is true? NO! We just proved that if p is true, then s will follow. We don t actually know if p is true or not (it doesn t appear as one of the axioms or theorems of the system); we only assumed that it was to see what would happen. I ll do an example of this distinction at the end, after I finish picking through this one.

What rule of inference keeps getting used (implicitly) here? Modus ponens. Used a lot, since this is the basic way that an implication works. What you have going on here is p p q q What you see in the proof is the immediate progression from p to q, with Axiom 1 (p q) cited as the justification. Personally, I d prefer a little parenthetical remark ( modus ponens ) when you do this, because you re allowed to use other rules of inference as well. What are the other rules of inference? You ve met some of them (modus tollens, disjunctive syllogism, transitivity) already. I ve posted a complete listing of all the ones you should know. Of special interest are the things you can do with and s and or s. Take a moment to print that off and look at it. Look at it right now. I m going to talk about it. Notice I m using simplification - aka conjunction subtraction - as a justification here.

When am I really proving the conclusion is a fact? Compare these two short examples: Example 1: Theorem 1: q r Theorem: If p, then r. Given: p Prove: r (1) p Given (2) q Axiom 1 (modus ponens using (1)) (3) r Theorem 1 (modus ponens using (2)) Example 2: Axiom 2: p Theorem 1: q r Theorem: r. Given: Nothing at all, other than the axioms and theorems of the system. Prove: r (1) p Axiom 2 (2) q Axiom 1 (modus ponens using (1)) (3) r Theorem 1 (modus ponens using (2)) In the first example, you ve proven the conditional p r. In the second, you ve proven that in this system, r itself is a theorem of the system.

Any other miscellaneous stuff to watch out for? Yep, terminology. And a useful trick. iff is not a typo - it s shorthand for the biconditional if and only if. p iff q (symbolized as p q) means that p and q are logically equivalent. Each implies the other. In the context of proofs, you can prove either one, and the other immediately follows. Kay uses the symbol p for negation (instead of p). This isn t unusual (pick a text at random and it s about 50/50 one way or the other); it is annoying in a geometry text, since is also used for similar. Generally, the contexts (logic vs. triangles) are so far apart that there isn t any confusion. The symbol is used to indicate a contradiction has been reached. (The imagery here is two statements smashing into each other.) And a useful tip - it is sometimes easier to prove the contrapositive ( q p) of a statement (p q) than it is to prove the original. Since a statement and its contrapositive are logically equivalent, this is perfectly legal. I ll be using this in the live example. Finally, proving things in the abstract is the one place I d rather see a two column proof than a narrative. It s pointless to write these in English, since the statements have no meanings, and the focus is on how to formally get from one step to the next.