No offense, but do you think the mathematicians who study formal verification didn't think of this obvious trick?
4 is a prime => False
8*8 = 62 => False
False => my cool assertion
The first buggy kernel thinks 4 is a prime, and the second one thinks 8*8 = 62.What you probably mean is that Lean ships multiple kernels that are theoretically proven to be bugfree, but because these kernels are themselves programs, the compiler that compiled Lean (e.g. rustc) can still introduce a bug in the compiled version of the kernel. We currently have 2+ theoretically verified kernels (100% theoretical security each!), that get compiled by a different compiler each into potentially broken binaries. And there's a potentially buggy runtime too, but same thing.
The point is that you would now have to memory-corrupt-or-whatever your way out of each of these 2+ runtimes using the same proof while formulating this proof in a way such that the sections that don't do memory corruption remain sound under those parts of the different kernels that aren't buggy. While also being an agent swarm that was guided by a competent researcher. That's extremely unlikely. But the kernel binaries don't need to have the exact same bug for this to work. Or at least that's what I'm claiming.
Why? Pretty sure you can just try to prove False over two reasoning chains C1 and C2 and then do something like (C1 || C2) --> whatever I want.