Skip to content

[Merged by Bors] - chore: rm @[simp] from factorial_succ#6840

Closed
mo271 wants to merge 2 commits intomasterfrom
mo271/simp_factorial
Closed

[Merged by Bors] - chore: rm @[simp] from factorial_succ#6840
mo271 wants to merge 2 commits intomasterfrom
mo271/simp_factorial

Conversation

@mo271
Copy link
Copy Markdown
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
Copy Markdown
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 force-pushed the mo271/simp_factorial branch from 1f7f113 to f3df2b0 Compare August 29, 2023 08:26
@alreadydone
Copy link
Copy Markdown
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
Copy Markdown

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

@kim-em
Copy link
Copy Markdown
Contributor

kim-em commented Aug 30, 2023

bors merge

@github-actions github-actions bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review 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
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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.

3 participants