that \(\mathbf{Arity}\) the free cartesian category generated by a single objects means it satisifes a very useful universal property:
for any cartesian category \(\mathcal{C}\) and object \(C \in \mathcal{C}\), there is a cartesian functor \(\mathbf{ev}_{\mathcal{C}} : \mathbf{Arity} \to \mathcal{C}\) which sends \(X\) to \(C\)
this functor is unique up to a unique natural isomorphism
we can think that the functor tells us how to interpret the abstract variables in \(\mathbf{Arity}\) as variables of type \(\mathcal{C}\)
Proposition: interpreting wiring diagram as a lens in \(\mathcal{C}\)
let \(C \in \mathcal{C}\) be an object of a cartesian category, then there is a strong monoidal functor
which interprets a wiring diagram as a lens in \(\mathcal{C}\) with values in \(C\) flowing along its wires.
we may interpret a wiring diagram as a lens in whatever cartesian category we are working in
if there exists many different types of signal flowing along the wires, we can use typed arities to only allow connecting wires that carry the same type of signal
definition 1.3.3.9
we can define the category of typed wiring diagrams to be the category of lenses in the category of typed arities.