An Axiomatic Approach to Binary Logical Relations with Applications to Data Refinement

Published: 01 Jan 1997, Last Modified: 16 May 2025TACS 1997EveryoneRevisionsBibTeXCC BY-SA 4.0
Abstract: We introduce an axiomatic approach to logical relations and data refinement. We consider a programming language and the monad on the category of small categories generated by it. We identify abstract data types for the language with sketches for the associated monad, and define an axiomatic notion of “relation” between models of such a sketch in a semantic category. We then prove three results: (i) such models lift to the whole language together with the sketch; (ii) any such relation satisfies a soundness condition, and (iii) such relations compose. We do this for both equality of data representations and for an ordered version. Finally, we compare our formulation of data refinement with that of Hoare.
Loading