This file backs every factual claim in README.adoc with code paths and honest caveats. Read it if you are doing due diligence on whether the story matches the code.
The two pillars are logically independent (a proved theorem, with witnesses).
- How this is implemented
-
The independence theorem is proved in Coq, anchored to the core
is_CNOdefinition. Witnesses demonstrating that CNO does not entail OND and OND does not entail CNO are constructed. - Caveat
-
None currently known for the independence proof itself. However, the coupling dial between them (connecting a thing to the trace it casts) is explicitly framing, not theorem.
_OND obligations OND-1..5 are proved with zero axioms in Coq (proofs/coq/ond/OND.v, every theorem Closed under the global context)_
- How this is implemented
-
proofs/coq/ond/OND.vcontains the proofs. CI verifies that the global context is closed (no axioms admitted). Mirrored in Lean 4, Agda, and Z3. - Caveat
-
OND proofs are axiom-free relative to the declared observation model
O. The choice ofOis a proof input, not a proof output. IfOomits a real-world observable channel (e.g., power analysis), the OND proof is sound but physically incomplete. The residue list inproofs/residue/records this gap.
_115 Qed / 0 Admitted / 61 Axioms across 13 files — every theorem is discharged (no Admitted), but the development rests on 61 Coq + 52 Lean axioms._
- How this is implemented
-
proofs/coq/contains all CNO theories. CI runscoq_makefileand confirms Qed counts and axiom counts. The axioms are domain-specific assumptions (quantum-gate unitarity, complex-analysis identities, Shannon-entropy non-negativity, filesystem inverse laws) that are assumed but not derived within Coq. - Caveat
-
This is not an axiom-free machine-checked proof. "Machine-checked" here means the proof is valid assuming the axioms hold. If an axiom is false in the intended model, the theorem fails. The 61 Coq + 52 Lean axioms represent the proof debt. Discharging them (especially quantum unitarity and filesystem inverse laws) is the next major obligation.
_Verify CNO properties in six independent proof systems._
- How this is implemented
-
Artefacts exist for Coq, Lean 4, Agda, Z3, Isabelle, and Mizar in
proofs/.proofs/verify-all-provers.shorchestrates verification. CI gates Coq, Lean 4, and Agda. - Caveat
-
Z3, Isabelle, and Mizar are generated but not yet run in CI. The artefacts exist but are not evidence until machine-executed and green. The "six prover" claim describes the target architecture, not the current CI gate.
_ThermodynamicallyReversible(p) — Zero energy_
- How this is implemented
-
proofs/coq/physics/StatMech.vandproofs/lean4/StatMech.leanformalise Landauer’s principle and Bennett’s reversible computing, proving CNOs dissipate zero energy because they erase no information. - Caveat
-
The physics formalisation relies on axioms about the physical model (e.g., that the thermodynamic system satisfies the assumptions of Landauer’s principle). This is standard for formalisations of physics, but the gap between the mathematical model and physical metal is real.
_The problem "Is program p a CNO?" is undecidable in general._
- How this is implemented
-
Proved by reduction from the halting problem. Constructive witness: the ability to decide CNO-ness would decide halting.
- Caveat
-
This is a standard result. The practical consequence is that the verified CNOs in this repo are specific programs or finite-state classes, not arbitrary input programs.
| Technology / Pattern | Used here | Also used in |
|---|---|---|
Coq CNO/OND formalisation |
|
echo-types (EchoCNOBridge) |
Multi-prover pattern |
Six provers + Idris ABI |
Kategoria (Route δ) |
OND residue-list honesty |
|
epistemic-types (proof transport) |
|
Caution
|
61 Coq + 52 Lean axioms are unproven. The CNO pillar is machine-checked relative to these axioms. Key axioms: quantum-gate unitarity, complex-analysis identities, Shannon-entropy non-negativity, filesystem inverse laws. Discharging these is the next major obligation. |
|
Caution
|
Z3, Isabelle, and Mizar artefacts are not run. They exist in-tree but are not part of the CI gate. Only Coq, Lean 4, and Agda are currently machine-checked evidence. |
|
Caution
|
OND-6 (conditional composition) is open. OND-1..5 are proved. The capstone composition theorem is deferred. |
|
Caution
|
OND proofs are conditional on declared |
|
Caution
|
CNO↔OND coupling dial is framing, not theorem. The connection between a thing and the trace it casts to an observer is a conceptual bridge, not a formal result. |
| Path | Proves |
|---|---|
|
Core CNO framework (115 Qed, 61 Axioms) |
|
OND-1..5 (zero axioms) |
|
Landauer’s principle, thermodynamic reversibility |
|
Universal CNO definition, model independence |
|
Lean 4 mirrors (Phases 1–4, 52 Axioms) |
|
Agda Phase 1 |
|
One-shot gate script |
|
Declared |
|
OND residue lists (out-of-scope observables) |