A class of prolog programs with non-linear outputs inferable from positive data

  • Authors:
  • M. R. K. Krishna Rao

  • Affiliations:
  • Information and Computer Science Department, King Fahd University of Petroleum and Minerals, Dhahran, Saudi Arabia

  • Venue:
  • ALT'05 Proceedings of the 16th international conference on Algorithmic Learning Theory
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

In this paper, we study inferability of Prolog programs from positive examples alone. We define a class of Prolog programs called recursion bounded programs that can capture non-linear relationships between inputs and outputs and yet inferable from positive examples. This class is rich enough to include many programs like append, delete, insert, reverse, permute, count, listsum, listproduct, insertion-sort, quick-sort on lists, various tree traversal programs and addition, multiplication, factorial, power on natural numbers. The relation between our results and the known results is also discussed. In particular, the class of recursion bounded programs contains all the known terminating linearly-moded Prolog programs of Krishna Rao [7] and additional programs like power on natural numbers which do not belong to the class of linearly-moded programs and the class of safe programs of Martin and Sharma [12].