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

refactor(library/init/core): replace insert definition by export #115

Merged
merged 3 commits into from
Feb 21, 2020

Conversation

gebner
Copy link
Member

@gebner gebner commented Feb 19, 2020

Currently we have both has_insert.insert and insert, which do exactly the same thing. This causes a bit of headache since built-in set notation uses has_insert.insert but you typically write insert. We have a simp lemma in mathlib that replaces has_insert.insert by insert, but then you can't use built-in set notation such as {a} in simp lemmas...

Copy link
Member

@fpvandoorn fpvandoorn left a comment

Choose a reason for hiding this comment

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

LGTM

@fpvandoorn
Copy link
Member

Is the test failure related to this change?

@bryangingechen
Copy link
Collaborator

No, the failure comes from #72, which is supposed to be addressed by #104.

@gebner
Copy link
Member Author

gebner commented Feb 20, 2020

Yes, the CI error should be fixed now that I've merged master into this branch. I'm just trying to avoid merges as much as possible because the CI capacity in this repository is severely crippled: we can only do about one CI run every 2 hours or so.

@gebner gebner merged commit 860d188 into master Feb 21, 2020
@gebner gebner deleted the has-insert branch March 3, 2020 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants