Login
You're viewing the ruby.social public feed.
  • Nov 22, 2026, 4:50 PM

    I don't understand where this unshakable faith in Lean proofs comes from then. How can someone look at the beginning and end of some huge pile of formal language and know that there is no step in the middle that changes the meaning or undermines what you think it's doing?

    @lrhodes

    💬 1🔄 0⭐ 6

Replies

  • Nov 22, 2026, 4:52 PM

    @dogfox @lrhodes Lean is actually useful when it's at a manageable size. because if you can check that the translation was made correctly, you've essentially demonstrated that the NL source is logically sound. but if there's no correspondence, then you've essentially demonstrated *some* statement is true, but unless you manage to faithfully translate it back to NL, you don't really know which one.

    💬 1🔄 0⭐ 4
  • Nov 22, 2026, 4:58 PM

    I can see why it's a great idea.

    But I am very used to writing programs that compile fine but don't do what I expect. I am guessing that there is something about Lean that makes that at least *less* likely but the implicit faith people talking about it are displaying makes me think there is something I am missing.

    Does it only allow redefinitions in certain circumstances? That would help at least.

    @Yuvalne @lrhodes

    💬 2🔄 0⭐ 3
  • Nov 22, 2026, 5:12 PM

    @dogfox @Yuvalne I think the key here is Lean plus Mathlib. Mathlib is basically a peer-reviewed library of mathematical formulations, and if a line in your code matches the Mathlib formulation, it's generally accepted as orthodox. The first step in verifying Alpöge's lean proof, for example, was checking to ensure that his statement of the Reimann hypothesis matched the version in Mathlib.

    💬 0🔄 0⭐ 3
  • Nov 23, 2026, 11:11 PM

    @dogfox Lean has a "comparator" that verifies two different files end up assigning the same values to variables with the same names. As such, rather than poring over AI slop, mathematicians can manually write and audit a much shorter file containing just a theorem statement (which had already been done for the RH) before using Lean to check 1) logical correctness and 2) alignment with the problem statement.

    @Yuvalne @lrhodes

    💬 0🔄 0⭐ 1