School of Computing

Angelic nondeterminism and unifying theories of programming

Ana Cavalcanti and Jim Woodcock

Technical Report 13-04, University of Kent, Computing Laboratory, June 2004.

Abstract

Hoare and He have proposed unifying theories of programming (UTP): a model of alphabetised relations expressed as predicates, which provides support for program development in a number of programming paradigms. Their objective is the unification of languages and techniques, so that developers can benefit from results of works that were, until then, conflicting in their approach. They consider fundamental programming concepts like nondeterminism, specification as pre and post condition pairs, and concurrency; however, they leave the study of many constructs open. In this report, we investigate the possibility of unifying angelic nondeterminism into the UTP. We consider its general relational setting, and the more restricted setting of designs, which is the basis for all the models considered by Hoare and He. We study isomorphic models based on relations between sets of states and on predicate transformers. We conclude that the introduction of angelic nondeterminism requires a more elaborate relational framework. We proceed to propose the unification of a model of binary multirelations, which is isomorphic to the monotonic predicate transformers model and can express angelic and demonic nondeterminism.

Download publication 234 kbytes (PDF)

Bibtex Record

@techreport{1932,
author = {Ana Cavalcanti and Jim Woodcock},
title = {Angelic Nondeterminism and Unifying Theories of Programming},
month = {June},
year = {2004},
pages = {182-196},
keywords = {determinacy analysis, Craig interpolants},
note = {},
doi = {},
url = {http://www.cs.kent.ac.uk/pubs/2004/1932},
    publication_type = {techreport},
    submission_id = {2508_1087907449},
    number = {13-04},
    institution = {University of Kent, Computing Laboratory},
}

School of Computing, University of Kent, Canterbury, Kent, CT2 7NF

Enquiries: +44 (0)1227 824180 or contact us.

Last Updated: 21/03/2014