exercise

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

Exercise 5.5

In the Prop : 1. draw and ; 2. draw ; 3. composition rule; 4. identities; 5. the symmetry .

Sources: 7 Sketches, Exercise 5.5 and Solution A.5.

Solution: Solution 5.5

Exercise 5.9

Give three posetal props: posets with , .

Sources: 7 Sketches, Exercise 5.9 and Solution A.5.

Solution: Solution 5.9

Exercise 5.10

Spell out the five constituents of a Prop for , or .

Sources: 7 Sketches, Exercise 5.10 and Solution A.5.

Solution: Solution 5.10

Exercise 5.16

Describe Port Graph composition visually and give an example.

Sources: 7 Sketches, Exercise 5.16 and Solution A.5.

Solution: Solution 5.16

Exercise 5.18

Draw the monoidal product of the port graph (5.15) with itself.

Sources: 7 Sketches, Exercise 5.18 and Solution A.5.

Solution: Solution 5.18

Exercise 5.20

Let be the reflexive transitive closure of , a preorder, a function. 1. If , show is monotone. 2. Conversely, if is monotone then .

Sources: 7 Sketches, Exercise 5.20 and Solution A.5.

Solution: Solution 5.20

Exercise 5.21

With as in 5.20 and : 1. If , is monotone? 2. If is monotone, does ?

Sources: 7 Sketches, Exercise 5.21 and Solution A.5.

Solution: Solution 5.21

Exercise 5.23

Let for a graph and a category. 1. Interpret . 2. Show functors correspond to pairs with , . 3. Is a graph? Use the word “adjunction”.

Sources: 7 Sketches, Exercise 5.23 and Solution A.5.

Solution: Solution 5.23

Exercise 5.24

The Free Monoid on is the free category on the one-vertex graph . 1. Elements for ? 2. A well-known monoid isomorphic to it? 3. Elements for ?

Sources: 7 Sketches, Exercise 5.24 and Solution A.5.

Solution: Solution 5.24

Exercise 5.28

Show the Free Prop on the signature with one generator of every arity is the prop of port graphs.

Sources: 7 Sketches, Exercise 5.28 and Solution A.5.

Solution: Solution 5.28

Exercise 5.32

Draw in the free prop on , , .

Sources: 7 Sketches, Exercise 5.32 and Solution A.5.

Solution: Solution 5.32

Exercise 5.35

Is the Free Prop on the same as the prop presented by ?

Sources: 7 Sketches, Exercise 5.35 and Solution A.5.

Solution: Solution 5.35

Exercise 5.41

  1. What is the multiplicative identity of the Rig ? 2. Show is not commutative.

Sources: 7 Sketches, Exercise 5.41 and Solution A.5.

Solution: Solution 5.41

Exercise 5.43

The Signal Flow Graph with inputs (copy ; amplify by 3; add; amplify by 5 and 3; …) produces which outputs?

Sources: 7 Sketches, Exercise 5.43 and Solution A.5.

Solution: Solution 5.43

Exercise 5.51

Direct sum of and in .

Sources: 7 Sketches, Exercise 5.51 and Solution A.5.

Solution: Solution 5.51

Exercise 5.55

What matrices do the two signal flow graphs of Eq. (5.47) (copy then copy the top wire; copy then copy the bottom wire) represent? Are they equal?

Sources: 7 Sketches, Exercise 5.55 and Solution A.5.

Solution: Solution 5.55

Exercise 5.58

Draw signal flow graphs for 1. ; 2. ; 3. .

Sources: 7 Sketches, Exercise 5.58 and Solution A.5.

Solution: Solution 5.58

Exercise 5.59

Prove Proposition 5.56 in general: construct with as four layers.

Sources: 7 Sketches, Exercise 5.59 and Solution A.5.

Solution: Solution 5.59

Exercise 5.62

For each matrix of 7S Exercise 5.58 draw a different representing graph and prove equality using Theorem 5.60.

Sources: 7 Sketches, Exercise 5.62 and Solution A.5.

Solution: Solution 5.62

Exercise 5.63

For the two graphs of Eq. (5.64) over : 1. show without computing matrices that they differ; 2. over find a minimal representation.

Sources: 7 Sketches, Exercise 5.63 and Solution A.5.

Solution: Solution 5.63

Exercise 5.67

Show and are commutative monoid objects in .

Sources: 7 Sketches, Exercise 5.67 and Solution A.5.

Solution: Solution 5.67

Exercise 5.69

, , . 1. Show preserves unit and product. 2. Show it carries monoid objects to monoids. 3. Which monoid structure on does give?

Sources: 7 Sketches, Exercise 5.69 and Solution A.5.

Solution: Solution 5.69

Exercise 5.77

Behaviours of the reversed add icon and reversed copy icon .

Sources: 7 Sketches, Exercise 5.77 and Solution A.5.

Solution: Solution 5.77

Exercise 5.80

Write for , in .

Sources: 7 Sketches, Exercise 5.80 and Solution A.5.

Solution: Solution 5.80

Exercise 5.82

Show .

Sources: 7 Sketches, Exercise 5.82 and Solution A.5.

Solution: Solution 5.82

Exercise 5.83

Show .

Sources: 7 Sketches, Exercise 5.83 and Solution A.5.

Solution: Solution 5.83

Exercise 5.84

Over a field : 1. composing with reversed zeros gives ; 2. composing reversed discards with gives ; 3. is a linear subspace.

Sources: 7 Sketches, Exercise 5.84 and Solution A.5.

Solution: Solution 5.84

Exercise 5.85

Show the composite of linear relations , is linear.

Sources: 7 Sketches, Exercise 5.85 and Solution A.5.

Solution: Solution 5.85