Commit 9acb0ef
Axiom flagship hardening (2) — honest proof claims (G03–G05) + design diary (#47)
## Summary
Follow-up to the merged #46 (which closed the first two P1 soundness
holes). This branch was **restarted from the post-merge `main`** — it
does not re-stack the squashed pilot. It closes three "proof honesty"
gaps and captures the initiative's decision record in-repo.
### G03 — proof-assistant import verification was fake (high)
`proof_export.jl` judged a Lean/Coq/Isabelle proof "complete" merely for
**lacking** `sorry`/`Admitted`/`oops` — so an empty file, or `theorem
foo : True := trivial`, passed as verified. Now a proof must contain
**at least one substantive** (non-vacuous, non-boilerplate)
theorem/lemma statement; empty/trivial proofs report `:incomplete`.
*(Fixing this exposed two pre-existing test fixtures that were
themselves vacuous `:= trivial` proofs — updated to substantive
statements.)*
### G04 — `@prove` overclaim (high)
`dsl/prove.jl` (+ `docs/wiki/Verification.md`) documented `@prove` as
"symbolic execution" / "formal verification", but it is a **substring
match on the printed AST**. Relabelled honestly (experimental heuristic;
**not** symbolic execution or a theorem prover; real proving is the
SMT/Idris2 path). No behaviour change — every remaining mention is now
an explicit negation.
### G05 — Idris2 ABI is a disconnected demo (high; honest relabel)
`src/Abi/*.idr` declare a generic surface that does **not** match the
~36 real `axiom_*` zig exports used by `src/backends/zig_ffi.jl`.
Labelled as an **illustrative scaffold** (not a proof of the production
FFI boundary) in each file + `ABI-FFI-README.md`, pointed at the real
boundary (`zig/` + `zig_ffi.jl`), and flagged the **orphan `ffi/zig/`
tree (zero `axiom_*` exports)** as a KNOWN ISSUE. Full ABI↔zig
connection is tracked follow-up (Idris2 is CI-only here).
### Design record captured online
`docs/design-diary/PEPYS-DESIGN-DIARY.adoc` (the running "Samuel Pepys"
decision log) and `docs/design-diary/ULTRAPLAN.adoc` (executive summary,
41-item gap register, phased plan, decision forks, estate wiring,
risks).
## Verification (independent re-run, not self-graded)
- `Pkg.test()` on the rebased base → **670 / 670 pass** (651 + 19 new
G03 assertions).
- Grep confirms no affirmative "symbolic execution" / "formal
verification" claim remains attached to `@prove`.
## Residuals (tracked)
Real hybrid **Ed448+Dilithium5** certificate signing (G01 auth layer,
reusing `opsm`'s `pqcrypto` crates), full Idris2-ABI↔zig connection
(G05), plus the broader flagship work (Aqua/JET/Documenter, RegistryCI,
panic-attack gate, RSR completeness, doc reconciliation).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01UPFC9YQ7g9gc3VnRox42Q1
---
_Generated by [Claude
Code](https://claude.ai/code/session_01UPFC9YQ7g9gc3VnRox42Q1)_
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 070905f commit 9acb0ef
10 files changed
Lines changed: 851 additions & 55 deletions
File tree
- docs
- design-diary
- wiki
- src
- Abi
- dsl
- test/verification
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
14 | 27 | | |
15 | 28 | | |
16 | 29 | | |
| |||
25 | 38 | | |
26 | 39 | | |
27 | 40 | | |
28 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
29 | 45 | | |
30 | 46 | | |
31 | 47 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
42 | 90 | | |
43 | 91 | | |
44 | 92 | | |
| |||
55 | 103 | | |
56 | 104 | | |
57 | 105 | | |
58 | | - | |
59 | | - | |
60 | | - | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
0 commit comments