Skip to main content
PRL Project

An Operational Approach to Combining Classical Set Theory and Functional Programming Languages

by Douglas J. Howe, Scott D. Stoller

Proceedings of International Symposium on Theoretical Aspects of Computer Software (TACS '94), M. Hagiya and J. Mitchell (eds.), LNCS 789, pp. 36-55, Springer-Verlag

  • unofficial copies PDF, PS
We have designed a programming logic based on an integration of functional programming languages with classical set theory. The logic merges a classical view of equality with a constructive one by using equivalence classes, while at the same time allowing computation with representatives of equivalence classes. Given a programming language and its operational semantics, a logic is obtained by extending the language with the operators of set theory and classical logic, and extending the operational semantics with "evaluation" rules for these new operators. This operational approach permits us to give a generic design. We give a general formalism for specifying evaluation semantics, and parameterize our design with respect to languages specifiable in this formalism. This allows us to prove, once and for all, important properties of the semantics such as the coherence of the treatment of equality.

bibTex ref: HS94

cite link