WP Semantics and Behavioral Subtyping.

Yijing Liu,Zongyan Qiu,Quan Long
DOI: https://doi.org/10.1007/978-3-642-23283-1_12
2011-01-01
Abstract:For the object oriented (OO) world, developing formal semantics for theoretical study and practical use is still an important topic despite of a decade's efforts. In this paper, for a sufficiently large subset of sequential Java with a pure reference semantics model, we define a Weakest Precondition (WP) semantics, and prove its soundness and completeness. Based on thisWP semantics, we study specifications of methods and the refinement relationship between specifications, and we propose new definitions for object invariants and behavioral subtyping notation for general OO programs.
What problem does this paper attempt to address?