arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2601.03298cs.LOcs.AIcs.SC
收藏

130k条形式拓扑在两周内:为每个人提供的简单且便宜的自动形式化

130k Lines of Formal Topology in Two Weeks: Simple and Cheap Autoformalization for Everyone?

AI4REASON;University of Gothenburg(哥德堡大学)

Josef Urban

AI总结:

该项目通过简单且低成本的方法,在两周内用LLM和证明检查器实现了大量拓扑学形式化,展示了自动形式化的可行性。

摘要:

这是一个简要描述了一个项目,该项目已经自动形式化了Munkres教材中大部分的一般拓扑学内容(总共有7章39节,共241页)。该项目自2025年11月21日启动,截至2026年1月4日,已产生160000行形式化的拓扑学内容。其中大部分(约130000行)在两周内(12月22日至1月4日)完成,仅需约100美元的LLM订阅费用。这包括3000行的Urysohn引理证明、2000行的Urysohn度量定理证明、超过10000行的Tietze扩展定理证明,以及许多其他内容(总计超过1500个引理/定理)。方法非常简单且成本低廉:建立一个长期反馈循环,使LLM与一个相对快速的证明检查器之间进行交互,该证明检查器配备了一个核心基础库。LLM现在被实例化为ChatGPT(主要是5.2版本)或Claude Sonnet(4.5版本)通过各自的Codex或Claude Code命令行接口运行。证明检查器是Chad Brown的高阶集合论系统Megalodon,核心库是Brown对基础集合论和超现实数(包括实数等)的形式化。其余部分是一些提示工程和技术选择,我们在此描述。基于快速进展、低成本、几乎未知的ITP/库以及每个人都可以使用的简单设置,我们认为(自动)形式化可能在2026年变得相当容易和普遍,无论使用哪种证明助手。

英文摘要:

This is a brief description of a project that has already autoformalized a large portion of the general topology from the Munkres textbook (which has in total 241 pages in 7 chapters and 39 sections). The project has been running since November 21, 2025 and has as of January 4, 2026, produced 160k lines of formalized topology. Most of it (about 130k lines) have been done in two weeks,from December 22 to January 4, for an LLM subscription cost of about \$100. This includes a 3k-line proof of Urysohn's lemma, a 2k-line proof of Urysohn's Metrization theorem, over 10k-line proof of the Tietze extension theorem, and many more (in total over 1.5k lemmas/theorems). The approach is quite simple and cheap: build a long-running feedback loop between an LLM and a reasonably fast proof checker equipped with a core foundational library. The LLM is now instantiated as ChatGPT (mostly 5.2) or Claude Sonnet (4.5) run through the respective Codex or Claude Code command line interfaces. The proof checker is Chad Brown's higher-order set theory system Megalodon, and the core library is Brown's formalization of basic set theory and surreal numbers (including reals, etc). The rest is some prompt engineering and technical choices which we describe here. Based on the fast progress, low cost, virtually unknown ITP/library, and the simple setup available to everyone, we believe that (auto)formalization may become quite easy and ubiquitous in 2026, regardless of which proof assistant is used.

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

↑