logoalt Hacker News

Extracting verified C++ from the Rocq theorem prover at Bloomberg

92 pointsby claruslast Tuesday at 9:08 AM10 commentsview on HN

Comments

claruslast Tuesday at 9:08 AM

A new extraction system from Rocq to functional-style, memory-safe, thread-safe, readable, valid, performant, and modern C++.

Interestingly, this can be integrated into production system to quickly formally verify critical components while being fully compatible with the existing Bloomberg's C++ codebase.

zozbot234today at 3:22 PM

Why does it have to be C++? Can the extraction strategy be ported to Rust? Rust is just getting a lot more attention from formal methods folks in general, and has good basic interop with C.

show 3 replies
throw567643u8today at 2:33 PM

Where is this team based? Was curious if it was the London office.

show 1 reply
erichoceantoday at 3:54 PM

Getting the AI to work with Rocq is a useful goal, Lean has been useful so far.