Sound Arguments and Derivations. Topics Sound Arguments Derivations Proofs –Inference rules –Deduction.

Slides:



Advertisements
Similar presentations
Discrete Mathematics University of Jazeera College of Information Technology & Design Khulood Ghazal Mathematical Reasoning Methods of Proof.
Advertisements

Introduction to Proofs
Rules of Inferences Section 1.5. Definitions Argument: is a sequence of propositions (premises) that end with a proposition called conclusion. Valid Argument:
Introduction to Theorem Proving
Chapter 1: The Foundations: Logic and Proofs 1.1 Propositional Logic 1.2 Propositional Equivalences 1.3 Predicates and Quantifiers 1.4 Nested Quantifiers.
Logic Use mathematical deduction to derive new knowledge.
1 Introduction to Abstract Mathematics Valid AND Invalid Arguments 2.3 Instructor: Hayk Melikya
Deduction In addition to being able to represent facts, or real- world statements, as formulas, we want to be able to manipulate facts, e.g., derive new.
Logic Concepts Lecture Module 11.
Discussion #18 1/13 Discussion #18 Resolution with Propositional Calculus; Prenex Normal Form.
1 Valid and Invalid Arguments CS 202 Epp Section 1.3 Aaron Bloomfield.
CS128 – Discrete Mathematics for Computer Science
Logic 3 Tautological Implications and Tautological Equivalences
CSE (c) S. Tanimoto, 2008 Propositional Logic
Laws of , , and  Excluded middle law Contradiction law P   P  T P   P  F NameLaw Identity laws P  F  P P  T  P Domination laws P  T  T P.
Discussion #12 1/22 Discussion #12 Deduction, Proofs and Proof Techniques.
Discussion #131/18 Discussion #13 Induction (the process of deriving generalities from particulars) Mathematical Induction (deductive reasoning over the.
Syllabus Every Week: 2 Hourly Exams +Final - as noted on Syllabus
Chapter 3 Propositional Logic
Proof by Deduction. Deductions and Formal Proofs A deduction is a sequence of logic statements, each of which is known or assumed to be true A formal.
Introduction to Logic Logical Form: general rules
Discussion #9 1/9 Discussion #9 Tautologies and Contradictions.
Discrete Mathematics and its Applications
I NTRO TO L OGIC Dr Shlomo Hershkop March
Chapter 3 Section 4 – Slide 1 Copyright © 2009 Pearson Education, Inc. AND.
Copyright © Curt Hill Rules of Inference What is a valid argument?
Deduction, Proofs, and Inference Rules. Let’s Review What we Know Take a look at your handout and see if you have any questions You should know how to.
Modus Ponens The following valid arguments show us how to apply the modus ponens (Rule of Detachment). a) 1) Lydia wins a ten-million-dollar lottery.
March 3, 2015Applied Discrete Mathematics Week 5: Mathematical Reasoning 1Arguments Just like a rule of inference, an argument consists of one or more.
Mathematical Structures for Computer Science Chapter 1.2 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesFormal Logic.
1 Sections 1.5 & 3.1 Methods of Proof / Proof Strategy.
Discrete Structures (DS)
Propositional Calculus – Methods of Proof Predicate Calculus Math Foundations of Computer Science.
Chapter Four Proofs. 1. Argument Forms An argument form is a group of sentence forms such that all of its substitution instances are arguments.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM]
Hazırlayan DISCRETE COMPUTATIONAL STRUCTURES Propositional Logic PROF. DR. YUSUF OYSAL.
Chapter 3: Introduction to Logic. Logic Main goal: use logic to analyze arguments (claims) to see if they are valid or invalid. This is useful for math.
Propositional Logic. Propositions Any statement that is either True (T) or False (F) is a proposition Propositional variables: a variable that can assume.
Chapter Five Conditional and Indirect Proofs. 1. Conditional Proofs A conditional proof is a proof in which we assume the truth of one of the premises.
1 Introduction to Abstract Mathematics Expressions (Propositional formulas or forms) Instructor: Hayk Melikya
CS6133 Software Specification and Verification
1 Discrete Structures – CNS2300 Text Discrete Mathematics and Its Applications Kenneth H. Rosen (5 th Edition) Chapter 3 The Foundations: Logic and Proof,
Professor: Munehiro Fukuda
CS2013 Mathematics for Computing Science Adam Wyner University of Aberdeen Computing Science Slides adapted from Michael P. Frank ' s course based on the.
What is Reasoning  Logical reasoning is the process of drawing conclusions from premises using rules of inference.  These inference rules are results.
CS.462 Artificial Intelligence SOMCHAI THANGSATHITYANGKUL Lecture 05 : Knowledge Base & First Order Logic.
CSci 2011 Discrete Mathematics Lecture 4 CSci 2011.
Methods of Proof – Page 1CSCI 1900 – Discrete Structures CSCI 1900 Discrete Structures Methods of Proof Reading: Kolman, Section 2.3.
Outline Logic Propositional Logic Well formed formula Truth table
Today’s Topics Argument forms and rules (review)
The Logic of Conditionals Chapter 8 Language, Proof and Logic.
Lecture 10 Methods of Proof CSCI – 1900 Mathematics for Computer Science Fall 2014 Bill Pine.
Foundations of Discrete Mathematics Chapter 1 By Dr. Dalia M. Gil, Ph.D.
1 Propositional Proofs 1. Problem 2 Deduction In deduction, the conclusion is true whenever the premises are true.  Premise: p Conclusion: (p ∨ q) 
CT214 – Logical Foundations of Computing Darren Doherty Rm. 311 Dept. of Information Technology NUI Galway
Chapter 1 Logic and proofs
L = # of lines n = # of different simple propositions L = 2 n EXAMPLE: consider the statement, (A ⋅ B) ⊃ C A, B, C are three simple statements 2 3 L =
March 23 rd. Four Additional Rules of Inference  Constructive Dilemma (CD): (p  q) (r  s) p v r q v s.
2. The Logic of Compound Statements Summary
Discrete Mathematics Logic.
Formal Logic CSC 333.
Proof by Deduction.
Proof Techniques.
7.1 Rules of Implication I Natural Deduction is a method for deriving the conclusion of valid arguments expressed in the symbolism of propositional logic.
Logic Use mathematical deduction to derive new knowledge.
CS 270 Math Foundations of CS
CS 220: Discrete Structures and their Applications
Inference Rules: Tautologies
The Method of Deduction
Discrete Mathematics Logic.
Presentation transcript:

