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] - feat(data/finset): add finset.erase_none #9630

Closed
wants to merge 5 commits into from

Conversation

urkud
Copy link
Member

@urkud urkud commented Oct 8, 2021

  • move option.to_finset and finset.insert_none to a new file data.finset.option; redefine the latter in terms of finset.cons;
  • define finset.erase_none, prove lemmas about it;
  • add finset.prod_cons, finset.sum_cons, finset.coe_cons, finset.cons_subset_cons, finset.card_cons;
  • add finset.subtype_mono and finset.bUnion_congr;
  • add set.insert_subset_insert_iff;
  • add @[simp] to finset.map_subset_map;
  • upgrade finset.map_embedding to an order_embedding;
  • add @[simps] to equiv.option_is_some_equiv and function.embedding.some;
  • golf some proofs.

Open in Gitpod

@urkud urkud added needs-documentation This PR is missing required documentation awaiting-review The author would like community review of the PR awaiting-CI The author would like to see what CI has to say before doing more work. labels Oct 8, 2021
@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 Oct 9, 2021
Copy link
Member

@jcommelin jcommelin left a comment

Choose a reason for hiding this comment

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

Thanks 🎉

bors merge

@github-actions github-actions bot added ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) and removed awaiting-review The author would like community review of the PR labels Oct 11, 2021
bors bot pushed a commit that referenced this pull request Oct 11, 2021
* move `option.to_finset` and `finset.insert_none` to a new file `data.finset.option`; redefine the latter in terms of `finset.cons`;
* define `finset.erase_none`, prove lemmas about it;
* add `finset.prod_cons`, `finset.sum_cons`, `finset.coe_cons`, `finset.cons_subset_cons`, `finset.card_cons`;
* add `finset.subtype_mono` and `finset.bUnion_congr`;
* add `set.insert_subset_insert_iff`;
* add `@[simp]` to `finset.map_subset_map`;
* upgrade `finset.map_embedding` to an `order_embedding`;
* add `@[simps]` to `equiv.option_is_some_equiv` and `function.embedding.some`;
* golf some proofs.
@bors
Copy link

bors bot commented Oct 11, 2021

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat(data/finset): add finset.erase_none [Merged by Bors] - feat(data/finset): add finset.erase_none Oct 11, 2021
@bors bors bot closed this Oct 11, 2021
@bors bors bot deleted the finset-erase-none branch October 11, 2021 10:23
@eric-wieser eric-wieser added the hacktoberfest-accepted Without this label hacktoberfest is scared off by bors label Oct 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest-accepted Without this label hacktoberfest is scared off by bors 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