Algebraic properties of If-Then-Else and commutative three-valued tests
| dc.contributor.author | Soo, Khi-Ui | en_NZ |
| dc.contributor.author | Stokes, Tim E. | en_NZ |
| dc.date.accessioned | 2019-05-28T03:40:46Z | |
| dc.date.available | 2019 | en_NZ |
| dc.date.available | 2019-05-28T03:40:46Z | |
| dc.date.issued | 2019 | en_NZ |
| dc.description.abstract | This paper establishes a finite axiomatization of possibly non-halting computer programs and tests, with the if-then-else operation. The model is a two-sorted algebra, with one sort being the programs and the other being the tests. The main operation on programs is composition, and 1 and 0 represent the programs skip and loop (i.e. never halts) respectively. Programs are modeled as partial functions on some state space X, with tests modeled as partial predicates on X. The operations on the tests are the usual logical connectives T and F. In addition, there is the hybrid operation of if-then-else, and the test-valued operation H on programs which is true when a program halts, and undefined otherwise. The halting operation H implies that operations of domain D and domain join may also be expressed. When tests are assumed to be possibly non-halting, the evaluation strategy of the logical connectives affects the result. Here we model parallel evaluation, as opposed to the common sequential (or short-circuit) evaluation strategy. For example, we view α β as false if either α or β is false, even if the other does not halt. | en_NZ |
| dc.format.mimetype | application/pdf | |
| dc.identifier.citation | Soo, K.-U., & Stokes, T. E. (2019). Algebraic properties of If-Then-Else and commutative three-valued tests. International Journal of Algebra and Computation. https://doi.org/10.1142/S0218196719500255 | en |
| dc.identifier.doi | 10.1142/S0218196719500255 | en_NZ |
| dc.identifier.issn | 0218-1967 | en_NZ |
| dc.identifier.uri | https://hdl.handle.net/10289/12567 | |
| dc.language.iso | en | |
| dc.relation.isPartOf | International Journal of Algebra and Computation | en_NZ |
| dc.rights | This is the author's accepted version. © 2019 World Scientific Publishing Company. | |
| dc.title | Algebraic properties of If-Then-Else and commutative three-valued tests | en_NZ |
| dc.type | Journal Article | |
| dspace.entity.type | Publication | |
| pubs.publication-status | Published | en_NZ |
Files
Original bundle
1 - 1 of 1
Loading...
- Name:
- stokes-su-plain.pdf
- Size:
- 289.67 KB
- Format:
- Adobe Portable Document Format
- Description:
- Accepted version
License bundle
1 - 1 of 1
Loading...
- Name:
- Research Commons Deposit Agreement 2017.pdf
- Size:
- 188.11 KB
- Format:
- Adobe Portable Document Format
- Description: