Zulip Chat Archive

Stream: Zulip meta

Topic: Lean 3 vs Lean 4


Martin Dvořák (Feb 14 2023 at 19:11):

I think we should reëvaluate which version of Lean is the default outside of the streams lean4 and mathlib4. Possibly we could create a separate stream for Lean 3 since Lean 4 has gained a lot of popularity recently.

Marcus Rossel (Feb 14 2023 at 19:39):

I think the natural point to switch the default is when Lean 4 is released.

Kevin Buzzard (Feb 15 2023 at 02:21):

A related question is whether we should split the #mathlib4 stream into a porting stream and another stream

Martin Dvořák (Feb 15 2023 at 12:42):

Marcus Rossel said:

I think the natural point to switch the default is when Lean 4 is released.

In what sense is Lean 4 "not released" now?

Johan Commelin (Feb 15 2023 at 12:43):

See the first line of https://github.com/leanprover/lean4/

Johan Commelin (Feb 15 2023 at 12:43):

See also https://github.com/leanprover/lean4/releases

Bulhwi Cha (Feb 15 2023 at 13:55):

When will the first stable release of Lean 4 come out?

Kevin Buzzard (Feb 15 2023 at 16:21):

When it comes out.

Kevin Buzzard (Feb 15 2023 at 16:22):

We will let the devs decide when they are happy.

Mario Carneiro (Feb 16 2023 at 05:12):

mathlib4 being (mostly) ported is likely to be a prerequisite for the release

Martin Dvořák (Feb 20 2023 at 13:32):

If I understand correctly, we shouldn't ask Lean 4 questions in the "Is there code for X?" stream. The only streams for questions about Lean 4 are lean4 and mathlib4.

Eric Wieser (Feb 20 2023 at 13:35):

I think generally "is there code for X" is usually for "does this exist in mathlib", although occasionally is fishing for links to people's external projects.

Eric Wieser (Feb 20 2023 at 13:35):

And of course anything that exists in mathlib4 today likely also exists in mathlib3

Johan Commelin (Feb 20 2023 at 13:37):

I think #lean4 is fine for this sort of questions. Once it becomes high traffic we can think about how to split the stream.

Martin Dvořák (Feb 20 2023 at 13:38):

Eric Wieser said:

I think generally "is there code for X" is usually for "does this exist in mathlib", although occasionally is fishing for links to people's external projects.

So if I want to know only about stuff that is available when using Lean 4, I shouldn't ask there. Sounds reasonable.

Martin Dvořák (Aug 25 2023 at 11:05):

Is Lean 4 the default in all channels now?

Kevin Buzzard (Aug 25 2023 at 11:27):

Depends on who you ask, probably, but if you're asking me then the answer is "yes".

Scott Morrison (Aug 25 2023 at 21:37):

Yes. I think we can safely include in answers to any Lean 3 specific questions a suggestion that the user migrate!

Martin Dvořák (Aug 26 2023 at 18:18):

I think we should create a lean3 stream and defer all questions about Lean 3 (such that "switch to Lean 4" is not a desirable answer) to it.

Scott Morrison (Aug 26 2023 at 23:29):

I'd prefer to see a nontrivial number of examples of such before devoting a stream to it.

Timo Carlin-Burns (Nov 05 2023 at 05:19):

Now that Lean 4 is released and lean 3 is deprecated, what's the difference between #general and #lean4?

Scott Morrison (Nov 05 2023 at 05:26):

My take is that #lean4 is about implementation of the Lean 4 language, rather than using it.

Timo Carlin-Burns (Nov 05 2023 at 05:29):

then what's #lean4 dev?

Mario Carneiro (Nov 05 2023 at 05:33):

not very active

Mario Carneiro (Nov 05 2023 at 05:33):

but historically it has been used for questions about how to develop in the lean4 repo itself

Mario Carneiro (Nov 05 2023 at 05:35):

RFC style questions and suggestions for language changes usually go in #lean4


Last updated: Dec 20 2023 at 11:08 UTC