Source: fabio-rovai/open-ontologies — the README, docs/trusted-computing-base.md and the known-limitations section of docs/lean-certificates.md. MIT, Rust, created 2026-03-09, last push 2026-11-24, latest release v2.1.0, 3,060 stars / 344 forks / 22 watchers / 6 open issues / 1,248 commits as of 2026-11-29. Maintained by one person at a company that sells a hosted version. Two cited preprints (arXiv:2605.09184, arXiv:2605.09168) are outside what this summary covers.
What it is
A single Rust binary that treats an ontology change the way Terraform treats an infrastructure change: plan the change, read a blast-radius report, apply it, watch for drift, rollback when it was wrong — plus one step Terraform has no analogue for, certify, which writes a machine-checkable proof of what the reasoner derived. It speaks MCP, so a coding agent operates the whole loop in conversation. The project is explicit that it is not an ontology editor; it runs on the change, before the change reaches production.
The problem it names is concrete and generalises past ontologies. A text diff tells you what changed in the file. It does not tell you what the change newly implies. The front-page example is one line — declaring a domain on a property — and the structural report is reassuring in every column: zero classes added, zero removed, blast radius zero triples affected, risk low. The same run then reports 901 new logical consequences, because the declaration gave a new type to every individual that already had the property. One correct line, a one-line diff, and 901 facts that were not there before.
The architecture worth copying
Three pieces, and the third is the unusual one.
A plan with two kinds of answer. Structural deltas (what the file says) and semantic deltas (what the file now entails) are reported side by side, under separate names, with a conservativity verdict saying whether the change is conservative under the rule table used. Neither number is allowed to stand in for the other.
A proof as two text files. asserted.tsv holds the claims; derivations.tsv holds one line per inference step, each naming its rule, its conclusion and its premises. For the three-triple worked example the pair is 1.3 KB. A checker reads each line, re-derives the conclusion from that line's premises under the named rule, and confirms each premise is either asserted or concluded by an earlier line. No model, no network, no vendor.
A checker with a soundness theorem, written in a different language. The checkers are Lean 4 (core Lean, no Mathlib), shipped in the same repository, sharing no code with the engine. They accept a valid certificate, and on a forged one they exit 1, name the line, name the rule that does not hold, and print the premises so you can see they do not support the conclusion. The project puts the refusal, not the acceptance, forward as the part that survives examination — which is the right instinct, because an acceptance-only demo proves nothing about a checker.
The operational consequence is the point: because the proof is a file, the set of people who can check it is no longer the set of people running the software. The README's own table is worth stealing as a design prompt — you in the loop, a reviewer in CI, an auditor months later on archived files, and a different agent that has received a claim from an agent it does not trust. That last row is the one that will matter as agents start handing each other derived facts.
The "if" in front of the theorem
The claim travelling about this project is that the Lean checker verifies the derivations without relying on the correctness of the reasoning engine. That is not quite what it does, and the project's own documentation is the clearest source on why.
The soundness theorem is a conditional: if the asserted graph is G, and if these steps check, then every conclusion holds in every model of G. Everything to the left of that "if" is the engine writing down the truth. The project states the failure mode in one sentence: if the engine emits a certificate whose asserted file is not the graph it actually reasoned over, or whose steps are not the steps it took, then a valid proof certifies a false claim and the whole layer is decoration.
The checkers are pure functions of files on disk. They cannot see the store, so they cannot tell whether the asserted file is the store's contents. They cannot see the reasoner's execution, so they cannot tell whether a recorded step was ever taken. They cannot see the store afterwards, so they cannot tell whether something was materialised with no certificate line covering it. They cannot see the rule file you passed. And they cannot see which graphs the run selected — which the project singles out as different in kind, because every other blind spot can make a checker reject a legitimate run, and this one cannot fail at all. A certificate over the union of every version of a bitemporal register is a true statement about a state of the world that never existed.
So the reduction in trust is real but narrower than advertised: trust in the soundness of the recorded steps is genuinely removed and replaced with a proof. Trust in the engine's honest reporting of what it reasoned over remains. Stating it that way costs nothing and is the difference between a claim that survives a reviewer and one that does not.
Where the guarantee stops
These come from the project's own limitation pages, which is itself the most unusual thing about it.
Completeness is not covered, and for a change-review tool that is the gap that matters. The checker proves each recorded step is a sound instance of a rule; it says nothing about whether the engine found every inference. A certificate is evidence about what was derived, not about what follows. A missed consequence is exactly the failure a blast-radius report exists to prevent.
Negative answers carry no certificate at all. Model certificates cover positive satisfiability only. Unsatisfiability and inconsistency — the answers a consistency check is usually asked for — come back as an engine opinion.
The second engine is not independent, and the project says never to quote it as if it were. A differential harness runs the Rust engine, a pure-Python engine and the Lean checker over every RDF document the repository tracks and reports a clean sweep. But both engines run the same algorithm over the same rule table, and the Python was written with the Rust open, citing it by file and line. That is strong evidence against a transcription slip and close to no evidence against a shared misreading of a specification, which both would implement identically for ever. The tool prints that caveat beside its own agreement count on every run. The independent leg is the checker.
Rule coverage is two numbers that must not be added. Twenty of twenty-seven rules fire on the repository's real corpus (291 documents, 203,825 asserted triples); twenty-seven of twenty-seven only once fixtures written for the purpose are counted. Seven rules have been compared on one purpose-built graph each and on no real data.
The rule table is the engine's own. Explicitly not an OWL 2 RL conformance claim, and not every rule in the profile is implemented.
One guarantee is cited, not checked. The module-extraction step rests on a 2008 published theorem; the project states plainly that it cites the theorem, that no machine checks it there, and that no file in its proof directory is about it. It offers a measurement instead.
The digest binds bytes, not a state of the world. A store that changed and changed back passes the check, and the command says so.
Inferences can become the next run's assertions. Materialising into the default graph turns a derived triple into something a later certified run reads as asserted, and the asserted file has no column marking provenance. Closed for a scoped run; still open for an unscoped one, which the project concedes is most of them.
The verified surface is small, and the project reports the proportion itself. The bounded-model-checking harnesses cover four pure functions totalling about twenty lines, against roughly fifty thousand lines of engine. Its own summary: this work verified the joint, not the machine. A later translation-based effort removes a length bound on those proofs but adds a new assumption — the theorems are about a tool-generated model of the Rust rather than the Rust — carried in a separate proof workspace that the main build does not reach.
Two defaults will bite a first-time user. Storage is in-memory unless an environment variable is set, so a load followed by a reason starts from an empty store and certifies nothing, behind a warning the README admits is easy to miss. And the data directory is a flag rather than an environment variable, so a demonstration run without it writes beside your real work.
The idea with the widest reach, which has nothing to do with ontologies
Buried in the proof table is a retrieval-evaluation argument that applies to any RAG system. A retrieved slice with 99% coverage can lose the one fact an answer needs; a slice with 60% coverage can keep every fact that matters. Coverage is a proxy, and the proxy rises monotonically as the slice grows — so a retriever tuned on coverage learns to fetch more, not to fetch the right things. The property you actually want is that the slice still supports the conclusion, and here that property is decidable and certified per claim.
That reframing is free to adopt. Any retrieval system whose output feeds a reasoning step can ask "does this slice still entail the answer?" instead of "what fraction of the relevant documents did I get?", and the two metrics disagree in exactly the cases that produce confident wrong answers.
Review checklist
For anyone evaluating this, or building something adjacent:
Is the guarantee conditional, and on what? Find the "if" in front of the theorem and name what sits to its left. A tool that states this itself is telling you where to look; one that does not is hiding the same gap.
Does it certify the negative answers? Satisfiability with a model is the easy direction. Inconsistency is usually the question, and here it is uncertified.
Is completeness in scope? Soundness of recorded steps and completeness of the search are different properties, and a change-impact report needs the second one.
Are the "independent" implementations independent? Shared algorithm plus shared rule table plus one written while reading the other equals one implementation with two spellings. Ask what the differential would catch and what it structurally cannot.
Which rules were exercised on real data? Coverage numbers that mix a real corpus with purpose-built fixtures are two numbers wearing one hat.
Does the artefact outlive the tool? A proof you can only check by running the vendor's binary is a screenshot with extra steps. Two text files and a published checker are not.
What happens to derived facts on the next run? If materialised inferences are indistinguishable from assertions later, provenance decays silently with every run.
Check the defaults before trusting a demo. In-memory stores that certify nothing, and data directories that default somewhere surprising, produce clean output that means nothing.
Related
R028 — a checked semantic layer and typed memory served to any MCP client, where the deterministic/model split is the design idea.
R159 — versioned knowledge graphs whose abstention mechanism tells an agent what it cannot answer.
R183 — an ontology runtime enforcing access control before the model reads, with provenance and retrieval traces as separately queryable artefacts.
R376 — a compiled semantic layer with an eval harness built to resist the number a social post would quote, including a rule that withholds its headline when diagnostics are bad.
R380 — a knowledge graph in plain files, where a promotion threshold decides what becomes navigable.
R256 — a governed ontology over live warehouse tables, with a draft/review/published lifecycle.