Computations and Relational Bundles

  • J. W. Sanders
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 4136)


We explore the view of a computation as a relational section of a (trivial) fibre bundle: initial states lie in the base of the bundle and final states lie in the fibres located at their initial states. This leads us to represent a computation in ‘fibre-form’ as the angelic choice of its behaviours from each initial state. That view is shown to have the advantage also of permitting final states to be of different types, as might be used for example in a semantics of probabilistic computations, and of providing a natural setting for refinement of computations.

However we apply that view in a different direction. On computations more general than code the two standard models, the relational and the predicate-transformer models, obey different laws. One way to understand that difference is to study the laws of more refined models, like the semantics of probabilistic computations. Another is to characterise each model by its laws. In spite of their differences, the relational model is embedded in the transformer model by a Galois connection which can be used to transfer much of the structure on transformers to the relational model. We investigate the extent to which the conjugate on predicate transformers translates to relations and use the result to motivate a characterisation of relational computations, achieved by using fibre-forms.


State Space Normal Form Transformer Model Relational Model Relational Semantic 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. BvW98.
    Back, R.-J., von Wright, J.: Refinement Calculus: A Systematic Introduction. Graduate Texts in Computer Science. Springer, Heidelberg (1998)MATHGoogle Scholar
  2. D76.
    Dijsktra, E.W.: A Discipline of Programming. Prentice-Hall International, Englewood Cliffs (1976)Google Scholar
  3. HSM97.
    Jifeng, H., Seidel, K., McIver, A.K.: Probabilistic models for the guarded command language. Science of Computer Programming 28, 171–192 (1997)CrossRefMathSciNetMATHGoogle Scholar
  4. H92.
    Hesselink, W.H.: Programs, Recursion and Unbounded Choice. Cambridge University Press, Cambridge (1992)CrossRefMATHGoogle Scholar
  5. H87.
    Hoare, C.A.R., et al.: The laws of programming. Communications of the ACM 30, 672–686 (1987)CrossRefMathSciNetMATHGoogle Scholar
  6. HH98.
    Hoare, C.A.R., Jifeng, H.: Unifying Theories of Programming. Prentice Hall, Englewood Cliffs (1998)Google Scholar
  7. MM05.
    McIver, A.K., Morgan, C.C.: Abstraction, Refinement and Proof for Probabilistic Systems. Springer Monographs in Computer Science (2005)Google Scholar
  8. N89.
    Nelson, G.: A generalisation of Dijkstra’s calculus. ACM ToPLAS 11(4), 517–561 (1989)CrossRefGoogle Scholar
  9. O44.
    Ore, O.: Galois connexions. Transactions of the American Mathematical Society 55, 494–513 (1944)CrossRefMathSciNetGoogle Scholar
  10. R06.
    Rewitzky, I.M.: Monotone predicate transformers as up-closed multirelations. In: Schmidt, R.A. (ed.) RelMiCS/AKA 2006. LNCS, vol. 4136, Springer, Heidelberg (2006)CrossRefGoogle Scholar
  11. dRE98.
    de Roever, W.-P., Engelhardt, K.: Data Refinement: Model-Oriented Proof Methods and their Comparison. Cambridge Tracts in Theoretical Computer Science. Cambridge University Press, Cambridge (1998)CrossRefMATHGoogle Scholar
  12. SZ00.
    Sanders, J.W., Zuliani, P.: Quantum Programming. In: Backhouse, R., Oliveira, J.N. (eds.) MPC 2000. LNCS, vol. 1837, pp. 80–99. Springer, Heidelberg (2000)CrossRefGoogle Scholar
  13. S51.
    Steenrod, N.: The Topology of Fibre Bundles. Princeton University Press, Princeton (1951)MATHGoogle Scholar
  14. vW04.
    von Wright, J.: Towards a refinement algebra. Science of Computer Programming 51, 23–45 (2004)CrossRefMathSciNetMATHGoogle Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2006

Authors and Affiliations

  • J. W. Sanders
    • 1
  1. 1.Programming Research GroupOxford University Computing LaboratoryOxford

Personalised recommendations