Login
You're viewing the functional.cafe public feed.
  • 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⭐ 3

Replies

  • 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

    💬 1🔄 0⭐ 1
  • 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⭐ 2