anentropic 15 hours ago

TIL... I didn't realise that Lean was usable(?) for 'actual programming' rather than just math proofs etc

wryoak a day ago

It’s funny how one dev’s pain point is another’s salve

  • StopDisinfo910 21 hours ago

    The post is kind of funny to be honest. It’s a lot of contorting to say they just want to use something which they feel is newer and more hype.

    I think this quote encompasses the whole thing:

    > Admittedly the abstractions in the above code probably make it a bit slower than the comparable OCaml one, but the nice thing about Lean's metaprogramming support is that in theory, we could incrementally introduce our own optimisations into the pipeline

    Yes, the OP dislikes Ocaml because the compiler is conservative so you can reason about run time performance so you might want to rewrite in a less pretty but more efficient style. Lean is better because while the performance is worse all the time they _in theory_ maybe could be better using meta programming.

    Not that I have anything against Lean, it’s a very cool proof assistant with a bright future. I’m not sure I would put forward what the author puts forward to sell it though.

    AI generated proofs in Lean are a sight to behold and probably reason enough to get interested.