Skip to main content
QUICK REVIEW

[Paper Review] Structural Resolution: a Framework for Coinductive Proof Search and Proof Construction in Horn Clause Logic

Ekaterina Komendantskaya, Patricia Johann|arXiv (Cornell University)|Nov 24, 2015
Logic, programming, and type systemsComputer Science16 references11 citations
TL;DR

This paper introduces structural resolution, a novel framework for coinductive proof search and construction in Horn clause logic that ensures productivity in infinite derivations. By redefining resolution to prioritize termination of rewriting reductions, it enables sound, observable inference of infinite, rational, and irrational productive terms—bridging logic programming with coinductive methods in interactive theorem proving and term rewriting systems.

ABSTRACT

Logic programming (LP) is a programming language based on first-order Horn clause logic that uses SLD-resolution as a semi-decision procedure. Finite SLD-computations are inductively sound and complete with respect to least Herbrand models of logic programs. Dually, the corecursive approach to SLD-resolution views infinite SLD-computations as successively approximating infinite terms contained in programs' greatest complete Herbrand models. State-of-the-art algorithms implementing corecursion in LP are based on loop detection. However, such algorithms support inference of logical entailment only for rational terms, and they do not account for the important property of productivity in infinite SLD-computations. Loop detection thus lags behind coinductive methods in interactive theorem proving (ITP) and term-rewriting systems (TRS). Structural resolution is a newly proposed alternative to SLD-resolution that makes it possible to define and semi-decide a notion of productivity appropriate to LP. In this paper, we prove soundness of structural resolution relative to Herbrand model semantics for productive inductive, coinductive, and mixed inductive-coinductive logic programs. We introduce two algorithms that support coinductive proof search for infinite productive terms. One algorithm combines the method of loop detection with productive structural resolution, thus guaranteeing productivity of coinductive proofs for infinite rational terms. The other allows to make lazy sound observations of fragments of infinite irrational productive terms. This puts coinductive methods in LP on par with productivity-based observational approaches to coinduction in ITP and TRS.

Motivation & Objective

  • To address the limitation of existing coinductive logic programming methods that rely on loop detection and fail to ensure productivity in infinite derivations.
  • To provide a computationally sound and semantically complete framework for coinductive proof search that supports both rational and irrational productive infinite terms.
  • To align logic programming's coinductive inference with observational productivity principles used in interactive theorem proving and term rewriting systems.
  • To establish a formal connection between productivity in logic programming and termination of term-rewriting reductions, enabling cross-pollination with TRS research.
  • To support interactive theorem proving and type theory by introducing a coinductive proof principle grounded in observable, finite approximations of infinite computations.

Proposed method

  • Proposes structural resolution as a new resolution strategy that replaces SLD-resolution by focusing on rewriting reductions to ensure productivity.
  • Defines a notion of observational productivity based on the termination of rewriting reductions, ensuring that infinite derivations yield observable, finite fragments.
  • Introduces two algorithms: one combining loop detection with productive structural resolution for rational infinite terms, and another enabling lazy, sound observation of fragments of irrational productive terms.
  • Establishes soundness of structural resolution relative to Herbrand model semantics for inductive, coinductive, and mixed inductive-coinductive programs.
  • Uses term trees and rewriting trees to model infinite derivations and formalize the operational semantics of productive coinductive inference.
  • Leverages coalgebraic and bialgebraic foundations to connect structural resolution with existing coinductive and algebraic semantics in logic programming.

Experimental results

Research questions

  • RQ1How can coinductive proof search in Horn clause logic be made productive, ensuring that infinite derivations yield observable, finite fragments?
  • RQ2What is a computationally sound and semantically complete operational semantics for coinductive logic programming that supports both rational and irrational infinite terms?
  • RQ3How can structural resolution be defined to ensure termination of rewriting reductions, thereby guaranteeing productivity in infinite derivations?
  • RQ4In what way does structural resolution bridge the gap between logic programming and observational coinduction in interactive theorem proving and term rewriting systems?
  • RQ5How can the connection between productivity in logic programming and termination in term rewriting systems be formalized and exploited for inference?

Key findings

  • Structural resolution is sound with respect to Herbrand model semantics for inductive, coinductive, and mixed inductive-coinductive logic programs.
  • The framework enables semi-decision of logical entailment for infinite, productive terms, including both rational and irrational ones.
  • The proposed algorithms guarantee productivity in coinductive proofs: one for rational terms via loop detection, and another for lazy, sound observation of fragments of irrational productive terms.
  • Productivity in structural resolution is defined via termination of rewriting reductions, linking logic programming coinduction to the termination literature in term rewriting systems.
  • The approach aligns with observational productivity in ITP and TRS, particularly in the style of guarded corecursion and clocked corecursion.
  • The work opens new avenues for extending type inference and coinductive reasoning to richer programming language features through a unified, productivity-aware framework.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.