The Logic of Conditionals Chapter 8 Language, Proof and Logic.

Slides:



Advertisements
Similar presentations
Introduction to Proofs
Advertisements

Chapter 1: The Foundations: Logic and Proofs 1.1 Propositional Logic 1.2 Propositional Equivalences 1.3 Predicates and Quantifiers 1.4 Nested Quantifiers.
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.
Proofs, Recursion and Analysis of Algorithms Mathematical Structures for Computer Science Chapter 2 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProofs,
John Rosson Thursday February 15, 2007 Survey of Mathematical Ideas Math 100 Chapter 3, Logic.
Chapter 1 The Logic of Compound Statements. Section 1.3 Valid & Invalid Arguments.
Logic 3 Tautological Implications and Tautological Equivalences
Logic and Proof. Argument An argument is a sequence of statements. All statements but the first one are called assumptions or hypothesis. The final statement.
CSE115/ENGR160 Discrete Mathematics 01/31/12 Ming-Hsuan Yang UC Merced 1.
CSE115/ENGR160 Discrete Mathematics 02/01/11
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
EE1J2 – Discrete Maths Lecture 5 Analysis of arguments (continued) More example proofs Formalisation of arguments in natural language Proof by contradiction.
Fall 2002CMSC Discrete Structures1 Let’s proceed to… Mathematical Reasoning.
Mathematical Induction Assume that we are given an infinite supply of stamps of two different denominations, 3 cents and and 5 cents. Prove using mathematical.
CS 1502 Formal Methods in Computer Science
CSCI 115 Chapter 2 Logic. CSCI 115 §2.1 Propositions and Logical Operations.
Introduction to Proofs
Proofs 1/25/12.
CSE 311: Foundations of Computing Fall 2013 Lecture 8: More Proofs.
Review I Rosen , 3.1 Know your definitions!
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.
Methods of Proofs PREDICATE LOGIC The “Quantifiers” and are known as predicate quantifiers. " means for all and means there exists. Example 1: If we.
F22H1 Logic and Proof Week 6 Reasoning. How can we show that this is a tautology (section 11.2): The hard way: “logical calculation” The “easy” way: “reasoning”
COS 150 Discrete Structures Assoc. Prof. Svetla Boytcheva Fall semester 2014.
Advanced Topics in Propositional Logic Chapter 17 Language, Proof and Logic.
Propositional Logic Dr. Rogelio Dávila Pérez Profesor-Investigador División de Posgrado Universidad Autónoma Guadalajara
2.3Logical Implication: Rules of Inference From the notion of a valid argument, we begin a formal study of what we shall mean by an argument and when such.
Propositional Calculus – Methods of Proof Predicate Calculus Math Foundations of Computer Science.
Natural Deduction CS 270 Math Foundations of CS Jeremy Johnson.
INTRODUCTION TO LOGIC Jennifer Wang Fall 2009 Midterm Review Quiz Game.
1 CMSC 250 Discrete Structures CMSC 250 Lecture 1.
Fundamentals of Logic 1. What is a valid argument or proof? 2. Study system of logic 3. In proving theorems or solving problems, creativity and insight.
Chapter Four Proofs. 1. Argument Forms An argument form is a group of sentence forms such that all of its substitution instances are arguments.
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.
Ch 1.4: Basic Proof Methods I A theorem is a proposition, often of special interest. A proof is a logically valid deduction of a theorem, using axioms,
1 Introduction to Abstract Mathematics Chapter 2: The Logic of Quantified Statements. Predicate Calculus Instructor: Hayk Melikya 2.3.
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,
Methods of Proof for Boolean Logic Chapter 5 Language, Proof and Logic.
Formal Proofs and Boolean Logic Chapter 6 Language, Proof and Logic.
Of 38 lecture 13: propositional logic – part II. of 38 propositional logic Gentzen system PROP_G design to be simple syntax and vocabulary the same as.
Chapter 2 Fundamentals of Logic 1. What is a valid argument or proof?
CS.462 Artificial Intelligence SOMCHAI THANGSATHITYANGKUL Lecture 05 : Knowledge Base & First Order Logic.
2.3 Methods of Proof.
CS104:Discrete Structures Chapter 2: Proof Techniques.
CSE 311: Foundations of Computing Fall 2013 Lecture 8: Proofs and Set theory.
Week 4 - Friday.  What did we talk about last time?  Floor and ceiling  Proof by contradiction.
1 CS1502 Formal Methods in Computer Science Notes 15 Problem Sessions.
Section 1.7. Definitions A theorem is a statement that can be shown to be true using: definitions other theorems axioms (statements which are given as.
CSE 311 Foundations of Computing I Lecture 8 Proofs Autumn 2011 CSE 3111.
CSE 311 Foundations of Computing I Lecture 8 Proofs Autumn 2012 CSE
Today’s Topics Argument forms and rules (review)
More Proofs. REVIEW The Rule of Assumption: A Assumption is the easiest rule to learn. It says at any stage in the derivation, we may write down any.
EXAMPLE 3 Write an indirect proof Write an indirect proof that an odd number is not divisible by 4. GIVEN : x is an odd number. PROVE : x is not divisible.
Chapter 1, Part III: Proofs With Question/Answer Animations Copyright © McGraw-Hill Education. All rights reserved. No reproduction or distribution without.
Section 1.7. Section Summary Mathematical Proofs Forms of Theorems Direct Proofs Indirect Proofs Proof of the Contrapositive Proof by Contradiction.
Foundations of Computing I CSE 311 Fall Announcements Homework #2 due today – Solutions available (paper format) in front – HW #3 will be posted.
Sound Arguments and Derivations. Topics Sound Arguments Derivations Proofs –Inference rules –Deduction.
Proof Techniques CS160/CS122 Rosen: 1.5, 1.6, 1.7.
Formal Proofs and Quantifiers
2. The Logic of Compound Statements Summary
Lecture Notes 8 CS1502.
{P} ⊦ Q if and only if {P} ╞ Q
Proof Techniques.
Methods of Proof A mathematical theorem is usually of the form pq
CS1502 Formal Methods in Computer Science
CS 270 Math Foundations of CS
Xuan Guo Lab 4 Xuan Guo
Presentation transcript:

The Logic of Conditionals Chapter 8 Language, Proof and Logic

Informal methods of proof 8.1.a Valid steps: 1. Modus ponens: From P  Q and P, infer Q. 2. Biconditional elimination: From P and either P  Q or Q  P, infer Q. 3. Contraposition: P  Q   Q   P The method of conditional proof: To prove P  Q, temporarily assume P and derive Q based on that assumption.

Informal methods of proof 8.1.b Proving Even(n 2 )  Even(n): Assume n 2 is even. To prove that n is even, assume, for a contradiction, that n is odd. Then, for some k, n=2k+1. Hence n 2 =(2k+1)(2k+1)= =4k 2 +4k+1=2(2k 2 +k)+1. Hence n 2 is odd, which is a contradiction. So, n is even. Proving the same using contraposition: Assume n is odd. Then, for some k, n=2k+1. Hence n 2 =(2k+1)(2k+1)= =4k 2 +4k+1=2(2k 2 +k)+1. Hence n 2 is odd

Informal methods of proof 8.1.c Proving biconditionals: To prove a number of biconditionals, try to arrange them into a cycle of conditionals, and then prove each conditional. 1. n is even 2. n 2 is even 3. n 2 is divisible by 4 Cycle: (3)  (2)  (1)  (3)

Formal rules of proof for  and  8.2  Elim: P  Q … P … Q  Intro: P … Q P  Q  Elim: P  Q (or Q  P) … P … Q  Intro: P … Q … P P  Q You try it, pages 208, 211

Soundness and completeness 8.3.a F T --- the portion of F that contains the rules for , , , , , . P 1,…,P n  - T Q --- provability of Q in F T from premises P 1,…,P n. CLAIM: F T is sound and complete with respect to tautological consequence. Soundness: If P 1,…,P n  - T Q, then Q is a tautological consequence of P 1,…,P n. Completeness: If Q is a tautological consequence of P 1,…,P n, then P 1,…,P n  - T Q. So, once you see that Q is not a tautological consequence of P 1,…,P n, you can be sure that there is no way to F T -prove Q from P 1,…,P n. So, once you see that Q is a tautological consequence of P 1,…,P n, you can be sure that there is an F T -proof of Q from P 1,…,P n, even if you have not actually found such a proof.

Soundness and completeness 8.3.b Would the system be sound if it had the following rule for “exclusive OR”  ? How about the same rule with the ordinary  ? P  Q P … S Q … T S  T See page 215 for a proof idea for the soundness of F T.