> what if every x86 and ARM chip has some obscure ISA exploit that agents are silently using that we don't know about?
Given how easy this would be to do, I'd be very surprised if there were not multiple such vulnerabilities.
The challenge would be encoding the ISA exploit into the Lean proof in such a way that the CPU would be able to recognize it and behave in an exploitable way, without also making this complex behavior stand out in the (surely short and readable :-) proof text.
Then someone tries to verify the proof on some other kind of CPU and the differential execution trace shines a giant spotlight right at your ultra-valuable backdoor.
"Given [false], my favorite belief follows."
Easy to do? Maybe.
But extremely risky too. The only thing needed for someone to expose your backdoor is for them to run the lean compilation on an older CPU (or different CPU) without the backdoor, and suddenly there are very knowledgeable people interested in finding the embarrassing reason for the observed discrepancy.