Scope (sub-issue of #45 Frontier 5)
Lean → Rust correspondence mechanization — currently testing-based at ~85% confidence per CLAUDE.md, NOT mechanized.
Theorem targets
rust_mkdir_refines_lean_mkdir — over the Rust AST → state-transition, prove the diagram commutes with Lean's mkdir : Path → FsState → FsState
extracted_ocaml_observationally_equivalent_to_rust — extraction.v extracts to OCaml; should refine to the same observable behaviour as the Rust impl
Theory frontier
Idris2-via-typed-WASM bridge. Compare hyperpolymath/typed-wasm estate work. Idris2 ABI proofs at src/abi/ are the natural seam — currently unused for refinement.
Resolution
- Pick the smallest refinement target (
mkdir) — methodology PoC.
- Two seams to explore:
- Coq extraction to OCaml → observational-equivalence with Rust via Bisimulation
- Idris2-to-typed-WASM bridge via
src/abi/ (echo-types L3 integration)
- Cross-doc with
hyperpolymath/typed-wasm per estate directive.
References
Scope (sub-issue of #45 Frontier 5)
Lean → Rust correspondence mechanization — currently testing-based at ~85% confidence per CLAUDE.md, NOT mechanized.
Theorem targets
rust_mkdir_refines_lean_mkdir— over the Rust AST → state-transition, prove the diagram commutes with Lean'smkdir : Path → FsState → FsStateextracted_ocaml_observationally_equivalent_to_rust—extraction.vextracts to OCaml; should refine to the same observable behaviour as the Rust implTheory frontier
Idris2-via-typed-WASM bridge. Compare
hyperpolymath/typed-wasmestate work. Idris2 ABI proofs atsrc/abi/are the natural seam — currently unused for refinement.Resolution
mkdir) — methodology PoC.src/abi/(echo-types L3 integration)hyperpolymath/typed-wasmper estate directive.References
docs/LEAN4_RUST_CORRESPONDENCE.mddocs/VERIFICATION_STRATEGY_ANALYSIS.md[Zig=APIs+FFIs, Idris2=ABIs]