1 Discrete Structures Lecture 25 Quantification IV.

Slides:



Advertisements
Similar presentations
TWO STEP EQUATIONS 1. SOLVE FOR X 2. DO THE ADDITION STEP FIRST
Advertisements

You have been given a mission and a code. Use the code to complete the mission and you will save the world from obliteration…
“God Is Not…” “God is not a man” Numbers 23:19 God’s dependable nature
Advanced Piloting Cruise Plot.
Kapitel 21 Astronomie Autor: Bennett et al. Galaxienentwicklung Kapitel 21 Galaxienentwicklung © Pearson Studium 2010 Folie: 1.
Fig , p Table 10-1, p. 271 Fig , p. 272.
Chapter 1 The Study of Body Function Image PowerPoint
Copyright © 2011, Elsevier Inc. All rights reserved. Chapter 5 Author: Julia Richards and R. Scott Hawley.
1 Copyright © 2010, Elsevier Inc. All rights Reserved Fig 2.1 Chapter 2.
By D. Fisher Geometric Transformations. Reflection, Rotation, or Translation 1.
Algebraic Expressions
Business Transaction Management Software for Application Coordination 1 Business Processes and Coordination.
2 pt 3 pt 4 pt 5pt 1 pt 2 pt 3 pt 4 pt 5 pt 1 pt 2pt 3 pt 4pt 5 pt 1pt 2pt 3 pt 4 pt 5 pt 1 pt 2 pt 3 pt 4pt 5 pt 1pt Two-step linear equations Variables.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Title Subtitle.
My Alphabet Book abcdefghijklm nopqrstuvwxyz.
DIVIDING INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
SUBTRACTING INTEGERS 1. CHANGE THE SUBTRACTION SIGN TO ADDITION
FACTORING ax2 + bx + c Think “unfoil” Work down, Show all steps.
Addition Facts
Year 6 mental test 5 second questions
Year 6 mental test 10 second questions
School Shop. Welcome to my shop. You have 10p How much change will you get? 7p 3p change.
Around the World AdditionSubtraction MultiplicationDivision AdditionSubtraction MultiplicationDivision.
ZMQS ZMQS
BT Wholesale October Creating your own telephone network WHOLESALE CALLS LINE ASSOCIATED.
ABC Technology Project
1 Undirected Breadth First Search F A BCG DE H 2 F A BCG DE H Queue: A get Undiscovered Fringe Finished Active 0 distance from A visit(A)
Dummy Dealers welcome !. euroCADcrete Step 1: General data euroCADcrete: Educational software according EC2.
© Charles van Marrewijk, An Introduction to Geographical Economics Brakman, Garretsen, and Van Marrewijk.
VOORBLAD.
Quadratic Inequalities
1 Breadth First Search s s Undiscovered Discovered Finished Queue: s Top of queue 2 1 Shortest path from s.
“Start-to-End” Simulations Imaging of Single Molecules at the European XFEL Igor Zagorodnov S2E Meeting DESY 10. February 2014.
BIOLOGY AUGUST 2013 OPENING ASSIGNMENTS. AUGUST 7, 2013  Question goes here!
Factor P 16 8(8-5ab) 4(d² + 4) 3rs(2r – s) 15cd(1 + 2cd) 8(4a² + 3b²)
Squares and Square Root WALK. Solve each problem REVIEW:
Do you have the Maths Factor?. Maths Can you beat this term’s Maths Challenge?
Discrete Math Methods of proof 1.
© 2012 National Heart Foundation of Australia. Slide 2.
Lets play bingo!!. Calculate: MEAN Calculate: MEDIAN
1 Chapter 4 The while loop and boolean operators Samuel Marateck ©2010.
Understanding Generalist Practice, 5e, Kirst-Ashman/Hull
Chapter 5 Test Review Sections 5-1 through 5-4.
SIMOCODE-DP Software.
GG Consulting, LLC I-SUITE. Source: TEA SHARS Frequently asked questions 2.
Loving Your Role in the Church. The Church’s Divine Origin Christ built His Church (Matt. 16:18) Christ is the head of the Church (Eph. 1:22-23; Col.
1 First EMRAS II Technical Meeting IAEA Headquarters, Vienna, 19–23 January 2009.
Addition 1’s to 20.
25 seconds left…...
Januar MDMDFSSMDMDFSSS
Week 1.
1. 2 No lecture on Wed February 8th Thursday 9 th Feb Friday 27 th Jan Friday 10 th Feb Thursday 14: :00 Friday 16:00 – 19:00 HS N.
We will resume in: 25 Minutes.
©Brooks/Cole, 2001 Chapter 12 Derived Types-- Enumerated, Structure and Union.
Figure Essential Cell Biology (© Garland Science 2010)
A SMALL TRUTH TO MAKE LIFE 100%
1 Unit 1 Kinematics Chapter 1 Day
PSSA Preparation.
IP, IST, José Bioucas, Probability The mathematical language to quantify uncertainty  Observation mechanism:  Priors:  Parameters Role in inverse.
How Cells Obtain Energy from Food
Immunobiology: The Immune System in Health & Disease Sixth Edition
CpSc 3220 Designing a Database
Disassemble, Assemble and Perform a Function Check on the M16/M4
Equivalence Relations
Traktor- og motorlære Kapitel 1 1 Kopiering forbudt.
Presentation transcript:

1 Discrete Structures Lecture 25 Quantification IV

2 Recall: (8.14) Axiom, One Point Rule (  x | x=E : P) = P[x:=E] Provided ¬occurs('x','E') (8.16) Axiom, Range Split (no overlap) (  x | R V S:P) = (  x | R:P)  (  x | S:P) provided R  S  false (8.17) Axiom, Range Split (with overlap) (  x | R V S:P)  (  x | R  S:P) =(  x | R:P)  (  x | S:P)

3 Axioms re: dummies (8.19) Axiom, Interchange of dummies (  x | R:(  y | Q:P)) = (  y | Q:(  x | R:P) --provided ¬occurs('y','R') and ¬occurs('x','Q') Nested quantifications with the same operator can be interchanged.

4 Axioms re: dummies (8.20) Axiom, Nesting (  x,y | R  Q:P)) = (  x | R:(  y | Q:P) --provided ¬occurs('y','R') Single quantification over a list of dummies can be viewed as a nested quantification.

5 Axioms re: dummies (8.21) Axiom, Dummy Renaming (  x | R:P) = (  y | R[x:=y]:P[x:=y]) --provided ¬occurs('y','R,P') Can replaced dummies with a "fresh" variable as long as it's done consistently.

6 Splitting Ranges (8.23) Theorem Split off Term (  i | 0 ≤ i < n+1:P) = (  i | 0 ≤ i < n:P)  P[i:=n] (  i | 0 ≤ i < n+1:P) = P[i:=0]  (  i | 0 < i < n+1:P) NN For n: N and dummies i: N

7 (8.5) Prove the following theorems. Provided 0 ≤ n (b) (  i | 0 ≤ i ≤ n: b[i]) = (  i | 0 ≤ i < n: b[i]) + b[n] (  i | 0 ≤ i ≤ n: b[i]) = (  i | 0 ≤ i < n: b[i]) + b[n]

8 Prove 8.5(b) without (8.23), part one (b) (  i | 0 ≤ i ≤ n: b[i]) = (  i | 0 ≤ i < n: b[i]) + b[n] 0 ≤ i ≤ n = 0 ≤ i  i ≤ n = 0 ≤ i  (i < n V i=n) = (0 ≤ i  i<n) V (0 ≤ i  i=n) = (0 ≤ i < n) V (0 ≤ i  i=n) = (0 ≤ i<n) V (0 ≤ n  i=n) = (0 ≤ i < n) V i=n

9 Now we can prove the theorem (b) (  i | 0 ≤ i ≤ n: b[i]) = (  i | 0 ≤ i < n: b[i]) + b[n] (  i | 0 ≤ i ≤ n: b[i]) = (  i | 0 ≤ i < n V i=n: b[i]) = (  i | 0 ≤ i < n: b[i]) + (  i | i=n: b[i]) = (  i | 0 ≤ i < n: b[i]) + b[n]

10 Splitting ranges (8.24) (8.24): b ≤ c ≤ d  (b ≤ i < d  b ≤ i < c V c ≤ i < d) Example: Suppose 0 ≤ n ( V i | 0 ≤ i < n+1: b[i]=0) = <(8.24) b,c,d:=0,n,n+1 0 ≤ n ≤ n+1  (0 ≤ i ( V i | 0 ≤ i < n V n ≤ i < n+1: b[i]=0) Now we can split the range.

11 8.6(a) without using 8.23 ( V i | 0 ≤ i < n+1: b[i]=0)  ( V i | 0 ≤ i < n: b[i]=0) V b[n]=0 ( V i | 0 ≤ i < n+1: b[i]=0) = ( V i | 0 ≤ i < n V n ≤ i < n+1: b[i]=0) = ( V i | 0 ≤ i < n: b[i]=0) V ( V i | n ≤ i < n+1: b[i]=0) = ( V i | 0 ≤ i < n: b[i]=0) V b[n]=0

12 8.6(c) without using 8.23, part one ( V i | 0 ≤ i < n+1: b[i]=0)  b[0]=0 V ( V i | 0 < i < n+1: b[i]=0) 0 ≤ i < n+1 = 0 ≤ i  i < n+1 = (0=i V 0<i)  i < n+1 = (0 = i  i<n+1) V (0 < i  i<n+1) = (0 = i  i<n+1) V (0 < i<n+1) = (0 = i  0<n+1) V (0 < i<n+1) 0 = i V (0 < i<n+1)

13 8.6(c) without using 8.23 ( V i | 0 ≤ i < n+1: b[i]=0)  b[0]=0 V ( V i | 0 < i < n+1: b[i]=0) ( V i | 0 ≤ i < n+1: b[i]=0) = ( V i | 0 = i V 0 < i < n+1: b[i]=0) = ( V i |0 = i: b[i]=0) V ( V i | 0 < i < n+1: b[i]=0) = b[0]=0 V ( V i |0 < i < n+1: b[i]=0)

14 A Note about ranges For example: 2, …, 15 (a) 2 ≤ i ≤ 15 (b) 2 ≤ i < 16 (c) 1 < i ≤ 15 (d) 1 < i < 16 Number of elements in range is equal to upperBound - lowerBound in (b) & (c). Xerox Parc study, said fewest errors with (b).