arXiv · 1109.2548
RedAlert: Determinacy Inference for Prolog
Abstract
This paper revisits the problem of determinacy inference addressing the problem of how to uniformly handle cut. To this end a new semantics is introduced for cut, which is abstracted to systematically derive a backward analysis that derives conditions sufficient for a goal to succeed at most once. The method is conceptionally simpler and easier to implement than existing techniques, whilst improving the latter's handling of cut. Formal arguments substantiate correctness and experimental work, and a tool called 'RedAlert' demonstrates the method's generality and applicability.
Explore related subjects
Keep this discovery
Jael Kriener, Andy King. 2011-09-12. RedAlert: Determinacy Inference for Prolog. https://arxiv.org/abs/1109.2548
Cite the original work for its findings. Save a collection to share your selection of sources.