exercise

Exercises from 7 Sketches, Chapter 1. Solutions: 7S Chapter 1 Solutions. Index: Map of Content.

Exercise 1.1

A function is called (a) order-preserving if implies ; (b) metric-preserving if ; (c) addition-preserving if . For each property foo, find an that is foo-preserving and one that is not.

7 Sketches §1.1; context: Generative Effect, Monotone Map.

Sources: 7 Sketches, Exercise 1.1 and Solution A.1.

Solution: Solution 1.1

Exercise 1.4

What is the result of joining the two systems (partitions of ): and ?

7 Sketches §1.1.1; see Join, Preorder of Partitions.

Sources: 7 Sketches, Exercise 1.4 and Solution A.1.

Solution: Solution 1.4

Exercise 1.6

  1. Write down all partitions of , order them, and draw the Hasse Diagram. 2. Do the same for (15 partitions). Choose two systems , . 3. What is ? 4. Is and ? 5. Which satisfy and ? 6. Is in each case?

7 Sketches §1.1.2; see Preorder of Partitions, Join.

Sources: 7 Sketches, Exercise 1.6 and Solution A.1.

Solution: Solution 1.6

Exercise 1.7

Using on , compute , , , .

7 Sketches §1.1.2; see Booleans, Join.

Sources: 7 Sketches, Exercise 1.7 and Solution A.1.

Solution: Solution 1.7

Exercise 1.10

Is it true that 1. ? 2. ? 3. ?

7 Sketches §1.2.1; see Set.

Sources: 7 Sketches, Exercise 1.10 and Solution A.1.

Solution: Solution 1.10

Exercise 1.11

Let , . 1. Write the eight subsets of . 2. Union of two nonempty subsets. 3. The six elements of . 4. The five elements of . 5. Viewing , the four elements of .

7 Sketches §1.2.1; see Set, Power Set.

Sources: 7 Sketches, Exercise 1.11 and Solution A.1.

Solution: Solution 1.11

Exercise 1.16

Suppose and are partitions of such that for each there is with . 1. Show there is at most one such . 2. Show that for each there is a with .

7 Sketches §1.2.1.

Sources: 7 Sketches, Exercise 1.16 and Solution A.1.

Solution: Solution 1.16

Exercise 1.17

For the partition of , write down every pair in the same part (there should be 10).

7 Sketches §1.2.1; see Partition, Equivalence Relation. Hint: “two elements ” may be the same element.

Sources: 7 Sketches, Exercise 1.17 and Solution A.1.

Solution: Solution 1.17

Exercise 1.20

Let be an Equivalence Relation on and the set of -closed, -connected subsets . Show 1. each is nonempty; 2. if then ; 3. .

7 Sketches Proposition 1.19 (Partitions Correspond to Equivalence Relations).

Sources: 7 Sketches, Exercise 1.20 and Solution A.1.

Solution: Solution 1.20

Exercise 1.24

  1. Find injective but not surjective. 2. Surjective but not injective. For the four relations drawn (between three-element sets): 3. Is it a function? 4. If so, is it injective, surjective, both, or neither?

7 Sketches §1.2.1; see Function, Injection, Surjection.

Sources: 7 Sketches, Exercise 1.24 and Solution A.1.

Solution: Solution 1.24

Exercise 1.25

Suppose is a function to the empty set. Show that is empty.

7 Sketches §1.2.1; see Function, Initial Object.

Sources: 7 Sketches, Exercise 1.25 and Solution A.1.

Solution: Solution 1.25

Exercise 1.27

Write down a Surjection corresponding to each of the five partitions of .

7 Sketches Example 1.26.

Sources: 7 Sketches, Exercise 1.27 and Solution A.1.

Solution: Solution 1.27

Exercise 1.38

Fill in the source/target table for the Graph of Example 1.37.

Sources: 7 Sketches, Exercise 1.38 and Solution A.1.

Solution: Solution 1.38

Exercise 1.40

What Preorder is depicted by the graph of Example 1.37 read as a Hasse Diagram?

Sources: 7 Sketches, Exercise 1.40 and Solution A.1.

Solution: Solution 1.40

Exercise 1.41

Does a collection of points, like the Discrete Preorder of Example 1.32, count as a Hasse Diagram?

Sources: 7 Sketches, Exercise 1.41 and Solution A.1.

Solution: Solution 1.41

Exercise 1.42

Let be the five partitions of ordered by coarseness. Write every pair (12 pairs).

Sources: 7 Sketches, Exercise 1.42 and Solution A.1.

Solution: Solution 1.42

Exercise 1.44

Is it correct to say that a Discrete Preorder is one where no two elements are comparable?

Sources: 7 Sketches, Exercise 1.44 and Solution A.1.

Solution: Solution 1.44

Exercise 1.46

Write down and draw if divides . Is it a Total Order?

See Divisibility Order (Hasse diagram drawn there).

Sources: 7 Sketches, Exercise 1.46 and Solution A.1.

Solution: Solution 1.46

Exercise 1.48

Is the usual on a Total Order?

Sources: 7 Sketches, Exercise 1.48 and Solution A.1.

Solution: Solution 1.48

Exercise 1.51

Draw the Hasse diagrams for , , .

See Power Set.

Sources: 7 Sketches, Exercise 1.51 and Solution A.1.

Solution: Solution 1.51

Exercise 1.53

For any set , which Surjection corresponds to the coarsest Partition (one part)? To the finest (singletons)?

Sources: 7 Sketches, Exercise 1.53 and Solution A.1.

Solution: Solution 1.53

Exercise 1.55

Prove that the preorder of upper sets on a Discrete Preorder is the Power Set .

Sources: 7 Sketches, Exercise 1.55 and Solution A.1.

Solution: Solution 1.55

Exercise 1.57

Draw the Hasse diagram of the Product Preorder of and ; for bonus points compute its upper-set preorder.

Sources: 7 Sketches, Exercise 1.57 and Solution A.1.

Solution: Solution 1.57

Exercise 1.63

Let . 1. Draw the Hasse diagram of . 2. Draw . 3. Draw the Cardinality map as dashed lines.

Sources: 7 Sketches, Exercise 1.63 and Solution A.1.

Solution: Solution 1.63

Exercise 1.65

Draw the monotone map of Example 1.64.

Sources: 7 Sketches, Exercise 1.65 and Solution A.1.

Solution: Solution 1.65

Exercise 1.66

For a preorder and : 1. show is an upper set; 2. show is monotone; 3. show iff ; 4. draw for .

Sources: 7 Sketches, Exercise 1.66 and Solution A.1.

Solution: Solution 1.66

Exercise 1.67

Show that if is a Discrete Preorder, then every function is monotone, whatever the order on .

Sources: 7 Sketches, Exercise 1.67 and Solution A.1.

Solution: Solution 1.67

Exercise 1.69

Choose sets with at least three elements, a surjective non-identity , two partitions of , and compute .

See Pushforward and Pullback of Partitions, Example 1.68.

Sources: 7 Sketches, Exercise 1.69 and Solution A.1.

Solution: Solution 1.69

Exercise 1.71

Check Proposition 1.70: the identity is monotone, and composites of monotone maps are monotone.

Sources: 7 Sketches, Exercise 1.71 and Solution A.1.

Solution: Solution 1.71

Exercise 1.73

Show that a skeletal Dagger Preorder is a Discrete Preorder.

Sources: 7 Sketches, Exercise 1.73 and Solution A.1.

Solution: Solution 1.73

Exercise 1.77

Show that (“is connected to ?”) is a Monotone Map .

Sources: 7 Sketches, Exercise 1.77 and Solution A.1.

Solution: Solution 1.77

Exercise 1.79

Exercise 1.79 (Pullback map). For monotone , the map , , is monotone. Viewing upper sets as monotone maps to (Upper Sets Classified by Maps to Bool), show is .

Sources: 7 Sketches, Exercise 1.79 and Solution A.1.

Solution: Solution 1.79

