通过高阶范畴理论的透镜和光学的时空折衷
Space-time tradeoffs of lenses and optics via higher category theory
摘要:
光学和透镜是抽象的分类小工具,它们对具有双向数据流的系统进行建模。在本文中,我们观察到,光学的命名定义-通过观察它们的行为从外部识别两个光学等效-是不适合的操作,面向软件的方法,光学不仅是观察,但建立与他们的内部设置铭记。我们确定操作的区别外延同构类别的carbohydrate光学和镜头:他们不同的组成规则和相应的时空权衡,将它们定位在两个相反的两端的频谱。有了这些动机,我们提升现有的范畴结构和它们的关系到2-范畴的水平,显示相关的操作关注变得可见。我们定义了2-范畴$\textbf{2-Optic}(\mathcal{C})$,它的2-胞元明确地跟踪光学器件的内部结构。我们证明了1-范畴$\textbf{Optic}(\mathcal{C})$的产生是通过局部地排除这2-范畴的连通分支。我们表明,嵌入到carbohydrate光学透镜得到削弱从一个函子到oplax函子的oplaxator现在检测到不同的组成规则。我们确定的困难,在显示此函子形式的一部分,在任何标准的2-范畴的附加。我们建立了一个猜想,著名的同构之间的carbohydrates透镜和光学产生了松散的2-adjunction之间的双范畴对应。除了介绍新的研究,本文还旨在成为该主题的一个可访问的介绍。
英文摘要:
Optics and lenses are abstract categorical gadgets that model systems with bidirectional data flow. In this paper we observe that the denotational definition of optics - identifying two optics as equivalent by observing their behaviour from the outside - is not suitable for operational, software oriented approaches where optics are not merely observed, but built with their internal setups in mind. We identify operational differences between denotationally isomorphic categories of cartesian optics and lenses: their different composition rule and corresponding space-time tradeoffs, positioning them at two opposite ends of a spectrum. With these motivations we lift the existing categorical constructions and their relationships to the 2-categorical level, showing that the relevant operational concerns become visible. We define the 2-category $\textbf{2-Optic}(\mathcal{C})$ whose 2-cells explicitly track optics' internal configuration. We show that the 1-category $\textbf{Optic}(\mathcal{C})$ arises by locally quotienting out the connected components of this 2-category. We show that the embedding of lenses into cartesian optics gets weakened from a functor to an oplax functor whose oplaxator now detects the different composition rule. We determine the difficulties in showing this functor forms a part of an adjunction in any of the standard 2-categories. We establish a conjecture that the well-known isomorphism between cartesian lenses and optics arises out of the lax 2-adjunction between their double-categorical counterparts. In addition to presenting new research, this paper is also meant to be an accessible introduction to the topic.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。