Hostname: page-component-89b8bd64d-nlwjb Total loading time: 0 Render date: 2026-05-07T23:52:09.185Z Has data issue: false hasContentIssue false

On Program Completion, with an Application to the Sum and Product Puzzle

Published online by Cambridge University Press:  18 July 2023

VLADIMIR LIFSCHITZ*
Affiliation:
University of Texas, Austin, TX, USA (e-mail: lifschitzv@gmail.com)
Rights & Permissions [Opens in a new window]

Abstract

This paper describes a generalization of Clark’s completion that is applicable to logic programs containing arithmetic operations and produces syntactically simple, natural looking formulas. If a set of first-order axioms is equivalent to the completion of a program, then we may be able to find standard models of these axioms by running an answer set solver. As an example, we apply this “reverse completion” procedure to the Sum and Product Puzzle.

Information

Type
Original Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2023. Published by Cambridge University Press