Skip to Main content Skip to Navigation
Conference papers

Friends with Benefits: Implementing Corecursion in Foundational Proof Assistants

Abstract : We introduce AmiCo, a tool that extends a proof assistant, Isabelle/ HOL, with flexible function definitions well beyond primitive corecursion. All definitions are certified by the assistant's inference kernel to guard against inconsistencies. A central notion is that of friends: functions that preserve the productivity of their arguments and that are allowed in corecursive call contexts. As new friends are registered, corecursion benefits by becoming more expressive. We describe this process and its implementation, from the user's specification to the synthesis of a higher-order definition to the registration of a friend. We show some substantial case studies where our approach makes a difference.
Document type :
Conference papers
Complete list of metadata

Cited literature [69 references]  Display  Hide  Download
Contributor : Jasmin Blanchette Connect in order to contact the contributor
Submitted on : Sunday, October 1, 2017 - 6:34:47 PM
Last modification on : Wednesday, November 3, 2021 - 7:09:36 AM


Files produced by the author(s)


  • HAL Id : hal-01599167, version 1



Jasmin Christian Blanchette, Aymeric Bouzy, Andreas Lochbihler, Andrei Popescu, Dmitriy Traytel. Friends with Benefits: Implementing Corecursion in Foundational Proof Assistants. Programming Languages and Systems - 26th European Symposium on Programming, ESOP 2017, Apr 2017, Uppsala, Sweden. ⟨hal-01599167⟩



Les métriques sont temporairement indisponibles