Quizzes CS 1813 – Discrete Mathematics

Slides:



Advertisements
Similar presentations
Functional Programming Lecture 13 - induction on lists.
Advertisements

Extensible Networking Platform CSE 240 – Logic and Discrete Mathematics Review: Mathematical Induction Use induction to prove that the sum of the.
Mathematical Induction
Lecture 11 Mathematical Induction CSCI – 1900 Mathematics for Computer Science Fall 2014 Bill Pine.
To prove by induction that 2 n ≥ n 2 for n ≥ 4, n  N Next (c) Project Maths Development Team 2011.
Review for CS1050. Review Questions Without using truth tables, prove that  (p  q)   q is a tautology. Prove that the sum of an even integer and an.
Mathematical induction Isaac Fung. Announcement ► Homework 1 released ► Due on 6 Oct 2008 (in class)
CS 1813 Discrete Mathematics, Univ Oklahoma Copyright © 2000 by Rex Page 1 Lecture 3 CS 1813 – Discrete Mathematics Truth Inference and the Logical Way.
CS 454 Theory of Computation Sonoma State University, Fall 2011 Instructor: B. (Ravi) Ravikumar Office: 116 I Darwin Hall Original slides by Vahid and.
Chapter 10 Sequences, Induction, and Probability Copyright © 2014, 2010, 2007 Pearson Education, Inc Mathematical Induction.
1 Section 3.3 Mathematical Induction. 2 Technique used extensively to prove results about large variety of discrete objects Can only be used to prove.
Copyright © 2007 Pearson Education, Inc. Slide 8-1.
To prove by induction that (1 + x) n ≥ 1 + nx for x > -1, n  N Next (c) Project Maths Development Team 2011 Note: x>-1. Hence (1+x)>0.
MATH 224 – Discrete Mathematics
Lecture 3.1: Mathematical Induction CS 250, Discrete Structures, Fall 2014 Nitesh Saxena Adopted from previous lectures by Cinda Heeren, Zeph Grunschlag.
CS 1813 Discrete Mathematics, Univ Oklahoma Copyright © 2000 by Rex Page 1 Lecture 18 CS 1813 – Discrete Mathematics Loops Without Invariants Are Like.
March 3, 2015Applied Discrete Mathematics Week 5: Mathematical Reasoning 1Arguments Just like a rule of inference, an argument consists of one or more.
1 CMSC 250 Chapter 4, con't., Inductive Proofs. 2 CMSC 250 Description l Inductive proofs must have: –Base case: where you prove that what it is you are.
Methods of Proofs PREDICATE LOGIC The “Quantifiers” and are known as predicate quantifiers. " means for all and means there exists. Example 1: If we.
CS 1813 Discrete Mathematics, Univ Oklahoma Copyright © 2000 by Rex Page 1 Lecture 10 CS 1813 – Discrete Mathematics Quantify What? Reasoning with Predicates.
9.4 Mathematical Induction
CS 1813 Discrete Mathematics, Univ Oklahoma Copyright © 2000 by Rex Page 1 Lecture 7 CS 1813 – Discrete Mathematics Equational Reasoning Back to the Future:
CS6133 Software Specification and Verification
Mathematical Preliminaries
CompSci 102 Discrete Math for Computer Science March 1, 2012 Prof. Rodger Slides modified from Rosen.
To prove by induction that 3 is a factor of 4 n - 1, n  N Next (c) Project Maths Development Team 2011.
CS 1813 Discrete Mathematics, Univ Oklahoma Copyright © 2000 by Rex Page 1 Lecture 2 CS 1813 – Discrete Mathematics Proofs Propositions and Calculuses.
CS 1813 Discrete Mathematics, Univ Oklahoma Copyright © 2000 by Rex Page 1 Lecture 19 CS 1813 – Discrete Mathematics Trees and Inductive Definitions.
A: A: double “4” A: “34” 4.
CS 285- Discrete Mathematics
Copyright © Cengage Learning. All rights reserved. Sequences and Series.
1 2/21/2016 MATH 224 – Discrete Mathematics Sequences and Sums A sequence of the form ar 0, ar 1, ar 2, ar 3, ar 4, …, ar n, is called a geometric sequence.
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett.
CS 1813 Discrete Mathematics, Univ Oklahoma Copyright © 2000 by Rex Page 1 Lecture 14 CS 1813 – Discrete Mathematics A Little Bit of Set Theory.
9.3 Geometric Sequences and Series. Common Ratio In the sequence 2, 10, 50, 250, 1250, ….. Find the common ratio.
1 Discrete Mathematical Mathematical Induction ( الاستقراء الرياضي )
CS 1813 Discrete Mathematics, Univ Oklahoma Copyright © 2000 by Rex Page 1 Lecture 17 CS 1813 – Discrete Mathematics How Does It Work in the Real World?
Mathematical Induction EECS 203: Discrete Mathematics Lecture 11 Spring
Recursive Definitions & Structural Induction: Selected Exercises
CS 1813 Discrete Mathematics, Univ Oklahoma Copyright © 2000 by Rex Page 1 CS 1813 – Discrete Mathematics Review of Predicate Calculus Set Theory Inductive.
11.7 – Proof by Mathematical Induction
MATH 224 – Discrete Mathematics
Disjunctive Normal Form
Use mathematical induction to prove that the formula is true for all natural numbers m. {image} Choose the first step of the proof from the following:
Lecture 4 CS 1813 – Discrete Mathematics
Lecture 15 CS 1813 – Discrete Mathematics
CS 1813 – Discrete Mathematics
Lecture 12 CS 1813 – Discrete Mathematics
Review Operation Bingo
Lecture 6 CS 1813 – Discrete Mathematics
Lecture 13 CS 1813 – Discrete Mathematics
Elementary Metamathematics
CS 1813 – Discrete Mathematics
Lecture 16 CS 1813 – Discrete Mathematics
BaSIC Math Reviews.
Lecture 9 CS 1813 – Discrete Mathematics
Lecture 1 CS 1813 – Discrete Mathematics
Lecture 3.2: Induction, and Strong Induction
Lecture 11 CS 1813 – Discrete Mathematics
Lecture 3.2: Induction and Strong Induction (contd.)
Lecture 3.2: Induction, and Strong Induction
Lecture 3.2: Induction, and Strong Induction
Lecture 5 CS 1813 – Discrete Mathematics
Mathematical Induction
Lecture 8 CS 1813 – Discrete Mathematics
To prove by induction that n! > 2n for n > 3, n  N
(c) Project Maths Development Team 2011
Mathematical Induction
Lecture 3.1: Mathematical Induction
Terminology and Symbols
Presentation transcript:

