Proof Synthesis and Reflection for Linear Arithmetic

  • Authors:
  • Amine Chaieb;Tobias Nipkow

  • Affiliations:
  • Institut für Informatik, Technische Universität München, Munich, Germany;Institut für Informatik, Technische Universität München, Munich, Germany

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

Quantified Score

Hi-index 0.00

Visualization

Abstract

This article presents detailed implementations of quantifier elimination for both integer and real linear arithmetic for theorem provers. The underlying algorithms are those by Cooper (for Z) and by Ferrante and Rackoff (for 驴). Both algorithms are realized in two entirely different ways: once in tactic style, i.e. by a proof-producing functional program, and once by reflection, i.e. by computations inside the logic rather than in the meta-language. Both formalizations are generic because they make only minimal assumptions w.r.t. the underlying logical system and theorem prover. An implementation in Isabelle/HOL shows that the reflective approach is between one and two orders of magnitude faster.