Answers to Self-Study Questions


Test Yourself #1


Test Yourself #2

Continue the proof that D1 x D2 is a cpo.

Reflexive: (∀ x in D, x ⊆ x)
Let x = (a,b) ∈ D1 x D2. Then (a ⊆D1 a) and (b ⊆D2 b) since ⊆D1 and ⊆D2 are reflexive. Therfore, ((a,b) ⊆D1 x D2 (a,b)).

Anti-symmetric: (∀ x, y in D, if ((x ⊆ y) and (y ⊆ x)) then x = y)
Let ((x1,y1) ∈ D1 x D2) and ((x2, y2) ∈ D1 x D2.)
If ((x1,y1) ⊆D1 x D2 (x2, y2)) and ((x2,y2) ⊆D1 x D2 (x1, y1)), then (x1D1 x2) and (x2D1 x1) . And so, (x1 = x2) since ⊆D1 is anti-symmetric. In the same way, (y1 = y2).
Then clearly, ((x1,y1) = (x2,y2)).

Transitive: (∀ x,y,z in D, if ((x ⊆ y) and (y ⊆ z)) then x ⊆ z)
Let ((x1,y1) ∈ D1 x D2), ((x2, y2) ∈ D1 x D2.), and ((x3, y3) ∈ D1 x D2.)
If ((x1,y1) ⊆D1 x D2 (x2, y2)) and ((x2,y2) ⊆D1 x D2 (x3, y3)), then (x1D1 x2) and (x2D1 x3). And so, (x1 = ⊆D1 x3) since ⊆D1 is transitive.
In the same way, (y1 = ⊆D2 y3).
And so, ((x1,y1) ⊆D1 x D2 (x3,y3)).


Test Yourself #3

Question 1:

We can not determine whether or not f is monotonic from that information.
Note that non-trivial chains in D are all of the form {⊥,n} where n is some integer. Then, since f(3) = ⊥, if f(⊥) ≠ ⊥ then f is not monotonic. In fact, it is clear that if f(⊥) = ⊥ then f is monotonic.

Question 2:

Note that (<2,⊥> ⊆ <2,3>) and so the set {<2,⊥>, <2,3>} is a chain in D x D.
Yet, (f(<2,⊥>) ⊈ f(<2,3>)) and so f is not monotonic.