Monoidal context theory holds that a context, a term with a hole, carries a genuine algebraic structure that is not premonoidal but produoidal. A context both admits a subterm dropped into its hole and sequences one context after another, and the two tensors realizing these operations make contexts the objects while optics emerge as the normalized shape a context takes once its interface is exposed.
Categorical methods meet secure computation across three strands, each of which wants a calculus of contexts. Composable cryptography follows the constructive-cryptography lineage of arXiv:2105.05949, where a protocol is a resource transformer and security is a simulation between resources. Graded monads track information flow and differential privacy, whereas state-separating proofs decompose a game into interacting packages. In every strand an adversary or a caller is a term with a hole into which the system under study is plugged, so the question is what categorical structure a context algebra carries.
The answer is produoidal, not premonoidal. A premonoidal category has one tensor that fails interchange, whereas a produoidal category carries two interacting promonoidal structures. One tensor, “before/after”, sequences a context in time, and the other, “context/hole”, splits a context into an outer shell and an inner slot. Neither is an honest monoidal product. Each is instead a promonoidal structure, a functor valued in profunctors given by a family
The concrete generators are monoidal spliced arrows. A context is a formal splice
The top-down characterization removes that redundancy through a splice–contour adjunction and a normalization monad. Contour walks the boundary of an open diagram to read off its splice presentation, and splice reassembles a term from that data, so the two form an adjunction whose induced monad on the produoidal category is idempotent. An idempotent monad is a reflective localization whose algebras are the already-normal objects, and free normalization applies it once. The normal forms are the contexts in which the hole’s residual context has been quotiented away, and that quotient is exactly the existential coend quotient defining an optic.
Therefore optics are the normalized monoidal contexts. In the produoidal presentation the hole carries an interface and a residue, and the Grothendieck-style gluing of interface over residue, together with the coend-like quotient effected by normalization, reproduces the optic coend