Skip to content

[Merged by Bors] - chore: remove reducible from Function.Surjective#5063

Closed
kim-em wants to merge 1 commit intomasterfrom
why_is_surjective_reducible
Closed

[Merged by Bors] - chore: remove reducible from Function.Surjective#5063
kim-em wants to merge 1 commit intomasterfrom
why_is_surjective_reducible

Conversation

@kim-em
Copy link
Copy Markdown
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

@kim-em kim-em added awaiting-review awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. labels Jun 15, 2023
@gebner
Copy link
Copy Markdown
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
Copy Markdown

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.

@github-actions github-actions bot added delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). and removed awaiting-review awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. labels Jun 15, 2023
@kim-em
Copy link
Copy Markdown
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 <scott.morrison@anu.edu.au>
@bors
Copy link
Copy Markdown

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 <scott.morrison@anu.edu.au>
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 <scott.morrison@anu.edu.au>
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 <scott.morrison@gmail.com>
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 <scott.morrison@gmail.com>
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 <scott.morrison@gmail.com>
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 <scott.morrison@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). 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