Skip to content

Plan, apply and roll back changes to a production ontology, with a blast radius report and a proof an auditor can re-check.

Merge branch 'main' into prove-the-bridge

Fabio Rovaib7e6eb4c254c
diff --cc README.md
index 5b90684e,9fb7d885..be07d403
--- a/README.md
+++ b/README.md
@@@ -107,33 -107,20 +107,33 @@@ carries a certificate per claim. See [d
Every line above is worth less if this section is missing, so it is here rather than in a file
nobody opens. These are the load-bearing limits, and none of them is hypothetical.
- **The Rust engine is almost entirely unverified.** The theorems are conditional: they say that IF
- the asserted graph is what the certificate claims and IF the derivation steps are the ones taken,
- THEN the conclusions hold. Everything to the left of that is a serialiser, a parser and an
- interner, and if they misrepresent the run, a valid proof certifies the wrong thing. That boundary
- is named property by property in [docs/trusted-computing-base.md](docs/trusted-computing-base.md),
- property-tested, and partly bounded-model-checked. It is not verified. This work verified the
- joint, not the machine.
+ **The Rust engine is not verified.** The theorems are conditional on it reporting the run
+ faithfully. That boundary is twenty-nine properties: `make verify` bounded-model-checks six, and
+ five are enforced by the engine rather than observed of a dependency, two properties being in both
+ counts. Two are irreducible, because they are about an execution and not a function: that
+ `asserted.tsv` is the graph reasoned over, and that `derivations.tsv` covers every triple added.
+ Those are property-tested end to end, which is not proved.
+ [docs/trusted-computing-base.md](docs/trusted-computing-base.md) says which is which.
-**The bridge to the specification is prose, not a theorem.** Fourteen rule arms used to be
-assumed rather than derived, and they are now derived, each with an empty axiom footprint, over a
-structure carrying the W3C conditions at full strength. What is still assumed is the reading that
-turns a conforming interpretation into one of ours, and five facts from the axiomatic-triple
-tables that reading needs. Formalising the specification side properly means building its whole
-interpretation structure in core Lean, and that has not been done.
+**The bridge to the specification is a theorem, and what stands in its place now is smaller and a
+different kind of thing.** An OWL 2 RDF-Based interpretation is a Lean structure in its own right:
+the parts of RBS Table 5.1 the rules reach, and RDF 1.1 Semantics section 5's truth clause with its
+`I(p) ∈ IP` conjunct. `OOCert.Conforming.toW3C` proves that every such interpretation carries the
+W3C conditions at full strength, and the five axiomatic-triple facts the old prose assumed are
+discharged inside that proof, from five triples of the RDF and RDFS axiomatic tables carried as
+quoted fields. `OOCert.certificate_conforming_sound` is then the sentence: a checked certificate's
+conclusions are true, in the specification's own sense of true, in every interpretation meeting
+those conditions that satisfies the asserted graph. One of the five facts was previously sourced to
+a triple whose predicate is the wrong one, which is why it is now taken from
+`rdf:type rdfs:range rdfs:Class .` instead.
+
+What is left is a containment, not a reading: the condition list is a SUBSET of the
+Recommendation's, which is the safe direction and is why it is allowed, and that it is a subset is
+checked cell by cell by a reader rather than by Lean. Two smaller things are named at the file.
+`IL` is total, following RBS section 4.2's wording, which excludes RDF 1.1 interpretations in which
+a literal fails to denote; that one does not run in the safe direction, and closing it needs a
+term-occurrence lemma about `checkStep` that nobody has written. And one reading is load-bearing:
+RBS Table 5.4 at `n = 0`, which the engine's `cls-int1` already depends on for empty lists.
**Two kernels agreeing is weaker than it sounds.** They are theorems over model classes nobody has
ordered in either direction, so "both said entailed" means less than a reader would naturally take