2.2. Symmetric monoidal preorders#

from IPython.display import Image
\[ \newcommand{\Cat}[1]{\mathbf{#1}} \]

x

2.2.1. Definition and first examples#

Definition 2.2.#

x

x

Define monoidal preorder#

See also Monoidal category - Monoidal preorders for an alternative definition of non-symmetric monoidal preorders. The full definition of a Monoidal category is not introduced (even roughly) until section 4.4.3.

You can remember the term “monoidal product” for the ⊗ operator because in general the “most important” example of a monoid in this context is going to be the real numbers with multiplication as the ⊗ operator. The usual formula for matrix multiplication (and by extension, for dot products) is based on this monoid; see Section 2.5.3. However, the symbol ⊗ (\otimes or “circled times”) is primarily associated with the Tensor product (see The Tensor Product, Demystified) and is the original source of this word. A final option is to associate this word to the “Cartesian product” when you are working with Set-categories (regular categories) (see Example 4.49).

In the short term we’re going to have to accept “+” as a “monoidal product” however. The article Monoid tries to avoid anything but the language “binary operator” in its definition.

Definitional variation#

x

Notational variation#

x

Example 2.4.#

x

Exercise 2.5.#

x

See also Exercise 2.5.

Image('raster/2023-10-28T17-43-10.png', metadata={'description': "7S answer"})
Hide code cell output
../../_images/8b91a5f937972188b4973654594589ee83d8e02817e9cc5e90a4a687ade0e0c3.png

x

Exercise 2.8.#

x

See also Exercise 2.8.

Image('raster/2023-10-28T17-43-36.png', metadata={'description': "7S answer"})
Hide code cell output
../../_images/4a4313e5827ae67f266d7a5ecd1a9b89c39a62f9e601a2017929a10dab905e10.png

Example 2.9.#

x

2.2.2. Introducing wiring diagrams#

Compare to String diagram and string diagram in nLab.

x

x

x

See also the concept of a “valid” argument in Chapter 3 Other logical notions ‣ Part I Key notions of logic ‣ forall x: Calgary.

x

x

x

x

x

Exercise 2.20.#

x

See also Exercise 2.20.

Image('raster/2023-10-28T17-44-37.png', metadata={'description': "7S answer"})
Hide code cell output
../../_images/64aba49e8adc67d3aaa090d53b94ff02b26da1cfb5a1f700290dd89765996061.png

x

2.2.3. Applied examples#

x

x

Chemistry#

x

x

Exercise 2.21.#

x

See also Exercise 2.21.

Image('raster/2023-10-28T18-07-23.png', metadata={'description': "7S answer"})
Hide code cell output
../../_images/671fdfb18660ad64c158263409e9d730039cd2b38194624908a794289c97c79f.png

x

Manufacturing#

x

x

x

Informatics#

x

x

2.2.4. Abstract examples#

x

x

x

x

Exercise 2.29.#

x

See also Exercise 2.29.

Image('raster/2023-10-28T18-08-22.png', metadata={'description': "7S answer"})
Hide code cell output
../../_images/517ae9046e94a318711f9d69a281afaa57f4a6de9cb2f9ae8ba819e0350aced2.png

x

Exercise 2.31.#

x

Notice this question only asks for a monoidal structure, not a symmetric monoidal preorder structure. Since it seems to have both, we’ll show both here.

The monoidal unit should be 1 (satisfies unitality). The natural numbers under addition satisfy the associativity condition, so this symmetric monoidal preorder will as well. See Natural number - Algebraic properties satisfied by the natural numbers. The natural numbers also satisfy the commutativity condition (symmetry condition in the text).

The following is based (roughly) on Propositional calculus § Natural deduction system and Propositional calculus § Proofs in propositional calculus. To see the monotonicity condition is satisfied we’ll use the normal rules of algebra on the natural (positive) numbers, with these two premises:

\[\begin{split} \begin{align} \\ x_1 & \leq y_1 \\ x_2 & \leq y_2 \\ \end{align} \end{split}\]

We have, multiplying both sides of the first premise by \(y_2\):

\[\begin{split} \begin{equation} x_1 \ast y_2 \leq y_1 \ast y_2 \\ \end{equation} \end{split}\]

Multiplying both sides of the second premise by \(x_1\):

\[\begin{split} \begin{equation} \\ x_1 \ast x_2 \leq x_1 \ast y_2 \\ \end{equation} \end{split}\]

And combining the last two equations with transitivity:

\[ x_1 \ast x_2 \leq x_1 \ast y_2 \leq y_1 \ast y_2 \]
Image('raster/2023-10-28T18-10-26.png', metadata={'description': "7S answer"})
Hide code cell output
../../_images/ef5da4a6675f724d07b2aacdeee2bdb99f9b1b1499a0eb1f2552bdc10ebc407e.png

x

Exercise 2.33.#

x

See also Exercise 2.33.

Image('raster/2023-10-28T18-10-52.png', metadata={'description': "7S answer"})
Hide code cell output
../../_images/b03c086e6968aba6fb47c21c963a33647cbb23a13892d21eb38fbb9d72631182.png

Exercise 2.34.#

x

See also Exercise 2.34.

Image('raster/2023-10-28T18-12-02.png', metadata={'description': "7S answer"})
Hide code cell output
../../_images/9d896698d53564cc21ef130dc84fe15b8cda327a9de63c24a1b5d864596a6a1f.png

See also Exercise 2.29; we could have constructed a NMY preorder from the max operation as well.

Exercise 2.35.#

See also Exercise 2.35.

x

Image('raster/2023-10-28T18-12-44.png', metadata={'description': "7S answer"})
Hide code cell output
../../_images/f0ba66a6c137476e19cd7acedb74f72dc16276334a7a81bbb00c7bf86ce21bbd.png

Exercise 2.36.#

See also Exercise 2.36.

x

Image('raster/2023-10-28T18-13-36.png', metadata={'description': "7S answer"})
Hide code cell output
../../_images/69035fc738cb3f7439cd4b72abd70d654b0c68af842b398e4a068d9b7d3b1d65.png

x

Example 2.37#

x

See also Extended real number line (which adds both a +∞ and -∞).

x

Exercise 2.39.#

See also Exercise 2.39.

x

Image('raster/2023-10-28T18-14-01.png', metadata={'description': "7S answer"})
Hide code cell output
../../_images/edd4db365532a7cc24a6805004f0bc2745f1ada27e5b0763e9f36c87e34cdd15.png

Exercise 2.40.#

See also Exercise 2.40.

x

Image('raster/2023-10-28T18-15-01.png', metadata={'description': "7S answer"})
Hide code cell output
../../_images/79727c080f46e461d45592247ef14063ff85ece3d01fd7c1b6d640322520ad3e.png

2.2.5. Monoidal monotone maps#

x

x

x

x

x

Exercise 2.43#

See also Exercise 2.43.

x

Image('raster/2023-10-28T18-15-36.png', metadata={'description': "7S answer"})
Hide code cell output
../../_images/15e760f7be762f0e3dbc7f12fd9ccc2793057b5e0be0ffc4bcc17f9957f8d07e.png

Exercise 2.44#

See also Exercise 2.44.

x

Image('raster/2023-10-28T18-15-59.png', metadata={'description': "7S answer"})
Hide code cell output
../../_images/316f4765859ccf421eed4750f380684a9db79b8b8832c1b7c0b30def93d4ec40.png

Exercise 2.45#

See also Exercise 2.45.

x

Image('raster/2023-10-28T18-17-16.png', metadata={'description': "7S answer"})
Hide code cell output
../../_images/b39eca649b56daa2cb3a5a2154d5ae21f94f7855b3cbaa56d51220fcd63c2718.png

See also category theory - There is only one monoidal monotone \((\mathbb N, \le, 0, +) \to (\mathbb N, \leq, 1, *)?\) - Mathematics Stack Exchange.