exercise

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

Exercise 2.5

On someone proposes unit and product . An expert says “that won’t work.” Why?

See Symmetric Monoidal Preorder.

Sources: 7 Sketches, Exercise 2.5 and Solution A.2.

Solution: Solution 2.5

Exercise 2.8

Is it really easy to check that a commutative Monoid makes a Symmetric Monoidal Preorder?

Sources: 7 Sketches, Exercise 2.8 and Solution A.2.

Solution: Solution 2.8

Exercise 2.20

  1. Prove formally from the axioms of a Symmetric Monoidal Preorder that the assertions , , imply . 2. Where are reflexivity and transitivity used? 3. Why is symmetry not needed for diagram (2.12)?

See Wiring Diagrams for Monoidal Preorders.

Sources: 7 Sketches, Exercise 2.20 and Solution A.2.

Solution: Solution 2.20

Exercise 2.21

Check that (chemical materials and reactions) satisfies (a)–(d) of Definition 2.2.

See Resource Theory.

Sources: 7 Sketches, Exercise 2.21 and Solution A.2.

Solution: Solution 2.21

Exercise 2.29

On with product (OR), what must the unit be, and do the other conditions hold?

Sources: 7 Sketches, Exercise 2.29 and Solution A.2.

Solution: Solution 2.29

Exercise 2.31

Show there is a monoidal structure on with product . What is the unit?

Sources: 7 Sketches, Exercise 2.31 and Solution A.2.

Solution: Solution 2.31

Exercise 2.33

On the Divisibility Order someone proposes unit and product . Does it work?

Sources: 7 Sketches, Exercise 2.33 and Solution A.2.

Solution: Solution 2.33

Exercise 2.34

On with unit and product : 1. fill in the table for ; 2. check the axioms for .

Sources: 7 Sketches, Exercise 2.34 and Solution A.2.

Solution: Solution 2.34

Exercise 2.35

Is a Symmetric Monoidal Preorder?

Sources: 7 Sketches, Exercise 2.35 and Solution A.2.

Solution: Solution 2.35

Exercise 2.36

is the set of statements about a natural number, with iff for all . Define a monoidal unit and product satisfying Definition 2.2.

Sources: 7 Sketches, Exercise 2.36 and Solution A.2.

Solution: Solution 2.36

Exercise 2.39

Complete the proof of Proposition 2.38 (Opposite Monoidal Preorder): unitality, associativity and symmetry hold in .

Sources: 7 Sketches, Exercise 2.39 and Solution A.2.

Solution: Solution 2.39

Exercise 2.40

Describe : its preorder, unit, and product.

Sources: 7 Sketches, Exercise 2.40 and Solution A.2.

Solution: Solution 2.40

Exercise 2.43

Check that , , , is a Monoidal Monotone Map; is it strict?

Sources: 7 Sketches, Exercise 2.43 and Solution A.2.

Solution: Solution 2.43

Exercise 2.44

Consider with and . Are they monotone, monoidal monotone, strict?

Sources: 7 Sketches, Exercise 2.44 and Solution A.2.

Solution: Solution 2.44

Exercise 2.45

  1. Is a monoidal preorder? 2. Is there a Monoidal Monotone Map ? 3. Is a monoidal preorder?

Sources: 7 Sketches, Exercise 2.45 and Solution A.2.

Solution: Solution 2.45

Exercise 2.50

Show the constructions of Theorem 2.49 (Preorders are Bool-Categories) are mutually inverse.

Sources: 7 Sketches, Exercise 2.50 and Solution A.2.

Solution: Solution 2.50

Exercise 2.52

With the “worst-case” regional distance, which is bigger: or ?

Sources: 7 Sketches, Exercise 2.52 and Solution A.2.

Solution: Solution 2.52

Exercise 2.55

How does a Lawvere Metric Space differ from an -category?

Sources: 7 Sketches, Exercise 2.55 and Solution A.2.

