Une s\'emantique observationnelle du mod\`ele des bo\^ites pour la r\'esolution de programmes logiques (version \'etendue)
Pierre Deransart (INRIA Rocquencourt), Mireille Ducass\'e (IRISA),, G\'erard Ferrand (LIFO)

TL;DR
This paper presents an observational semantics and a pedagogical formalization of Byrd's box model for Prolog tracing, aiming to improve understanding and implementation of tracers by analyzing traces without loss of information.
Contribution
It introduces an original, implementation-independent formal semantics for Prolog tracers, highlighting the strengths and limitations of the box model.
Findings
Provides a simple, pedagogical formalization of Prolog tracing
Highlights the strengths and limitations of Byrd's box model
Offers a declarative specification for Prolog tracers
Abstract
This report specifies an observational semantics and gives an original presentation of the Byrd's box model. The approach accounts for the semantics of Prolog tracers independently of a particular implementation. Traces are, in general, considered as rather obscure and difficult to use. The proposed formal presentation of a trace constitutes a simple and pedagogical approach for teaching Prolog or for implementing Prolog tracers. It constitutes a form of declarative specification for the tracers. Our approach highlights qualities of the box model which made its success, but also its drawbacks and limits. As a matter of fact, the presented semantics is only one example to illustrate general problems relating to tracers and observing processes. Observing processes know, from observed processes, only their traces. The issue is then to be able to reconstitute by the sole analysis of the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Testing and Debugging Techniques · Software Engineering Research · Logic, programming, and type systems
