arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1505.04324cs.LO
收藏

依赖类型论中的Ehrman

Elaboration in Dependent Type Theory

Leonardo de Moura, Jeremy Avigad, Soonho Kong, Cody Roux

摘要:

为了在实践中使用,交互式定理证明器需要提供方便和有效的方法来编写表达式,定义和证明。这涉及到推断通常隐含在普通数学文本中的信息,以及解决数学表达式中的歧义。我们把从一个准形式的和部分特定的表达过渡到一个完全精确的形式表达的过程称为精细化。我们描述了一个详细的算法依赖类型论,已实施精益定理证明。Lean的阐述器支持高阶统一、类型类推断、特别重载、插入子、使用策略和项的计算缩减。这些组件之间的交互是微妙而复杂的,精心设计的细化算法已经过仔细设计,以平衡效率和可用性。我们描述了中心设计目标,以及实现这些目标的方法。

英文摘要:

To be usable in practice, interactive theorem provers need to provide convenient and efficient means of writing expressions, definitions, and proofs. This involves inferring information that is often left implicit in an ordinary mathematical text, and resolving ambiguities in mathematical expressions. We refer to the process of passing from a quasi-formal and partially-specified expression to a completely precise formal one as elaboration. We describe an elaboration algorithm for dependent type theory that has been implemented in the Lean theorem prover. Lean's elaborator supports higher-order unification, type class inference, ad hoc overloading, insertion of coercions, the use of tactics, and the computational reduction of terms. The interactions between these components are subtle and complex, and the elaboration algorithm has been carefully designed to balance efficiency and usability. We describe the central design goals, and the means by which they are achieved.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