Status: EXPERIMENTAL. This file catalogues open targets for the Agda
proof suite in proofs/ — work not yet done, not a claim of coverage. For the
proofs that already exist and what they actually prove (ℕ-level lemmas, not
the ℝ/Float64 statistical theorems), see proofs/README.adoc. For the overall
FFI + proofs status, see the "Experimental surfaces" section of README.adoc.
- LOC: ~11,900
- Languages: Julia, Agda, Zig (Idris2 template ABI removed 2026-03-29 — see
"Template ABI Cleanup" below;
src/abi/does not exist) - Existing ABI proofs: none — the template-level
src/abi/*.idrfiles were removed 2026-03-29 for creating a false impression of formal verification - Existing verification: 3 Agda proof files in
proofs/Statistikles/Inequalities.agda— statistical inequalitiesRankIdentities.agda— rank-based test identitiesTropicalSemiring.agda— tropical semiring properties (mentions "no postulates" in comment, but grep found a match — needs audit)
- Dangerous patterns: Comment in TropicalSemiring.agda references postulates (may be a negation — "no postulates")
- Verify the "no postulates" claim is still accurate
- Ensure semiring laws (associativity, commutativity, distributivity, identity) are all constructively proven
- Julia code implements statistical tests — the Agda proofs should correspond to these
- Prove: test implementations match their mathematical specifications
- Gap analysis: which Julia tests have Agda proofs and which do not?
typell_levels.jl,echidna_adapter.jl,verisimdb_schema.jl,aspasia_bridge.jl,betlang_bridge.jl- Prove: type-level bridges preserve the statistical properties proven in Agda
smtlib_integration.jl— SMT-LIB integration should produce valid SMT queriesquantum_integration.jl— quantum probability calculations need mathematical proofs
- Extend
Inequalities.agdato cover all statistical inequalities used in the Julia code - Each inequality used at runtime should have a corresponding Agda proof
- Agda (already in use — extend existing proof suite)
- Lean4 alternative for the quantum probability proofs (Mathlib has probability theory)
MEDIUM — Good existing proof coverage. Statistical correctness proofs are valuable but the tool is not security-critical. Focus on completing the gap analysis between Julia implementations and Agda proofs.
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.