Frame rule for mutually recursive procedures manipulating pointers

  • Authors:
  • Viorel Preoteasa

  • Affiliations:
  • Department of Information Technologies, bo Akademi University, Joukahaisenkatu 3-5 B, 20520 Turku, Finland

  • Venue:
  • Theoretical Computer Science
  • Year:
  • 2009

Quantified Score

Hi-index 5.23

Visualization

Abstract

Using a predicate transformer semantics of programs, we introduce statements for heap operations and separation logic operators for specifying programs that manipulate pointers. We prove a powerful Hoare total correctness rule for mutually recursive procedures manipulating pointers. The rule combines earlier proof rules for (mutually) recursive procedures with the frame rule for pointer programs. The theory, including the proofs, is implemented in the theorem prover PVS. In this implementation program variables and addresses can store values of almost any type of the theorem prover.