paper

For-loops in Logic Programming

arXiv:1606.04240

Abstract

Logic programming has traditiLogic programming has traditionally lacked devices for expressing iterative tasks. To overcome this problem, this paper proposes iterative goal formulas of the form $\seqandq{x}{L} G$ where is a goal, is a variable, and is a list. $\seqandq{x}{L}$ is called a parallel bounded quantifier. These goals allow us to specify the following task: iterate with ranging over all the elements of . onally lacked devices for expressing iterative tasks. To overcome this problem, this paper proposes iterative goal formulas of the form $\seqandq{x}{L} G$ where is a goal, is a variable, and is a list. $\seqandq{x}{L}$ is called a parallel bounded quantifier. These goals allow us to specify the following task: iterate with ranging over all the elements of .

5 pages. slightly revised from my previous Korean paper (KIPS transactions, part A, vol 19, no.1, 2012.)

References in corpus (2)