Systems of Formal Deduction

Similar documents
Likewise, we have contradictions: formulas that can only be false, e.g. (p p).

def: An axiom is a statement that is assumed to be true, or in the case of a mathematical system, is used to specify the system.

DISCRETE MATH: LECTURE 3

Handout #1: Mathematical Reasoning

CHAPTER 3. Methods of Proofs. 1. Logical Arguments and Formal Proofs

CHAPTER 7 GENERAL PROOF SYSTEMS

Math 3000 Section 003 Intro to Abstract Math Homework 2

p: I am elected q: I will lower the taxes

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 2

A Few Basics of Probability

WRITING PROOFS. Christopher Heil Georgia Institute of Technology

Solution to Homework 2

Rules of Inference Friday, January 18, 2013 Chittu Tripathy Lecture 05

Beyond Propositional Logic Lukasiewicz s System

Logic in general. Inference rules and theorem proving

CS510 Software Engineering

Mathematical Induction

Cosmological Arguments for the Existence of God S. Clarke

1.2 Forms and Validity

3. Mathematical Induction

6.080/6.089 GITCS Feb 12, Lecture 3

Hypothetical Syllogisms 1

WHAT ARE MATHEMATICAL PROOFS AND WHY THEY ARE IMPORTANT?

CHAPTER 2. Logic. 1. Logic Definitions. Notation: Variables are used to represent propositions. The most common variables used are p, q, and r.

Logic Appendix. Section 1 Truth Tables CONJUNCTION EXAMPLE 1

Invalidity in Predicate Logic

NP-Completeness and Cook s Theorem

An Innocent Investigation

Predicate logic Proofs Artificial intelligence. Predicate logic. SET07106 Mathematics for Software Engineering

Developing Critical Thinking Skills with The Colbert Report

Predicate Logic Review

Mathematical Induction

Basic Proof Techniques

DEDUCTIVE & INDUCTIVE REASONING

The Fundamental Theorem of Arithmetic

Outline. Written Communication Conveying Scientific Information Effectively. Objective of (Scientific) Writing

P1. All of the students will understand validity P2. You are one of the students C. You will understand validity

Lecture 19: Chapter 8, Section 1 Sampling Distributions: Proportions

Correspondence analysis for strong three-valued logic

Schedule. Logic (master program) Literature & Online Material. gic. Time and Place. Literature. Exercises & Exam. Online Material

Elementary Number Theory and Methods of Proof. CSE 215, Foundations of Computer Science Stony Brook University

SYMBOL AND MEANING IN MATHEMATICS

Arkansas Tech University MATH 4033: Elementary Modern Algebra Dr. Marcel B. Finan

Cartesian Products and Relations

INTRODUCTORY SET THEORY

Solutions Q1, Q3, Q4.(a), Q5, Q6 to INTLOGS16 Test 1

Mathematics for Computer Science/Software Engineering. Notes for the course MSM1F3 Dr. R. A. Wilson

1.7 Graphs of Functions

CONTENTS 1. Peter Kahn. Spring 2007

Math 4310 Handout - Quotient Vector Spaces

Degrees of Truth: the formal logic of classical and quantum probabilities as well as fuzzy sets.

Logical Agents. Explorations in Artificial Intelligence. Knowledge-based Agents. Knowledge-base Agents. Outline. Knowledge bases

Quotient Rings and Field Extensions

Development of a computer system to support knowledge acquisition of basic logical forms using fairy tale "Alice in Wonderland"

Vocabulary. Term Page Definition Clarifying Example. biconditional statement. conclusion. conditional statement. conjecture.

Lecture Notes in Discrete Mathematics. Marcel B. Finan Arkansas Tech University c All Rights Reserved

8 Divisibility and prime numbers

Matrix Representations of Linear Transformations and Changes of Coordinates

What Is Induction and Why Study It?

Dedekind s forgotten axiom and why we should teach it (and why we shouldn t teach mathematical induction in our calculus classes)

Part 1 Expressions, Equations, and Inequalities: Simplifying and Solving

One natural response would be to cite evidence of past mornings, and give something like the following argument:

2 When is a 2-Digit Number the Sum of the Squares of its Digits?

The last three chapters introduced three major proof techniques: direct,

INCIDENCE-BETWEENNESS GEOMETRY

