I've been saying outrageous things this evening. Here is one more. A fully verif...
Martin Escardo @MartinEscardo@mathstodon.xyz
I've been saying outrageous things this evening. Here is one more.
A fully verified kernel, in a proof checker, guarantees nothing.
The idea is that users write stuff, and a first pass checks whether this makes sense, grammatically.
Then later, something called the "elaborator", fills gaps. Not unintended gaps. But gaps left deliberately, for the sake of conciseness and mathematical readability.
Then the elaborator feeds this to the kernel, to "really check" things for mathematical correctness.
Folklore tells you that this is how things should be. Let the users express themselves in the way they do in informal mathematics (as much as the elaborator supports), and then leave for the kernel to do the stress testing.
However, this is flawed. To prove this in an extreme way, suppose we have a perverse elaborator that translates every type to the unit type, and every "proof" to the unique element of the unit type.
The kernel will happily accept that, because it has no clue, by design, what the user actually did write.
It is a **myth** that the correctness of the elaborator can be ignored, in favour of the correctness of the kernel.
In fact, in my view, the correctness of the elaborator is even more important than that of the kernel.