External Rewriting for Skeptical Proof Assistants

  • Authors:
  • Quang Huy Nguyen;Claude Kirchner;Hélène Kirchner

  • Affiliations:
  • LORIA & INRIA. e-mail: quang-huy.nguyen@loria.fr;LORIA & INRIA. e-mail: claude.kirchner@loria.fr;LORIA & CNRS. e-mail: helene.kirchner@loria.fr

  • Venue:
  • Journal of Automated Reasoning
  • Year:
  • 2003

Quantified Score

Hi-index 0.02

Visualization

Abstract

This paper presents the design, the implementation, and experiments of the integration of syntactic, conditional possibly associative-commutative term rewriting into proof assistants based on constructive type theory. Our approach is called external because it consists in performing term rewriting in a specific and efficient environment and checking the computations later in a proof assistant. Two typical systems are considered in this work: ELAN, based on the rewriting calculus, as the term rewriting-based environment, and Coq, based on the calculus of inductive constructions as the proof assistant. We first formalize the proof terms for deduction by rewriting and strategies in ELAN using the rewriting calculus with explicit substitutions. We then show how these proof terms can soundly be translated into Coq syntax where they can be directly type checked. For the method to be applicable for rewriting modulo associativity and commutativity, we provide an effective method to prove equalities modulo these axioms in Coq using ELAN. These results have been integrated into an ELAN-based rewriting tactic in Coq.