Solution: Solution 2.55

Exercise 2.58

Fill in the distance table for the Weighted Graph of Eq. (2.56) (, , , , ).

Sources: 7 Sketches, Exercise 2.58 and Solution A.2.

Solution: Solution 2.58

Exercise 2.60

Fill out the graph matrix for the graph of Eq. (2.56).

Sources: 7 Sketches, Exercise 2.60 and Solution A.2.

Solution: Solution 2.60

Exercise 2.61

Interpret an -category ( from 7S Exercise 2.34).

Sources: 7 Sketches, Exercise 2.61 and Solution A.2.

Solution: Solution 2.61

Exercise 2.62

Let with (“modes of transportation”). 1. Draw a graph with four vertices labeled by subsets. 2. Build the -category (union over paths of the intersection along each path) and write its matrix. 3. Is the interpretation “the hom-object is the set of modes that get you from to ” right?

Sources: 7 Sketches, Exercise 2.62 and Solution A.2.

Solution: Solution 2.62

Exercise 2.63

For : draw a labeled graph, compute the matrix of max-over-paths of min-edge-label, show it is a -category, and interpret.

Sources: 7 Sketches, Exercise 2.63 and Solution A.2.

Solution: Solution 2.63

Exercise 2.67

Apply the Change of Base to the regions Boston, US, Spain and draw the resulting preorder. Interpretation?

Sources: 7 Sketches, Exercise 2.67 and Solution A.2.

Solution: Solution 2.67

Exercise 2.68

  1. Find another Monoidal Monotone Map . 2. Find a Lawvere Metric Space on which it and give different preorders.

Sources: 7 Sketches, Exercise 2.68 and Solution A.2.

Solution: Solution 2.68

Exercise 2.73

  1. Show that a skeletal dagger Cost-category is an extended Metric Space. 2. Make sense of “preorders are to sets as Lawvere metric spaces are to extended metric spaces.”

See Opposite Enriched Category.

Sources: 7 Sketches, Exercise 2.73 and Solution A.2.

Solution: Solution 2.73

Exercise 2.75

Verify that the -product is a -category, and point out where symmetry is used.

Sources: 7 Sketches, Exercise 2.75 and Solution A.2.

Solution: Solution 2.75

Exercise 2.78

In the Cost-product , what is the distance from to ?

Sources: 7 Sketches, Exercise 2.78 and Solution A.2.

Solution: Solution 2.78

Exercise 2.82

Prove that a monoidal preorder is closed iff has a right adjoint for every : 1. is monotone; 2. if closed, ; 3. is monotone; 4. conclude.

Sources: 7 Sketches, Exercise 2.82 and Solution A.2.

Solution: Solution 2.82

Exercise 2.84

Show that is monoidal closed.

Sources: 7 Sketches, Exercise 2.84 and Solution A.2.

Solution: Solution 2.84

Exercise 2.92

  1. What is ("") in and in ? 2. What is in each?

Sources: 7 Sketches, Exercise 2.92 and Solution A.2.

Solution: Solution 2.92

Exercise 2.93

Show is a Quantale.

Sources: 7 Sketches, Exercise 2.93 and Solution A.2.

Solution: Solution 2.93

Exercise 2.94

Is a Quantale?

Sources: 7 Sketches, Exercise 2.94 and Solution A.2.

Solution: Solution 2.94

Exercise 2.103

Write the identity -matrix for , , .

Sources: 7 Sketches, Exercise 2.103 and Solution A.2.

Solution: Solution 2.103

Exercise 2.104

In a Quantale, prove 1. ; 2. .

Sources: 7 Sketches, Exercise 2.104 and Solution A.2.

Solution: Solution 2.104

Exercise 2.105

Compute , , for the matrix of 7S Exercise 2.60 and compare with 7S Exercise 2.58.

Sources: 7 Sketches, Exercise 2.105 and Solution A.2.

Solution: Solution 2.105