305 karma · joined Mar 22, 2014 (12y ago) · 21 submissions
comment 3d ago · link · parent
With people being as confused as they are (just look at the messages in this thread), I think it's good that TFA is very clear about what it is saying, namely that a specific formal artifact that was posted to the internet is correct, and nothing else. Making value judgements or contrasting the proofs (or proof attempts) is not the point of the post.
(I work at the Lean FRO, but I wasn't involved in the verification effort or the writing of the post)
[1]: https://leanprover.zulipchat.com/#narrow/channel/113488-gene...
comment 3d ago · link · parent
In short, Lean has formally verified checkers now, and the RH proof was checked with them. So any such soundness hole would have to be exploited in the correctness proofs of the checkers, which is a much smaller attack surface than the RH formalization.
comment 3d ago · link · parent
"Building" a Lean project actually consists of two steps that can be separated: compiling the high-level Lean document to the simple expression format of the Lean kernel (this part is called "elaboration") and then checking that this expression consistutes a valid proof of the claimed statement (this part is called "kernel checking"). Only the first part potentially involves arbitrary code execution.
Lean ships with a component called `lake comparator` [1]. It works like this: a trusted challenge (formal statement) and the potential proof are elaborated separately in sandboxed environments so that code execution during the build of the proof cannot interfere with the checker or the trusted statement. Then the statement and proof are both exported into a simple JSON-format [2] that represents the relevant terms in the expression format of the Lean kernel, and then the checkers check this JSON.
If this process succeeds, then you know that you definitely have a proof of the relevant statement, with the JSON as a witness of the proof.
[1]: https://lean-lang.org/doc/reference/latest/ValidatingProofs/... [2]: https://github.com/leanprover/lean4export
comment 11mo ago · link · parent
It's absolutely mind-blowing that so little code can produce such a beautiful result. It's also fun to play with the parameters and see how they affect how the cloth feels.
7.
My first verified imperative program(markushimmel.de ↗)
181 points · by TwoFx · 1y ago · 93 comments
comment 4y ago · link · parent
[1] https://www.haiku-os.org/legacy-docs/bebook/LegalNotice.html
comment 9y ago · link · parent
12.
Sophie Germain Prime Search found World Record twin primes [pdf](primegrid.com ↗)
90 points · by TwoFx · 10y ago · 9 comments
comment 10y ago · link · parent
comment 10y ago · link · parent
comment 10y ago · link · parent
comment 10y ago · link · parent
comment 11y ago · link · parent
comment 12y ago · link · parent