Skip to content

[Merged by Bors] - chore: remove @[simp] from List.replicate_succ#14527

Closed
kim-em wants to merge 2 commits intomasterfrom
replicate_succ
Closed

[Merged by Bors] - chore: remove @[simp] from List.replicate_succ#14527
kim-em wants to merge 2 commits intomasterfrom
replicate_succ

Conversation

@kim-em
Copy link
Copy Markdown
Contributor

@kim-em kim-em commented Jul 8, 2024

I may be tilting at windmills, but I've removed @[simp] from List.replicate_succ in Lean, and I think it results in slightly better simp normal forms in some situations. We don't yet have automatic post-Mathlib testing of simp normal forms, but I hope we will eventually.

In the meantime, this removes an inconsistency by cancelling Mathlib's downstream addition of @[simp] to List.replicate.succ. Mathlib doesn't mind much.

@kim-em kim-em changed the title chore: remove @[simp] from List.replicate_succ chore: remove @[simp] from List.replicate_succ Jul 8, 2024
@github-actions
Copy link
Copy Markdown

github-actions bot commented Jul 8, 2024

PR summary 50af5c1d2a

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

No declarations were harmed in the making of this PR! 🐙

You can run this locally as follows
## summary with just the declaration names:
./scripts/no_lost_declarations.sh short <optional_commit>

## more verbose report:
./scripts/no_lost_declarations.sh <optional_commit>

@fpvandoorn fpvandoorn added the awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. label Jul 8, 2024
@github-actions github-actions bot removed the awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. label Jul 8, 2024
@jcommelin
Copy link
Copy Markdown
Member

Thanks 🎉

bors merge

@github-actions github-actions bot added the ready-to-merge This PR has been sent to bors. label Jul 12, 2024
mathlib-bors bot pushed a commit that referenced this pull request Jul 12, 2024
I may be tilting at windmills, but I've removed `@[simp]` from `List.replicate_succ` in Lean, and I think it results in slightly better simp normal forms in some situations. We don't yet have automatic post-Mathlib testing of simp normal forms, but I hope we will eventually.

In the meantime, this removes an inconsistency by cancelling Mathlib's downstream addition of `@[simp]` to `List.replicate.succ`. Mathlib doesn't mind much.
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Jul 12, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore: remove @[simp] from List.replicate_succ [Merged by Bors] - chore: remove @[simp] from List.replicate_succ Jul 12, 2024
@mathlib-bors mathlib-bors bot closed this Jul 12, 2024
@mathlib-bors mathlib-bors bot deleted the replicate_succ branch July 12, 2024 12:54
@adomani adomani mentioned this pull request Aug 1, 2024
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