Abstract
Previous work by the authors generalized conditional rewriting from the use of equalities to the use of arbitrary equivalence relations. Such (classic) equivalence-based rewriting automates the replacement of one subterm by another that may not be strictly equal to it, but is equivalent to it, where this equivalence is determined automatically to be sufficient at that subterm occurrence. We extend that capability by introducing patterned congruence rules in the ACL2 theorem prover, to provide more control over the occurrences where such a replacement may be made. This extension enables additional automation of the rewriting process, which is important in industrial-scale applications. However, because this feature is so new (introduced January, 2014), we do not yet have industrial applications to verify its utility, so we present a small example that illustrates how it supports scaling to large proof efforts.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Brock, B., Kaufmann, M., Moore, J.: Rewriting with equivalence relations in ACL2. Journal of Automated Reasoning 40(4), 293–306 (2008), http://dx.doi.org/10.1007/s10817-007-9095-9
Cohen, C.: Pragmatic quotient types in Coq. In: Blazy, S., Paulin-Mohring, C., Pichardie, D. (eds.) ITP 2013. LNCS, vol. 7998, pp. 213–228. Springer, Heidelberg (2013), http://dx.doi.org/10.1007/978-3-642-39634-2_17
Homeier, P.: A design structure for higher order quotients. In: Hurd, J., Melham, T. (eds.) TPHOLs 2005. LNCS, vol. 3603, pp. 130–146. Springer, Heidelberg (2005), http://dx.doi.org/10.1007/11541868_9
Huffman, B., Kunčar, O.: Lifting and transfer: A modular design for quotients in Isabelle/HOL. In: Gonthier, G., Norrish, M. (eds.) CPP 2013. LNCS, vol. 8307, pp. 131–146. Springer, Heidelberg (2013), http://dx.doi.org/10.1007/978-3-319-03545-1_9
Kaufmann, M.: ACL2 demo of (patterned) congruences, https://acl2-books.googlecode.com/svn/trunk/demos/patterned-congruences.lisp
Kaufmann, M., Manolios, P., Moore, J.S.: Computer-Aided Reasoning: An Approach. Kluwer Academic Publishers, Boston (2000)
Kaufmann, M., Moore, J S.: ACL2 home page, http://www.cs.utexas.edu/users/moore/acl2
Kaufmann, M., Moore, J S.: Essay on Patterned Congruences and Equivalences, in ACL2 source file rewrite.lisp, https://acl2-devel.googlecode.com/svn/trunk/rewrite.lisp
Swords, S.: Personal communication
ACL2 Community Books, http://acl2-books.googlecode.com/
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2014 Springer International Publishing Switzerland
About this paper
Cite this paper
Kaufmann, M., Moore, J.S. (2014). Rough Diamond: An Extension of Equivalence-Based Rewriting. In: Klein, G., Gamboa, R. (eds) Interactive Theorem Proving. ITP 2014. Lecture Notes in Computer Science, vol 8558. Springer, Cham. https://doi.org/10.1007/978-3-319-08970-6_35
Download citation
DOI: https://doi.org/10.1007/978-3-319-08970-6_35
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-08969-0
Online ISBN: 978-3-319-08970-6
eBook Packages: Computer ScienceComputer Science (R0)