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: update SHA #2537

Closed
wants to merge 1 commit into from
Closed

Conversation

eric-wieser
Copy link
Member

@eric-wieser eric-wieser commented Feb 28, 2023

This golf was already ported, see

theorem count_replicate (a b : α) (n : ℕ) : count a (replicate n b) = if a = b then n else 0 :=
List.count_replicate ..
#align multiset.count_replicate Multiset.count_replicate


Open in Gitpod

https://leanprover-community.github.io/mathlib-port-status/file/data/multiset/basic?range=ccad6d5093bd2f5c6ca621fc74674cce51355af6..7c523cb78f4153682c2929e3006c863bfef463d0

@eric-wieser eric-wieser added mathlib3-pair This PR is a forward-port of a mathlib3 PR or part of one, either under review or recently merged easy < 20s of review time. See the lifecycle page for guidelines. labels Feb 28, 2023
@ChrisHughes24
Copy link
Member

bors merge

@bors
Copy link

bors bot commented Feb 28, 2023

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title chore: update SHA [Merged by Bors] - chore: update SHA Feb 28, 2023
@bors bors bot closed this Feb 28, 2023
@bors bors bot deleted the forward-port-18125 branch February 28, 2023 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
easy < 20s of review time. See the lifecycle page for guidelines. mathlib3-pair This PR is a forward-port of a mathlib3 PR or part of one, either under review or recently merged 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

2 participants