Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
97 tokens/sec
GPT-4o
53 tokens/sec
Gemini 2.5 Pro Pro
44 tokens/sec
o3 Pro
5 tokens/sec
GPT-4.1 Pro
47 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Typed SLD-Resolution: Dynamic Typing for Logic Programming (2208.00192v1)

Published 30 Jul 2022 in cs.PL

Abstract: The semantic foundations for logic programming are usually separated into two different approaches. The operational semantics, which uses SLD-resolution, the proof method that computes answers in logic programming, and the declarative semantics, which sees logic programs as formulas and its semantics as models. Here, we define a new operational semantics called TSLD-resolution, which stands for Typed SLD-resolution, where we include a value "wrong", that corresponds to the detection of a type error at run-time. For this we define a new typed unification algorithm. Finally we prove the correctness of TSLD-resolution with respect to a typed declarative semantics.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (3)
  1. João Barbosa (10 papers)
  2. Mário Florido (13 papers)
  3. Vítor Santos Costa (22 papers)
Citations (1)

Summary

We haven't generated a summary for this paper yet.