Skip to main content

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 4334))

  • 1714 Accesses

Abstract

This chapter deals with the question how we can prove properties of specifications and of the relations between specifications and programs. The most important instance of such a property is the correctness of a program with respect to its specification.

In ChapterĀ 5 we discussed specifications expressed with the languages UML/OCL and JML and their translations into the first-order fragment of Java Card DL. We now present our answers to the questions we left open there. What is the role we want class invariants to play? In which states should they hold and how do we prove this? What is the relation between postconditions and invariants?

We formulate a series of proof obligations templates. These contain parameters that can be instantiated with a specification or parts of a specification to yield proof obligations. These are finite sets of Java Card DL formulae that can be submitted to the KeY prover.

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 84.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.

Authors

Editor information

Bernhard Beckert Reiner HƤhnle Peter H. Schmitt

Rights and permissions

Reprints and permissions

Copyright information

Ā© 2007 Springer Berlin Heidelberg

About this chapter

Cite this chapter

Roth, A. (2007). Proof Obligations. In: Beckert, B., HƤhnle, R., Schmitt, P.H. (eds) Verification of Object-Oriented Software. The KeY Approach. Lecture Notes in Computer Science(), vol 4334. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-69061-0_8

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-69061-0_8

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-68977-5

  • Online ISBN: 978-3-540-69061-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics