Proof assistant folks: what's the state of the art these days for extracting code from a proof assistant that's reasonably efficient and not completely disconnected from the proofs?
My understanding (which is probably five or ten years out of date) is that, for example, if you're doing Rocq proofs about programs that use Peano numbers, and you extract your program to, say, OCaml, by default you'd get Peano numbers in OCaml, which of course you don't actually want to use. What are your options?