Remix.run Logo
▲ seizethecheese 4 hours ago

I got that impression at “250k pages of lean”.

Edit: I have no idea if this is actually a lot of pages for a proof. Looking into it, will update.

Edit 2: it's actually 17 million lines of lean. The pages is for the proof.

Edit 3: yes 17 million lines is a lot https://micjm.com/blog/yes-17m-lines-of-lean-is-a-lot/. A lot of line doesn't mean it's brute forced, but where there's smoke...

▲gf000 an hour ago | parent | next [-]

Well, you have to formalize a good chunk of math along the way, so it's more like "the lines of code of all your transitive dependencies".

While a human proof can just refer to others' work, lean can't do that (well, it can in a similar way to unsafe in rust. But then your whole proof is non-constructive and can't be properly checked, the famous "from a false statement anything can be derived"). Also, there is no handwaving like "the 0 case is trivial", even that has to be checked with each and every sub-cases.

▲andyferris 4 hours ago | parent | prev | next [-]

I believe lean is incredibly verbose - mathematical proofs are incredibly tedious and each human, hand-written line of a proof encodes multiple logical steps that our brains do kinda automatically (or, the logic from one step to the next is "left as an exercise for the reader").

No idea whether 250k pages is "too much" though.

▲sl0wbrainRot 4 hours ago | parent [-]

Yeah LOC too high! is not a good measure

Devs used to writing small chunks of leetcode to add a button are not used to noticing the LOC of the OS, dependency chain, network stack, etc

Count all the lines of just a typical SaaS app dep chain through npm or RoR, not the cloud infrastructure config and server stack and that gonna dwarf this 250k of Lean

▲slibhb 4 hours ago | parent | prev [-]

That's not a safe assumption. It's not even clear what "brute force" even means in this context. You could disprove Riemann with brute force, but this is a positive proof.