Sequencelib: 一个用于在Lean中形式化OEIS的计算平台
Sequencelib: A Computational Platform for Formalizing the OEIS in Lean
AI总结:
Sequencelib利用Lean语言形式化OEIS中的序列并证明超过160万条定理,通过转换器和性能优化实现高效计算。
摘要:
OEIS(在线整数序列百科全书)是一个可访问的数据库,收录了有趣的整数序列及其相关定理。拥有超过12000次引用,OEIS是理论数学中被引用最多的资源之一。在本文中,我们介绍了Sequencelib,一个使用Lean编程语言形式化OEIS中数学内容的项目。Sequencelib包含一个Lean形式化的序列库,以及用于程序化将OEIS元数据附加到Lean定义并推导其值定理的元编程工具。此外,我们描述了OEIS-LT,一个高度可扩展的Lean服务器,通过低延迟API暴露这些工具。最后,使用OEIS-LT和Gauthier等人先前的工作,我们描述了一个计算流水线,该流水线形式化了超过25000个OEIS序列,并证明了超过160万个关于其值的定理。我们的方法利用了OEIS-LT中的转换器,该转换器能够将标准ML的子集转换为Lean,以及一组性能改进的转换和正确性证明。
英文摘要:
The On-Line Encyclopedia of Integer Sequences (OEIS) is a web-accessible database cataloging interesting integer sequences and associated theorems. With more than 12,000 citations, the OEIS is one of the most highly cited resources in all of theoretical mathematics. In this paper, we present Sequencelib, a project to formalize the mathematics contained within the OEIS using the Lean programming language. Sequencelib includes a library of Lean formalizations of OEIS sequences as well as metaprogramming tools for programmatically attaching OEIS metadata to Lean definitions and deriving theorems about their values. Further, we describe OEIS-LT, a highly scalable Lean server that exposes these tools via a low-latency API. Finally, using OEIS-LT and prior work of Gauthier, et al., we describe a computational pipeline that formalized more than 25,000 sequences from the OEIS and proved more than 1.6 million theorems about their values. Our method makes use of a transpiler, available in OEIS-LT, that is capable of translating a subset of Standard ML to Lean, together with a set of performance improvement transformations and proofs of correctness.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。