Di- 是为有向:通过dinaturality实现的第一次顺序有向类型论
Di- is for Directed: First-Order Directed Type Theory via Dinaturality
AI总结:
本文通过dinaturality提出有向类型论的首次秩序理论,利用dinaturality解释类型和有向相等,并通过形式化证明了相关定理。
摘要:
我们展示了dinaturality在解释有向类型论中的核心作用,其中类型被解释为(1-)范畴,有向相等由hom-函子表示。我们提出了一个基于dinaturality的一般消除原理,其非常类似于Martin-Löf类型论中的J规则,并突显了在有向相等上下文中解释此规则所需的语法限制。然后我们使用这些规则来表征有向相等作为左相对伴随到两个变量合二为一的dinatural变换的范畴之间的functor的相对伴随。我们进一步论证此类有向类型论中的量词应被解释为ends和coends,这使得dinaturality能够以类似伴随的方式呈现到弱化functor的对应关系中。利用这些规则,我们给出了Yoneda简化和(co)end算术的正式解释,并使用逻辑推导证明了量化交换的Fubini规则、通过(co)end的Kan扩展的伴随性、预层的指数对象以及(co)Yoneda引理。我们通过与Martin-Löf类型论相同的方法展示了有向相等的传递性(组合)、同构性(函子性)和运输性(coYoneda),但例外的是对称性。我们用Agda正式化了我们的主要定理。
英文摘要:
We show how dinaturality plays a central role in the interpretation of directed type theory where types are interpreted as (1-)categories and directed equality is represented by $\hom$-functors. We present a general elimination principle based on dinaturality for directed equality which very closely resembles the $J$-rule used in Martin-Löf type theory, and we highlight which syntactical restrictions are needed to interpret this rule in the context of directed equality. We then use these rules to characterize directed equality as a left relative adjoint to a functor between (para)categories of dinatural transformations which contracts together two variables appearing naturally with a single dinatural one, with the relative functor imposing the syntactic restrictions needed. We then argue that the quantifiers of such a directed type theory should be interpreted as ends and coends, which dinaturality allows us to present in adjoint-like correspondences to a weakening functor. Using these rules we give a formal interpretation to Yoneda reductions and (co)end calculus, and we use logical derivations to prove the Fubini rule for quantifier exchange, the adjointness property of Kan extensions via (co)ends, exponential objects of presheaves, and the (co)Yoneda lemma. We show transitivity (composition), congruence (functoriality), and transport (coYoneda) for directed equality by closely following the same approach of Martin-Löf type theory, with the notable exception of symmetry. We formalize our main theorems in Agda.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。