Quine on truth by convention

ON ADDING A CRITICAL THINKING MODULE TO A DISCRETE STRUCTURES COURSE *

Lecture 2. What is the Normative Role of Logic?

WOLLONGONG COLLEGE AUSTRALIA. Diploma in Information Technology

Rigorous Software Development CSCI-GA

This asserts two sets are equal iff they have the same elements, that is, a set is determined by its elements.

196 Chapter 7. Logical Agents

SYSTEMS OF PYTHAGOREAN TRIPLES. Acknowledgements. I would like to thank Professor Laura Schueller for advising and guiding me

Boolean Design of Patterns

BOOLEAN ALGEBRA & LOGIC GATES

Common sense, and the model that we have used, suggest that an increase in p means a decrease in demand, but this is not the only possibility.

9. Quotient Groups Given a group G and a subgroup H, under what circumstances can we find a homomorphism φ: G G ', such that H is the kernel of φ?

Five High Order Thinking Skills

OA3-10 Patterns in Addition Tables

CSL105: Discrete Mathematical Structures. Ragesh Jaiswal, CSE, IIT Delhi

8 Primes and Modular Arithmetic

Chapter II. Controlling Cars on a Bridge

MATHEMATICAL INDUCTION. Mathematical Induction. This is a powerful method to prove properties of positive integers.

Introduction to Automata Theory. Reading: Chapter 1

Propositional Logic. A proposition is a declarative sentence (a sentence that declares a fact) that is either true or false, but not both.

Practice with Proofs

Mathematics Review for MS Finance Students

Predicate Logic. Example: All men are mortal. Socrates is a man. Socrates is mortal.

Gödel s Ontological Proof of the Existence of God

University of Ostrava. Reasoning in Description Logic with Semantic Tableau Binary Trees

Automata and Formal Languages

The Taxman Game. Robert K. Moniot September 5, 2003

Formal Languages and Automata Theory - Regular Expressions and Finite Automata -

c 2008 Je rey A. Miron We have described the constraints that a consumer faces, i.e., discussed the budget constraint.

Chapter 1. Use the following to answer questions 1-5: In the questions below determine whether the proposition is TRUE or FALSE

CS 103X: Discrete Structures Homework Assignment 3 Solutions

Polynomial Invariants

THE BANACH CONTRACTION PRINCIPLE. Contents

A simple algorithm with no simple verication

This puzzle is based on the following anecdote concerning a Hungarian sociologist and his observations of circles of friends among children.

Transcription:

Systems of Formal Deduction Inference Rules Systems of formal deduction (or formal derivation, or formal proof) consist of a set of formal inference rules. The inference rules are formal in the sense that they allow sentences to be derived from other sentences on the basis of the formal structure of those sentences. For example, an inference rule can state that when you have a sentence of the form ϕ φ, then you can derive the sentence ϕ from that. Normally, the inference rules try and capture basic and valid inferences that we make when we reason. In the example above, ϕ is indeed logically implied by ϕ φ, and this is a very basic inference. For this reason, systems of formal deduction are sometimes called systems of natural deduction. It is important to keep in mind, however, that we can define inference rules in any way we want. Thus, we could add a non-basic (though valid) inference rule that says that you can infer ϕ λ from ϕ (φ γ) and φ γ λ. More importantly, we could define an invalid inference rule that says that you can infer ϕ from ϕ φ and φ. In other words, while normally the inference rules in some system of formal deduction capture inferences that are both basic and valid, we cannot assume this. Obviously, systems of formal deduction differ in that they have different sets of inference rules. As such, we are going to define a formal proof relative to any system S: A formal proof in system S is a sequence of sentences, starting with a set of sentences Γ (usually called premises or assumptions), and ending with a sentence ϕ (usually called the conclusion), where each sentence φ in the sequence after Γ is derived from a subset of the sentences in the sequence before φ by the application of some inference rule as defined by S. If there exists a formal proof in S from Γ to ϕ, we write Γ S ϕ. Many systems of derivation have rules that deal with what are called subproofs. A subproof can be started at any point during a formal proof by making some additional assumption. Sentences that are derived from that point on are said to be within the scope of that assumption, until the subproof is closed. Once the subproof is closed, none of the sentences that occur within that subproof can be used to derive further sentences. Subproofs can be started within subproofs. Subproofs need to be closed one at a time, and any subproof within a subproof (the inner subproof ) should be closed before the outer subproof is closed. Although we will not do so here, the definition of a formal proof obviously needs to be modified to account for subproofs. In general, then, an inference rule can be written as {ϕ 1,,ϕ n } φ, which indicates that φ can be derived from ϕ 1,,ϕ n, where each ϕ i is either a sentence or a subproof (written as ϕ φ, where ϕ is the assumption of that subproof and φ the last sentence of that subproof) that occurs anywhere earlier in the proof but not within the scope of some subproof that has been closed.