Quizzes CS 1813 – Discrete Mathematics Lecture 7 - CS 1813 Discrete Math, University of Oklahoma 12/2/2018 Quizzes CS 1813 – Discrete Mathematics CS 1813 Discrete Mathematics, Univ Oklahoma Copyright © 2000 by Rex Page

CS 1813 Discrete Mathematics, Univ Oklahoma But First … a quiz Prove the following sequent a  (b) |– (a  b) Proof {I} triggers discharge a  (b False) {EL} a a  b a  (b False) {E} b { ER} b False {E} False {I} (a  b)  False CS 1813 Discrete Mathematics, Univ Oklahoma Copyright © 2000 by Rex Page

CS 1813 Discrete Mathematics, Univ Oklahoma But First … a quiz Prove the following sequent |– (a  b)  (b  c) Proof {I} triggers discharge a  b { ER} b {IL} b  c {I} a  b  b  c CS 1813 Discrete Mathematics, Univ Oklahoma Copyright © 2000 by Rex Page

CS 1813 Discrete Mathematics, Univ Oklahoma But First … a quiz Prove the following Boolean equation (a  b) = a  (b) Proof (a  b) = ((a)  b) {implication} = ((a))  (b) {DeMorgan } = a  (b) {double neg} QED CS 1813 Discrete Mathematics, Univ Oklahoma Copyright © 2000 by Rex Page

CS 1813 Discrete Mathematics, Univ Oklahoma Quiz map f [ ] = [ ] (map).[] map f (x: xs) = (f x): (map f xs) (map).: Prove k  {1, 2, …, (length xs)}. (map f xs)k = f(xsk) ysk denotes the kth element of ys for any sequence ys = [y1, y2, … yn], [y1, y2, … yn]k = yk Assume that xs has a finite number of elements Proof k  {1, 2, …, 0}. (map f xs)k = xsk (Isaac’s rule, since {1, …, 0} = ) k  {1, 2, …, (length(x: xs))}. (map f (x: xs))k = f((x: xs)k) = k  {1, 2, …, 1+(lengthxs)}. ((f x): (map f xs))k = f((x: xs)k) True for k=1 ((f x): (map f (x: xs)))1 = (f x) = f((x: xs)1) True for 2  k  1+(length xs) induction hypothesis, since (y: ys)k = ysk-1 when k  2 CS 1813 Discrete Mathematics, Univ Oklahoma Copyright © 2000 by Rex Page