4 ms·
In case of coq-to-ocaml: is it feasible to do an extraction to OCaml on the translated code and compare it with the original?
by user2342 2y ago
In case of coq-to-ocaml: is it feasible to do an extraction to OCaml on the translated code and compare it with the original?
- cccbbbaaa 2y agoYou can write programs in Coq and extract them in OCaml with the `Extraction' command: https://coq.inria.fr/doc/v8.19/refman/addendum/extraction.html https://coq.inria.fr/doc/v8.19/refman/addendum/extraction.ht... This is used by compcert: https://compcert.org/ https://compcert.org/