Verifying Termination of General Logic Programs with Concrete Queries

06/21/2000
by   Yi-Dong Shen, et al.
0

We introduce a method of verifying termination of logic programs with respect to concrete queries (instead of abstract query patterns). A necessary and sufficient condition is established and an algorithm for automatic verification is developed. In contrast to existing query pattern-based approaches, our method has the following features: (1) It applies to all general logic programs with non-floundering queries. (2) It is very easy to automate because it does not need to search for a level mapping or a model, nor does it need to compute an interargument relation based on additional mode or type information. (3) It bridges termination analysis with loop checking, the two problems that have been studied separately in the past despite their close technical relation with each other.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/13/2009

Termination Prediction for General Logic Programs

We present a heuristic framework for attacking the undecidable terminati...
research
07/20/2020

A Separation Logic to Verify Termination of Busy-Waiting for Abrupt Program Exit: Technical Report

Programs for multiprocessor machines commonly perform busy-waiting for s...
research
10/22/2020

Ghost Signals: Verifying Termination of Busy-Waiting

Programs for multiprocessor machines commonly perform busy-waiting for s...
research
07/21/2023

Binary Non-Termination in Term Rewriting and Logic Programming

We present a new syntactic criterion for the automatic detection of non-...
research
05/15/2014

Application of Methods for Syntax Analysis of Context-Free Languages to Query Evaluation of Logic Programs

My research goal is to employ a parser generation algorithm based on the...
research
04/22/2023

Fairness in Ranking Supermartingales

Lexicographic Ranking SuperMartingale (LexRSM) is a generalization of Ra...
research
06/07/2020

J-Logic: a Logic for Querying JSON

We propose a logical framework, based on Datalog, to study the foundatio...

Please sign up or login with your details

Forgot password? Click here to reset