Skip to main content

Equivalence Between HOFL Denotational and Operational Semantics

  • Chapter
  • First Online:
Models of Computation

Part of the book series: Texts in Theoretical Computer Science. An EATCS Series ((TTCS))

  • 1258 Accesses

Abstract

In this chapter we address the correspondence between the operational semantics of HOFL from Chapter 7 and its denotational semantics from Chapter 9. The situation is not as straightforward as for IMP. A first discrepancy between the two semantics is that the operational one evaluates only closed (and typable) terms, while the denotational one can handle terms with variables, thanks to environments. Apart from this minor issue, the key fact is that the canonical forms arising from the operational semantics for terms of type τ are more concrete than the mathematical elements of the corresponding domain (V τ ). Thus, it is inevitable that terms with different canonical forms can be assigned the same denotation. However, we show that terms with the same canonical form are always assigned the same denotation. Only for terms of type int do we have a full agreement between the two semantics. On the positive side, a term converges operationally if and only if it converges denotationally. We conclude the chapter by discussing the equivalences over terms induced by the two semantics and by presenting an alternative denotational semantics, called unlifted, which is simpler but less expressive than the one studied in Chapter 9.

Honest disagreement is often a good sign of progress. (Mahatma Gandhi)

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 49.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 64.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 64.99
Price excludes VAT (USA)
  • Durable hardcover 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.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Roberto Bruni .

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Springer International Publishing Switzerland

About this chapter

Cite this chapter

Bruni, R., Montanari, U. (2017). Equivalence Between HOFL Denotational and Operational Semantics. In: Models of Computation. Texts in Theoretical Computer Science. An EATCS Series. Springer, Cham. https://doi.org/10.1007/978-3-319-42900-7_10

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-42900-7_10

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-42898-7

  • Online ISBN: 978-3-319-42900-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics