Specifications and Assertions

Abstract

As a start, we give further examples of Alloy specifications. Next we turn to specification of imperative programs. Assertions about programs are specifications of how the program is supposed to behave. Assertions can be used for correctness reasoning and for testing. We illustrate the important notions of preconditions and postconditions. We demonstrate how the state transitions of imperative programming can be modelled as relations in Alloy. Correctness reasoning can be linked to testing and debugging by means of executable assertions, and by means of random generation of test cases based on preconditions and postconditions

Links

PhilArchive



    Upload a copy of this work     Papers currently archived: 92,227

External links

  • This entry has no external links. Add one.
Setup an account with your affiliations in order to access resources via your University's proxy server

Through your library

  • Only published works are available at libraries.

Similar books and articles

Assertions in Literary Fiction.Jukka Mikkonen - 2009 - Minerva - An Internet Journal of Philosophy 13:144-180.
Logic of assertions.Ton Sales - 1996 - Theoria 11 (1):203-228.
On disagreement about perception.Kenneth M. Sayre - 1964 - Inquiry: An Interdisciplinary Journal of Philosophy 7 (1-4):143 – 162.
Can it be Morally Permissible to Assert a Falsehood in Service of a Good Cause?Christopher Kaczor - 2012 - American Catholic Philosophical Quarterly 86 (1):97-109.
Telling Tales.Antony Eagle - 2007 - Proceedings of the Aristotelian Society 107 (1pt2):125 - 147.
On Existence in Set Theory.Rodrigo A. Freire - 2012 - Notre Dame Journal of Formal Logic 53 (4):525-547.
Performatives and antiperformatives.Ingvar Johansson - 2003 - Linguistics and Philosophy 26 (6):661-702.
Must we know what we say?Matthew Weiner - 2005 - Philosophical Review 114 (2):227-251.

Analytics

Added to PP
2010-11-21

Downloads
18 (#836,872)

6 months
1 (#1,478,781)

Historical graph of downloads
How can I increase my downloads?

Author's Profile

Jan Van Eijck
University of Amsterdam

Citations of this work

No citations found.

Add more citations

References found in this work

No references found.

Add more references