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 | |||||||||
| Keywords | No keywords specified (fix it) | |||||||||
| Categories | No categories specified (fix it) | |||||||||
| Options |
|
|||||||||
| PhilPapers Archive |
Upload a copy of this paper Check publisher's policy on self-archival Papers currently archived: 5,709 |
| External links |
|
| Through your library | Only published papers are available at libraries |
Jukka Mikkonen (2009). Assertions in Literary Fiction. Minerva 13:144-180.
Timothy R. Colburn (1991). Program Verification, Defeasible Reasoning, and Two Views of Computer Science. Minds and Machines 1 (1).
Jessica Brown (2005). Comparing Contextualism and Invariantism on the Correctness of Contextualist Intuitions. Grazer Philosophische Studien 69 (1):71-100.
Ton Sales (1996). Logic of Assertions. Theoria 11 (1):203-228.
Kenneth M. Sayre (1964). On Disagreement About Perception. Inquiry 7 (1-4):143 – 162.
Christopher Kaczor (2012). Can It Be Morally Permissible to Assert a Falsehood in Service of a Good Cause? American Catholic Philosophical Quarterly 86 (1):97-109.
Antony Eagle (2007). Telling Tales. Proceedings of the Aristotelian Society 107 (1pt2):125-147.
Rodrigo A. Freire (2012). On Existence in Set Theory. Notre Dame Journal of Formal Logic 53 (4):525-547.
Ingvar Johansson (2003). Performatives and Antiperformatives. Linguistics and Philosophy 26 (6):661-702.
Matthew Weiner (2005). Must We Know What We Say? Philosophical Review 114 (2):227-251.
Raymond S. Nickerson & Susan F. Butler (2008). Efficiency in Data Gathering: Set Size Effects in the Selection Task. Thinking and Reasoning 14 (1):60 – 82.
Monthly downloads |
Added to index2010-11-21Total downloads3 ( #202,107 of 549,681 )Recent downloads (6 months)1 ( #63,425 of 549,681 )How can I increase my downloads? |

