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

feat(data/set/basic): more lemmas about set.nonempty #1780

Merged
merged 3 commits into from
Dec 5, 2019
Merged

Conversation

urkud
Copy link
Member

@urkud urkud commented Dec 4, 2019

Some lemmas missing in #1779

TO CONTRIBUTORS:

Make sure you have:

  • reviewed and applied the coding style: coding, naming
  • reviewed and applied the documentation requirements
  • make sure definitions and lemmas are put in the right files
  • make sure definitions and lemmas are not redundant

If this PR is related to a discussion on Zulip, please include a link in the discussion.

For reviewers: code review check list

@sgouezel
Copy link
Collaborator

sgouezel commented Dec 5, 2019

Could you rebase this on master (and solve the conflict) so that seeing the additions of this PR becomes easier? Thanks!

@urkud
Copy link
Member Author

urkud commented Dec 5, 2019

@sgouezel Done.

@jcommelin jcommelin 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 Dec 5, 2019
theorem insert_ne_empty (a : α) (s : set α) : insert a s ≠ ∅ :=
by safe [ext_iff, iff_def]; have h' := a_1 a; finish
(insert_nonempty).ne_empty
Copy link
Member

Choose a reason for hiding this comment

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

missing explicit arguments

Copy link
Member Author

Choose a reason for hiding this comment

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

This fix was lost while git rebaseing. That's one of the reasons I'd prefer if mathlib did proper git merge instead of squashing the history (then git merge would work).

@mergify mergify bot merged commit 7221900 into master Dec 5, 2019
@mergify mergify bot deleted the set-nonempty2 branch December 5, 2019 21:01
anrddh pushed a commit to anrddh/mathlib that referenced this pull request May 15, 2020
…mmunity#1780)

* feat(data/set/basic): more lemmas about `set.nonempty`

* Fix compile
anrddh pushed a commit to anrddh/mathlib that referenced this pull request May 16, 2020
…mmunity#1780)

* feat(data/set/basic): more lemmas about `set.nonempty`

* Fix compile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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

4 participants