Program extraction in simply-typed higher order logic

  • Authors:
  • Stefan Berghofer

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

  • Venue:
  • TYPES'02 Proceedings of the 2002 international conference on Types for proofs and programs
  • Year:
  • 2002

Quantified Score

Hi-index 0.01

Visualization

Abstract

Based on a representation of primitive proof objects as λ-terms, which has been built into the theorem prover Isabelle recently, we propose a generic framework for program extraction. We show how this framework can be used to extract functional programs from proofs conducted in a constructive fragment of the object logic Isabelle/HOL. A characteristic feature of our implementation of program extraction is that it produces both a program and a correctness proof. Since the extracted program is available as a function within the logic, its correctness proof can be checked automatically inside Isabelle.