SITA:一种面向结构到实例的定理自动形式化框架
SITA: A Framework for Structure-to-Instance Theorem Autoformalization
AI总结:
针对大语言模型难以形式化抽象结构实例化所得定理的问题,本文提出SITA框架,结合大语言模型生成与反馈精修,在Lean中实现基于抽象结构模板的定理自动形式化,经优化问题数据集验证效果良好。
摘要:
尽管大语言模型(LLMs)在数学推理领域已取得进展,但在对抽象结构在具体场景中实例化得到的定理进行形式化时仍面临挑战。为实现研究层面数学成果的自动形式化,我们开发了结构到实例定理自动形式化框架SITA,该框架在Lean证明助手中系统性地打通了抽象数学理论与其具体应用之间的壁垒。已形式化的抽象结构被视为包含定义、假设、运算和定理的模块化模板,这些模板可作为具体实例形式化的可复用指引。给定特定实例化场景时,我们生成对应的Lean定义与实例声明,借助Lean的类型类机制完成整合,并通过校验结构假设构建经过验证的定理。我们将基于大语言模型的生成与反馈引导的精修相结合,同时保障自动化程度与形式正确性。在优化问题数据集上开展的实验表明,SITA可有效形式化基于抽象结构的各类实例。
英文摘要:
While large language models (LLMs) have shown progress in mathematical reasoning, they still face challenges in formalizing theorems that arise from instantiating abstract structures in concrete settings. With the goal of auto-formalizing mathematical results at the research level, we develop a framework for structure-to-instance theorem autoformalization (SITA), which systematically bridges the gap between abstract mathematical theories and their concrete applications in Lean proof assistant. Formalized abstract structures are treated as modular templates that contain definitions, assumptions, operations, and theorems. These templates serve as reusable guides for the formalization of concrete instances. Given a specific instantiation, we generate corresponding Lean definitions and instance declarations, integrate them using Lean's typeclass mechanism, and construct verified theorems by checking structural assumptions. We incorporate LLM-based generation with feedback-guided refinement to ensure both automation and formal correctness. Experiments on a dataset of optimization problems demonstrate that SITA effectively formalizes diverse instances grounded in abstract structures.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。