Skip to main content

Choice Semantics

  • Chapter
Refinement Calculus

Part of the book series: Graduate Texts in Computer Science ((TCS))

  • 328 Accesses

Abstract

We now introduce a third semantic interpretation of statements, the choice semantics. Statements are here interpreted as functions that map each initial state to a set of predicates over the final state space. This means that we have altogether three different semantics for statements: an (operational) game semantics, a (backward) predicate transformer semantics, and a (forward) choice semantics. We show that these semantics are consistent with each other (we have already seen that this holds for the predicate transformer semantics and the game semantics). The predicate transformer semantics and the choice semantics are equivalent in the sense that either of them determines the other. The set of predicates that the choice semantics gives for an initial state is in fact the set of postconditions that the statement is guaranteed to establish from this initial state. Thus both choice semantics and predicate transformer semantics are abstractions of the game semantics in the sense that they can be determined from the game semantics for a statement. The converse does not hold, so the game semantics is more detailed than either of the other two. The choice semantics can be interpreted as describing a simple two-step game, so it is also directly connected to the view of statements as games.

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

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.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.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 1998 Springer Science+Business Media New York

About this chapter

Cite this chapter

Back, RJ., von Wright, J. (1998). Choice Semantics. In: Refinement Calculus. Graduate Texts in Computer Science. Springer, New York, NY. https://doi.org/10.1007/978-1-4612-1674-2_15

Download citation

  • DOI: https://doi.org/10.1007/978-1-4612-1674-2_15

  • Publisher Name: Springer, New York, NY

  • Print ISBN: 978-0-387-98417-9

  • Online ISBN: 978-1-4612-1674-2

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics