Abstract

AbstractFor 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 this WP 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.KeywordsObject OrientationWeakest PreconditionSeparation LogicSpecificationRefinementBehavioral Subtyping

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call