Skip to content

Latest commit

 

History

History
32 lines (29 loc) · 1.31 KB

README.md

File metadata and controls

32 lines (29 loc) · 1.31 KB

Verith

Verith (VERIfied aRITHmetic) is a Coq library that proves several results about arithmetic on native integers. It enables users to write safe programs that make use of native integers without dealing with the complex, ceremonial and low-level manipulations usually required by the certification of such programs. Verith is intended to be used in combination with the extraction mechanism to help certifying programs in OCaml. It can also be used as is for regular Coq programs.

It has no dependencies other than the Coq standard library. While it does not assume controversial axioms, it is up to the user to extract correctly to maintain the guarantees of the library. Most notably, the underlying implementation of native integers must respect all axioms of U/Sint63. This usually means that you should only extract U- and SInt63 objects towards standard OCaml integers. You should also map their respective operations correctly.

License

This library is licensed under the MIT License. See the license for more details. The license takes precedence over any comment and/or description provided in this project.

Install

git clone [email protected]:MRandl/verith
cd verith
make

Note that this assumes coqc and coq-makefile to be accessible on PATH.