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

Just Type It in Isabelle! AI Agents Drafting, Mechanizing, and Generalizing from Human Hints

Just Type It in Isabelle! AI Agents Drafting, Mechanizing, and Generalizing from Human Hints

Department of Computer Science, University of Sheffield, United Kingdom(英国谢菲尔德大学计算机科学系);Department of Informatics, King’s College London, United Kingdom(英国伦敦国王学院信息学院);Department of Computer Science, University of Copenhagen, Denmark(丹麦哥本哈根大学计算机科学系)

Kevin Kappelmann, Maximilian Schäffeler, Lukas Stevens, Mohammad Abdulaziz, Andrei Popescu, Dmitriy Traytel

AI总结:

研究Isabelle中秩一多态λ项的类型标注问题,通过人类和AI代理(LLM)分别进行纸笔证明和自动形式化,并利用人类提示进行改进和泛化。

摘要:

类型标注在打印项时至关重要,以确保其在重新解析和类型推断下保持含义。我们研究了Isabelle中使用的秩一多态$λ$-演算项的完全且最小类型标注问题。基于Smolka、Blanchette等人的先前工作,我们对该问题进行了元理论阐述,包括完整的形式化规范和证明,并在Isabelle/HOL中进行了形式化。我们的开发是一系列实验,展示了人类驱动和AI驱动的形式化工作流程:人类和基于LLM的AI代理独立产生纸笔证明,AI代理在Isabelle中自动形式化两者,并通过进一步的人类提示AI干预来改进和泛化开发。

英文摘要:

Type annotations are essential when printing terms in a way that preserves their meaning under reparsing and type inference. We study the problem of complete and minimal type annotations for rank-one polymorphic $λ$-calculus terms, as used in Isabelle. Building on prior work by Smolka, Blanchette et al., we give a metatheoretical account of the problem, with a full formal specification and proofs, and formalize it in Isabelle/HOL. Our development is a series of experiments featuring human-driven and AI-driven formalization workflows: a human and an LLM-powered AI agent independently produce pen-and-paper proofs, and the AI agent autoformalizes both in Isabelle, with further human-hinted AI interventions refining and generalizing the development.

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

↑