Typed SLD-resolution: dynamic typing for logic programming

From MaRDI portal
Publication:6103019

DOI10.1007/978-3-031-16767-6_7zbMATH Open1522.68098arXiv2208.00192MaRDI QIDQ6103019FDOQ6103019


Authors:


Publication date: 2 June 2023

Published in: Logic-Based Program Synthesis and Transformation (Search for Journal in Brave)

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.


Full work available at URL: https://arxiv.org/abs/2208.00192




Recommendations




Cites Work


Cited In (3)





This page was built for publication: Typed SLD-resolution: dynamic typing for logic programming

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q6103019)