article Open access

Generating Mutually Inductive Theorems from Concise Descriptions

  • Electronic Proceedings in Theoretical Computer Science
  • Open Publishing Association
Research footprint

At a glance

Citations
0
References
2
Comments
0
Paper overview

Öz

We describe defret-mutual-generate, a utility for proving ACL2 theorems about large mutually recursive cliques of functions. This builds on previous tools such as defret-mutual and make-flag, which automate parts of the process but still require a theorem body to be written out for each function in the clique. For large cliques, this tends to mean that certain common hypotheses and conclusions are repeated many times, making proofs difficult to read, write, and maintain. This utility automates several of the most common patterns that occur in these forms, such as including hypotheses based on formal names or types. Its input language is rich enough to support forms that have some common parts and some unique parts per function. One application of defret-mutual-generate has been to support proofs about the FGL rewriter, which consists of a mutually recursive clique of 49 functions. The use of this utility reduced the size of the forms that express theorems about this clique by an order of magnitude. It also greatly has reduced the need to edit theorem forms when changing definitions in the clique, even when adding or removing functions.

Record transparency

Publication details

DOI
10.4204/eptcs.327.10
OpenAlex
W3088028530
Document type
article
Language
EN
Source
Electronic Proceedings in Theoretical Computer Science
Last metadata update
Community

Comments

Oturum Açın to join the discussion.

  1. No comments yet. Start the discussion.