Template ABI removed -- was creating false impression of formal verification. The removed files (Types.idr, Layout.idr, Foreign.idr) contained only RSR template scaffolding with unresolved {{PROJECT}}/{{AUTHOR}} placeholders and no domain-specific proofs.
When this project needs formal ABI verification, create domain-specific Idris2 proofs
following the pattern in repos like typed-wasm, proven, echidna, or boj-server.
- Confidence scoring soundness: Proven in
verification/proofs/lean4/ConfidenceLattice.lean. (Lattice, monotonicity, Reject->Level1) - Axiom tracking completeness: Proven in
verification/proofs/idris2/AxiomCompleteness.idr. (23 patterns, no false negatives).unsafeCoerceadded toaxiom_tracker.rs. - Prover dispatch correctness: Proven in
verification/proofs/idris2/DispatchCorrectness.idr. (Logic family compatibility).DispatchOrdering.idr(Pipeline stages). - Proof composition: Proven in
proofs/agda/ProofComposition.agda. (Soundness preservation, axiom conflict detection). - VCL-UT query safety: Proven in
EchidnaABI/VqlUt.idr. (L5 Injection-free, L3 Type-safe boundary). - GNN embedding faithfulness: Documented in
EchidnaABI/Gnn.idr. (Structural properties, feature bounds, score normalisation). - Extensive Idris2 ABI:
EchidnaABI/Types.idr(655 lines),EchidnaABI/Foreign.idr(445 lines),EchidnaABI/Layout.idr(236 lines)
- Confidence scoring soundness: Prove that confidence levels in
confidence.rsform a valid lattice and thatsorrydetection correctly downgrades confidence - Axiom tracking completeness: Prove
axiom_tracker.rsdetects ALL dangerous patterns (no false negatives forsorry,Admitted,believe_me,postulate,assert_total,unsafeCoerce) - Prover dispatch correctness: Prove that proof goals are dispatched to compatible provers (e.g., linear logic goals do not go to first-order ATP)
- GNN embedding faithfulness: Prove that proof-graph GNN embeddings preserve structural properties of the original proof tree
- VCL-UT query safety: Prove VCL queries are injection-free and type-safe at the ABI boundary
- Proof composition: Prove that combining sub-proofs from different provers preserves overall soundness (no implicit axiom conflicts)
- Idris2 for ABI-level properties and prover dispatch correctness (dependent types model the prover taxonomy well)
- Lean4 for confidence lattice algebraic properties
- Agda for metatheoretic properties of proof composition
- 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.