Back to Search
Start Over
A contract-based method to specify stimulus-response requirements
- Source :
- Труды Института системного программирования РАН, Vol 29, Iss 4, Pp 39-54 (2018)
- Publication Year :
- 2018
- Publisher :
- Ivannikov Institute for System Programming of the Russian Academy of Sciences, 2018.
-
Abstract
- The verification of many practical systems - in particular, embedded systems - involves processes executing over time, for which it is common to use models based on temporal logic, in either its linear (LTL) or branching (CTL). Some of today’s most advanced automatic program verifiers, however, rely on non-temporal theories, particularly Hoare-style logic. Can we still take advantage of this sophisticated verification technology for more challenging systems? As a step towards a positive answer, we have defined a translation scheme from temporal specifications to contract-equipped object-oriented programs, expressed in Eiffel and hence open for processing by the AutoProof program prover. We have applied this scheme to a published CTL model of a widely used realistic example, the “landing gear” system which has been the subject of numerous competing specifications. An attempt to verify the result in AutoProof failed to prove one temporal property, which on further inspection seemed to be wrong in the original published model, even though the published work claimed to have verified an Abstract State Machine implementation of that model. Correcting the CTL specification to reflect the apparent informal attempt, re-translating again to contracted Eiffel and re-running the verification leads to success. The LTL-to-contracted-Eiffel process is still ad hoc, and tailored to generate the kind of scheme that the target verification tool (AutoProof) can handle best, rather than the simplest or most elegant scheme. Even with this limitation, the results highlight the need for rigor in the verification process, and (on the positive side) demonstrate that the highly advanced mechanized proof technology developed over several decades for the verification of traditional programs also has the potential of handling the demanding needs of embedded systems and other demanding contemporary developments.
Details
- Language :
- English, Russian
- ISSN :
- 20798156 and 22206426
- Volume :
- 29
- Issue :
- 4
- Database :
- Directory of Open Access Journals
- Journal :
- Труды Института системного программирования РАН
- Publication Type :
- Academic Journal
- Accession number :
- edsdoj.96201f76a64f478f99eebf0a9fc0a3
- Document Type :
- article
- Full Text :
- https://doi.org/10.15514/ISPRAS-2017-29(4)-3