Skip to main content
QUICK REVIEW

[Paper Review] Structural Resolution for Logic Programming

Patricia Johann, Ekaterina Komendantskaya|arXiv (Cornell University)|Jun 2, 2015
Logic, programming, and type systemsComputer Science14 references5 citations
TL;DR

This paper introduces a Three Tier Tree Calculus ($T^{3}C$) that formalizes three hierarchical levels of tree structures—term trees, rewriting trees, and derivation trees—for modeling proof search in logic programming. It proposes structural resolution, a new operational semantics that systematically captures infinity, non-determinism, and observability in logic programming, offering a foundation for sound and complete derivations even in non-terminating or coinductive settings.

ABSTRACT

We introduce a Three Tier Tree Calculus (3TC) that defines in a systematic way three tiers of tree structures underlying proof search in logic programming. We use 3TC to define a new -- structural -- version of resolution for logic programming.

Motivation & Objective

  • To address the limitations of traditional SLD-resolution in handling non-terminating and coinductive logic programs.
  • To formalize a systematic operational semantics that reflects both infinite structures and non-deterministic proof search strategies.
  • To provide a constructive, observational approach to proof search that supports both inductive and coinductive reasoning in logic programming.
  • To bridge the gap between declarative semantics (e.g., Herbrand models) and operational behavior by modeling proof search through structured tree transitions.
  • To lay the groundwork for a type-theoretic analogy in logic programming, akin to pattern matching and dependent types in interactive theorem proving.

Proposed method

  • Introduces a Three Tier Tree Calculus ($T^{3}C$) with three levels: term trees (syntactic terms), rewriting trees (matching transitions), and derivation trees (unification-based transitions).
  • Defines tree transitions via the operation $\mathsf{Trans}(P, T, X) = T_X$, which models how a rewriting tree evolves under resolution with a clause.
  • Uses rewriting trees $\mathsf{rew}(P, C, \sigma)$ to represent intermediate states of proof search, parameterized by a clause $C$ and a substitution $\sigma$.
  • Constructs derivation trees $\mathsf{der}(P, C)$ as functions from indices to rewriting trees, capturing all possible unification paths in a derivation.
  • Employs a hierarchical tree structure to track proof search: term trees (input), rewriting trees (matching), and derivation trees (unification sequences).
  • Proposes S-derivations—sequences of tree transitions—as a new form of derivation that generalizes SLD-resolution by explicitly modeling structural and operational behavior.

Experimental results

Research questions

  • RQ1How can a formal operational semantics be developed that captures both infinity and non-determinism in logic programming proof search?
  • RQ2Can a tree-based calculus be constructed that systematically models the three levels of structure underlying logic program derivations?
  • RQ3How can structural resolution be made sound and complete with respect to both inductive and coinductive semantics of logic programs?
  • RQ4What is the relationship between structural resolution and existing operational methods like SLD-resolution and coinductive logic programming?
  • RQ5Can the $T^{3}C$ framework support semi-decidable checks for productivity and guardedness in coinductive logic programs, analogous to those in interactive theorem proving?

Key findings

  • The Three Tier Tree Calculus ($T^{3}C$) provides a formal, hierarchical framework for modeling logic program proof search across three levels: term trees, rewriting trees, and derivation trees.
  • Structural resolution, based on $T^{3}C$, offers a new operational semantics that supports both inductive and coinductive reasoning, overcoming limitations of SLD-resolution in non-terminating cases.
  • The framework enables the construction of infinite derivation trees for coinductive programs like $P_2$, which generate infinite terms such as $\mathtt{from(0,[0,[s(0),\ldots]])}$, even when CoLP fails due to lack of unifiable loops.
  • S-derivations are shown to be sound and complete relative to declarative semantics, with ongoing work to formally prove coinductive soundness.
  • The method supports mixed induction-coinduction by tracking all unification sequences through derivation trees, avoiding the loop-detection limitations of CoLP.
  • The approach provides a conceptual and formal foundation for connecting logic programming with type theory and interactive theorem proving, particularly through structural pattern matching and observability principles.

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.