Example: The System F System F, as defined in Language, Proof, and Logic by Jon Barwise and John Etchemendy, contains the following inference rules: Conjunction Elimination ( Elim ) {ϕ ψ} ϕ (or ψ) Disjunction Elimination ( Elim ) {ϕ ψ, ϕ χ, ψ χ} χ Negation Elimination ( Elim ) { ϕ} ϕ Contradiction Elimination ( Elim ) { } ϕ Conditional Elimination ( Elim ) {ϕ ψ, ϕ} ψ Biconditional Elimination ( Elim ) {ϕ ψ (or ψ ϕ), ϕ} φ Conjunction Introduction ( Intro ) {ϕ, ψ} ϕ ψ Disjunction Introduction ( Intro ) {ϕ (or ψ)} ϕ ψ Negation Introduction ( Intro ) {ϕ } ϕ Contradiction Introduction ( Intro ) {ϕ, ϕ} Conditional Introduction ( Intro ) {ϕ ψ} ϕ ψ Biconditional Introduction ( Intro ) {ϕ ψ, ψ ϕ} ϕ φ A final rule is Reiteration, which is {ϕ} ϕ. The inference pattern of Elim is also called Proof by Cases, the inference pattern of Intro is known as Proof by Contradiction, Indirect Proof, or Reductio ad Absurdum, and the inference pattern of Intro as Conditional Proof.

Other Fitch-Style Derivational Systems, and Derivational Equivalence System F is what is called a Fitch-style system. Fitch-style systems have a single elimination and an introduction rule for every truth-functional connective (possibly including ). Another Fitch-style system is SD, as defined in The Logic Book, by Merrie Bergmann, James Moor, and Jack Nelson. SD has the same inference rules as F, except that the Negation Elimination rule in SD is defined as { ϕ } ϕ. (Actually, the syntax of the sentences over which SD is defined uses ~ for, & for, for, for, and does not have. Thus, Negation Introduction is actually defined as {ϕ φ, ϕ ~φ} ~ϕ, and the Negation Elimination rule as {~ϕ φ, ~ϕ ~φ} ϕ. For the point I am about to make though, this is not important.) Now, an obvious question to ask is: Can the two systems derive the same things, or is there anything that can be derived in F, but not in SD (or vice versa)? To be precise, is it the case that for any set of sentences Γ and any sentence, Γ F ϕ iff Γ SD ϕ? It turns out that the answer to this question is Yes. To demonstrate this, we will demonstrate that SD can do whatever F accomplishes with its Negation Elimination rule, and vice versa. From this, the result immediately follows. First, here s how we can do SD s Negation Elimination in F: ϕ ϕ ϕ ( Intro) ( Elim) Second, here s how we can do F s Negation Elimination in SD: ϕ ϕ ϕ (assumption) ( Intro) ( Elim) Because Γ F ϕ iff Γ SD ϕ, we say that F and SD are derivationally equivalent.

