I believe proarrow equipments are a great setting to study optics in. You can se...
Sjoerd Visscher @sjoerd_visscher@types.pl
I believe proarrow equipments are a great setting to study optics in. You can see the expression for optics and the equivalent string diagram below.
The string diagram even looks like it's just a schematic drawing of an optic, but it really contains all the required information! The arrow heads indicate that s, t, a and b are all tight arrows, but in the loose direction.
If you specialize to the proarrow equipment of functors and profunctors and simplify, you get the final expression. And if you then make S and T constant functors, and A and B monoidal actions, you get back mixed optics.