Skip to main content

Part of the book series: Workshops in Computing ((WORKSHOPS COMP.))

Abstract

A new typed, higher-order logic is described which appears particularly well fitted to reasoning about forms of computation whose operational behaviour can be specified using the Natural Semantics style of structural operational semantics [5]. The logic’s underlying type system is Moggi’s computational metalanguage [11], which enforces a distinction between computations and values via the categorical structure of a strong monad. This is extended to a (constructive) predicate logic with modal formulas about evaluation of computations to values, called evaluation modalities. The categorical structure corresponding to this kind of logic is explained and a couple of examples of categorical models given.

As a first example of the naturalness and applicability of this new logic to program semantics, we investigate the translation of a (tiny) fragment of Standard ML into a theory over the logic, which is proved computationally adequate for ML’s Natural Semantics [10]. Whilst it is tiny, the ML fragment does however contain both higher-order functional and imperative features, about which the logic allows us to reason without having to mention global states explicitly.

Research supported by the CLICS project (ESPRIT BR Action nr 3003).

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. R. L. Croie and A. M. Pitts, New Foundations for Fixpoint Computations, Proc. 5th Annual Symposium on Logic in Computer Science, Philadelphia (IEEE Computer Society Press, Washington, 1990) 489–497.

    Google Scholar 

  2. R. L. Croie and A. M. Pitts, New Foundations for Fixpoint Computations: FIX-Hyperdoctrines and the FIX-Logic, University of Cambridge Computer Laboratory Technical Report No. 204, August 1990.

    Google Scholar 

  3. M. Dummett, Elements of Intuitionism (Oxford University Press, 1977).

    Google Scholar 

  4. C. Gunter and D. S. Scott, Semantic Domains. Chapter in Handbook of Theoretical Computer Science (North-Holland, Amsterdam, 1990).

    Google Scholar 

  5. G. Kahn, Natural Semantics. In K. Fuchi and M. Nivat (eds), Programming of Future Generation Computers (Elsevier Science Publishers B. V. ( North-Holland ), Amsterdam, 1988 ) 237–258.

    Google Scholar 

  6. J. W. Klop, Combinatory Reduction Systems, Amsterdam Mathematical Center Tracts 129 (1980).

    Google Scholar 

  7. D. Kozen and J. Tiuryn, Logics of Programs. Chapter in Handbook of Theoretical Computer Science (North-Holland, Amsterdam, 1990).

    Google Scholar 

  8. J. Lambek and P. J. Scott, Introduction to Higher Order Categorical Logic, Cambridge Studies in Advanced Mathematics 7 (Cambridge University Press, 1986).

    Google Scholar 

  9. F. W. Lawvere, Equality in Hyperdoctrines and the Comprehension Schema as an Adjoint Functor. In A. Heller (ed.), Applications of Categorical Algebra (Amer. Math. Soc., Providence RI, 1970 ) 1–14.

    Google Scholar 

  10. R. Milner, M. Tofte and R. Harper, The Definition of Standard ML (The MIT Press, Cambridge Massachussetts, 1990 ).

    Google Scholar 

  11. E. Moggi, Computational lambda-calculus and monads, Proc. 4th Annual Symposium on Logic in Computer Science, Asilomar CA (IEEE Computer Society Press, Washington, 1989) 14–23.

    Google Scholar 

  12. E. Moggi, Notions of Computations and Monads, preprint, 1989.

    Google Scholar 

  13. E. Moggi, Lecture notes on An Abstract View of Programming Languages, July 1989.

    Google Scholar 

  14. P. D. Mosses, Denotational Semantics. Chapter in Handbook of Theoretical Computer Science ( North-Holland, Amsterdam, 1990 ).

    Google Scholar 

  15. B. Nordström, K. Petersson and J. M. Smith, Programming in Martin-Löf’s Type Theory, An Introduction (Oxford University Press, 1990 ).

    Google Scholar 

  16. G. D. Plotkin, Call-by-Name, Call-by-Value and the.1-Calculus, Theoretical Computer Science 1 (1977) 125–159.

    Article  MathSciNet  Google Scholar 

  17. G. D. Plotkin, LCF considered as a programming language, Theoretical Computer Science 5 (1977) 223–255.

    Article  MathSciNet  Google Scholar 

  18. G. D. Plotkin, A Structural Approach to Operational Semantics, Aarhus University Computer Science Department Report DAIMI FN-19, 1981.

    Google Scholar 

  19. G. D. Plotkin, Denotational semantics with partial functions, unpublished lecture notes from CSLI Summer School, 1985.

    Google Scholar 

  20. D. S. Scott, A type-theoretic alternative to CUCH, ISWIM, OWHY, unpublished manuscript, University of Oxford, 1969.

    Google Scholar 

  21. R. A. G. Seely, Hyperdoctrines, Natural Deduction and the Beck Condition, Zeitschr. f. math. Logik und Grundlagen d. Math. 29 (1983) 505–542.

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 1991 British Computer Society

About this paper

Cite this paper

Pitts, A.M. (1991). Evaluation Logic. In: Birtwistle, G. (eds) IV Higher Order Workshop, Banff 1990. Workshops in Computing. Springer, London. https://doi.org/10.1007/978-1-4471-3182-3_11

Download citation

  • DOI: https://doi.org/10.1007/978-1-4471-3182-3_11

  • Publisher Name: Springer, London

  • Print ISBN: 978-3-540-19660-0

  • Online ISBN: 978-1-4471-3182-3

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics