News for hackers. Stuff that matters.
Re:Lean Verification of the Riemann Hypothesis by still_grokking on Saturday November 21, 2026 @11:46PM (#50596340)
It's the most natural thing possible to encode math in a programming language like LEAN.

Because logical propositions are types (in such a language). That's just a very fundamental part of math itself.

Watch this and you'll be enlightened:

https://www.youtube.com/watch?v=IOiZatlZtGU

LEAN code looks actually exactly like you propose; it supports most conventional (Unicode-linearizable) math notation, and you just write expressions like in any other functional language. Close to the textbook, but more verbose and stiff as it's a formal language, while math notation isn't.

Re:Lean Verification of the Riemann Hypothesis by NonHyloMorph on Sunday November 22, 2026 @05:15AM (#50598118)
That lack of relative verbosity and stiffness of mathnotation (what a thing to say haha) to be considered as a proper strength evtly. I'm consider myself as layity in this, but is an interface thinkable?
Re:Lean Verification of the Riemann Hypothesis by dnautics on Sunday November 22, 2026 @02:22PM (#50602964)
> It's the most natural thing possible

It's not intuitive. In isolation, if you took practical computer science and got a theoretical math background and didn't know about curry-howard correspondence, you would not intuitively figure out that propositions are types and proofs are terms. I would have guessed that propositions are functions, sets/classes are types, and elements are terms.