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: Finset of arbitrary size in an infinite type #8348

Closed
wants to merge 1 commit into from

Conversation

YaelDillies
Copy link
Collaborator

and a few other easy lemmas


Open in Gitpod

@YaelDillies YaelDillies added the awaiting-review The author would like community review of the PR label Nov 11, 2023
@@ -1651,6 +1667,14 @@ end Set

namespace Finset

lemma exists_card_eq [Infinite α] : ∀ n : ℕ, ∃ s : Finset α, s.card = n
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this come from the fact that Tendsto Finset.card atTop atTop in some way? Or, can this make the proof of that easier?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Kind of? You would then need to use Finset.exists_intermediate to go from an arbitrary size finset back to the size you want. Certainly it doesn't look like an easier proof.

@sgouezel
Copy link
Contributor

bors r+
Thanks!

@github-actions github-actions bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review The author would like community review of the PR labels Nov 14, 2023
mathlib-bors bot pushed a commit that referenced this pull request Nov 14, 2023
@mathlib-bors
Copy link

mathlib-bors bot commented Nov 14, 2023

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title feat: Finset of arbitrary size in an infinite type [Merged by Bors] - feat: Finset of arbitrary size in an infinite type Nov 14, 2023
@mathlib-bors mathlib-bors bot closed this Nov 14, 2023
@mathlib-bors mathlib-bors bot deleted the exists_card_eq branch November 14, 2023 14:30
alexkeizer pushed a commit that referenced this pull request Nov 17, 2023
alexkeizer pushed a commit that referenced this pull request Nov 21, 2023
grunweg pushed a commit that referenced this pull request Dec 15, 2023
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.

None yet

3 participants