Verifying Datalog Reasoning with Lean

Publikation: Beitrag in Buch/Konferenzbericht/Sammelband/GutachtenBeitrag in KonferenzbandBeigetragenBegutachtung

Abstract

Datalog is an essential logical rule language with many applications, and modern rule engines compute logical consequences for Datalog with high performance and scalability. While Datalog is rather simple and, in principle, explainable by design, such sophisticated implementations and optimizations are hard to verify. We therefore propose a certificate-based approach to validate results of Datalog reasoners in a formally verified checker for Datalog proofs. Using the proof assistant Lean, we implement such a checker and verify its correctness against direct formalizations of the Datalog semantics. We propose two JSON encodings for Datalog proofs: one using the widely supported Datalog proof trees, and one using directed acyclic graphs for succinctness. To evaluate the practical feasibility and performance of our approach, we validate proofs that we obtain by converting derivation traces of an existing Datalog reasoner into our tool-independent format.

Details

OriginalspracheEnglisch
Titel16th International Conference on Interactive Theorem Proving, ITP 2025
Redakteure/-innenYannick Forster, Chantal Keller
Herausgeber (Verlag)Schloss Dagstuhl- Leibniz-Zentrum für Informatik GmbH, Dagstuhl Publishing
ISBN (elektronisch)9783959773966
PublikationsstatusVeröffentlicht - 22 Sept. 2025
Peer-Review-StatusJa

Publikationsreihe

ReiheLeibniz International Proceedings in Informatics, LIPIcs
Band352
ISSN1868-8969

Konferenz

Titel16th International Conference on Interactive Theorem Proving
KurztitelITP 2025
Veranstaltungsnummer16
Beschreibungpart of FroCoS/ITP/TABLEAUX 2025
Dauer28 September - 1 Oktober 2025
Webseite
OrtReykjavík University
StadtReykjavik
LandIsland

Externe IDs

ORCID /0000-0002-3293-2940/work/196054904

Schlagworte

ASJC Scopus Sachgebiete

Schlagwörter

  • Certifying Algorithms, Datalog, Formal Verification