Theorem Proving for Functional Programmers

  • Authors:
  • Maarten de Mol;Marko C. J. D. van Eekelen;Marinus J. Plasmeijer

  • Affiliations:
  • -;-;-

  • Venue:
  • IFL '02 Selected Papers from the 13th International Workshop on Implementation of Functional Languages
  • Year:
  • 2001

Quantified Score

Hi-index 0.00

Visualization

Abstract

SPARKLE is a new theorem prover written in and specialized for the functional programming language CLEAN. It is mainly intended to be used by programmers for proving properties of parts of programs, combining programming and reasoning into one process. It can also be used by logicians interested in proving properties of larger programs.Two features of SPARKLE are in particular helpful for programmers. Firstly, SPARKLE is integrated in CLEAN and has a semantics based on lazy graph-rewriting. This allows reasoning to take place on the program itself, rather than on a translation that uses different concepts. Secondly, Sparkle supports automated reasoning. Trivial goals will automatically be discarded and suggestions will be given on more difficult goals.This paper presents a small example proof built in SPARKLE. It will be shown that building this proof is easy and requires little effort.