This is the project repository for cqotl.
generator: the verification condition generator in OCamllean-veri: the formalization of theories for verification conditions in Lean
- OCaml (version 4.12.0 or later recommended)
- Dune (version 2.9.0 or later)
- opam (for dependency management)
- Menhir (version 3.0 or later)
-
Navigate to the
generatordirectory:cd generator -
Install dependencies:
opam install . --deps-only -
Build and run:
dune build && dune exec filewatcher source status
The prover executable accepts two command line argument as the source input and status output file. To start the prover, navigate to generator folder and run
dune exec filewatcher source status
This will create two text files generator/source and generator/status. The prover will monitor the changes made to the source file and the response will be written to the output file.