| ▲ | Yes, 17M lines of Lean is a lot(micjm.com) |
| 34 points by seizethecheese 3 hours ago | 48 comments |
| |
|
| ▲ | throwaway198846 19 minutes ago | parent | next [-] |
| Post is missing AxiomMath's proof of classification of finite simple with 43 million lines. Also anthropic when they published the proof said they wrote 13 million lines but here it is 27, why is there a discrepancy? |
| |
|
| ▲ | laser an hour ago | parent | prev | next [-] |
| If you were to print it out it’s hundreds of thousands of pages or hundreds of thick textbooks. If Masullo’s proof works the fact it’s hundreds of times less verbose will really capture the current state of affairs more generally with these models. They can get the job done but have yet to fully understand elegance. |
| |
| ▲ | siddboots 33 minutes ago | parent | next [-] | | Isn’t the big difference that the Lean proof contains the detailed theory of dozens of intricate and hyper specific branches of established maths that Masullo doesn’t need to restate? | |
| ▲ | skeledrew 31 minutes ago | parent | prev | next [-] | | Well yeah. Even today machine generated code is almost always more verbose than code written by a competent developer. | |
| ▲ | GrollingGrakbor an hour ago | parent | prev | next [-] | | Doesn't really have anything to do with elegance, the models are just really bad at information compression. You see it when writing code too, they introduce duplicates all over the place. | | |
| ▲ | grey-area an hour ago | parent [-] | | Elegance is information compression. | | |
| ▲ | GrollingGrakbor 38 minutes ago | parent [-] | | Not really/only tangentially. Elegance also implies an artistic component. | | |
| ▲ | grey-area 9 minutes ago | parent [-] | | If something is elegant, particularly in mathematics or science, it is succinct and yet still true - the minimum required to prove a given hypothesis. In this context it doesn’t mean using pretty words - the simplicity is the aesthetics. I don’t think anyone can argue this lean proof is elegant. |
|
|
| |
| ▲ | markasoftware 27 minutes ago | parent | prev | next [-] | | the anthropic proof for Fermat's last theorem is 27m lines, more than the Riemann one, even though it's based on Wiles' only 129 page proof. This would suggest that an informal version of the anthropic proof for Riemann could be even shorter than 129 pages, which is vastly shorter than Masullo's. | | |
| ▲ | throwaway198846 15 minutes ago | parent [-] | | Not necessarily it depends on how much existing math you can refactor out by referencing it. Also it should be noted Anthropic proof is based of simplification of Wiles' og proof. |
| |
| ▲ | bot403 an hour ago | parent | prev | next [-] | | Did we try adding "and make it elegant - the sum of all human knowledge depends on it" to the prompt? I heard that gets better results. On a more serious note this is a struggle I have with llms. They can be verbose, but then, if we're just going to have llms edit code and proofs and it's verifiably correct then do we truly care? The answer is not a clear yes or no. | | |
| ▲ | paganel an hour ago | parent [-] | | > llms edit code and proofs and it's verifiably correct then do we truly care? We also tried to do that with XML at the beginning, I'd say 2002-2003-ish, as in the discourse was pretty similar: "doesn't matter how verbose XML is, it's supposed to be only ingested by computer code". And that's how we got to REST a few years later. |
| |
| ▲ | sorrywhat 30 minutes ago | parent | prev | next [-] | | Computers can't even understand natural language
Sure they understand natural language, but can't do basic math
<snip 10 lines>
Sure, they can solve a Millennium problem, but they can't solve Riemann
NEW: Sure, they can solve Riemann, but they can't understand elegance I guess?
| | |
| ▲ | pastel8739 20 minutes ago | parent [-] | | Are you claiming that LLMs are precisely identical to humans? What is your point? Yes, when LLMs change their capabilities, their capabilities change and the ways we compare them to humans changes. Would you rather we give up and say “wow! So smart!” and stop working on making LLMs better? |
| |
| ▲ | hmontazeri 40 minutes ago | parent | prev | next [-] | | Agreed. It’s basically brute force… | |
| ▲ | dead_hn_theory an hour ago | parent | prev [-] | | An unspoken aspect here is that Masullo is human and therefore he knows and he doesn't know. He knows that he doesn't know; self-awareness and all that human nonsense. The LLMs output an absurd amount of "logically" consistent things without knowing anything, nor without not knowing. This is not a matter of pedantry or puffery, training or taste. But there is a ridiculous amount of compute thrown at this problem to be sure. Even if Masullo's approach does not end up working he's taking risks and trying out something new. I'd hazard to say Masullo learned more from this than Alpoge has (did he even read the output?), but that's a thread for another discussion. | | |
| ▲ | pastel8739 17 minutes ago | parent [-] | | You can only make this argument because you aren’t defining the term “knowing”, I think. How would you define the term to make this claim still true? |
|
|
|
| ▲ | chorsestudios an hour ago | parent | prev | next [-] |
| Does the raw count of lean code lines shed any light on how impressive Andrew Wiles' proof of Fermat's Last Theorem was? The proof itself was 129 pages but I'm not sure how much perspective that alone provides regarding the difficulty of the problem. |
|
| ▲ | adgjlsfhk1 an hour ago | parent | prev | next [-] |
| It's down to 13m https://rh-shrink.github.io/. Decent chance it hits 11m by tomorrow |
| |
| ▲ | VoidWhisperer 40 minutes ago | parent | next [-] | | It just shot up to 18 million lines now.. I tried checking the changes but github isn't a fan of rendering a commit with millions of lines | | |
| ▲ | adgjlsfhk1 22 minutes ago | parent | next [-] | | yeah 6m imports were added (previously the entire mathlib was included a ton of times). This is a loc vs perf change. iiuc, this makes the CI 50% faster | |
| ▲ | msdz 19 minutes ago | parent | prev [-] | | Try diffshub.com instead of github.com on the commit URL, that ought to increase the odds of rendering it out successfully |
| |
| ▲ | vibebingo 42 minutes ago | parent | prev [-] | | Looks like it has gone up. Guess I should have invested! |
|
|
| ▲ | smy20011 2 hours ago | parent | prev | next [-] |
| I wounder there are some automatic way to extract structure from 17M lines of code, like ask Claude to use existing libraries and remove redundancy. We could find some common logic inside of this proof and create new math theories from it. |
| |
| ▲ | brian-armstrong an hour ago | parent | next [-] | | I think what you're describing is NP-hard, at least naively. | | | |
| ▲ | michaelchisari an hour ago | parent | prev [-] | | That sounds like an extraordinary amount of work. Which is fine, I'd love to see mathematicians employed. But the promise of AI was to fire all mathematicians not hire more. A hiring spree is what I want to see across industry and research in response to AI. It's an incredible tool for experts which means we need to hire (and educate) more experts. But the counterpoint imagining otherwise has billions of dollars in marketing and the press hangs on their every word. Anthropic did not IPO on the promise that their customers would increase labor costs. | | |
| ▲ | staticshock an hour ago | parent [-] | | > But the promise of AI was to fire all mathematicians not hire more What a truly villainous take. Is "solving cancer" a call to fire all biologists? The promise of AI is to give humans power tools and dramatically raise the ceiling on our individual and collective potential. Anthropic IPO'd on the promise that much of current labor can be displaced, yielding to new kinds of labor as we find ways to actualize that potential. | | |
| ▲ | michaelchisari an hour ago | parent | next [-] | | I agree, it is villainous and not my position. But it's been the refrain of the frontier AI companies and tech leaders from the beginning. It's running into reality as of late but it was the promise markets priced it on. Would they have even been able to raise funding if they said AI would create near impossible complexity, requiring verification from many highly trained experts and potentially explode labor costs? Would industries have jumped directly to adoption on that pitch? Of course not. The markets were priced on the promise of labor destruction. | | |
| ▲ | petesergeant 17 minutes ago | parent [-] | | > I agree, it is villainous and not my position I think typically one refers to this as a straw man |
| |
| ▲ | pastel8739 12 minutes ago | parent | prev | next [-] | | > Anthropic IPO'd on the promise that much of current labor can be displaced, yielding to new kinds of labor as we find ways to actualize that potential. Source for the second part? I’m not so sure that new labor types executed by humans are a large part of Anthropic’s vision for the future. | |
| ▲ | skeledrew 35 minutes ago | parent | prev | next [-] | | The promise of AI is to make it so we can do whatever we want, whenever we want, without having to think about sourcing food, clothing and shelter. | |
| ▲ | orbital-decay 12 minutes ago | parent | prev | next [-] | | What? Replacement is a commonly expected outcome in the entire field, no need to whitewash it. Countless words were written about it by the founders. Check OpenAI's charter¹ for instance: >artificial general intelligence (AGI)—by which we mean highly autonomous systems that outperform humans at most economically valuable work I.e. the entire company runs on the premise of taking most jobs from humans ¹ https://openai.com/charter/ | |
| ▲ | discreteevent 42 minutes ago | parent | prev | next [-] | | LLMs have not solved cancer. If you have a good argument, it shouldn't need a fiction to illustrate it. | |
| ▲ | paganel an hour ago | parent | prev [-] | | > that much of current labor can be displaced, yielding to new kinds of labor as we find ways to actualize that potential. If this isn't villainous then I don't know what else to say. At least they don't hide it behind the bush. |
|
|
|
|
| ▲ | Incipient an hour ago | parent | prev | next [-] |
| From my (ultra limited) understanding of lean, is that it all 'compiles' down to base primitives that can be trivially asserted. So regardless of the length and complexity, if the initial statements (12 lines or so?) can be expanded/compiled down to primitives we can irrefutably assert as true, then the length doesn't really matter to the conclusion? Granted we may never understand WHY it's proven (and that's another whole kettle of worms) but in terms of relying on the knowledge that all these primes lie on R(-1/2) (or whatever exactly it was) we're in the clear to carry on? |
| |
| ▲ | teamonkey 8 minutes ago | parent | next [-] | | Two reasons I can think of. 1) It shows a limitation about LLMs, that they can’t seem to produce a concise proof in the same way that humans can. 2) A mathematical proof - and especially one related to physics - should produce insight and implication. It’s fine that RH or N-S is proven, but what does that actually mean? What advances can come from that? This is hard to discern from a massive Lean proof. | |
| ▲ | pastel8739 14 minutes ago | parent | prev [-] | | Yes, but the understanding that I’ve gotten over the last couple of days is that we were _already_ continuing with math research as if this problem was true. Most mathematicians believed with high certainty that it would turn out to be true sooner or later. So it may be the case that an unintelligible proof to RH doesn’t change all that much, except redirect a lot of attention towards understanding it (which is what it sounds like the effort to shrink it is) | | |
| ▲ | Incipient 3 minutes ago | parent [-] | | Yeah that's well outside of my wheelhouse. The only thing I could figure is that there can/could be additional work that is now materially different knowing that RH is a FACT (correct under all circumstances) rather than 'correct in most cases'. Eg. Any additional lean proofs using RH could stop at 'relying on the RH proof' and not have to compute it the whole way down for every attempt? Or yeah, the proof is fairly unhelpful! Who knows, IANAM (...mathematician?) |
|
|
|
| ▲ | CodeCompost 16 minutes ago | parent | prev | next [-] |
| I'm an ignorant human but can anybody explain to me how LEAN is accepted as proof? I'm not trying to undermine it or knock it down but everybody seems to accept a LEAN proof as fact. Why is that? |
| |
| ▲ | pastel8739 10 minutes ago | parent [-] | | I mean, this is the entire point of lean. It’s designed to allow expressing proofs in a way that can be machine checked, ensuring there are no holes in the logic. People are convinced that it does so (and it has been so proven in other tools, I believe). |
|
|
| ▲ | 2 hours ago | parent | prev | next [-] |
| [deleted] |
|
| ▲ | stringfood 2 hours ago | parent | prev [-] |
| God created the universe in seven days and over 22 billion lines of lean, so we have some catching up to do |
| |