Rough Diamond: An Extension of Equivalence-Based Rewriting | SpringerLink
Skip to main content

Rough Diamond: An Extension of Equivalence-Based Rewriting

  • Conference paper
Interactive Theorem Proving (ITP 2014)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 8558))

Included in the following conference series:

  • 976 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
¥17,985 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
JPY 3498
Price includes VAT (Japan)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
JPY 5719
Price includes VAT (Japan)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
JPY 7149
Price includes VAT (Japan)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Similar content being viewed by others

References

  1. 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

    Article  MathSciNet  Google Scholar 

  2. 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

    Chapter  Google Scholar 

  3. 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

    Chapter  Google Scholar 

  4. 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

    Chapter  Google Scholar 

  5. Kaufmann, M.: ACL2 demo of (patterned) congruences, https://acl2-books.googlecode.com/svn/trunk/demos/patterned-congruences.lisp

  6. Kaufmann, M., Manolios, P., Moore, J.S.: Computer-Aided Reasoning: An Approach. Kluwer Academic Publishers, Boston (2000)

    Google Scholar 

  7. Kaufmann, M., Moore, J S.: ACL2 home page, http://www.cs.utexas.edu/users/moore/acl2

  8. 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

  9. Swords, S.: Personal communication

    Google Scholar 

  10. ACL2 Community Books, http://acl2-books.googlecode.com/

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics