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.