SMT solver from the ground up
Building an SMT solver from the ground up
SMT solvers are magical tools that are massively used in various domains of Computer Science & especially in formal verification. This magic comes at a price : SMT solvers are incredibly complex creatures. This can be explained for 3 principal reasons :
Modulus is an attempt at developing a tiny SMT in OCaml from scratch with no dependencies other than the OCaml standard library. It requires many components amon which :
Modulus is not indented to be an efficient nor complete solver. It is designed to be an educative project and I’m pretty sure it will be very bad once fully developed (even reaching a quarter of the State of the Art would be a dead end).
More information can be found on Modulus website
To compile the project, the only requirement is to have a valid OCaml installation with dune.
dune build
dune exec -- test