Judgement day : terminating logic problems
Judgement day : terminating logic problems
This thesis studies termination of logic programs and termination of program specialisation in particular. Two approaches to the latter are traditionally recognised. The offline 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 online 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.
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.
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.
University of Southampton
Martin, Jonathan Charles
07377ddd-1a15-47ea-925f-1667bee88d7a
2000
Martin, Jonathan Charles
07377ddd-1a15-47ea-925f-1667bee88d7a
Martin, Jonathan Charles
(2000)
Judgement day : terminating logic problems.
University of Southampton, Doctoral Thesis.
Record type:
Thesis
(Doctoral)
Abstract
This thesis studies termination of logic programs and termination of program specialisation in particular. Two approaches to the latter are traditionally recognised. The offline 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 online 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.
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.
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.
Text
758182.pdf
- Version of Record
More information
Published date: 2000
Identifiers
Local EPrints ID: 464220
URI: http://eprints.soton.ac.uk/id/eprint/464220
PURE UUID: 9fc4532f-be9f-4c74-9c53-35b20900a85f
Catalogue record
Date deposited: 04 Jul 2022 21:37
Last modified: 16 Mar 2024 19:21
Export record
Contributors
Author:
Jonathan Charles Martin
Download statistics
Downloads from ePrints over the past year. Other digital versions may also be available to download e.g. from the publisher's website.
View more statistics