Proposition algebra and short-circuit logic
| Authors | |
|---|---|
| Publication date | 2012 |
| Host editors |
|
| Book title | Fundamentals of Software Engineering |
| Book subtitle | 4th IPM International Conference, FSEN 2011, Tehran, Iran, April 20-22 2011: revised selected papers |
| ISBN |
|
| ISBN (electronic) |
|
| Series | Lecture Notes in Computer Science |
| Event | Fundamentals of Software Engineering (FSEN 2011), 4th IPM International Conference |
| Pages (from-to) | 15-31 |
| Publisher | Heidelberg: Springer |
| Organisations |
|
| Abstract |
Short-circuit evaluation denotes the semantics of propositional connectives in which the second argument is only evaluated if the first argument does not suffice to determine the value of the expression. In programming, short-circuit evaluation is widely used.
We review proposition algebra [2010], an algebraic approach to propositional logic with side effects that models short-circuit evaluation. Proposition algebra is based on Hoare’s conditional [1985], which is a ternary connective comparable to if-then-else. Starting from McCarthy’s notion of sequential evaluation [1963] we discuss a number of valuation congruences on propositional statements and we introduce Hoare-McCarthy algebras as the structures that model these congruences. We also briefly discuss the associated short-circuit logics, i.e., the logics that define these congruences if one restricts to sequential binary connectives. |
| Document type | Conference contribution |
| Language | English |
| Published at | https://doi.org/10.1007/978-3-642-29320-7_2 |
| Permalink to this page | |