Exercise 1.80

  1. Why is a lower bound for ? 2. Why is it the greatest lower bound (Meet)?

Sources: 7 Sketches, Exercise 1.80 and Solution A.1.

Solution: Solution 1.80

Exercise 1.85

Let in a preorder . 1. Show . 2. Show that if is a Partial Order then . 3. Do the analogous facts hold for ?

Sources: 7 Sketches, Exercise 1.85 and Solution A.1.

Solution: Solution 1.85

Exercise 1.90

In the Divisibility Order on , what are the common names of the Meet and Join of two numbers?

Sources: 7 Sketches, Exercise 1.90 and Solution A.1.

Solution: Solution 1.90

Exercise 1.94

Prove that for any Monotone Map , if and exist then .

Context: Generative Effect — the effect always produces more, never merely different.

Sources: 7 Sketches, Exercise 1.94 and Solution A.1.

Solution: Solution 1.94

Exercise 1.98

Find a right adjoint for and show it is correct.

See Galois Connection, Example 1.97.

Sources: 7 Sketches, Exercise 1.98 and Solution A.1.

Solution: Solution 1.98

Exercise 1.99

For and the two pictured pairs of monotone maps , , decide whether .

Sources: 7 Sketches, Exercise 1.99 and Solution A.1.

Solution: Solution 1.99

Exercise 1.101

  1. Does have a left adjoint ? 2. If not, why?

Sources: 7 Sketches, Exercise 1.101 and Solution A.1.

Solution: Solution 1.101

Exercise 1.103

With , and as in Example 1.102, choose six partitions of and compute the pushforward .

See Pushforward and Pullback of Partitions.

Sources: 7 Sketches, Exercise 1.103 and Solution A.1.

Solution: Solution 1.103

Exercise 1.105

For each of the five partitions of , determine the pullback on .

Sources: 7 Sketches, Exercise 1.105 and Solution A.1.

Solution: Solution 1.105

Exercise 1.106

With as in Example 1.102: choose a nontrivial on , compute ; choose coarser than and not coarser; compute ; check and .

Sources: 7 Sketches, Exercise 1.106 and Solution A.1.

Solution: Solution 1.106

Exercise 1.109

Complete the proof of Proposition 1.107: 1. if then ; 2. if and for all , then iff .

See Galois Connection.

Sources: 7 Sketches, Exercise 1.109 and Solution A.1.

Solution: Solution 1.109

Exercise 1.110

  1. Show that if has a right adjoint , it is unique up to isomorphism: any other right adjoint has . 2. Same for left adjoints?

Sources: 7 Sketches, Exercise 1.110 and Solution A.1.

Solution: Solution 1.110

Exercise 1.112

Complete the proof of Proposition 1.111 by showing that left adjoints preserve joins.

See Right Adjoints Preserve Meets.

Sources: 7 Sketches, Exercise 1.112 and Solution A.1.

Solution: Solution 1.112

Exercise 1.114

In Example 1.113 ( with ; ; the inclusion, rounding to ), check the twelve conditions iff .

Sources: 7 Sketches, Exercise 1.114 and Solution A.1.

Solution: Solution 1.114

Exercise 1.118

Choose small sets , a function , subsets and ; compute , , .

See Direct Image, Preimage, and Dual Image.

Sources: 7 Sketches, Exercise 1.118 and Solution A.1.

Solution: Solution 1.118

Exercise 1.119

Suppose . Show 1. ; 2. .

Hence is a Closure Operator.

Sources: 7 Sketches, Exercise 1.119 and Solution A.1.

Solution: Solution 1.119

Exercise 1.124

Draw the Hasse diagram of , all binary relations on .

See Reflexive Transitive Closure.

Sources: 7 Sketches, Exercise 1.124 and Solution A.1.

Solution: Solution 1.124

Exercise 1.125

Let . 1. Pick a preorder on and write . 2. Pick relations and . 3. Show concretely . 4. Show .

Sources: 7 Sketches, Exercise 1.125 and Solution A.1.

Solution: Solution 1.125