Slide 1

Slide 1 text

Class 18: Spooky Infinities cs2102: Discrete Mathematics | F17 uvacs2102.github.io David Evans University of Virginia

Slide 2

Slide 2 text

Plan Review: Countably Infinite Sets Any Bigger Sets? Preparation for Monday Uncountable Sets Problem Set 7 is due Friday Exam 2 is in two weeks (Nov 9)

Slide 3

Slide 3 text

Countably Infinite 3 A set is countable if and only if there exists a surjective function from ℕ to . A set is infinite, if there is no bijection between and any ℕ$ . A set is countably infinite if it is countable and it is infinite. A set is countably infinite if there exists a bijection between and ℕ.

Slide 4

Slide 4 text

Example: ℤ is countably infinite 4

Slide 5

Slide 5 text

Example: (ℕ×ℕ) is countably infinite 5

Slide 6

Slide 6 text

Example: ℚ is countably infinite 6

Slide 7

Slide 7 text

Tsil Definition (PS7) Base: the empty tsil () Constructor: for any tsil, , and object, postpend(, ) is a tsil 7 How many tsils?

Slide 8

Slide 8 text

Tsil-∅ Definition Base: the empty tsil () Constructor: for any tsil, postpend(, ∅) is a tsil 8

Slide 9

Slide 9 text

Power Sets 9 The power set of a set is the set of all subsets of . ∈ ⟺ ⊆ What is the cardinality of ()?

Slide 10

Slide 10 text

10 For all finite sets , > ?

Slide 11

Slide 11 text

11 For all finite sets , = 2|D|. Proven in Class 11

Slide 12

Slide 12 text

12 For all finite sets , > ||.

Slide 13

Slide 13 text

13 For all sets , is > ?

Slide 14

Slide 14 text

14 For all sets , > | |. Bogus non-proof: Proof by induction: ∷= ∀ sets where = . > . Base case: 0 : = ∅. = {∅}. = 1 > = 0. Inductive case: ∀ ∈ ℕ. ⇒ + 1 . for all sets where = + 1, ∃ where = , ∉ . = ∪ ⇒ > ⇒ + 1 > + 1 Since () includes all elements of () and includes , this means > ⇒ ( + 1). Therefore, always holds, so we can conclude for all sets , > | |.

Slide 15

Slide 15 text

15 For all sets , > | |. Bogus non-proof: Proof by induction: ∷= ∀ sets where = . > . Base case: 0 : = ∅. = {∅}. = 1 > = 0. Inductive case: ∀ ∈ ℕ. ⇒ + 1 . for all sets where = + 1, ∃ where = , ∉ . = ∪ ⇒ > ⇒ + 1 > + 1 Since () includes all elements of () and includes , this means > ⇒ ( + 1). Therefore, always holds, so we can conclude for all sets , > | |. 1 2 3 4 5 6 7 8 9 10 11 Which step is wrong?

Slide 16

Slide 16 text

Georg Cantor’s Shocking Proof (~1874) 16 Historical note: this isn’t actually Cantor’s proof, although it is commonly called Cantor’s Theorem. Cantor came up with the diagonalization argument we will see next; this proof is believed to have been first done by Hessenberg (1906).

Slide 17

Slide 17 text

17 For all sets , > | |.

Slide 18

Slide 18 text

18 For all sets , > | |.

Slide 19

Slide 19 text

Is ℕ countable? 19

Slide 20

Slide 20 text

Trick-or-Treat Protocols 20

Slide 21

Slide 21 text

“Trick or Treat” 21 Tricker initiates the protocol by making a threat and demanding tribute Victim either pays tribute (usually in the form of sugary snack) or risks being tricked

Slide 22

Slide 22 text

Illogical Threat 22 ∨ ∧ ⟹

Slide 23

Slide 23 text

“Trick or Treat” 23 Tricker initiates the protocol by making a threat and demanding tribute Victim either pays tribute (usually in the form of sugary snack) or risks being tricked Tricker must convince Victim that she poses a credible threat: prove she is a qualified tricker

Slide 24

Slide 24 text

Trick-or-Treat Trickers? Victim 24 Any problems with this?

Slide 25

Slide 25 text

Proof without Disclosure How can the tricker prove their trickability, without allowing the victim to now impersonate a tricker? 25

Slide 26

Slide 26 text

Challenge-Response Protocol 26 Prover: proves knowledge of by revealing (, ) . Verifier: convinces prover knows , but learns nothing useful about . Verifier: picks random . Need a one-way function: hard to invert, but easy to compute.

Slide 27

Slide 27 text

Example: RSA 27 Ee (M ) = Me mod n Dd (C ) = Cd mod n Correctness property: Ee (Dd ()) =

Slide 28

Slide 28 text

Trick-or-Treat Trickers? Victim 28

Slide 29

Slide 29 text

Trick-or-Treat Trickers? Victim 29 How does victim know e and n? Verify: j = jmod =

Slide 30

Slide 30 text

30 “Elsa #253224”, = 3482..., = 1234... signed by Tricker’s Buroo Verify: j = jmod = Verify Tricker’s Buroo signature on certificate

Slide 31

Slide 31 text

31 “virginia.edu”, = … = ... signed by Certificate Authority Verify and Decrypt: l j () = Verify signature on certificate Server

Slide 32

Slide 32 text

32 “virginia.edu”, = … = ... signed by Certificate Authority Verify and Decrypt: l j () = Verify signature on certificate Server

Slide 33

Slide 33 text

33

Slide 34

Slide 34 text

Countable Strings? 34 BitStrings = ∀ ∈ ℕ . {0, 1}m

Slide 35

Slide 35 text

Countable Infinite Strings? 35 InfiniteBitStrings = {0, 1}n

Slide 36

Slide 36 text

36 Class 9

Slide 37

Slide 37 text

Smallest Infinite Ordinal 37 = smallest infinite ordinal number ∞ + 1 = + 1 >

Slide 38

Slide 38 text

Smallest Infinite Ordinal 38 = smallest infinite ordinal number ∞ + 1 = ∞ = ∞ - 1 + 1 > ∀ ∈ ℕ . 2 > +

Slide 39

Slide 39 text

Countable Infinite Strings? 39 InfiniteBitStrings = {0, 1}n

Slide 40

Slide 40 text

Cantor’s Diagonalization Argument 40

Slide 41

Slide 41 text

41

Slide 42

Slide 42 text

Charge Enjoy Halloween But don’t be victimized by any unsubstantiated threats or spooky infinities! 42 Problem Set 7 due Friday Really spooky question: is there any set bigger than (ℕ) ?