数学 > 范畴论
[提交于 2020年2月11日 (v1),最后修订于 2020年5月12日 (此版本, v2)]
标题:String Diagrams for Optics
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Optics are a data representation for compositional data access, with lenses as a popular special case. Hedges has presented a diagrammatic calculus for lenses, but in a way that does not generalize to other classes of optic. We present a calculus that works for all optics, not just lenses; this is done by embedding optics into their presheaf category, which naturally features string diagrams. We apply our calculus to the common case of lenses, extend it to effectful lenses, and explore how the laws of optics manifest in this setting.