尚未生成 AI 速览(可能缺少 API key 或等待下次运行补跑)。
We present a novel formulation of universe polymorphism in dependent type theory in terms of monads on the category of strict partial orders, and a novel algebraic structure, displacement algebras, on top of which one can implement a generalized form of McBride’s “crude but effective stratification” scheme for lightweight universe polymorphism. We give some examples of exotic but consistent universe hierarchies, and prove that every universe hierarchy in our sense can be embedded in a displacement algebra and hence implemented via our generalization of McBride’s scheme. Many of our technical results are mechanized in Agda, and we have an OCaml library for universe levels based on displacement algebras, for use in proof assistant implementations.
DOI 原文 ·
@article{paperbot2055,
title = {An Order-Theoretic Analysis of Universe Polymorphism},
author = {Kuen-Bang Hou (Favonia) and Carlo Angiuli and Reed Mullanix},
journal = {Proceedings of the ACM on Programming Languages},
volume = {7},
number = {POPL},
year = {2023},
doi = {10.1145/3571250}
}