TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Anatomy of a Formal Proof

134 pointsby bikenaga4 months ago

4 comments

Syzygies4 months ago
I love Lean 4 as a general purpose programming language, but I can&#x27;t use it because no current AI coding assistant can reliably work with me in Lean. I can be trying six languages at once like a chess master playing an exhibition simultaneous match, and they&#x27;ll all flow in Cursor using Claude 3.5 Sonnet, or even Windsurf. Then add Lean 4 and everyone chokes.<p>On the other hand, Claude 3.5 Sonnet understands my iPad math drawings better than my colleagues. I am admittedly weird, but AI as an association engine of incomprehensible scope likes trippy. Trippy helps its reach. Philosophy never really worked until now when you can run it on a computer. AI really rewards recursive meta; it picks up speed like ice sailing. We&#x27;re would-be shamans sitting around the fire a million years ago, imagining we can control the dance of the flames. With AI, we can.<p>Claude also understands, say, computational group theory or strategies for combinatorial enumeration, remarkably well. So it can assist in math research.<p>Formal proofs in Lean 4 may be hard to read, but the elephant in the room is how hard conventional math papers are to read. We&#x27;re terrible at expressing ourselves, so reading a paper is the equivalent of reverse-engineering bad computer code to reconstruct thoughts the author failed to express. And it&#x27;s embarrassing in 2025 that conventional papers can&#x27;t be automatically checked.<p>A new genre will emerge in between: In the &quot;Centaur&quot; model Gary Kasparov popularized after he recovered from his chess defeat by IBM&#x27;s Big Blue, we want papers to actually be very careful, battle-tested prompts for AI. They will pass as conventional papers for mathematicians still trapped in amber, but they&#x27;re really just prompts for both us and AI.<p>The documentation for Lean 4 is aimed at humans. If it were designed to be a hybrid &quot;Centaur&quot; prompt doc, perhaps my tools would be better able to help me code in Lean 4.
评论 #42821534 未加载
评论 #42819435 未加载
fastneutron4 months ago
I’m no expert in formal methods, but of all the tools I’ve used, Athena [0] has been one of my favorites to work with. The proofs read much more like what you’re used to seeing in math literature.<p>0. <a href="https:&#x2F;&#x2F;athena-lang.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;athena-lang.org&#x2F;</a>
评论 #42820827 未加载
sylware4 months ago
That makes me think I am forgetting about the relationship between &quot;logic&quot; and &quot;set theory&quot; (starting point of all maths).
评论 #42821267 未加载
robinzfc4 months ago
The title is quite misleading. This is a tutorial on reading a Lean verification script so the title should be like &quot;Anatomy of a Lean verification script&quot;. As it is it suggests that all formal proofs look like this which they typically don&#x27;t.
评论 #42824352 未加载