arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.07957cs.CLcs.AI
收藏

一种面向自动形式化的新方法

A New Approach Towards Autoformalization

University of California, Santa Cruz(加州大学圣克鲁兹分校)

Nilay Patel, Rahul Saha, Jeffrey Flanigan

AI总结:

针对研究级高阶数学自动形式化难度大的问题,本文将任务拆解为非关联形式化、实体链接、类型调整三个子任务,并提出含50条Lean定理的arXiv2Formal基准数据集,为该领域研究提供新路径与数据支撑。

摘要:

验证数学证明难度较高,但可借助计算机实现自动化。自动形式化是指将自然语言表述的数学内容自动翻译为可通过程序验证的形式化语言的任务,这是一项极具挑战性的工作,针对研究论文中的高阶数学内容时尤为困难,因为这类数学研究内容需要大量的背景知识与上下文信息。本文提出了一条解决研究级数学自动形式化问题的路径,将该任务拆解为更简单、更易处理的子任务:非关联形式化(即采用未关联的定义与定理开展形式化)、实体链接(即链接到正确的定理与定义),最后调整类型使其通过类型检查器验证。此外,我们提出了arXiv2Formal——一个用于非关联形式化任务的基准数据集,包含从arXiv.org平台的论文中采样的50条针对Lean定理证明器完成形式化的定理。我们欢迎社区为该数据集的后续版本提供任何贡献。

英文摘要:

Verifying mathematical proofs is difficult, but can be automated with the assistance of a computer. Autoformalization is the task of automatically translating natural language mathematics into a formal language that can be verified by a program. This is a challenging task, and especially for higher-level mathematics found in research papers. Research paper mathematics requires large amounts of background and context. In this paper, we propose an avenue towards tackling autoformalization for research-level mathematics, by breaking the task into easier and more approachable subtasks: unlinked formalization (formalization with unlinked definitions and theorems), entity linking (linking to the proper theorems and definitions), and finally adjusting types so it passes the type checker. In addition, we present arXiv2Formal, a benchmark dataset for unlinked formalization consisting of 50 theorems formalized for the Lean theorem prover sampled from papers on arXiv.org. We welcome any contributions from the community to future versions of this dataset.

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

↑