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(data/{multiset,finset}/pi): generalize from Type to Sort #18429

Closed
wants to merge 2 commits into from

Conversation

eric-wieser
Copy link
Member

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

Everything in this file about multiset.pi.cons generalizes to Sort.
The parts of the file which don't generalize now use β instead.

This is motivated by #18417, though I do not know if supporting Sort is actually important there.

Forward-ported as leanprover-community/mathlib4#2220


Open in Gitpod

@eric-wieser eric-wieser added awaiting-CI The author would like to see what CI has to say before doing more work. modifies-synchronized-file This PR touches a files that has already been ported to mathlib4, and may need a synchronization PR. labels Feb 11, 2023
@eric-wieser eric-wieser force-pushed the eric-wieser/multiset-pi.cons-sort branch from 604797b to 01dfdb5 Compare February 11, 2023 23:46
eric-wieser added a commit to leanprover-community/mathlib4 that referenced this pull request Feb 11, 2023
Also removes a duplicate lemma that was added by accident while porting.
@eric-wieser eric-wieser changed the title chore(data/multiset/pi): generalize from Type to Sort chore(data/{multiset,finset}/pi): generalize from Type to Sort Feb 12, 2023
@github-actions github-actions bot removed the awaiting-CI The author would like to see what CI has to say before doing more work. label Feb 12, 2023
@eric-wieser eric-wieser added awaiting-review The author would like community review of the PR easy < 20s of review time. See the lifecycle page for guidelines. labels Feb 16, 2023
Copy link
Collaborator

@YaelDillies YaelDillies left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well spotted! This looks reasonable, although we might want to move the material that's generalisable to Sort* before the Type*-specific one.

maintainer merge

@github-actions
Copy link

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

@eric-wieser
Copy link
Member Author

although we might want to move the material that's generalisable to Sort* before the Type*-specific one.

I thought about that, but that seems more annoying to forward-port (and more importantly, review after forward-porting)

@kmill
Copy link
Collaborator

kmill commented Feb 28, 2023

It looks reasonable, but I'd rather let you merge it since I don't know the context w.r.t. mathport.

bors d+

@github-actions github-actions bot added delegated The PR author may merge after reviewing final suggestions. and removed awaiting-review The author would like community review of the PR labels Feb 28, 2023
@bors
Copy link

bors bot commented Feb 28, 2023

✌️ eric-wieser can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@eric-wieser
Copy link
Member Author

bors merge

@github-actions github-actions bot added the ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) label Feb 28, 2023
bors bot pushed a commit that referenced this pull request Feb 28, 2023
…18429)

Everything in this file about `multiset.pi.cons` generalizes to `Sort`.
The parts of the file which don't generalize now use `β` instead.

This is motivated by #18417, though I do not know if supporting `Sort` is actually important there.

Forward-ported as leanprover-community/mathlib4#2220
@bors
Copy link

bors bot commented Feb 28, 2023

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title chore(data/{multiset,finset}/pi): generalize from Type to Sort [Merged by Bors] - chore(data/{multiset,finset}/pi): generalize from Type to Sort Feb 28, 2023
@bors bors bot closed this Feb 28, 2023
@bors bors bot deleted the eric-wieser/multiset-pi.cons-sort branch February 28, 2023 20:57
eric-wieser added a commit that referenced this pull request Mar 1, 2023
This discard the changes from #18429, as these are already present in the new version.
bors bot pushed a commit to leanprover-community/mathlib4 that referenced this pull request Mar 19, 2023
Also removes a duplicate lemma that was added by accident while porting.
bors bot pushed a commit to leanprover-community/mathlib4 that referenced this pull request Mar 19, 2023
Also removes a duplicate lemma that was added by accident while porting.
bors bot pushed a commit to leanprover-community/mathlib4 that referenced this pull request Mar 19, 2023
Also removes a duplicate lemma that was added by accident while porting.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
delegated The PR author may merge after reviewing final suggestions. easy < 20s of review time. See the lifecycle page for guidelines. modifies-synchronized-file This PR touches a files that has already been ported to mathlib4, and may need a synchronization PR. ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants