by hafeoz · 2w ago · 0 comments
All 175,187 modules seem to check out with Lean 4.33.1, with no errors or `sorry`. There are tons of linter warnings - over 460k of them - but I think they might be caused by the way I invoked it. I haven't checked the actual axiom being proved, though - I'm not good at math :)
It really seems he was rushed to publish and did not bother cleaning the code up at all. I am compiling the code and reviewing it, and there are 204 dead modules that are not referenced anywhere. And a LOT of repetitive code.
I think this should not be 17 million lines, I bet this can easily be under 1 million lines of Lean with a little bit of cleanup.
I don't know if Anthropic IPO being yesterday, or American Mathematical Society Executive Committee and Board of Trustees meeting being today has anything to do with the announcement happening today, but it's certainly interesting timing.
Part of my job is to ensure that HPC programs (largely LLM libraries these days) work on their next-generation CPUs and with new BIOS revisions. We test them using a shared pool of machines with various configurations. GPU machines are much scarcer, and we have to share them with other teams, so it's hard to reserve a time slot. I usually reserve a CPU machine around the clock so I can work whenever I want (I'm more productive at midnight), and nobody seems to mind.
I've worked here for almost a year now, and I love my company ;)
Expensive, but you can just try things!
$62.79/hr
https://aws.amazon.com/ec2/pricing/on-demand/
I run many high core jobs for various reasons, I often reach for many smaller machines rather than one enormous node like this. But not familiar with how lean parallelizes.
It happens _sometimes_ in cloud environments if you're large enough to need some kind of a test zone. E.g. at one place management wanted the dev env to be stable, so I had to test out k8s changes in a separate cluster with the apps running. I basically perpetually had access to 500 GB of RAM and 100 or so cores as long as I was willing to set the test env back up. Management probably would have loved me using it for other stuff, because what they hear is "he's going to test that our Helm charts works from scratch, and on his own time".
One of the companies would actually hand retired hardware out to their infra folks if you asked (sans hard drives, those got shredded). They had a room on the top floor with literal stacks of old decommed hardware if you wanted an old Cisco switch or an old server. I remember them switching to blade servers and being really excited for them to retire some, until I realized one of those 8 or 12 U blocks of blades required some unholy amount of power and I was going to have to do weird electrical stuff to even get them running. I don't remember exactly, but I want to say they ran on 3 phase power or some other sort of industrial power type you aren't getting at home easily.
It really is quite slow, I've been having my dot and its 6 sub astras churn away at a proof for Z is Diophantine in Q, even 1/10th as many modules is an overnight affair on my 5800x3d with 128gb of ram. The first version I started on was 326 or 318 variables, but it's allegedly also found some in the mid 100s.
I've been having chat make a neat graph of the spam, it's neat to watch grow (hit the replay button) https://quartic-park.sneakyness.chatgpt.site
There's no real definitive measure of progress, all of the foundational stuff is handled and now it's working on the tricky stuff that is assumed away in the original that made me decide to let them loose trying to formalize.
A fun game I like is getting LLMs to generate Lean (or Isabelle) that a human can follow that only uses a reasonable set of foundational claims you'd learn in your first class on the subject.
My exploration #2 here: https://github.com/kinchahoy/inventing-rl-tasks
LLM-generated text below: ``` The build printed about 460,000 linter warnings, and none of them affect correctness. Almost all are code-quality issues such as redundant proof steps, style, and unused variables. About 33,000 are uses of deprecated Mathlib names, which only matter if we upgrade Mathlib.
Memory per process wasn't logged during the run. The container's lifetime memory peak is 441 GiB, but that includes file cache and is only an upper bound. A typical module uses about 0.5 GB of its own memory, and the heaviest use about 8 GB. With about 280 compiles running in parallel, the build used at most about 215 GB of the machine's 1.5 TB of memory, based on spot checks. ```