Remix.run Logo
▲ solomonb 38 minutes ago

Sort of.. intuitionistic logic is weird. In it, a statement is true when you have a proof of it and a proof is a construction.

A proof of X is some actual construction and a proof of ¬(X) is a function that accepts a proof of X and turns it into a contradiction.

A proof of ¬¬(X) is thus a function that accepts a proof of ¬(X) and turns it into a contradiction. It doesn't actually give you a proof of X.

In the case of P=NP, a proof would be an actual SAT algorithm plus its polynomial bound (and some kind of evidence the SAT algorithm meets the bound).

What you actually hold when you've proved ¬¬(P=NP) is a function whose input is a refutation of P=NP and whose output is ⊥. You can't actually get a proof of P=NP from that.

What you have shown is that any attempt to refute P=NP is doomed but you haven't actually proven it to be true. I know its weird...

▲tarsierscripter 25 minutes ago | parent | next [-]

That's only if you assume intuitionistic logic. If you operate in classical logic you don't have this issue.

▲solomonb 24 minutes ago | parent [-]

Lean is built on intuitionistic logic.

I guess you could say an intuitionistic proof of ¬¬(P=NP) is a classical proof of P=NP, but as you said it doesn't get you the algorithm.

▲tarsierscripter 7 minutes ago | parent [-]

You don't need Lean to prove stuff. As far as I understand, all of the big recent LLM proofs were produced in natural language and then auto-formalized into Lean as a verification step.

▲paulddraper 12 minutes ago | parent | prev [-]

> In the case of P=NP, a proof would be an actual SAT algorithm plus its polynomial bound

A proof just needs to be that some algorithm exists, it could take many forms.