Download presentation
Presentation is loading. Please wait.
1
Uncountable sets & fixed points
CS 350 β Fall 2018 gilray.org/classes/fall2018/cs350/
2
πΉ:βββ πΉ(π)=π+1 1 2 3 4 5 6 7 8 9 10 11 If a bijective function (injective, surjective) exists between two finite sets, then they must have the same cardinality. The same reasoning may be extended to infinite sets.
3
Cantorβs Diagonalization Argument
4
There exists no surjective function from the natural numbers to the set of real numbers in just the range [0.0, 1.0]
5
β¦ = β¦
6
n f(n) β¦ β¦ β¦ β¦ β¦ β¦ β¦ β¦ β¦
7
n f(n) β¦ β¦ β¦ β¦ β¦ β¦ β¦ β¦ β¦ d β¦
8
n f(n) β¦ β¦ β¦ β¦ β¦ β¦ β¦ β¦ β¦ d β¦ dβ cannot exist as it must disagree at the dβth digit! dβ β¦
9
Fixed-point algorithms
10
What are fixed points (a.k.a. fixpoints)?
11
f(x) = x2 (1,1) (0,0)
12
{π₯|(π₯,π₯)βπΉ} or {π₯|πΉ(π₯)=π₯}
13
Babylonian method for computing .
2
14
π₯ 2 =π π₯= π π₯
15
π₯ 2 =π π(π₯)= π π₯
16
π₯ 2 =π π(π₯)= π 2π₯ + π₯ 2
17
Requirements for fixed-point iteration:
18
π:π·βπ· π(π₯) π(π₯)=π(π(π₯)) π₯ 1. A function with a (least) fixed-point.
2. Progress: is a strictly better estimate than , or it is a fixed-point: π(π₯) π(π₯)=π(π(π₯)) π₯ (Often by showing monotonicity.)
19
Monotone/Monotonic functions preserve order, thus:
Monotonicity πis monotonic iffβπ₯,π¦.π₯β₯π¦βΉπ(π₯)β₯π(π¦) Monotone/Monotonic functions preserve order, thus: π(π₯)β₯π₯βΉπ(π(π₯))β₯π(π₯)
20
π π· π:π·βπ· π(π₯) π(π₯)=π(π(π₯)) π₯
1. A function with a (least) fixed-point. π:π·βπ· 2. Progress: is a strictly better estimate than , or it is a fixed-point: π(π₯) π(π₯)=π(π(π₯)) π₯ (Often by showing monotonicity.) 3. Bounded number of iterations possible. (Often by showing continuous and finite ) π π·
21
Computing transitive closure.
22
(π₯,π¦)βπ
β§(π¦,π§)βπ
βΉ(π₯,π§)βπ
π(π
)=π
βͺ{(π₯,π§)|(π₯,π¦)βπ
β§(π¦,π§)βπ
}
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.