## Monoids with tests and the algebra of possibly non-halting programs

dc.contributor.author | Jackson, Marcel | |

dc.contributor.author | Stokes, Tim E. | |

dc.date.accessioned | 2015-04-15T04:29:48Z | |

dc.date.available | 2015-03 | |

dc.date.available | 2015-04-15T04:29:48Z | |

dc.date.issued | 2015-03 | |

dc.identifier.citation | Jackson, M., & Stokes, T. E. (2015). Monoids with tests and the algebra of possibly non-halting programs. Journal of Logical and Algebraic Methods in Programming, 84(2), 259–275. http://doi.org/10.1016/j.jlamp.2014.08.007 | en |

dc.identifier.issn | 2352-2208 | |

dc.identifier.uri | https://hdl.handle.net/10289/9274 | |

dc.description.abstract | We study the algebraic theory of computable functions, which can be viewed as arising from possibly non-halting computer programs or algorithms, acting on some state space, equipped with operations of composition, if-then-else and while-do defined in terms of a Boolean algebra of conditions. It has previously been shown that there is no finite axiomatisation of algebras of partial functions under these operations alone, and this holds even if one restricts attention to transformations (representing halting programs) rather than partial functions, and omits while-do from the signature. In the halting case, there is a natural “fix”, which is to allow composition of halting programs with conditions, and then the resulting algebras admit a finite axiomatisation. In the current setting such compositions are not possible, but by extending the notion of if-then-else, we are able to give finite axiomatisations of the resulting algebras of (partial) functions, with while-do in the signature if the state space is assumed finite. The axiomatisations are extended to consider the partial predicate of equality. All algebras considered turn out to be enrichments of the notion of a (one-sided) restriction semigroup | |

dc.format.mimetype | application/pdf | |

dc.language.iso | en | |

dc.publisher | Elsevier | |

dc.rights | This is an author’s accepted version of an article published in the journal: Journal of Logical and Algebraic Methods in Programming. © 2015 Elsevier. | |

dc.subject | Science & Technology | |

dc.subject | Technology | |

dc.subject | Computer Science, Theory & Methods | |

dc.subject | Logic | |

dc.subject | Computer Science | |

dc.subject | Science & Technology - Other Topics | |

dc.subject | Computable partial functions | |

dc.subject | Algebraic models of computation | |

dc.subject | Deterministic programs | |

dc.subject | Domain | |

dc.subject | Restriction semigroup | |

dc.subject | If-then-else | |

dc.subject | IF-THEN-ELSE | |

dc.subject | BINARY RELATIONS | |

dc.subject | SEMIGROUPS | |

dc.subject | AXIOMATIZABILITY | |

dc.subject | CORRECTNESS | |

dc.subject | CATEGORIES | |

dc.subject | DOMAIN | |

dc.title | Monoids with tests and the algebra of possibly non-halting programs | |

dc.type | Journal Article | |

dc.identifier.doi | 10.1016/j.jlamp.2014.08.007 | |

dc.relation.isPartOf | Journal of Logical and Algebraic Methods in Programming | |

pubs.begin-page | 259 | |

pubs.elements-id | 119492 | |

pubs.end-page | 275 | |

pubs.issue | 2 | |

pubs.publication-status | Published | |

pubs.volume | 84 |