2005
DOI: 10.1007/978-3-540-31984-9_15
|View full text |Cite
|
Sign up to set email alerts
|

Observational Purity and Encapsulation

Abstract: Practical specification languages for imperative and object-oriented programs, such as JML, Eiffel, and Spec#, allow the use of program expressions including method calls in specification formulas. For coherent semantics of specifications, and to avoid anomalies with runtime assertion checking, expressions in specifications and assertions are typically required to be weakly pure in the sense that their evaluation has no effect on the state of preexisting objects. For specification of large systems using standa… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
21
0

Year Published

2005
2005
2019
2019

Publication Types

Select...
7
2

Relationship

2
7

Authors

Journals

citations
Cited by 20 publications
(21 citation statements)
references
References 24 publications
0
21
0
Order By: Relevance
“…This is reflected in PO 1 , which cannot be proven to hold for this example. Possible solutions to this problem are suggested in [4,20,21].…”
Section: Related Work and Experiencementioning
confidence: 99%
“…This is reflected in PO 1 , which cannot be proven to hold for this example. Possible solutions to this problem are suggested in [4,20,21].…”
Section: Related Work and Experiencementioning
confidence: 99%
“…Naumann [40] generalizes purity to observational purity, which allows pure methods to make modifications as long as these modifications cannot be observed by client code. His work can be combined with our verification techniques by considering dependencies of client invariants as observations.…”
Section: Ownership Models and Readonly Referencesmentioning
confidence: 99%
“…Section 6 concludes. This paper is revised and extended from the conference version (Naumann, 2005). It includes full proofs and more thorough discussion of related work, as well as expository changes including adoption of the term "weak purity" for what had been called strong purity.…”
Section: Introductionmentioning
confidence: 99%