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: removed (incorrect) test for symm, trans attributes #857

Closed
wants to merge 2 commits into from

Conversation

siddhartha-gadgil
Copy link
Collaborator

@siddhartha-gadgil siddhartha-gadgil commented Dec 5, 2022

Fixes error I made: introducing a test for symm and trans attributes to check that the lemmas were "genuinely" symm/trans lemmas. However the tests had false positives, e.g. #855 (which has been added to the tests).

This short commit removes the tests. They were not present in mathlib3 anyway and the worst that happens if a lemma is incorrectly labelled is that the symm tactic tries and fails with this.

As a warning it may be useful to have a test, but it should have no false positives. For now it seems the best approach is to drop the test.

@siddhartha-gadgil siddhartha-gadgil changed the title WIP: removed test for symm, trans attributes fix: removed (incorrect) test for symm, trans attributes Dec 6, 2022
@siddhartha-gadgil siddhartha-gadgil added the awaiting-review The author would like community review of the PR label Dec 6, 2022
@semorrison
Copy link
Contributor

bors merge

@github-actions github-actions bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review The author would like community review of the PR labels Dec 6, 2022
bors bot pushed a commit that referenced this pull request Dec 6, 2022
Fixes error I made: introducing a test for `symm` and `trans` attributes to check that the lemmas were "genuinely" symm/trans lemmas. However the tests had false positives, e.g. #855 (which has been added to the tests).

This short commit removes the tests. They were not present in `mathlib3` anyway and the worst that happens if a lemma is incorrectly labelled is that the `symm` tactic tries and fails with this.

As a warning it may be useful to have a test, but it should have no false positives. For now it seems the best approach is to drop the test.
@bors
Copy link

bors bot commented Dec 6, 2022

Build failed (retrying...):

bors bot pushed a commit that referenced this pull request Dec 6, 2022
Fixes error I made: introducing a test for `symm` and `trans` attributes to check that the lemmas were "genuinely" symm/trans lemmas. However the tests had false positives, e.g. #855 (which has been added to the tests).

This short commit removes the tests. They were not present in `mathlib3` anyway and the worst that happens if a lemma is incorrectly labelled is that the `symm` tactic tries and fails with this.

As a warning it may be useful to have a test, but it should have no false positives. For now it seems the best approach is to drop the test.
@bors
Copy link

bors bot commented Dec 6, 2022

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title fix: removed (incorrect) test for symm, trans attributes [Merged by Bors] - fix: removed (incorrect) test for symm, trans attributes Dec 6, 2022
@bors bors bot closed this Dec 6, 2022
@bors bors bot deleted the symm_bugfix branch December 6, 2022 23:44
bors bot pushed a commit that referenced this pull request Dec 8, 2022
Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge This PR has been sent to bors.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants