1 Inference Supplementary Notes Prepared by Raymond Wong Presented by Raymond Wong.

Slides:



Advertisements
Similar presentations
Tutorial 2: First Order Logic and Methods of Proofs
Advertisements

PROOF BY CONTRADICTION
Chapter 3 Elementary Number Theory and Methods of Proof.
CS621 : Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 12- Completeness Proof; Self References and Paradoxes 16 th August,
CPSC 322, Lecture 21Slide 1 Bottom Up: Soundness and Completeness Computer Science cpsc322, Lecture 21 (Textbook Chpt 5.2) February, 27, 2009.
1 The RSA Algorithm Supplementary Notes Prepared by Raymond Wong Presented by Raymond Wong.
1 Quantifiers Supplementary Notes Prepared by Raymond Wong Presented by Raymond Wong.
1 Intro to Logic Supplementary Notes Prepared by Raymond Wong Presented by Raymond Wong.
1 Intro to Induction Supplementary Notes Prepared by Raymond Wong Presented by Raymond Wong.
CSE115/ENGR160 Discrete Mathematics 02/01/11
Inverses and GCDs Supplementary Notes Prepared by Raymond Wong
Logic: Connectives AND OR NOT P Q (P ^ Q) T F P Q (P v Q) T F P ~P T F
1 Section 1.2 Propositional Equivalences. 2 Equivalent Propositions Have the same truth table Can be used interchangeably For example, exclusive or and.
1 Intro to Probability Supplementary Notes Prepared by Raymond Wong Presented by Raymond Wong.
Copyright © Zeph Grunschlag,
CPSC 322, Lecture 21Slide 1 Bottom Up: Soundness and Completeness Computer Science cpsc322, Lecture 21 (Textbook Chpt 5.2) March, 5, 2010.
What is the best way to start? 1.Plug in n = 1. 2.Factor 6n 2 + 5n Let n be an integer. 4.Let n be an odd integer. 5.Let 6n 2 + 5n + 4 be an odd.
Methods of Proof Leo Cheung. A Quick Review Direct proof Proof by contrapositive Proof by contradiction Proof by induction.
Introduction to Proofs ch. 1.6, pg. 87,93 Muhammad Arief download dari
Propositional Logic Lecture 2: Sep 9. Conditional Statement If p then q p is called the hypothesis; q is called the conclusion “If your GPA is 4.0, then.
Methods of Proof Lecture 4: Sep 16 (chapter 3 of the book)
1 Advanced Induction Supplementary Notes Prepared by Raymond Wong Presented by Raymond Wong.
Propositional Logic 7/16/ Propositional Logic A proposition is a statement that is either true or false. We give propositions names such as p, q,
Propositional Logic.
What it is? Why is it a legitimate proof method? How to use it?
Methods of Proof & Proof Strategies
Course Outline Book: Discrete Mathematics by K. P. Bogart Topics:
Introduction to Proofs
Mathematical Induction. F(1) = 1; F(n+1) = F(n) + (2n+1) for n≥ F(n) n F(n) =n 2 for all n ≥ 1 Prove it!
BY: MISS FARAH ADIBAH ADNAN IMK. CHAPTER OUTLINE: PART III 1.3 ELEMENTARY LOGIC INTRODUCTION PROPOSITION COMPOUND STATEMENTS LOGICAL.
Ch 1.5: Basic Proof Methods II Proof by Contraposition of P => Q Suppose ~Q …proof details here…. Therefore, ~P (via a direct proof) Thus, ~Q => ~P. Therefore,
CSE 311: Foundations of Computing Fall 2013 Lecture 8: More Proofs.
1 Derivation Schemes for Topological Logics. 2 Derived Logics What Are They? Why Do We Need Them? How Can We Use Them? Colleague: Michael Westmoreland.
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.
CS621 : Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 12- Completeness Proof; Self References and Paradoxes 16 th August,
Chapter 7 Logic, Sets, and Counting
Conditional Statements
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.
How do I show that two compound propositions are logically equivalent?
6.1 Logic Logic is not only the foundation of mathematics, but also is important in numerous fields including law, medicine, and science. Although the.
Section 3.3: Mathematical Induction Mathematical induction is a proof technique that can be used to prove theorems of the form:  n  Z +,P(n) We have.
Fall 2008/2009 I. Arwa Linjawi & I. Asma’a Ashenkity 11 The Foundations: Logic and Proofs Introduction to Proofs.
Chapter 1: Introduction
Do you agree with the following proofs? 1.Prove that  2 is irrational. Proof: Suppose that  2 is not irrational, then  2 = p/q for some natural numbers.
Section 3.1 Sets and their operation. Definitions A set S is collection of objects. These objects are said to be members or elements of the set, and the.
A2 Part A Mathematical Logic
Conditional Statements – Page 1CSCI 1900 – Discrete Structures CSCI 1900 Discrete Structures Conditional Statements Reading: Kolman, Section 2.2.
TRUTH TABLES. Introduction The truth value of a statement is the classification as true or false which denoted by T or F. A truth table is a listing of.
Joan Ridgway. If a proposition is not indeterminate then it is either true (T) or false (F). True and False are complementary events. For two propositions,
Introduction to Proofs
Conditional Statements Lecture 2 Section 1.2 Fri, Jan 20, 2006.
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 2012 CSE
Conditional statement or implication IF p then q is denoted p ⇒ q p is the antecedent or hypothesis q is the consequent or conclusion ⇒ means IF…THEN.
Reasoning and Proof Chapter Use Inductive Reasoning Conjecture- an unproven statement based on an observation Inductive reasoning- finding a pattern.
Methods of Proof Lecture 4: Sep 20 (chapter 3 of the book, except 3.5 and 3.8)
Chapter 1 Logic and proofs
Chapter 5 1. Chapter Summary  Mathematical Induction  Strong Induction  Recursive Definitions  Structural Induction  Recursive Algorithms.
Indirect Argument: Contradiction and Contraposition
Direct Proof by Contraposition Direct Proof by Contradiction
Induction and recursion
Methods of Proof A mathematical theorem is usually of the form pq
Indirect Argument: Contradiction and Contraposition
The Foundations: Logic and Proofs
PROOF BY CONTRADICTION
Section 2.1 Proof Techniques Introduce proof techniques:   o        Exhaustive Proof: to prove all possible cases, Only if it is about a.
Dr. Halimah Alshehri MATH 151 Dr. Halimah Alshehri Dr. Halimah Alshehri.
Induction Chapter
THE WELL ORDERING PROPERTY
Introduction to Proofs
Presentation transcript:

1 Inference Supplementary Notes Prepared by Raymond Wong Presented by Raymond Wong

2 e.g.1 (Page 7) Property p  q is equivalent to  p  q pq p  q TTT TFF FTT FFT  p q p  q FTT FFF TTT TFT

3 e.g.2 (Page 17) Prove that: Let n be a positive integer. If n 2 > 100, then n > 10. Consider n  10 n. n  n. 10 (since n is a positive integer) n 2  n. 10  (since n  10) = 100 We conclude that n 2  100 (i.e., n 2 is not greater than 100.) We want to prove by contraposition. That is, “ If “ not (n > 10) ”, then “ not (n 2 > 100) ” “ If n  10, then n 2  100 ”

4 e.g.3 (Page 20) Illustration of “Proof by Contradiction” We are going to prove that a claim C is correct Proof by Contradiction: Suppose “ NOT C ” ….…. Derive some results, which may contradict to 1. “ NOT C ”, OR 2. some facts e.g., we derived that C is true finally e.g., we derived that “1 = 4”

5 e.g.4 (Page 27) E.g., m = 10 n = 21 Consider term “ m 2 ” and term “ 5n 2 ” We want to analyze the number of prime factors of m 2 (and 5n 2 ). m = 2. 5 n = 3. 7 Consider m 2 = (2. 5) 2 = Consider 5n 2 = 5. (3. 7) 2 = There are 4 prime factors (i.e., an even number of prime factors). There are 5 prime factors (i.e., an odd number of prime factors).