In classical set theory, there are many equivalent ways to introduce ordinals. In a constructive setting, however, the different notions split apart, with different advantages and disadvantages for each. We consider three different notions of ordinals in homotopy type theory, and show how they relate to each other: A notation system based on Cantor normal forms, a refined notion of Brouwer trees (inductively generated by zero, successor and countable limits), and wellfounded extensional orders. For Cantor normal forms, most properties are decidable, whereas for wellfounded extensional transitive orders, most are undecidable. Formulations for Brouwer trees are usually partially decidable. We demonstrate that all three notions have properties expected of ordinals: their order relations, although defined differently in each case, are all extensional and wellfounded, and the usual arithmetic operations can be defined in each case. We connect these notions by constructing structure preserving embeddings of Cantor normal forms into Brouwer trees, and of these in turn into wellfounded extensional orders. We have formalised most of our results in cubical Agda.
翻译:在古典设置理论中,有许多相当的方法可以引入正弦形。 但是,在一种建设性的环境中,不同的概念是分开的,每个概念的优缺点各不相同。 我们考虑同质类型理论中的三种不同的正弦形概念,并表明它们彼此的关系:一个基于Cantor正常形态的注解系统,一个精细的布鲁瓦尔树概念(由零、继承和可计数限度产生的诱导)和有充分依据的扩展命令。对于坎托正常形态,大多数特性是可以变异的,而对于有充分根据的扩展性过渡性命令,大多数是不可变异的。布鲁瓦尔树的配方通常是部分可变异的。我们证明所有三个概念都具有正弦形特性:它们之间的定序关系,尽管在每种情况下都有不同的定义,但都是扩展性的,而且通常的算术操作也可以在每种情况下加以界定。我们将这些概念联系起来,方法是建造结构,将坎托正常形态的正弦形形式保存在布鲁伍尔树木中,这些特性反过来又是有充分根据的扩展命令。我们把大部分结果正式化为在Agdiral Agda。