-
-
Notifications
You must be signed in to change notification settings - Fork 0
Architecture
hyperpolymath edited this page Jul 7, 2026
·
1 revision
Three layers, loosely coupled.
The load-bearing verification. Six prover backends prove the same CNO properties from different angles:
| Prover | Strength | What we prove with it |
|---|---|---|
| Coq | Constructive, mature | Core CNO theory, statistical mechanics (Landauer), category, lambda, quantum, filesystem |
| Lean 4 | Mathlib + tooling | Modern restatement, cross-validation |
| Z3 | Automated SMT | Decidable fragments — fast counterexample search |
| Agda | Dependent types | Type-level CNO certificates |
| Isabelle/HOL | Production-grade | Industrial-style verification |
| Mizar | Mathematical library | Connection to standard maths corpus |
Multi-prover is intentional: each catches what the others miss. See Proof Systems for the choice rationale.
-
src/abi/— Idris2 type declarations for the C ABI, with formal alignment + size proofs. See ABI. -
src/brainfuck/,src/whitespace/— interpreter crates in Rust. The formerinterpreters/rescript/Malbolge interpreter (ReScript) was removed in the estate-policy sweep (PR #42); ReScript was banned by the language policy on 2026-04-30. -
ffi/zig/— Zig FFI shim that the Idris2 ABI binds to.
-
examples/<lang>/— CNOs in 23+ languages (ada, brainfuck, c, clojure, cobol, cpp, csharp, elixir, erlang, fortran, fsharp, haskell, javascript, lisp, malbolge, ocaml, php, prolog, rust, scala, scheme, special-ops, whitespace). Banned-language examples (go, java, kotlin, swift, ruby, perl) were removed 2026-05-25 per project policy. -
verification/— top-level verify scripts (verify-proofs.sh,setup-and-verify.sh,run-local-verification.sh). -
Justfile— recipes for everything;just build-all,just verify, etc.
ECHIDNA is the estate-wide neurosymbolic prover gateway, separate repo.
absolute-zero calls into it via the echidna-llm-mcp BoJ cartridge —
never directly. See ECHIDNA.adoc.
┌──────────────────────────┐ ┌──────────────────────────┐
│ absolute-zero │ calls │ ECHIDNA (separate) │
│ - proofs/ ├────────►│ - neural tactics │
│ - src/ │ via BoJ │ - 105 prover backends │
│ - examples/ │ │ - 66,674-proof corpus │
└──────────────────────────┘ └──────────────────────────┘
verification/setup-and-verify.sh
├── proofs/coq → coqc -R common CNO ...
├── proofs/lean4 → lake build
├── proofs/agda → agda CNO.agda
├── proofs/isabelle → isabelle build
├── proofs/z3 → z3 *.smt2
├── src/abi → idris2 --build absolute-zero-abi.ipkg
└── cargo build --release
The directory layout follows the RSR-template-repo convention. Compliance state is tracked in RSR_COMPLIANCE.adoc.