Remix.run Logo
▲ CapmCrackaWaka 22 minutes ago

Yes, my code compiled too, but there was still a bug in it.

▲chunky1994 15 minutes ago | parent [-]

I'll try to make it simpler, in formal verification (at the most base level): code compiles = the proof of the statement you have posed is correct, by definition.

The statement you are trying to prove is: This is compilable code. Since your code compiled, you know your code is compilable code. Therefore your initial statement is correct.

That's at the very basic level what a formal proof does. The expression you want to prove (in this case GRH) is stated in such a way that if your code compiles, you have proved the statement.