Skip to main content

Loops B — On replacing constants by fresh variables

  • Chapter
Programming in the 1990s

Part of the book series: Texts and Monographs in Computer Science ((MCS))

Abstract

The first step in loop development is to choose invariant P and guard B from postcondition R to satisfy

$$P \wedge \neg B \Rightarrow R$$

If R happens to be a conjunction, then this is easy. Choose for P one of the conjuncts, and choose for B the negation of the other conjunct, as we have seen.

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.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 1990 Springer-Verlag New York Inc.

About this chapter

Cite this chapter

Cohen, E. (1990). Loops B — On replacing constants by fresh variables. In: Programming in the 1990s. Texts and Monographs in Computer Science. Springer, New York, NY. https://doi.org/10.1007/978-1-4613-9706-9_11

Download citation

  • DOI: https://doi.org/10.1007/978-1-4613-9706-9_11

  • Publisher Name: Springer, New York, NY

  • Print ISBN: 978-0-387-97382-1

  • Online ISBN: 978-1-4613-9706-9

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics