Zulip Chat Archive

Stream: general

Topic: Lean 4 status


Bjørn Kjos-Hanssen (Sep 18 2023 at 00:45):

So... how many % done is the mathlib translation from Lean 3 to Lean 4 at this point?
Specifically I'm wondering how hard it would be to translate files like these now: https://github.com/bjoernkjoshanssen/diophantine-lemma

Jireh Loreaux (Sep 18 2023 at 00:47):

100%

Jireh Loreaux (Sep 18 2023 at 00:47):

You should use mathport to translate them.

Eric Wieser (Sep 18 2023 at 00:52):

You are probably going to have a bad time translating a lean non-project like that repo; you should first add a leanpkg.toml and get it all building on current mathlib

Martin Dvořák (Sep 18 2023 at 06:54):

I was today years old when I learnt that 2x+3y=7.lean is a valid filename.

Kevin Buzzard (Sep 18 2023 at 06:55):

Can you import it though?

Ruben Van de Velde (Sep 18 2023 at 06:56):

Probably with «»

Bjørn Kjos-Hanssen (Sep 18 2023 at 16:23):

Martin Dvořák said:

I was today years old when I learnt that 2x+3y=7.lean is a valid filename.

And I was today years old when I learned that so is 7.lean=2x+3y, so equality may be commutative.


Last updated: Dec 20 2023 at 11:08 UTC