I know that you can extract Coq programs into Haskell and OCaml programs. Is there a way to do this with C?
I present a library that models the C language. Perhaps such a library will contain a set of axioms on how C-constructs interact with process memory, as well as axioms and theorems on IEEE floating-point numbers. Then he will be able to build program C in Coq along with program theorems.
I would use such a library, say, to create a C quicksort algorithm that works with arrays of floats that GCC will compile.
source share