Register VM in C with a verified Rocq compiler + checked bytecode optimisations
  • Rocq Prover 89.5%
  • Python 6.4%
  • OCaml 1.8%
  • C 1.8%
  • Makefile 0.5%
Find a file
2026-10-23 18:32:00 +00:00
examples feat(optimisation): validated rewrites with bidirectional simulations 2026-09-26 11:52:00 +00:00
media feat(refinement): dispatcher correctness and metadata lifetime under allocator contracts 2026-10-23 18:32:00 +00:00
rocq feat(refinement): dispatcher correctness and metadata lifetime under allocator contracts 2026-10-23 18:32:00 +00:00
src feat(refinement): dispatcher correctness and metadata lifetime under allocator contracts 2026-10-23 18:32:00 +00:00
tests feat(refinement): dispatcher correctness and metadata lifetime under allocator contracts 2026-10-23 18:32:00 +00:00
tools feat(refinement): dispatcher correctness and metadata lifetime under allocator contracts 2026-10-23 18:32:00 +00:00
.gitignore feat(vm): modular register execution with explicit traps and region allocation 2026-08-14 14:26:00 +00:00
Makefile feat(refinement): dispatcher correctness and metadata lifetime under allocator contracts 2026-10-23 18:32:00 +00:00
README.md feat(refinement): dispatcher correctness and metadata lifetime under allocator contracts 2026-10-23 18:32:00 +00:00

ice.vm

iceVM

iceVM implements a register VM + Rocq compiler and checked bytecode optimisations

The VM itself is small with 16 64 bit register with byte addressable memory and an explicit call stack while the Rocq makes decoding failures and runtime traps part of the execution model

The compiler proof accounts for recursion + faults and the extra instructions introduced during compilation. Optimisation candidates go through a checker that proves they preserve results along with traps and divergence while the C runtime has VST proofs (though these show partial correctness under allocator contracts and still leave extraction + the host compiler and I/O trusted)