{"id":{"repo_id":"soton","oai_identifier":"oai:eprints.soton.ac.uk:464220"},"canonical_url":"https://search.ndltd.org/etd/soton/oai:eprints.soton.ac.uk:464220","repository":{"repo_id":"soton","name":"University of Southampton","base_url":"https://eprints.soton.ac.uk/cgi/oai2"},"display":{"title":"Judgement day : terminating logic problems","abstract":"<p>This thesis studies termination of logic programs and termination of program specialisation in particular. Two approaches to the latter are traditionally recognised. The <i>offline</i> approach divides the specialisation process into two phases; the first is an analysis phase which gathers termination information which is used to guide the specialisation proper in the second phase. This separation of components provides an identifiable termination component within a tool and is good software engineering practice. It also offers a number of other advantages over the <i>online</i> approach where the two phases are intertwined. In logic programming, however, the focus of attention has been on online techniques since they have generally offered better potential for optimisation.</p><p>This thesis proposes the first solution to automatic, offline specialisation of logic programs which compares favourably with current online techniques with regard to its optimisation capability. Specifically, it is the first offline technique in logic programming to pass the, so called, KMP test which has become the acid test for program specialisation techniques; the automatic generation of a fast pattern nuclear from a naive one.</p><p>To this end, a number of techniques for termination analysis are developed culminating in the identification of a useful termination criterion for coroutining logic programs. Such programs are notoriously difficult to prove terminating, yet they provide an extremely useful model for an essential part of the program specialisation process. Tackling this problem in turn leads to the establishment of a solid link between the fields of program specialisation and termination analysis, laying the foundation for the proposed offline approach.</p>","abstract_html":"&lt;p&gt;This thesis studies termination of logic programs and termination of program specialisation in particular. Two approaches to the latter are traditionally recognised. The &lt;i&gt;offline&lt;/i&gt; approach divides the specialisation process into two phases; the first is an analysis phase which gathers termination information which is used to guide the specialisation proper in the second phase. This separation of components provides an identifiable termination component within a tool and is good software engineering practice. It also offers a number of other advantages over the &lt;i&gt;online&lt;/i&gt; approach where the two phases are intertwined. In logic programming, however, the focus of attention has been on online techniques since they have generally offered better potential for optimisation.&lt;/p&gt;&lt;p&gt;This thesis proposes the first solution to automatic, offline specialisation of logic programs which compares favourably with current online techniques with regard to its optimisation capability. Specifically, it is the first offline technique in logic programming to pass the, so called, KMP test which has become the acid test for program specialisation techniques; the automatic generation of a fast pattern nuclear from a naive one.&lt;/p&gt;&lt;p&gt;To this end, a number of techniques for termination analysis are developed culminating in the identification of a useful termination criterion for coroutining logic programs. Such programs are notoriously difficult to prove terminating, yet they provide an extremely useful model for an essential part of the program specialisation process. Tackling this problem in turn leads to the establishment of a solid link between the fields of program specialisation and termination analysis, laying the foundation for the proposed offline approach.&lt;/p&gt;","abstract_has_math":false,"creators":["Martin, Jonathan Charles"],"institution":"University of Southampton","degree_name":"Ph.D.","degree_level":"doctoral","degree_discipline":null,"degree_department":null,"school":null,"contributors":[],"advisors":[],"committee_chairs":[],"committee_members":[],"year":2000,"date_issued":"2000","date_published":"2000","updated_at":"2026-11-19T09:36:44Z","subjects":[],"languages":["English","eng"],"rights":[],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":null,"outbound_label":null,"outbound_source":null,"record_url":null,"record_label":null,"record_kind":null,"record_source":null,"download_url":"https://eprints.soton.ac.uk/id/eprint/464220/1/758182.pdf","download_label":"Download PDF","download_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"source_record":{"url":"https://eprints.soton.ac.uk/cgi/oai2?verb=GetRecord&metadataPrefix=uketd_dc&identifier=oai%3Aeprints.soton.ac.uk%3A464220","prefix":"uketd_dc"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:creator","label":"Author","values":["Martin, Jonathan Charles"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["2000"]},{"key":"dc:date.issued","label":"Date","values":["2000"]},{"key":"dc:publisher.commercial","label":"Dc Publisher Commercial","values":["University of Southampton"]},{"key":"dc:publisher.department","label":"Dc Publisher Department","values":["Electronics & Computer Science (pre 2011 reorg)"]},{"key":"dc:publisher.institution","label":"Dc Publisher Institution","values":["University of Southampton"]},{"key":"dc:relation.isreferencedby","label":"Dc Relation Isreferencedby","values":["https://eprints.soton.ac.uk/id/eprint/464220/"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]},{"key":"dc:type.qualificationlevel","label":"Dc Type Qualificationlevel","values":["doctoral"]},{"key":"dc:type.qualificationname","label":"Dc Type Qualificationname","values":["Ph.D."]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language","label":"Dc Language","values":["English"]},{"key":"dc:language.dcterms_iso639_2","label":"Language (ISO 639-2)","values":["eng"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://eprints.soton.ac.uk/id/eprint/464220/1/758182.pdf"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["<p>This thesis studies termination of logic programs and termination of program specialisation in particular. Two approaches to the latter are traditionally recognised. The <i>offline</i> approach divides the specialisation process into two phases; the first is an analysis phase which gathers termination information which is used to guide the specialisation proper in the second phase. This separation of components provides an identifiable termination component within a tool and is good software engineering practice. It also offers a number of other advantages over the <i>online</i> approach where the two phases are intertwined. In logic programming, however, the focus of attention has been on online techniques since they have generally offered better potential for optimisation.</p><p>This thesis proposes the first solution to automatic, offline specialisation of logic programs which compares favourably with current online techniques with regard to its optimisation capability. Specifically, it is the first offline technique in logic programming to pass the, so called, KMP test which has become the acid test for program specialisation techniques; the automatic generation of a fast pattern nuclear from a naive one.</p><p>To this end, a number of techniques for termination analysis are developed culminating in the identification of a useful termination criterion for coroutining logic programs. Such programs are notoriously difficult to prove terminating, yet they provide an extremely useful model for an essential part of the program specialisation process. Tackling this problem in turn leads to the establishment of a solid link between the fields of program specialisation and termination analysis, laying the foundation for the proposed offline approach.</p>"]},{"key":"dc:format","label":"Dc Format","values":["text"]},{"key":"dcterms:accessrights","label":"Dcterms Accessrights","values":["public"]},{"key":"dc:title","label":"Title","values":["Judgement day : terminating logic problems"]}]}],"canonical_facts":{"dc:creator":["Martin, Jonathan Charles"],"dc:date":["2000"],"dc:date.issued":["2000"],"dc:description.abstract":["<p>This thesis studies termination of logic programs and termination of program specialisation in particular. Two approaches to the latter are traditionally recognised. The <i>offline</i> approach divides the specialisation process into two phases; the first is an analysis phase which gathers termination information which is used to guide the specialisation proper in the second phase. This separation of components provides an identifiable termination component within a tool and is good software engineering practice. It also offers a number of other advantages over the <i>online</i> approach where the two phases are intertwined. In logic programming, however, the focus of attention has been on online techniques since they have generally offered better potential for optimisation.</p><p>This thesis proposes the first solution to automatic, offline specialisation of logic programs which compares favourably with current online techniques with regard to its optimisation capability. Specifically, it is the first offline technique in logic programming to pass the, so called, KMP test which has become the acid test for program specialisation techniques; the automatic generation of a fast pattern nuclear from a naive one.</p><p>To this end, a number of techniques for termination analysis are developed culminating in the identification of a useful termination criterion for coroutining logic programs. Such programs are notoriously difficult to prove terminating, yet they provide an extremely useful model for an essential part of the program specialisation process. Tackling this problem in turn leads to the establishment of a solid link between the fields of program specialisation and termination analysis, laying the foundation for the proposed offline approach.</p>"],"dc:format":["text"],"dc:identifier.uri":["https://eprints.soton.ac.uk/id/eprint/464220/1/758182.pdf"],"dc:language":["English"],"dc:language.dcterms_iso639_2":["eng"],"dc:publisher.commercial":["University of Southampton"],"dc:publisher.department":["Electronics & Computer Science (pre 2011 reorg)"],"dc:publisher.institution":["University of Southampton"],"dc:relation.isreferencedby":["https://eprints.soton.ac.uk/id/eprint/464220/"],"dcterms:accessrights":["public"],"dc:title":["Judgement day : terminating logic problems"],"dc:type":["Thesis"],"dc:type.qualificationlevel":["doctoral"],"dc:type.qualificationname":["Ph.D."]},"updated_at":"2026-11-19T09:36:44Z"}