| ▲ | YeGoblynQueenne 8 hours ago | |
I want to write a sorting predicate in Prolog (sorry, that's what I'm using now). I write it like this:
My code compiles. I try my predicate at the repl:
What went wrong? | ||
| ▲ | chunky1994 6 hours ago | parent [-] | |
This is a false equivalence, you seem to be missing the analogy. There is no specification in your prolog example, in lean we explicitly check that the expression in lean is GRH (and this is about half a page of lean and has been checked by many many mathematicians), and then can arrive at a formal proof for that specification. You are confusing the issue for people who don't understand what a formal proof means with this non-sequitur. | ||