Cycles at the Edge of Decidability: SABRINA, a Kernel-Verified SROIQ (D) OWL 2 DL Reasoner
This article presents SABRINA, a reasoning and certification engine for SROIQ(D) and OWL 2 DL implemented in Lean 4. It proves termination, soundness, and completeness of a cyclic blocked-forest decision procedure for admitted inputs under SABRINA’s formal semantics. The implementation combines datatype reasoning, syntactic locality-based module extraction, EL++ completion, and incremental maintenance of ontology assertions. The article gives a necessary and sufficient criterion for the compiler to assign numeric ranks to role hierarchies. A mechanized reduction from context-free grammar intersection establishes class-wide undecidability of satisfiability and subclass entailment for the broader class admitted by a literal pairwise reading of the hierarchy clauses in W3C OWL 2 Sections 11.1 and 11.2. The article documents the limits of correspondence between the Lean formalization and the external syntax and datatype standards. The evaluation compares SABRINA with HermiT and ELK on BFO 2020, synthetic workloads, and biomedical ontologies, including a version of Gene Ontology with 71,501 logical axioms. A separate audit identifies a nine-axiom ontology that passes the OWL API profile check. It is inconsistent under OWL 2 Direct Semantics, yet HermiT 1.4.5.519 and Openllet 2.6.5 report it as consistent. The accompanying software archive contains the Lean source, standalone counterexamples, benchmark scripts for Tracks 5 and 6 and the boundary audit, and recorded results for all six tracks. The archive is available at https://doi.org/10.5281/zenodo.24521179.
Authors
- Hugo Cardoso Ferreira de Araujo (ORCID: https://orcid.org/0009-0003-5773-5331)
Institutions
- Universidade de São Paulo (BR)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-25
- DOI
- https://doi.org/10.5281/zenodo.24521414
- Primary Topic
- Semantic Web and Ontologies
- Type
- preprint