Other Derivational Equivalences Notice that we didn t say that F s and SD s Negation Elimination rules are (derivationally) equivalent, and in fact we can t, as by themselves they are clearly not. For example, if we have two systems NE1 and NE2, such that NE1 has as its only rule F s Negation Elimination rule, and NE2 has as its only rule SD s Negation Elimination rule, then { P} NE1 P but not { P } NE2 P. Still, in the context of a larger proof system, it is intuitive to regard the two rules as equivalent. Indeed, one wonders if there are other equivalent rules, and indeed there are. For example, one can define Biconditional Introduction as {ϕ ψ, ψ ϕ} ϕ ψ, and Biconditional Elimination as {ϕ ψ} ϕ ψ (or ψ ϕ). If we use these to replace F s Biconditional rules, we obtain a derivationally equivalent system. We could also use {(ϕ ψ) (ψ ϕ)} ϕ ψ and {ϕ ψ} (ϕ ψ) (ψ ϕ), respectively. What about the conditional? Well, {ϕ ψ} ϕ ψ for Conditional Elimination, and { ϕ ψ} ϕ ψ for Conditional Introduction should work: the reader can verify these for themselves. There really aren t any other intuitive rules for the conjunction. For the disjunction, one might contemplate using {ϕ ψ, ϕ χ, ψ λ} χ λ for Disjunction Elimination, but that s not going to work (at least not in the context of F; what is the problem?). Assuming we leave the Conditional Rules as they are, we could use {ϕ ψ, ϕ χ, ψ χ} χ for Disjunction Elimination. Also, leaving the Conditional rules as they are, what about {ϕ ψ} ϕ ψ for Disjunction Introduction, and { ϕ ψ} ϕ ψ for Disjunction Elimination? Notice that redefining the Biconditional and Conditional rules as above, one is getting rid of two rules involving subproofs. Is there a way to use these rules, and also to change the Disjunction rules (the Disjunction Elimnation rule at least) so that the only rule left using a subproof is the Negation Introduction? Can we get rid of all subproofs altogether?

Non-Fitch-style Systems Non-Fitch-style systems do not restrict themselves to having a single Elimination and Introduction rule for each connective. As such, these kinds of systems can have other valid and basic inference rules. This usually makes them less mathematically elegant, but much easier to use. Below is a list of typical rules of inference. Most Non-Fitch-style systems use some subset of these: Modus Ponens (MP) {ϕ ψ, ϕ} ψ Disjunctive Syllogism (DS) {ϕ ψ, ϕ (or ψ) } ψ (or ϕ) Simplification (Simp) {ϕ ψ} ϕ (or ψ) Constructive Dilemma (CD) {ϕ χ, ψ λ, ϕ ψ} χ λ Addition (Add) {ϕ (or ψ)} ϕ ψ Weakening the Consequent (Weakening) {ϕ (ψ χ)} ϕ ψ Conditional Proof (CP) {ϕ ψ} ϕ ψ Modus Tollens (MT) {ϕ ψ, ψ} ϕ Exclusion (EX) { (ϕ ψ), ϕ (or ψ) } ψ (or ϕ) Conjunction (Conj) {ϕ, ψ} ϕ ψ Destructive Dilemma (DD) {ϕ χ, ψ λ, χ λ} ϕ ψ Hypothetical Syllogism (HS) {ϕ ψ, ψ φ} ϕ φ Strengthening the Antecedent (Strengthening) {ϕ ψ} (ϕ χ) ψ Indirect Proof (IP) {ϕ ψ, ϕ ψ} ϕ

Generalized Inference Rules Some of the inference rules can be generalized by considering generalized conjunctions or generalized disjunctions, or by considering multiple statements. Generalized Simplification {ϕ 1 ϕ i ϕ n } ϕ i Generalized Proof by Cases {ϕ 1 ϕ n, ϕ 1 ψ,, ϕ n ψ} ψ Generalized Disjunctive Syllogism {ϕ 1 ϕ i ϕ n, ϕ 1,, ϕ i -1, ϕ i +1, ϕ n } ϕ i Generalized Constructive Dilemma {ϕ 1 ψ 1,, ϕ n ψ n, ϕ 1 ψ n } ψ 1 ψ n Generalized Conjunction {ϕ 1,, ϕ n } ϕ 1 ϕ n Generalized Addition {ϕ i } ϕ 1 ϕ i ϕ n Generalized Hypothetical Syllogism {ϕ 1 ϕ 2, ϕ 2 ϕ 3,, ϕ n-1 ϕ n } ϕ 1 ϕ n Generalized Destructive Dilemma {ϕ 1 ψ 1,, ϕ n ψ n, ψ 1 ψ n } ϕ 1 ϕ n Notice that with these generalizations, Modus Ponens has become a special case of Generalized Constructive Dilemma, and Modus Tollens a special case of Generalized Destructive Dilemma. In F, Conjunction Elimination and Introduction are in fact respectively defined as Generalized Simplification and Generalized Conjunction, and Disjunction Elimination and Introduction as Generalized Proof by Cases and Generalized Addition. For theoretical as well as practical purposes, however, we will not consider any such generalized rules when doing metatheory.

