{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,6,20]],"date-time":"2025-06-20T23:40:03Z","timestamp":1750462803577,"version":"3.41.0"},"reference-count":0,"publisher":"Cambridge University Press (CUP)","issue":"3","license":[{"start":{"date-parts":[[2002,4,23]],"date-time":"2002-04-23T00:00:00Z","timestamp":1019520000000},"content-version":"unspecified","delay-in-days":0,"URL":"https:\/\/www.cambridge.org\/core\/terms"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Theory and Practice of Logic Programming"],"published-print":{"date-parts":[[2002,5]]},"abstract":"<jats:p>Termination of logic programs depends critically on the selection rule, i.e. the rule that determines \nwhich atom is selected in each resolution step. In this article, we classify programs \n(and queries) according to the selection rules for which they terminate. This is a survey and \nunified view on different approaches in the literature. For each class, we present a sufficient, \nfor most classes even necessary, criterion for determining that a program is in that class. \nWe study six classes: a program <jats:italic>strongly<\/jats:italic> terminates if it terminates for <jats:italic>all<\/jats:italic> selection rules; a \nprogram <jats:italic>input terminates<\/jats:italic> if it terminates for selection rules which only select atoms that are \nsufficiently instantiated in their input positions, so that these arguments do not get instantiated \nany further by the unification; a program <jats:italic>local delay<\/jats:italic> terminates if it terminates for local \nselection rules which only select atoms that are bounded w.r.t. an appropriate level mapping; \na program <jats:italic>left-terminates<\/jats:italic> if it terminates for the usual left-to-right selection rule; a program \n\u2203-<jats:italic>terminates<\/jats:italic> if there exists a selection rule for which it terminates; finally, a program \nhas <jats:italic>bounded nondeterminism<\/jats:italic> if it only has finitely many refutations. We propose a semantics-preserving \ntransformation from programs with bounded nondeterminism into strongly terminating programs. \nMoreover, by unifying different formalisms and making appropriate assumptions, we \nare able to establish a formal hierarchy between the different classes.<\/jats:p>","DOI":"10.1017\/s1471068402001400","type":"journal-article","created":{"date-parts":[[2006,6,2]],"date-time":"2006-06-02T09:38:29Z","timestamp":1149241109000},"page":"369-418","source":"Crossref","is-referenced-by-count":13,"title":["Classes of terminating logic programs"],"prefix":"10.1017","volume":"2","author":[{"given":"DINO","family":"PEDRESCHI","sequence":"first","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"SALVATORE","family":"RUGGIERI","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"JAN\u2013GEORG","family":"SMAUS","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"56","published-online":{"date-parts":[[2002,4,23]]},"container-title":["Theory and Practice of Logic Programming"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.cambridge.org\/core\/services\/aop-cambridge-core\/content\/view\/S1471068402001400","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,20]],"date-time":"2025-06-20T23:03:24Z","timestamp":1750460604000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.cambridge.org\/core\/product\/identifier\/S1471068402001400\/type\/journal_article"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2002,4,23]]},"references-count":0,"journal-issue":{"issue":"3","published-print":{"date-parts":[[2002,7]]}},"alternative-id":["S1471068402001400"],"URL":"https:\/\/doi.org\/10.1017\/s1471068402001400","relation":{},"ISSN":["1471-0684","1475-3081"],"issn-type":[{"type":"print","value":"1471-0684"},{"type":"electronic","value":"1475-3081"}],"subject":[],"published":{"date-parts":[[2002,4,23]]}}}