-
Views
-
Cite
Cite
Hien D Nguyen, Chiaki Sakama, Taisuke Sato, Katsumi Inoue, An efficient reasoning method on logic programming using partial evaluation in vector spaces, Journal of Logic and Computation, Volume 31, Issue 5, July 2021, Pages 1298–1316, https://doi.org/10.1093/logcom/exab010
- Share Icon Share
Abstract
In this paper, we introduce methods of encoding propositional logic programs in vector spaces. Interpretations are represented by vectors and programs are represented by matrices. The least model of a definite program is computed by multiplying an interpretation vector and a program matrix. To optimize computation in vector spaces, we provide a method of partial evaluation of programs using linear algebra. Partial evaluation is done by unfolding rules in a program, and it is realized in a vector space by multiplying program matrices. We perform experiments using artificial data and real data, and show that partial evaluation has the potential for realizing efficient computation of huge scale of programs in vector spaces.