Sound Arguments and Derivations

Topics Sound Arguments Derivations Proofs –Inference rules –Deduction

Sound Arguments A logical argument is sound if when all premises are true, the conclusion must also be true. Observe that if A represents the premises and C represents the conclusion, a logical argument is sound if A  C is a tautology. A is an expression that can always be in CNF, in which case each term in the conjunction is called a premise, which by itself is true. –A = P 1  P 2  …  P n or just P 1, P 2, … P n. –Thus, what we wish to show is that P 1  P 2  …  P n  C is a tautology. –Note that if any one of the P i ’s is false, the implication is true; thus, we only have to worry about the case when all P i ’s are true. This idea is called the discharge rule because we can discharge the case in which the left-hand side is false.

Sound Argument Showing that A  C is a tautology constitutes a sound logical argument. If|= (A 1  A 2  …  A n  C), and A i = T for all i, then C must necessarily be true. AC A  C T?T C = T is the only possibility for the conclusion!

Deductions and Formal Proofs A deduction is a sequence of logic statements, each of which is known or assumed to be true. A formal proof of a conclusion C is a deduction that ends with C. What is known or assumed to be true comes in three variations: –Premises that are assumed to be true –Any statement known to be true (e.g. 1+1 = 2) –Sound rules of inference that introduce logic statements that are true (assuming the statements they are based on are true.)

Example Prove: if P, R, P  Q,  R  S, then Q  S. 1.Ppremise 2.P  Qpremise 3.Q1&2, modus ponens (A, A  B |=B) 4.  R  Spremise 5.R  S4, implication (  R  S  R  S) 6.Rpremise 7.S5&6, modus ponens 8.Q  S3&7, law of combination (conjunction) T? T T T T

Notes… Thus, since we have a deduction (sequence of statements all of which are true) that ends with the conclusion, we have a formal proof. A formal proof guarantees that the original statement is a tautology. –If any premise is false, the statement is true. –If all premises are true, we are able to guarantee that the conclusion is true. –Thus, the statement is always true (i.e. is a tautology). Important note: A proof does not guarantee that the conclusion is true!

Valid Proof vs. Valid Conclusion Consider the following proof: If 2 > 3, 2 > 3  3 < 2, then 3 < > 3premise 2.2 > 3  3 < 2premise 3.3 < 21&2, modus ponens Is the proof valid? Is the conclusion valid? Yes! Sound argument No! Hence, a valid proof does not guarantee a valid conclusion. What a valid proof does guarantee is that if the premises are all true, then the conclusion is true.

Main Rules of Inference A, B |= A  B Law of combination A  B |= B Law of simplification A  B |= A Variant of law of simplification A |= A  B Law of addition B |= A  B Variant of law of addition A, A  B |= B Modus ponens  B, A  B |=  A Modus tollens A  B, B  C |= A  C Hypothetical syllogism A  B,  A |= B Disjunctive syllogism A  B,  B |= A Variant of disjunctive syllogism A  B,  A  B |= B Law of cases A  B |= A  B Equivalence elimination A  B |= B  A Variant of equivalence elimination A  B, B  A |= A  B Equivalence introduction A,  A |= B Inconsistency law

Comments on Soundness of Rules Easy to show that the inference rules are sound. AB (A  (A  B))  B TTTTT TFFFT FTFTT FFFTT Some rules are obvious: –A, B |= A  B –A  B |= A –A |= A  B Modus ponens A, A  B |= B

Comments on Soundness of Rules: Some “Rules” are not Sound Easy to show that false, presumed, magical rules are not sound. AB (B  (A  B))  A TTTTT TFFFT FTTTF FFFTT You cannot just use any implication as an inference rule. Only sound rules provide the guarantees we need. Abracadabra B, A  B |= A ?

Laws Used as Inference Rules Suppose A  B is a law and A is T, then since A is T and A  B, then B is T. Thus, for A  B, we always have two rules of inference: ABAB BABA

Example: Contrapositive Since P  Q   Q   P, we have the inference rules: P  Q  Q   P  Q   P P  Q T T F F T T F T T F T F T T T T T T F T FF TF FT TT  P)  (Q(Q  (P  Q) QP

Reduction of Inference Laws Using laws, we can reduce the number of rules of inference. –Too many to remember –Too many to program! (Project) Example: modus tollens  B A  B  A alternative:A  B  B   A contrapositive  B  A modus ponens

Reduction of Inference Laws Example: disjunctive syllogism A  B  A B alternative:A  B  (  A)  B double negation  A  B P  Q  P  Q  A B modus ponens It turns out that modus ponens plus some simple laws are usually enough. It gets even simpler with resolution.