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 metadatas

Cited literature [69 references]  Display  Hide  Download

https://hal.inria.fr/hal-01599167
Contributor : Jasmin Blanchette <>
Submitted on : Sunday, October 1, 2017 - 6:34:47 PM
Last modification on : Wednesday, April 3, 2019 - 1:23:13 AM

File

conf.pdf
Files produced by the author(s)

Identifiers

  • HAL Id : hal-01599167, version 1

Citation

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⟩

Share

Metrics

Record views

278

Files downloads

131