1 Formal Proofs. 2 Deductive Proofs From the given statement(s) to a conclusion statement (what we want to prove) Logical progression by direct implications.

Slides:



Advertisements
Similar presentations
Lecture 3 – February 17, 2003.
Advertisements

With examples from Number Theory
Discrete Math Methods of proof 1.
Methods of Proofs October 20, A Good Proof State your plan Avoid excessive symbols Simplify as much as possible Good notation 2.
Chapter 3 Elementary Number Theory and Methods of Proof.
Proofs, Recursion and Analysis of Algorithms Mathematical Structures for Computer Science Chapter 2 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProofs,
(CSC 102) Lecture 12 Discrete Structures. Previous Lecture Summary Floor and Ceiling Functions Definition of Proof Methods of Proof Direct Proof Disproving.
Elementary Number Theory and Methods of Proof
Section 1.6: Sets Sets are the most basic of discrete structures and also the most general. Several of the discrete structures we will study are built.
Discussion #131/18 Discussion #13 Induction (the process of deriving generalities from particulars) Mathematical Induction (deductive reasoning over the.
CMSC 250 Discrete Structures Number Theory. 20 June 2007Number Theory2 Exactly one car in the plant has color H( a ) := “ a has color”  x  Cars –H(
Copyright © Zeph Grunschlag,
Methods of Proof Leo Cheung. A Quick Review Direct proof Proof by contrapositive Proof by contradiction Proof by induction.
Proofs, Recursion and Analysis of Algorithms Mathematical Structures for Computer Science Chapter 2.1 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProofs,
The essential quality of a proof is to compel belief.
Discrete Structures Chapter 5: Sequences, Mathematical Induction, and Recursion 5.2 Mathematical Induction I [Mathematical induction is] the standard proof.
Discrete Structures Chapter 3: The Logic of Quantified Statements
Methods of Proof Lecture 4: Sep 16 (chapter 3 of the book)
Methods of Proof & Proof Strategies
Chapter 6 Mathematical Induction
Discrete Maths Objective to introduce mathematical induction through examples , Semester 2, Mathematical Induction 1.
Copyright © Cengage Learning. All rights reserved. CHAPTER 4 ELEMENTARY NUMBER THEORY AND METHODS OF PROOF ELEMENTARY NUMBER THEORY AND METHODS OF PROOF.
Methods of Proof. This Lecture Now we have learnt the basics in logic. We are going to apply the logical rules in proving mathematical theorems. Direct.
CSE 311: Foundations of Computing Fall 2013 Lecture 8: More Proofs.
CS 173, Lecture B August 27, 2015 Tandy Warnow. Proofs You want to prove that some statement A is true. You can try to prove it directly, or you can prove.
Methods of Proofs PREDICATE LOGIC The “Quantifiers” and are known as predicate quantifiers. " means for all and means there exists. Example 1: If we.
1 Introduction to Abstract Mathematics Chapter 3: Elementary Number Theory and Methods of Proofs Instructor: Hayk Melikya Direct.
Mathematical Preliminaries (Hein 1.1 and 1.2) Sets are collections in which order of elements and duplication of elements do not matter. – {1,a,1,1} =
Chapter 5 Existence and Proof by contradiction
Methods of Proof Lecture 3: Sep 9. This Lecture Now we have learnt the basics in logic. We are going to apply the logical rules in proving mathematical.
Logical Reasoning:Proof Prove the theorem using the basic axioms of algebra.
Chapter 2 Section 2-1: Conditional Statements
Fall 2008/2009 I. Arwa Linjawi & I. Asma’a Ashenkity 11 The Foundations: Logic and Proofs Introduction to Proofs.
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 Dr. Yasir Ali. Proof A (logical) proof of a statement is a finite sequence of statements (called the steps of the proof) leading from.
Chapter 1: Introduction
THEORY OF COMPUTATION Komate AMPHAWAN 1. 2.
Method of proofs.  Consider the statements: “Humans have two eyes”  It implies the “universal quantification”  If a is a Human then a has two eyes.
Classifications LanguageGrammarAutomaton Regular, right- linear Right-linear, left-linear DFA, NFA Context-free PDA Context- sensitive LBA Recursively.
Introduction to Automata Theory
CSE 311: Foundations of Computing Fall 2013 Lecture 8: Proofs and Set theory.
1 CMSC 250 Chapter 3, Number Theory. 2 CMSC 250 Introductory number theory l A good proof should have: –a statement of what is to be proven –"Proof:"
CSE 311 Foundations of Computing I Lecture 8 Proofs Autumn 2012 CSE
Introduction to Proofs. The use of Reasoning and Logic in proofs Inductive Reasoning- “reasoning from detailed facts to general principles” – Specific.
Discrete Mathematical Structures: Theory and Applications 1 Logic: Learning Objectives  Learn about statements (propositions)  Learn how to use logical.
Methods of Proof Lecture 4: Sep 20 (chapter 3 of the book, except 3.5 and 3.8)
CS 173, Lecture B August 27, 2015 Tandy Warnow. Proofs You want to prove that some statement A is true. You can try to prove it directly, or you can prove.
Notions & Notations - 1ICOM 4075 (Fall 2010) UPRM Department of Electrical and Computer Engineering University of Puerto Rico at Mayagüez Fall 2010 ICOM.
Introduction to Automata Theory
Lecture 2: Proofs and Recursion. Lecture 2-1: Proof Techniques Proof methods : –Inductive reasoning Lecture 2-2 –Deductive reasoning Using counterexample.
CS151: Mathematical Foundations of Computing Mathematical Induction.
1 Proofs by Counterexample & Contradiction There are several ways to prove a theorem:  Counterexample: By providing an example of in which the theorem.
Chapter 1 Logic and Proof.
Chapter 1 Logic and Proof.
11.7 – Proof by Mathematical Induction
Methods of Proof.
Chapter 3 The Real Numbers.
Methods of Proof A mathematical theorem is usually of the form pq
Indirect Argument: Contradiction and Contraposition
Introduction to Automata Theory
The Foundations: Logic and Proofs
CS201: Data Structures and Discrete Mathematics I
Follow me for a walk through...
Direct Proof and Counterexample II
Section 2.1 Proof Techniques Introduce proof techniques:   o        Exhaustive Proof: to prove all possible cases, Only if it is about a.
Elementary Number Theory & Proofs
Direct Proof and Counterexample I
Follow me for a walk through...
Copyright © Cengage Learning. All rights reserved.
Follow me for a walk through...
Presentation transcript:

1 Formal Proofs

2 Deductive Proofs From the given statement(s) to a conclusion statement (what we want to prove) Logical progression by direct implications Example for parsing a statement: “If y≥4, then 2 y ≥y 2.” (there are other ways of writing this). given conclusion

3 Example: Deductive proof Let Claim 1: If y≥4, then 2 y ≥y 2. Let x be any number which is obtained by adding the squares of 4 positive integers. Given x and assuming that Claim 1 is true, prove that 2 x ≥x 2 Proof: 1)Given: x = a 2 + b 2 + c 2 + d 2 2)Given: a≥1, b≥1, c≥1, d≥1 3)  a 2 ≥1, b 2 ≥1, c 2 ≥1, d 2 ≥1(by 2) 4)  x ≥ 4(by 1 & 3) 5)  2 x ≥ x 2 (by 4 and Claim 1) “implies” or “follows”

4 Quantifiers “For all” or “For every” – Universal proofs – Notation * =? “There exists” – Used in existential proofs – Notation * =? Implication is denoted by => E.g., “IF A THEN B” can also be written as “A=>B” * I wasn’t able to locate the symbol for these notation in powerpoint. Sorry! Please follow the standard notation for these quantifiers.

5 Proving techniques By contradiction – Start with the statement contradictory to the given statement – E.g., To prove (A => B), we start with: (A and ~B) … and then show that could never happen What if you want to prove that “(A and B => C or D)”? By induction – (3 steps) Basis, inductive hypothesis, inductive step By contrapositive statement – If A then B ≡If ~B then ~A

6 Proving techniques… By counter-example – Show an example that disproves the claim Note: There is no such thing called a “proof by example”! – So when asked to prove a claim, an example that satisfied that claim is not a proof

7 Different ways of saying the same thing “If H then C”: i.H implies C ii.H => C iii.C if H iv.H only if C v.Whenever H holds, C follows

8 “If-and-Only-If” statements “A if and only if B” (A B) – (if part) if B then A ( <= ) – (only if part) A only if B ( => ) (same as “if A then B”) “If and only if” is abbreviated as “iff” – i.e., “A iff B” Example: – Theorem: Let x be a real number. Then floor of x = ceiling of x if and only if x is an integer. Proofs for iff have two parts – One for the “if part” & another for the “only if part”

9 Summary Automata theory & a historical perspective Chomsky hierarchy Finite automata Alphabets, strings/words/sentences, languages Membership problem Proofs: – Deductive, induction, contrapositive, contradiction, counterexample – If and only if Read chapter 1 for more examples and exercises Gradiance homework 1