A modular reasoning system using uninterpreted predicates for code reuse

https://doi.org/10.1016/j.jlamp.2017.11.004Get rights and content
Under an Elsevier user license
open archive

Abstract

This paper proposes a modular proof system based on uninterpreted predicates. The proposed proof system allows modular reasoning about programs with an open-world assumption, which goes beyond behavioral subtyping. The proof system enables modular reasoning about languages with very flexible code reuse mechanisms, such as traits and deltas in the context of object-oriented programming. Whereas related work on incremental proof systems prove soundness in terms of internal consistency, this paper establishes both soundness and relative completeness of the proposed proof system by relating it to a standard proof system for a simple object-oriented language. The applicability of the approach is demonstrated on different code reuse mechanisms: unrestricted class inheritance, delta-oriented programming, and trait-based programming.

Keywords

Code reuse
Modular reasoning
Early reasoning
Uninterpreted predicates
Soundness
Completeness

Cited by (0)

This work was done in the context of the projects CUMULUS: Semantics-based Analysis for Cloud-Aware Computing and IoTSec: Security of Internet of Things.