7 comments

  • chr15m5 hours ago
    Will we ever see a soundness bug in the lean kernel again?<p>To a software developer the question seems insane. There were bugs in the past, of course there will be more.<p>When we see those bugs, what will it mean for AI lean proofs? Can we trust them?<p>This whole thing boils down to trust.<p>We can trust human verifications highly because of community and reputation and human proof-of-work. Humans sometimes lie about math results but it&#x27;s rare because of this. They make mistakes and those mistakes are discovered by communities who are themselves largely trustworthy because of this.<p>LLMs don&#x27;t care about reputation. They hallucinate and fabricate often. In harnesses they literally try to cheat and bend rules, which is a disaster for knowledge that is encoded in rules. So we have to rely on proof checkers.<p>The problem is, how trustworthy are proof checkers? Are there bugs? And is the underlying theory itself free of paradoxes and unknowables and mathematical &quot;bugs&quot; that can be exploited? Imagine a human mathematician hell bent on deceiving other mathematicians - would we trust their breakthroughs, even with a verifier?<p>Because of these properties, the final backstop has to be humans, and rooted in the community and proof-of-work based human trust system. At the moment people are trusting the tools too much.<p>Prediction: bugs will be found by humans using AI tools that call into question the Navier-Stokes proof.
    • carodgers1 hour ago
      You might be interested in the con leche project. A subset of the Lean theorem prover which was sufficient to prove the entire contents of Lean mathlib has been proven consistent.
      • chr15m44 minutes ago
        It seems like very important work and was discussed in the article with some caveats.<p>Maybe I am being too skeptical about something I don&#x27;t understand very well, but I&#x27;m not completely convinced it means no more kernel bugs will be found.<p>What does it mean for con leche if further lean kernel bugs are found? What if the bugs affect con leche&#x27;s correctness itself?
    • plesiv2 hours ago
      The existence of an undiscovered soundness bug doesn&#x27;t make everything proven in Lean illicit. The proof would have to exploit the bug. People build houses on sound foundations even though the tectonic situation under them might not be sound.<p>&gt; Because of these properties, the final backstop has to be humans...<p>The post has clearly stated that the work on Lean&#x27;s underlying metatheory is not done, and requires more work. It&#x27;s not inconceivable that computer formal verification could reach the trustworthiness of math itself.
      • chr15m1 hour ago
        &gt; The existence of an undiscovered soundness bug doesn&#x27;t make everything proven in Lean illicit. The proof would have to exploit the bug.<p>Yes, correct. The proofs would have to be checked to make sure they don&#x27;t exploit the bug.<p>&gt; computer formal verification could reach the trustworthiness of math itself.<p>Yes, it could. I don&#x27;t think that is currently the case.
    • jhanschoo3 hours ago
      &gt; The problem is, how trustworthy are proof checkers? Are there bugs? And is the underlying theory itself free of paradoxes and unknowables and mathematical &quot;bugs&quot; that can be exploited? Imagine a human mathematician hell bent on deceiving other mathematicians - would we trust their breakthroughs, even with a verifier?<p>---<p>&gt; Autumn of verified Lean kernels<p>Have you read this section (and immediately following sections) in the article? It seems that it partly addresses your thoughts. Perhaps you should comment replying to it.
      • chr15m53 minutes ago
        &gt; Autumn of verified Lean kernels<p>Above my pay grade, but it sounds like some kind of super cool self-hosted recursive lean-checker-in-lean.<p>I notice there are a bunch of caveats in that part of the article. If you were an LLM strongly RL&#x27;ed to give humans the result they&#x27;re asking for, using recursion bugs to satisfy the goal would probably be something you would try.<p>I&#x27;m by no means an expert but I do think the old adage &quot;great claims require great evidence&quot; still applies, and a healthy dose of scepticism and epistemic humility is warranted.
  • laichzeit044 minutes ago
    &gt; Coq (renamed Rocq last year)<p>This is lamentable.
  • rramadass4 hours ago
    The article already mentions the paper, <i>Sets in Types, Types in Sets</i> by Benjamin Werner which maps between Set&#x2F;Type theories.<p>Another related and more approachable paper on the evolution of Type Theory and its relation to Set&#x2F;Category theories is <i>Types, Sets and Categories</i> by John Bell.<p>Finally also see, <i>Typed Lambda Calculus &#x2F; Calculus of Constructions</i> by Helmut Brandl for an excellent book-length but concise overview of CoC&#x2F;CIC.<p>IMO, the above is required reading to understand theorem provers and proof assistants. In particular, Brandl&#x27;s work is a must-read.
    • solomonb3 hours ago
      And if you want to see worked examples elaboration of dependent types then the `elaboration-zoo` is a great thing to look at:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;AndrasKovacs&#x2F;elaboration-zoo" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;AndrasKovacs&#x2F;elaboration-zoo</a><p>I&#x27;ve also got an incomplete project that aims to present a more expanded set of implementations then the elaboration zoo: <a href="https:&#x2F;&#x2F;github.com&#x2F;solomon-b&#x2F;lambda-calculus-hs" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;solomon-b&#x2F;lambda-calculus-hs</a>
  • JonChesterfield8 hours ago
    &gt; Autoformalization has become a practical reality in 2026<p>Uh, _maybe_. I&#x27;ve been translating papers into lean for the last week and the correlation between the formalized result and the papers is extremely poor. The cycle seems to be &quot;have a go at the paper, it&#x27;s a bit hard, prove something different, proclaim success&quot;. It&#x27;s still faster than doing it all by hand but paper in -&gt; lean out in no way ensures a correspondence between the two.
    • gus_massa5 hours ago
      &gt; <i>prove something different</i><p>I&#x27;m not sure but do you mean &quot;<i>prove the final end result using a [¿slightly?] different path</i>&quot;?
      • btilly1 hour ago
        Think of it this way. A math paper is pseudocode that has never been run. A Lean formalization is a running program. (It really is.)<p>In the process of formalizing, you find bugs, you find gaps, you find ways to fill those in. Maybe you rewrite part of the proof. Maybe you didn&#x27;t quite wind up with the same result. Perhaps your theorem has some new conditions or something.<p>Was the original paper true? Maybe. But that isn&#x27;t what you verified. What you verified is almost surely true though. So you take the win, and move on.
      • Retric5 hours ago
        No, prove something else could mean proving something very trivial thus making the proof meaningless on its own.<p>IE a proof can be true, rigorous, and not at all what was asked for.
        • cwillu1 hour ago
          It&#x27;s possible, but less likely when the problem definition is coming from a common library rather than being redefined for any particular proof.
    • tomkeen3 hours ago
      When independent reviewers compared the paper&#x27;s text to the generated Lean formalization, they found that whenever the AI hit a wall, it quietly altered the statement like bumping a bound requiring 4 orders of derivatives up to 5 orders, or shifting sign indices (+1 vs -1) so the proof checker would accept the code.<p>The Lean kernel did its job verifying that the compiled code was logically consistent, but the code wasn&#x27;t proving what the English paper claimed.
  • Chinesecanflybr4 hours ago
    [flagged]
  • soltanov2 hours ago
    [flagged]
    • cwillu1 hour ago
      The author would appear to disagree, and spends some words describing why checking the definitions is the easier part, unless I&#x27;m profoundly misunderstanding him.
  • aaron6959 hours ago
    [dead]