Proof Repair across Quotient Type Equivalences
Cosmo Viola, Max Fan, Talia Ringer

TL;DR
This paper extends an algorithm and tool for automatically repairing proofs in Rocq to handle quotient type equivalences, using setoid machinery to address changes in representations and implementations, with validation through case studies and formal proofs.
Contribution
It introduces novel extensions to proof repair algorithms and tools to support quotient type equivalences via setoid machinery in Rocq, enabling automated handling of behavioral changes.
Findings
Extended proof repair algorithm to support quotient type equivalences.
Automated proof repair tool now handles setoid-based changes.
Validated extensions through case studies and formal proofs in Cubical Agda.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsEurasian Exchange Networks · Historical Astronomy and Related Studies · Indian and Buddhist Studies
