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: rm @[simp] from factorial_succ #6840

Closed
wants to merge 2 commits into from

Conversation

mo271
Copy link
Collaborator

@mo271 mo271 commented Aug 29, 2023


Open in Gitpod

@mo271 mo271 marked this pull request as ready for review August 29, 2023 07:27
@mo271
Copy link
Collaborator Author

mo271 commented Aug 29, 2023

suggested by @alreadydone here #6806 (comment)

@mo271 mo271 changed the title chore: rm @[simp] from factorial_succ chore: rm @[simp] from factorial_succ Aug 29, 2023
@mo271 mo271 closed this Aug 29, 2023
@mo271 mo271 reopened this Aug 29, 2023
@mo271 mo271 added the awaiting-review The author would like community review of the PR label Aug 29, 2023
@alreadydone
Copy link
Contributor

Thanks!
I can find some similar lemmas in mathlib that are simp lemmas (e.g. Polynomial.hermite_succ, Cardinal.aleph'_succ, aleph_succ, beth_succ) and some that are not (GeneralizedContinuedFraction.convergents_succ, Sensitivity.f_succ_apply, Function.iterate_succ_apply), and I think it's reasonable to remove simp here.

maintainer merge

@github-actions
Copy link

🚀 Pull request has been placed on the maintainer queue by alreadydone.

@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 Aug 30, 2023
bors bot pushed a commit that referenced this pull request Aug 30, 2023
Co-authored-by: Moritz Firsching <firsching@google.com>
@bors
Copy link

bors bot commented Aug 30, 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: rm @[simp] from factorial_succ [Merged by Bors] - chore: rm @[simp] from factorial_succ Aug 30, 2023
@bors bors bot closed this Aug 30, 2023
@bors bors bot deleted the mo271/simp_factorial branch August 30, 2023 05:05
@mo271
Copy link
Collaborator Author

mo271 commented Aug 30, 2023

Thanks! I can find some similar lemmas in mathlib that are simp lemmas (e.g. Polynomial.hermite_succ, Cardinal.aleph'_succ, aleph_succ, beth_succ) and some that are not (GeneralizedContinuedFraction.convergents_succ, Sensitivity.f_succ_apply, Function.iterate_succ_apply), and I think it's reasonable to remove simp here.

@alreadydone
Perhaps also
Function.iterate_succ does not need to be simp?

@alreadydone
Copy link
Contributor

alreadydone commented Aug 30, 2023

Probably? If you search for it you'll see lots of use of the primed version Function.iterate_succ' (or Function.iterate_succ_apply') which transforms the LHS in another way. But I must admit I'm not familiar with rationales to mark a lemma @[simp] or not, as I seldom at any simp attribute in my work at all ...

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

3 participants