News for hackers. Stuff that matters.
Re:Yes, 17M lines of Lean is a lot by GrollingGrakbor on Monday November 23, 2026 @02:01AM (#50608393)
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.
Re:Yes, 17M lines of Lean is a lot by grey-area on Monday November 23, 2026 @02:24AM (#50608536)
Elegance is information compression.
Re:Yes, 17M lines of Lean is a lot by GrollingGrakbor on Monday November 23, 2026 @02:41AM (#50608621)
Not really/only tangentially. Elegance also implies an artistic component.
Re:Yes, 17M lines of Lean is a lot by grey-area on Monday November 23, 2026 @03:10AM (#50608819)
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.

Re:Yes, 17M lines of Lean is a lot by merelysounds on Monday November 23, 2026 @04:11AM (#50609219)
I’d say this closer describes Kolmogorov complexity than elegance. Then again, I am nitpicking and a verbose lean proof is far from both.
Re:Yes, 17M lines of Lean is a lot by exhaze on Monday November 23, 2026 @08:39AM (#50611364)
Simplicity does not always entail aesthetics IMO since aesthetics are frame-relative.

Take Noether’s Theorem - incredibly simple in its minimality and consequential power wrt being essential to so much of modern physics, yet its elegance is a matter of debate because only someone who understands the context for the theorem is able to appreciate the elegance.

Re:Yes, 17M lines of Lean is a lot by grey-area on Monday November 23, 2026 @04:09PM (#50619338)
As your second paragraph notes, simplicity is also frame relative.

Not everyone will be able to appreciate all elegance, that’s normal surely? I’d want to defer to people who understand the context any judgement of elegance, wouldn’t you?

Re:Yes, 17M lines of Lean is a lot by sleepyams on Monday November 23, 2026 @11:34AM (#50614694)
I don't know why you're getting downvotes, compression/simplicity is definitely only part of story with "elegance", especially in math. Yes, simplicity _can_ be elegant, but so can something that's complex. In my opinion, it's more over about the overall composition itself, and the juxtaposition of simplicity and complexity, that really makes something elegant.
Re:Yes, 17M lines of Lean is a lot by remus on Monday November 23, 2026 @12:49PM (#50616028)
> ...the models are just really bad at information compression.

I think there is a little more to it than this, in that lean proofs are necessarily much more rigorous than a typical human proof. A human proof typically assumes a lot from the reader (which is partly why maths can feel pretty impenetrable), whereas a lean proof spells out every detail.

Re:Yes, 17M lines of Lean is a lot by bmicraft on Monday November 23, 2026 @01:30PM (#50616660)
> You see it when writing code too, they introduce duplicates all over the place.

I've found this is usually because they don't have the other part they're duplicating fully in context. Telling it to read a couple relevant files fully helps - that often makes it come up with more elegant solutions too.

Re:Yes, 17M lines of Lean is a lot by jdiff on Monday November 23, 2026 @03:35PM (#50618862)
Only usually. I had a current frontier model write a new Foo and asked it to attach them to my bar. I got

    this.FooA = new Foo();
    this.FooB = new Foo();
    this.Foos = [this.FooA, this.FooB];
    this.Foo = this.Foos;
These were entirely new objects with no existing instances of this pattern in this codebase. There were no references at all to the duplicate properties.