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] - chore(diamonds): appropriate transparency levels for diamond checks #10910
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mattrobball
added
the
awaiting-review
The author would like community review of the PR
label
Feb 24, 2024
eric-wieser
reviewed
Feb 24, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you do test/instance_diamonds
too?
kbuzzard
reviewed
Feb 24, 2024
Now includes |
1 task
bors merge Thanks! |
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
Feb 24, 2024
mathlib-bors bot
pushed a commit
that referenced
this pull request
Feb 24, 2024
…10910) Currently, we have multiple "no-diamond" tests of the form ```lean example : x = y := rfl ``` where `X` and `Y` are instances of some `class`. The problem is that since `simp` and type class synthesis operate at `reducible_and_instances` transparency this check means little. We went through all the mentions of diamonds and either added `with_reducible_and_instancse` or added a reference to the issue #10906. Co-authored-by: Kevin Buzzard <k.buzzard@imperial.ac.uk>
Pull request successfully merged into master. Build succeeded: |
mathlib-bors
bot
changed the title
chore(diamonds): appropriate transparency levels for diamond checks
[Merged by Bors] - chore(diamonds): appropriate transparency levels for diamond checks
Feb 24, 2024
riccardobrasca
pushed a commit
that referenced
this pull request
Mar 1, 2024
…10910) Currently, we have multiple "no-diamond" tests of the form ```lean example : x = y := rfl ``` where `X` and `Y` are instances of some `class`. The problem is that since `simp` and type class synthesis operate at `reducible_and_instances` transparency this check means little. We went through all the mentions of diamonds and either added `with_reducible_and_instancse` or added a reference to the issue #10906. Co-authored-by: Kevin Buzzard <k.buzzard@imperial.ac.uk>
dagurtomas
pushed a commit
that referenced
this pull request
Mar 22, 2024
…10910) Currently, we have multiple "no-diamond" tests of the form ```lean example : x = y := rfl ``` where `X` and `Y` are instances of some `class`. The problem is that since `simp` and type class synthesis operate at `reducible_and_instances` transparency this check means little. We went through all the mentions of diamonds and either added `with_reducible_and_instancse` or added a reference to the issue #10906. Co-authored-by: Kevin Buzzard <k.buzzard@imperial.ac.uk>
Louddy
pushed a commit
that referenced
this pull request
Apr 15, 2024
…10910) Currently, we have multiple "no-diamond" tests of the form ```lean example : x = y := rfl ``` where `X` and `Y` are instances of some `class`. The problem is that since `simp` and type class synthesis operate at `reducible_and_instances` transparency this check means little. We went through all the mentions of diamonds and either added `with_reducible_and_instancse` or added a reference to the issue #10906. Co-authored-by: Kevin Buzzard <k.buzzard@imperial.ac.uk>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Currently, we have multiple "no-diamond" tests of the form
example : x = y := rfl
where
X
andY
are instances of someclass
. The problem is that sincesimp
and type class synthesis operate atreducible_and_instances
transparency this check means little.We went through all the mentions of diamonds and either added
with_reducible_and_instancse
or added a reference to the issue #10906.