Zulip Chat Archive
Stream: PR reviews
Topic: !4#2994 NumberTheory.LegendreSymbol.MulCharacter
Damiano Testa (May 17 2023 at 22:21):
I checked out the PR, merged master and there were no errors, except some docs linter. I fixed those. Is it ok if I simply push back to GitHub? Do I need permissions to do so?
Thanks!
Matthew Ballard (May 17 2023 at 22:24):
You should be able to push it.
Damiano Testa (May 17 2023 at 22:25):
ERROR: Permission to leanprover-community/mathlib4.git denied to adomani.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
It is the first time that I work on mathlib4...
Matthew Ballard (May 17 2023 at 22:26):
@maintainers
Scott Morrison (May 17 2023 at 22:31):
@Damiano Testa, invite sent!
Scott Morrison (May 17 2023 at 22:31):
Sorry, I saw your earlier message, and assumed you'd already have access copied across from mathlib3 at some earlier point.
Damiano Testa (May 17 2023 at 22:31):
Thank you! PR pushed! Now I will see if there was really nothing left to do! :smile:
Damiano Testa (May 17 2023 at 22:32):
No, I've been away from Lean for quite some time and never started with the port, unfortunately.
Matthew Ballard (May 17 2023 at 22:32):
Scott Morrison said:
Sorry, I saw your earlier message, and assumed you'd already have access copied across from mathlib3 at some earlier point.
I also thought permissions were org wide.
Damiano Testa (May 17 2023 at 22:52):
There is a failure of the simpNF
linter in a different file, here and the next lemma. However, #lint
locally reports no issue. Should I just remove the @[simp]
tags and see what happens?
Matthew Ballard (May 17 2023 at 22:57):
Yeah see if it breaks anything in the file. Then maybe backport the removal of simp attributes to check it doesn't break any depedent?
Matthew Ballard (May 17 2023 at 23:01):
These kinds of simpNF
failures are annoying
Damiano Testa (May 17 2023 at 23:20):
All checks passed with the removal of the simp lemmas!
Eric Wieser (May 17 2023 at 23:25):
I assume you only removed the _attributes_ in !4#2994?
Eric Wieser (May 17 2023 at 23:26):
Note that the CI linter does not require you to add docstrings
Damiano Testa (May 17 2023 at 23:27):
Ah, sorry, I misspoke: I removed the tags! Btw, they are in a different file from the ported one, so they stand out.
Damiano Testa (May 17 2023 at 23:28):
As for the docstrings, I still think that they add the human touch...
Eric Wieser (May 17 2023 at 23:31):
The danger of adding docstrings while porting is that the people reviewing them are less likely to be familiar with the content than if you made a standalone doc PR
Damiano Testa (May 17 2023 at 23:34):
I did not think of this: as I jumped in after all the hard work had been done, I was just happy to contribute something... Should I remove the docstrings?
Damiano Testa (May 17 2023 at 23:38):
I added comments to the PR for the two added docstrings: this way, they are at least documented.
Last updated: Dec 20 2023 at 11:08 UTC