• Home
  • Search
  • On Systematic Construction of Correct Logic Programs
  • https://doi.org/10.1017/s1471068425100239Copy DOI Icon

On Systematic Construction of Correct Logic Programs

Show More
  • Abstract
  • Literature Map
  • References
  • Similar Papers
Abstract

Abstract Partial correctness of imperative or functional programming divides in logic programming into two notions. Correctness means that all answers of the program are compatible with the specification. Completeness means that the program produces all the answers required by the specifications. We also consider semi-completeness – completeness for those queries for which the program does not diverge. This paper presents an approach to systematically construct provably correct and semi-complete logic programs, for a given specification. Normal programs are considered, under Kunen’s 3-valued completion semantics (of negation as finite failure) and the well-founded semantics (of negation as possibly infinite failure). The approach is declarative, it abstracts from details of operational semantics, like, for example, the form of the selected literals (“procedure calls”) during the computation. The proposed method is simple and can be used (maybe informally) in actual everyday programming.

Similar Papers
  • Conference Article
  • Citations1

Reconciling Well-Founded Semantics of DL-Programs and Aggregate Programs

  • Jan 01, 2012
  • DROPS (Schloss Dagstuhl – Leibniz Center for Informatics)
  • Jia-Huai You +2
  • Research Article
  • Citations49

Relating defeasible and normal logic programming through transformation properties

  • Mar 18, 2002
  • Theoretical Computer Science
  • Carlos Iván Chesñevar +3
  • Research Article
  • Citations4

The intricacies of three-valued extensional semantics for higher-order logic programs

  • Aug 23, 2017
  • Theory and Practice of Logic Programming
  • Panos Rondogiannis +1
  • Book Chapter
  • Citations5

A Top-Down Procedure for Disjunctive Well-Founded Semantics

  • Jan 01, 2001
  • Kewen Wang
  • Book Chapter
  • Citations25

Strong and explicit negation in non-monotonic reasoning and logic programming

  • Jan 01, 1996
  • José Júlio Alferes +2
  • Book Chapter
  • Citations29

Preserving Strong Equivalence while Forgetting

  • Jan 01, 2014
  • Matthias Knorr +1
  • Book Chapter
  • Citations1

Belief, provability, and logic programs

  • Sep 05, 1994
  • José Júlio Alferes +1
  • Book Chapter

MBNF and Related Topics

  • Jan 01, 1993
  • Lúıs Moniz Pereira +1
  • Research Article
  • Citations19

Correctness and Completeness of Logic Programs

  • May 18, 2016
  • ACM Transactions on Computational Logic
  • Włodzimierz Drabent
  • Research Article
  • Citations24

Query-Driven Procedures for Hybrid MKNF Knowledge Bases

  • Jun 01, 2013
  • ACM Transactions on Computational Logic
  • José Júlio Alferes +2
  • Research Article
  • Citations3

Contextual hypotheses and semantics of logic programs

  • Jul 25, 2011
  • Theory and Practice of Logic Programming
  • Éric A Martin
  • Research Article
  • Citations10

On the equivalence of the static and disjunctive well-founded semantics and its computation

  • Apr 27, 2001
  • Theoretical Computer Science
  • Stefan Brass +3
  • Research Article
  • Citations8

On the problem of computing the well-founded semantics

  • Sep 01, 2001
  • Theory and Practice of Logic Programming
  • Zbigniew Lonc +1
  • Book Chapter
  • Citations31

Computing the well-founded semantics faster

  • Jan 01, 1995
  • Kenneth A Berman +2
  • Conference Article
  • Citations12

Probabilistic Logic Programming with Well-Founded Negation

  • May 01, 2012
  • S Hadjichristodoulou +1
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.