Rules of Equivalence Besides rules of inference, non-fitch-style systems usually also make use of rules of equivalence. Rules of equivalence are inference rules as well, but they are of a somewhat different nature. Rules of equivalence allow one to use the Principle of Substitution of Logical Equivalents on any sentence, and to infer the result from the original sentence. The rules of equivalence state which equivalences can be used to perform this substitution. Typical equivalences used in non-fitch-style derivational systems are: Double Negation (DN) ϕ ϕ Commutation (Com) ϕ ψ ψ ϕ ϕ ψ ψ ϕ Distribution (Dist) ϕ (ψ χ) (ϕ ψ) (ϕ χ) ϕ (ψ χ) (ϕ ψ) (ϕ χ) Contraposition (Contra) ϕ ψ ψ ϕ Implication (Impl) ϕ ψ ϕ ψ (ϕ ψ) ϕ ψ Absorption (Abs) ϕ (ϕ ψ) ϕ ϕ (ϕ ψ) ϕ Idempotence (Idem) ϕ ϕ ϕ ϕ ϕ ϕ Association (Assoc) ϕ (ψ χ) (ϕ ψ) χ ϕ (ψ χ) (ϕ ψ) χ DeMorgan (DeM) (ϕ ψ) ϕ ψ (ϕ ψ) ϕ ψ Exportation (Exp) ϕ (ψ χ) (ϕ ψ) χ Equivalence (Equiv) ϕ ψ (ϕ ψ) (ψ ϕ) ϕ ψ (ϕ ψ) ( ψ ϕ) Reduction (Red) ϕ ( ϕ ψ) ϕ ψ ϕ ( ϕ ψ) ϕ ψ Rules of Equivalence differ in two ways from rules of inference: 1. Rules of Inference go one way only, whereas rules of equivalence go both ways 2. Rules of Inference apply to whole sentences only, whereas rules of equivalence can be applied to component parts.

Examples: C1, C2, H, K, and B In Symbolic Logic, 5 th ed., Irving Copi defines a non-fitch-style derivational system (I ll call it C1) with the following Rules: Rules of Inference: MP, MT, DS, HS, Simp, Conj, Add, CD, DD Rules of Equivalence: DN, Idem, Com, Assoc, Dist, DeM, Trans, Exp, Impl, Equiv Rules of Subproof: CP, IP In Introduction to Logic, 11 th ed., Irving Copi and Carl Cohen define (C2): Rules of Inference: MP, MT, DS, HS, Simp, Conj, Add, CD, Abs Rules of Equivalence: DN, Idem, Com, Assoc, Dist, DeM, Trans, Exp, Impl, Equiv Rules of Subproof: CP, IP In A Concise Introduction to Logic, Patrick Hurley uses (H): Rules of Inference: MP, MT, DS, HS, Simp, Conj, Add, CD Rules of Equivalence: DN, Idem, Com, Assoc, Dist, DeM, Trans, Exp, Impl, Equiv Rules of Subproof: CP, IP In Introductory Modal Logic, Kenneth Konyndyk uses (K): Rules of Inference: MP, MT, DS, HS, Simp, Conj, Add Rules of Equivalence: DN, Idem, Com, Assoc, Dist, DeM, Trans, Exp, Impl, Equiv Rules of Subproof: CP, IP Theorem: for any Γ and ϕ: Γ C1 ϕ iff Γ C2 ϕ iff Γ H ϕ iff Γ K ϕ Proof: Easy, and left to reader Theorem: for any Γ and ϕ: Γ F ϕ iff Γ K ϕ Proof: Unfortunately, there is no straightforward way to prove that Γ F ϕ if Γ K ϕ because it is not clear how one would emulate the equivalence rules of K in F. However, it is pretty straightforward to show that Γ K ϕ if Γ F ϕ. We ll do the other half later! Homework: Define system B (Bram) as follows: Rules of Inference: MP, Simp, Conj, Add Rules of Equivalence: DN, Idem, Com, Assoc, Dist, DeM, Impl, Equiv Rules of Subproof: CP Show that for any Γ and ϕ: Γ B ϕ iff Γ K ϕ