- Coq — VERIFIED (this environment)
- OND — VERIFIED (this environment), the disclosure pillar
- Agda — VERIFIED (this environment)
- Lean 4 — VERIFIED (this environment)
- Z3 — VERIFIED (this environment)
- Isabelle/HOL — VERIFIED (this environment)
- Mizar — VERIFIED (this environment)
- Idris 2 — VERIFIED (this environment), the ABI boundary
- Honest scope
absolute-zero formalises two co-equal pillars (see docs/TWO-PILLARS.adoc):
CNO — Certified Null Operations (certified null effect) — and OND —
Observational Null Disclosure (certified null disclosure). This document
records the actually reproduced verification state in this environment, prover
by prover, and is explicit about which axioms remain and why.
|
Important
|
2026-07-07 — both pillars machine-checked across six provers
All six provers are installed and were reproduced in this environment. A single
gate, |
-
coqc8.18.0; clean build from scratch (all.vo/.globdeleted first), viacoq_makefile -f _CoqProjectover 14/14 theories → zero errors. -
Reproduce:
cd proofs/coq && coq_makefile -f _CoqProject -o Makefile.all && make -f Makefile.all -j.
| Area | Theory |
|---|---|
common |
|
category |
|
quantum |
|
lambda |
|
filesystem |
|
physics |
|
ond |
|
malbolge |
|
The CNO domain modules previously axiomatised their headline results. They have
been re-grounded on concrete models and re-proved. Axiom/Parameter/Conjecture
count fell from 98 to a small, classified remainder:
-
Fully discharged to zero project axioms:
FilesystemCNO.v(13 axioms + 3 parameters → 0;mkdir_rmdir_inverse,transaction_cno,snapshot_restore_identity, … allClosed under the global context),CNOCategory.v(identity/hom functor constructed),QuantumMechanicsExact.v(X-gate unitarity proved; density matrix defined). -
QuantumCNO.v: 41 → 12. 19 axioms discharged, 8 parameters concretised; two latent-unsound axioms removed (no_cloningwas provably false in the flat model;Cconj_Cexpfalse for a genuine phase). Remainder = 2 tagged metal-boundary physics postulates + 4 honestly-labelled class-A items (below). -
LambdaCNO.v:compile_lambdaandhom_functor(inCNOCategory.v) concretised; a third latent-unsound axiom corrected —eta_equivalencewas false as stated (counterexamplef = LVar 5, a normal form that never β-reduces tof; root cause: this file’ssubstdoes not re-index under binders). It is replaced by the honest, proved theoremeta_equivalenceguarded by ano_lambda bodyhypothesis (a genuine statement-shape change, disclosed in-file, made to remove an inconsistency risk — not to dodge a proof). -
Physics (
StatMechBasis.v,PhysicsConstants.v,StatMech.v,LandauerDerivation.v): derivable lemmas discharged; the genuine physical postulates kept and taggedMETAL-BOUNDARY AXIOM— Boltzmann constantkBandkB > 0, absolutetemperature > 0, the Second Law, Landauer’s 1961 bound. These are empirical physics and must remain axioms;state_decis kept becauseMemory = nat → natis not decidably equal (genuinely unprovable).
Every remaining project axiom is either a tagged physical postulate (above) or one of these, each documented in-file with its blocker:
-
LambdaCNO.v—y_not_cno(~ is_lambda_CNO y_combinator). True (Y diverges), but a rigorous proof must rule out reaching the argument under every β-congruence interleaving — a coinductive / step-indexed non-termination argument beyond a single-file fix. -
QuantumCNO.v—CNOT_gate_unitary(needs a 4-dimensional tensor model),unitary_inverse_property(needs finite-dimensional linear algebra),fidelity_bound/approximate_cno(need a concrete fidelity). All out of reach of the flatnat → Csingle-qubit model; faithful discharge is a separate formalisation.
These are the analogue of the OND-6 research fork: openly labelled, not silently
assumed. Print Assumptions on every headline theorem shows only Coq stdlib axioms
(ClassicalDedekindReals., functional_extensionality) plus, where relevant, the
explicitly-tagged postulate above — never a hidden project axiom.
proofs/coq/common/CNO.v now carries the bridge between reversible and the
"composes to a no-op" characterisation the MAA framework (aletheia) cites. All five
new results are Closed under the global context (zero axioms):
-
reversible_iff_exists_reverses— the repo’sreversibleis exactly "exists a one-sided left inverse" (exists p_inv, reverses p p_inv). -
reverses_seq_computes_identity— the core lemma: a left inverse sequenced afterpcomputes the state-identity on every composite transition (viaeval_app
eval_deterministic). -
cno_equiv_seq_empty_of_reverses— repackaged ascno_equiv (p ;; p_inv) [](CNO-equivalence to the canonical no-op). -
reversible_bridge_forward— the faithful forward direction of the aletheia contract: a two-sided inverse makes both composites CNO-equivalent to the no-op. -
reversible_bridge_backward_upto— the backward direction, necessarily up to=st=, with an explicitp_inv-termination hypothesis.
Honesty note. The literal biconditional
reversible p <→ exists p_inv, is_CNO (p;;p_inv) /\ is_CNO (p_inv;;p) is not
provable under these definitions, and is deliberately not asserted: (1) is_CNO
also demands purity and totality, which a reversible program need not have — so
"=== CNO" is rendered by cno_equiv _ [] (the identity-on-state component); (2)
state_eq excludes the program counter while eval propagates it (the
eval_respects_state_eq_* axioms were removed as unsound on 2026-05-20), forcing the
backward direction to be up-to-=st=; (3) the repo’s reversible is one-sided
whereas the contract is two-sided. The in-file section header documents all three.
This is a genuine statement-shape finding: it tells the aletheia contract to be
stated two-sided and =st=-relative, not a proof dodged.
Lean mirror — proofs/lean4/CNOBridge.lean (UNVERIFIED in this environment).
A functional-model mirror of the five bridge results was written for Lean 4, but
it could not be machine-checked here: the Lean toolchain and Mathlib cache
download from GitHub release assets, which the egress policy blocked (HTTP 403).
It is registered in lakefile.lean as a non-@[default_target] lean_lib,
so it does not gate the standard lake build; verify with
lake build CNOBridge (+ #print axioms) where the toolchain is available. Note
the mirror states the bridge with syntactic state equality (Lean’s eval is a
total function and ProgramState.eq includes the PC), a stronger/cleaner form
than the Coq =st=-relative statement — a disclosed cross-model difference, not
a claim of literal equivalence.
proofs/coq/ond/OND.v discharges roadmap obligations OND-1..OND-5 with zero
axioms — every theorem is Closed under the global context:
-
OND-1
is_OND O o— nullity parameterised by an observation modelOover an observable execution (declared output channel + timing); -
OND-2 —
skipis OND under anyO(satisfiability); -
OND-3 —
is_CNO ⊥ is_ONDindependence, additionally anchored to the real coreis_CNO(writer_program_not_core_CNO,skip_program_is_core_CNO); -
OND-4 — a constant-time select operation is OND under a declared
O(+ residue); -
OND-5 — a non-composition counterexample (two ONDs whose composite leaks by state-chaining).
Mirrored in Lean 4 (proofs/lean4/OND.lean), Agda (proofs/agda/OND.agda),
and Z3 (proofs/z3/ond/OND_checks.smt2, the bounded/finite instances). OND-7’s
residue register carries its first real instance
(proofs/residue/ct_select.residue). OND-6 (conditional composition, research
capstone) remains open by design — see docs/OND-ROADMAP.adoc.
-
agda2.6.3,--safe --without-K:CNO.agda,OND.agda,EchoBridgeCNO.agdatype-check. The EchoBridge modules take funext as an explicit hypothesis (not a globalpostulate);OND.agdauses zero postulates.
-
Toolchain
leanprover/lean4:v4.16.0with Mathlib@ v4.16.0;lake exe cache get+lake build→ build completed successfully. Covers the CNO libraries and the newONDlibrary (proofs/lean4/OND.lean, core-Lean only, zerosorry).
-
z34.16.0 onproofs/z3/ond/OND_checks.smt2: the OND-3 timing-leak witness issat,writer-is-OND isunsat(no secret distinguishes it), and the OND-5 composite leak issatwith a concrete model — the "decidable for bounded programs" demonstration.
-
Isabelle2025-2, sessionAbsoluteZero-CNO(proofs/isabelle/ROOT):CNO.thy(repaired — the reserved-keywordvaluetype was renamed and the failingnop/steplemmas fixed) andOND.thy(new, OND-1..5) build with nosorry/oops.
-
Mizar
8.1.15;accom CNO && verifier CNOonproofs/mizar/CNO.mizcompletes with an emptyCNO.err(zero errors).MIZFILESpoints at the bundled MML. The original article was machine-generated and unverifiable (277 errors); it was rewritten into a genuine article (StateSpace = pair ofFuncs(NAT,NAT); state-preserving / pure / reversible / terminating / thermo-reversible attributes; 12 proved theorems incl. composition with a real inverse construction). Requires the committed private vocabularyproofs/mizar/dict/cno.voc(lowercase filename, needed on Linux). Verifier build artifacts are git-ignored.
-
idris20.8.0;idris2 --build absolute-zero-abi.ipkg→ clean, no warnings. The packaging bug (module paths vs.sourcedir) is fixed, files relocated to match module names, and six latent type errors repaired (null-pointerSowitnesses viachoose,Decidable.Equality/Data.Bitsimports,%runElabstub, erasedHasSizeindex, qualifiedmaxProgramLength). Two unused, non-compilingDecEqinstances were removed with a documented recovery path.
-
Multi-prover, not cross-prover equivalence — each prover checks its own formalisation of the two pillars.
-
"Verified here" = a reproduced compiler/checker run in this environment, not a reading of in-file comments. Reproduce everything with
proofs/verify-all-provers.sh. -
Remaining axioms are exactly: (a) tagged physical postulates (the honest metal boundary), and (b) the class-A items listed above (true, provable in principle, openly labelled). No headline theorem depends on a hidden project axiom.