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] - chore: remove reducible from Function.Surjective #5063

Closed
wants to merge 1 commit into from

Conversation

kim-em
Copy link
Contributor

@kim-em kim-em commented Jun 15, 2023

The @[reducible] attribute on Function.Surjective is apparently not needed, and currently prevents @[simp] lemmas with Function.Surjective side conditions from firing, see zulip discussion.


Open in Gitpod

@gebner
Copy link
Member

gebner commented Jun 15, 2023

I think this is just an oversight, we've already removed @[reducible] from the other definitions (injectivity, etc.). See also #372 (comment) for an earlier discussion

Zulip discussion from today: https://leanprover.zulipchat.com/#narrow/stream/287929-mathlib4/topic/simp.20lemmas.20with.20side.20conditions/near/366345908

bors d+

@bors
Copy link

bors bot commented Jun 15, 2023

✌️ semorrison can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@kim-em
Copy link
Contributor Author

kim-em commented Jun 15, 2023

bors merge

@github-actions github-actions bot added the ready-to-merge This PR has been sent to bors. label Jun 15, 2023
bors bot pushed a commit that referenced this pull request Jun 15, 2023
The @[reducible] attribute on `Function.Surjective` is apparently not needed, and currently prevents `@[simp]` lemmas with `Function.Surjective` side conditions from firing, see [zulip discussion](https://leanprover.zulipchat.com/#narrow/stream/287929-mathlib4/topic/simp.20lemmas.20with.20side.20conditions).



Co-authored-by: Scott Morrison <[email protected]>
@bors
Copy link

bors bot commented Jun 15, 2023

Pull request successfully merged into master.

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot changed the title chore: remove reducible from Function.Surjective [Merged by Bors] - chore: remove reducible from Function.Surjective Jun 15, 2023
@bors bors bot closed this Jun 15, 2023
@bors bors bot deleted the why_is_surjective_reducible branch June 15, 2023 05:48
alexkeizer pushed a commit that referenced this pull request Jun 22, 2023
The @[reducible] attribute on `Function.Surjective` is apparently not needed, and currently prevents `@[simp]` lemmas with `Function.Surjective` side conditions from firing, see [zulip discussion](https://leanprover.zulipchat.com/#narrow/stream/287929-mathlib4/topic/simp.20lemmas.20with.20side.20conditions).



Co-authored-by: Scott Morrison <[email protected]>
kim-em added a commit that referenced this pull request Jun 25, 2023
The @[reducible] attribute on `Function.Surjective` is apparently not needed, and currently prevents `@[simp]` lemmas with `Function.Surjective` side conditions from firing, see [zulip discussion](https://leanprover.zulipchat.com/#narrow/stream/287929-mathlib4/topic/simp.20lemmas.20with.20side.20conditions).



Co-authored-by: Scott Morrison <[email protected]>
bors bot pushed a commit that referenced this pull request Aug 2, 2023
This was done once in #5063, then accidentally reverted in #5859.



Co-authored-by: Scott Morrison <[email protected]>
kim-em added a commit that referenced this pull request Aug 3, 2023
This was done once in #5063, then accidentally reverted in #5859.



Co-authored-by: Scott Morrison <[email protected]>
kim-em added a commit that referenced this pull request Aug 3, 2023
This was done once in #5063, then accidentally reverted in #5859.



Co-authored-by: Scott Morrison <[email protected]>
kim-em added a commit that referenced this pull request Aug 14, 2023
This was done once in #5063, then accidentally reverted in #5859.



Co-authored-by: Scott Morrison <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
delegated ready-to-merge This PR has been sent to bors.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants