• Eq0@literature.cafe
    link
    fedilink
    English
    arrow-up
    0
    ·
    6 days ago

    Because the proof as presented is a Lean program. Lean is a proof checking program, that means that this type of code runs only if the logic used is correct.

    For example, you can write a proof of pythagora’s theorem and the code would run. But if you write a faulty proof (even if the final theorem is correct), the code doesn’t run.

    About your second question, I agree with the sentiment, I will still answer the question unironically. Because if it’s in Lean it’s supposed to be reliable, and because we mathematicians are suckers for proofs, even obscure, poorly written stuff. We assume that a cool proof open the gate to new understanding of math.

    • 14th_cylon@lemmy.zip
      link
      fedilink
      English
      arrow-up
      0
      ·
      5 days ago

      Because the proof as presented is a Lean program. Lean is a proof checking program, that means that this type of code runs only if the logic used is correct.

      and how do we know that the lean (i am hearing the word for the first time - this is not a sarcasm, but genuine question) is correct, in its design, lack of logical flaws and the implementation?

      lot of the software where the exploit was found was considered reliable, because it works on known and proved mathematical principle, until the exploit was found.

      • Eq0@literature.cafe
        link
        fedilink
        English
        arrow-up
        0
        ·
        5 days ago

        Here my knowledge gets hazy, so I am just reporting what I understood. The “validator” of Lean got build from the ground up, each step validated with a proof checker. I am unsure of the details. I know that there are different ways to compile a Lean code, some are considered “most likely correct” and some are “most definitely absolutely correct” and there have been cases that, by mistake, exploited the difference.

      • VeryFrugal@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        0
        ·
        5 days ago

        The exported raw proof has been checked by several proof checkers, including Lean’s official kernel, the con-leche and con-ron checkers, and several independent checkers contributed by third parties and implemented in different programming languages. The checkers con-leche and con-ron come with a formal proof, relative to set theory, that they cannot accept a false proof, thus addressing concerns that Lean’s logic itself might have flaws that the proof could exploit. An extensive overview is available at https://math.mit.edu/~drew/grh/. These checks ran on an inert export of the proof, out of reach of hypothetical malicious code in the Lean proof sources.

        Valid point, but we should be able to trust something at some point I guess.

        disclaimer; I have no acting knowledge of anything here.

      • jj4211@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        5 days ago

        I’ll just whip up a proof in lean to prove lean is correct

        (I’m absolutely unqualified to have any opinion on any of this)