Zulip Chat Archive

Stream: mathlib4

Topic: retrieve old lemma


Antoine Chambert-Loir (Oct 29 2024 at 12:05):

It seems that a while ago, Set.ncard_coe used to exist, but that it does not exist anymore. How could I find what it did?

Riccardo Brasca (Oct 29 2024 at 12:07):

There is https://mathlib-changelog.org, but it not finding your lemma.

Riccardo Brasca (Oct 29 2024 at 12:16):

well, you can always go to any commit at any time. do you have an idea when it existed? like one year ago? two years ago?

Anatole Dedecker (Oct 29 2024 at 12:18):

It sounds weird because this lemma isn't even found in Mathlib 3 documentation

Riccardo Brasca (Oct 29 2024 at 12:18):

Anyway, are you sure? I don't find it with git log (but maybe I don't know how to use it)

Riccardo Brasca (Oct 29 2024 at 12:22):

Note that is exists on the internet, where the author says "Modifications to the Iwasawa pull request by Antoine Chambert-Loir (Chambert-Loir,2024), compared to its state on 2024-05-28"

Riccardo Brasca (Oct 29 2024 at 12:23):

Indeed you add it in #12048

Eric Wieser (Oct 29 2024 at 12:25):

I guess the moral here is to split out all your trivial lemmas from large PRs, else you'll go mad wondering where they went in other PRs.

Antoine Chambert-Loir (Oct 29 2024 at 12:29):

indeed I go mad, but what do you mean precisely?

Antoine Chambert-Loir (Oct 29 2024 at 12:30):

As a matter of fact, I don't understand how you manage to have a big lean project be safely split out into small PRs, on which many important modifications are made, while keeping the whole stuff OK.

Yaël Dillies (Oct 29 2024 at 13:52):

That's great, Antoine, because I am in the process of writing a paper on just this :wink:

Yaël Dillies (Oct 29 2024 at 13:53):

Will let you know when I am at a point where you can reasonably get something from reading it


Last updated: May 02 2025 at 03:31 UTC