跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 程序设计语言

arXiv:2310.06959 (cs)
[提交于 2023年10月10日 (v1),最后修订于 2025年8月22日 (此版本, v7)]

标题:Proof Repair across Quotient Type Equivalences

作者:Cosmo Viola, Max Fan, Talia Ringer
查看论文《Proof Repair across Quotient Type Equivalences》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Proofs in proof assistants like Rocq can be brittle, breaking easily in response to changes. To address this, recent work introduced an algorithm and tool in Rocq to automatically repair broken proofs in response to changes that correspond to type equivalences. However, many changes remained out of the scope of this algorithm and tool -- especially changes in underlying \emph{behavior}. We extend this proof repair algorithm so that it can express certain changes in behavior that were previously out of scope. We focus in particular on equivalences between \emph{quotient types} -- types equipped with a relation that describes what it means for any two elements of that type to be equal. Quotient type equivalences can be used to express interesting changes in representations of mathematical structures, as well as changes in the implementations of data structures. We extend this algorithm and tool to support quotient type equivalences in Rocq. Notably, since Rocq lacks quotient types entirely, our extensions use Rocq's setoid machinery in place of quotients. Specifically, (1) our extension to the algorithm supports new changes corresponding to setoids, and (2) our extension to the tool supports this new class of changes and further automates away some of the new proof obligations. We demonstrate our extensions on proof repair case studies for previously unsupported changes. We also perform manual proof repair in Cubical Agda, a language with a univalent metatheory, which allows us to construct the first ever internal proofs of correctness for proof repair.
评论: 26 pages, 22 figures, for associated code, see https://github.com/uwplse/pumpkin-pi/releases/tag/oopsla2025
主题: 程序设计语言 (cs.PL)
引用方式: arXiv:2310.06959 [cs.PL]
  (或者 arXiv:2310.06959v7 [cs.PL] 对于此版本)
  https://doi.org/10.48550/arXiv.2310.06959

提交历史

来自:Cosmo Viola
[v1] 2023年10月10日 星期二 19:21:53 UTC
[v2] 2024年2月2日 星期五 05:55:14 UTC
[v3] 2024年3月15日 星期五 03:34:12 UTC
[v4] 2024年3月18日 星期一 16:10:09 UTC
[v5] 2024年11月21日 星期四 23:40:49 UTC
[v6] 2025年4月10日 星期四 07:02:50 UTC
[v7] 2025年8月22日 星期五 18:39:40 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.PL
< 上一篇   |   下一篇 >
最新 | 近期 | 2025-08
切换浏览方式为:
cs

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站