http://www.cl.cam.ac.uk/~mom22/miniml/hol2miniml.pdf
The resulting ML can be compiled to assembly by verified, CakeML compiler.
Just throwing that out there for you or anyone interested in lengthening the chain of verification. VAMP doesn't get enough attention. On HW side, someone could do a verified front-end for RISC-V on top of the VAMP components to get a mostly-verified RISC-V. Lots of low-hanging fruit out there.
http://www.cdf.toronto.edu/~ajr/258/notes/micro/microcode.ht...
http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.472...
https://cseweb.ucsd.edu/classes/wi13/cse141-b/slides/05-Sing...
By the they way second link is a nice read. Thanks.
This is code produced by GHC 8.0.2 for the program
module Test where
factorial :: Int -> Int
factorial n = product [1 .. n]
The module thing is necessary to produce the object file without a "main" function.