|
1 | 1 | # Proof Requirements |
2 | 2 |
|
| 3 | +## Template ABI Cleanup (2026-03-29) |
| 4 | +Template ABI removed -- was creating false impression of formal verification. |
| 5 | +The removed files (Types.idr, Layout.idr, Foreign.idr) contained only RSR template |
| 6 | +scaffolding with unresolved {{PROJECT}}/{{AUTHOR}} placeholders and no domain-specific proofs. |
| 7 | + |
| 8 | +When this project needs formal ABI verification, create domain-specific Idris2 proofs |
| 9 | +following the pattern in repos like `typed-wasm`, `proven`, `echidna`, or `boj-server`. |
| 10 | + |
3 | 11 | ## Current state |
4 | 12 | - Extensive Idris2 ABI: `EchidnaABI/Types.idr` (655 lines), `EchidnaABI/Foreign.idr` (445 lines), `EchidnaABI/Layout.idr` (236 lines) |
5 | | -- Prover-specific ABI: `EchidnaABI/Provers/` — InteractiveAssistants, SmtSolvers, FirstOrderAtp, DeclarativeProvers, AutoActive, ConstraintSolvers |
6 | | -- `EchidnaABI/VqlUt.idr`, `EchidnaABI/Gnn.idr` — VQL and GNN type definitions |
7 | | -- `src/rust/verification/axiom_tracker.rs` — Tracks `sorry`/`Admitted` patterns (detection, not usage) |
8 | | -- `src/rust/provers/lean.rs` — Generates `sorry` as placeholder in Lean proof scaffolding (intentional — feeds goals to provers) |
9 | | -- `src/rust/provers/coq.rs` — Parses `Admitted` in Coq output (detection, not usage) |
| 13 | +- Prover-specific ABI: `EchidnaABI/Provers/` - InteractiveAssistants, SmtSolvers, FirstOrderAtp, DeclarativeProvers, AutoActive, ConstraintSolvers |
| 14 | +- `EchidnaABI/VqlUt.idr`, `EchidnaABI/Gnn.idr` - VQL and GNN type definitions |
| 15 | +- `src/rust/verification/axiom_tracker.rs` - Tracks `sorry`/`Admitted` patterns (detection, not usage) |
| 16 | +- `src/rust/provers/lean.rs` - Generates `sorry` as placeholder in Lean proof scaffolding (intentional - feeds goals to provers) |
| 17 | +- `src/rust/provers/coq.rs` - Parses `Admitted` in Coq output (detection, not usage) |
10 | 18 | - No `believe_me` or `sorry` in the Idris2 ABI layer itself |
11 | 19 |
|
12 | 20 | ## What needs proving |
|
23 | 31 | - **Agda** for metatheoretic properties of proof composition |
24 | 32 |
|
25 | 33 | ## Priority |
26 | | -- **HIGH** — ECHIDNA is a proof verification orchestrator. A tool that checks proofs MUST itself be provably correct, or its guarantees are hollow. The axiom tracker and confidence scorer are the most critical targets. |
27 | | - |
28 | | -## Template ABI Cleanup (2026-03-29) |
29 | | - |
30 | | -Template ABI removed -- was creating false impression of formal verification. |
31 | | -The removed files (Types.idr, Layout.idr, Foreign.idr) contained only RSR template |
32 | | -scaffolding with unresolved {{PROJECT}}/{{AUTHOR}} placeholders and no domain-specific proofs. |
| 34 | +- **HIGH** - ECHIDNA is a proof verification orchestrator. A tool that checks proofs MUST itself be provably correct, or its guarantees are hollow. The axiom tracker and confidence scorer are the most critical targets. |
0 commit comments