四个悖论与一个证明助手:coq-paradoxes 库中的 Burali-Forti、Diaconescu、Reynolds 和 Hurkens
Four Paradoxes and a Proof Assistant: Burali-Forti, Diaconescu, Reynolds, and Hurkens in the coq-paradoxes library
AI总结:
本文通过 coq-paradoxes 包中机械化的四个悖论(Burali-Forti、Diaconescu、Reynolds 和 Hurkens),展示了归纳构造演算(CIC)的边界条件,并论证这些悖论是 Rocq 内核设计拒绝某些构造的负面规范。
摘要:
本文解读了 coq-paradoxes 包中机械化的四个悖论,即系统 U 中的 Burali-Forti 悖论、选择公理蕴含排中律的 Diaconescu 悖论、系统 F 没有集合论模型的 Reynolds 悖论,以及关于非直谓 Set 的 Hurkens 悖论。该包收集了四段机械化数学,它们共同从外部划定了归纳构造演算(CIC)的边界:每个文件都在接近 CIC 的系统中形式化了一个 False 推导,并展示了 Rocq 内核被设计为拒绝编译该构造的位置。本文介绍了 Logics.v 中良基性的共享机制,解读了 BuraliForti.v 中的 Burali-Forti 构造(结合 Coquand 对 Girard 悖论的分析),阐述了 diaconescu.v 中的 Diaconescu 论证,通过预初始 PHI-代数与 Lawvere 不动点定理重构了 Reynolds.v 中的 Reynolds 论证,并遵循 Geuvers 对 Hurkens 的改编解读了 Hurkens_Set.v。这四个悖论共同确立了 Rocq 内核的三个边界条件:非直谓性的位置、大消除的限制以及宇宙约束的纪律。本文认为,该包最好被解读为 Rocq 内核必须被设计为拒绝什么的负面规范,以及这种拒绝出于正确理由的证据。
英文摘要:
This article reads the four paradoxes mechanised in the coq-paradoxes package, namely the Burali-Forti paradox in system U, the Diaconescu paradox that the axiom of choice entails excluded middle, the Reynolds paradox that System F has no set-theoretic model, and the Hurkens paradox for impredicative Set. The package collects four pieces of mechanised mathematics that, taken together, draw the boundary of the Calculus of Inductive Constructions from the outside: each file formalises a derivation of False in a system close to CIC, and each shows where the kernel of Rocq has been designed to refuse to compile the construction. The article walks through the shared machinery of well-foundedness in Logics.v, reads the Burali-Forti construction in BuraliForti.v against Coquand's analysis of Girard's paradox, sets out the Diaconescu argument in diaconescu.v, reconstructs the Reynolds argument in Reynolds.v via the preinitial PHI-algebra and Lawvere's fixed-point theorem, and follows Geuvers's adaptation of Hurkens in Hurkens_Set.v. The four together establish three boundary conditions on the kernel of Rocq: the placement of impredicativity, the restriction of large elimination, and the discipline of universe constraints. The article argues that the package is best read not as a collection of curiosities but as a negative specification of what Rocq's kernel had to be designed to refuse, and as evidence that the refusal is being made for the right reasons.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。