Skip to main content

A Semi-reflexive Tactic for (Sub-)Equational Reasoning

  • Conference paper

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

Abstract

We propose a simple theory of monotone functions that is the basis for the implementation of a tactic that generalises one step conditional rewriting by “propagating” constraints of the form x R y where the relation R can be weaker than an equivalence relation. The constraints can be propagated only in goals whose conclusion is a syntactic composition of n-ary functions that are monotone in each argument. The tactic has been implemented in the Coq system as a semi-reflexive tactic, which represents a novelty and an improvement over an earlier similar development for NuPRL.

A few interesting applications of the tactic are: reasoning in type theory about equivalence classes (by performing rewriting in well-defined goals); reasoning about reductions and properties preserved by reductions; reasoning about partial functions over equivalence classes (by performing rewriting in PERs); propagating inequalities by replacing a term with a smaller (greater) one in a given monotone context.

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

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • 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

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Barthe, G., Pons, O., Capretta, V.: Setoids in type theory. Journal of Functional Programming 13(2), 261–293 (2003)

    Article  MATH  MathSciNet  Google Scholar 

  2. Basin, D.: Generalized Rewriting in Type Theory. Journal of Information Processing and Cybernetics 30(5/6), 249–259 (1994)

    MATH  Google Scholar 

  3. Courtieu, P.: Normalized Types. In: Fribourg, L. (ed.) CSL 2001 and EACSL 2001. LNCS, vol. 2142, pp. 554–569. Springer, Heidelberg (2001)

    Chapter  Google Scholar 

  4. Lüth, C., Wolff, B.: TAS — A Generic Window Inference System. In: Aagaard, M.D., Harrison, J. (eds.) TPHOLs 2000. LNCS, vol. 1869, pp. 405–422. Springer, Heidelberg (2000)

    Chapter  Google Scholar 

  5. Grégoire, B.: Compilation de termes de preuves: un (nouveau) mariage entre Coq et OCaml. PhD thesis. Université Paris 7 (2004)

    Google Scholar 

  6. Grundy, J.: Transformational hierarchical reasoning. The Computer Journal 39(4), 291–302 (1996)

    Article  Google Scholar 

  7. Hofmann, M.: Extensional concepts in intensional type theory. PhD thesis. LFCS Edinburgh (1995)

    Google Scholar 

  8. Kreitz, C.: The NuPRL 5 Manual, pp. 135–145

    Google Scholar 

  9. Renard, C.: Memoire de DEA: Un peu d’extensionnalité en Coq. INRIA Rocquencourt (2001)

    Google Scholar 

  10. Robinson, P.J., Staples, J.: Formalizing a hierarchical structure of practical mathematical reasoning. Journal of Logic and Computation 3, 47–61 (1993)

    Article  MATH  MathSciNet  Google Scholar 

  11. Staples, M.: Window Inference in Isabelle. In: Proceedings of the Isabelle Users Workshop, Cambridge, UK, September 18-19 (1995)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2006 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Coen, C.S. (2006). A Semi-reflexive Tactic for (Sub-)Equational Reasoning. In: Filliâtre, JC., Paulin-Mohring, C., Werner, B. (eds) Types for Proofs and Programs. TYPES 2004. Lecture Notes in Computer Science, vol 3839. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11617990_7

Download citation

  • DOI: https://doi.org/10.1007/11617990_7

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-31428-8

  • Online ISBN: 978-3-540-31429-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics