Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Merged by Bors] - fix(logic/basic): remove noncomputable lemma #10292

Closed
wants to merge 3 commits into from

Conversation

eric-wieser
Copy link
Member

@eric-wieser eric-wieser commented Nov 12, 2021

It's been three years since this was discussed according to the zulip archive link in the library note.

According to CI, the reason is no longer relevant. Leaving these as noncomputable lemma is harmful as it results in non-defeq instance diamonds sometimes as lean was not able to unfold the lemmas to get to the data underneath.

Since these are now defs, the linter requires them to have docstrings.


This came up on Zulip.

Open in Gitpod

@eric-wieser eric-wieser changed the title wip(logic/basic): try removing noncomputable lemma fix(logic/basic): remove noncomputable lemma Nov 12, 2021
@eric-wieser eric-wieser added the awaiting-review The author would like community review of the PR label Nov 12, 2021
Copy link
Member

@jcommelin jcommelin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 🎉

bors merge

@github-actions github-actions bot added ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) and removed awaiting-review The author would like community review of the PR labels Nov 15, 2021
bors bot pushed a commit that referenced this pull request Nov 15, 2021
It's been three years since this was discussed according to the zulip archive link in the library note.

According to CI, the reason is no longer relevant. Leaving these as `noncomputable lemma` is harmful as it results in non-defeq instance diamonds sometimes as lean was not able to unfold the lemmas to get to the data underneath.

Since these are now `def`s, the linter requires them to have docstrings.
@bors
Copy link

bors bot commented Nov 15, 2021

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title fix(logic/basic): remove noncomputable lemma [Merged by Bors] - fix(logic/basic): remove noncomputable lemma Nov 15, 2021
@bors bors bot closed this Nov 15, 2021
@bors bors bot deleted the eric-wieser/remove-decidable-lemmas branch November 15, 2021 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants