Skip to content

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

Closed
kim-em wants to merge 1 commit into
masterfrom
why_is_surjective_reducible
Closed

kim-em wants to merge 1 commit into
masterfrom
why_is_surjective_reducible

Conversation

@kim-em

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

Copy link
Copy Markdown
Contributor

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

gebner commented Jun 15, 2023

Copy link
Copy Markdown
Member

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

bors Bot commented Jun 15, 2023

Copy link
Copy Markdown

✌️ 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

kim-em commented Jun 15, 2023

Copy link
Copy Markdown
Contributor Author

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

bors Bot commented Jun 15, 2023

Copy link
Copy Markdown

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 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