Turning Inductive into Equational Specifications

  • Authors:
  • Stefan Berghofer;Lukas Bulwahn;Florian Haftmann

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

  • Venue:
  • TPHOLs '09 Proceedings of the 22nd International Conference on Theorem Proving in Higher Order Logics
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

Inductively defined predicates are frequently used in formal specifications. Using the theorem prover Isabelle , we describe an approach to turn a class of systems of inductively defined predicates into a system of equations using data flow analysis; the translation is carried out inside the logic and resulting equations can be turned into functional program code in SML , OCaml or Haskell using the existing code generator of Isabelle . Thus we extend the scope of code generation in Isabelle from functional to functional-logic programs while leaving the trusted foundations of code generation itself intact.