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

Revert "feat: add support for not-in in exists (#425)" #427

Merged

Conversation

tobiasgrosser
Copy link
Contributor

@tobiasgrosser tobiasgrosser commented Dec 8, 2023

This reverts commit c4ece13 (#425), which accidentally added a binder predicate that was already defined in Std.Classes.SetNotation.

@tobiasgrosser
Copy link
Contributor Author

The commit broke mathlib. The breakage can be observed in leanprover-community/mathlib4#8888. The error message is:

elaboration function for 'Std.ExtendedBinder.«termSatisfies_binder_pred%__»' has not been implemented
  satisfies_binder_pred% i ∉ s

@Ruben-VandeVelde suggested to revert his commit, so this PR implements the revert.

@digama0
Copy link
Member

digama0 commented Dec 8, 2023

Do you have a failing test case?

@tobiasgrosser
Copy link
Contributor Author

tobiasgrosser commented Dec 8, 2023

Do you have a failing test case?

See the last comments in leanprover-community/mathlib4#8888.

@digama0
Copy link
Member

digama0 commented Dec 8, 2023

That's just saying there is a problem, it's not suitable as a test case.

@digama0
Copy link
Member

digama0 commented Dec 8, 2023

It seems the issue is that this binder predicate is already defined in Std.Classes.SetNotation:

https://github.com/leanprover/std4/blob/63c387daa50f6d651effa5c7cf47647d5424f850/Std/Classes/SetNotation.lean#L92

@digama0 digama0 merged commit b197bd2 into leanprover-community:main Dec 8, 2023
1 check passed
@tobiasgrosser tobiasgrosser deleted the unbreak_mathlib_not_exists branch December 8, 2023 11:21
@tobiasgrosser
Copy link
Contributor Author

Thank you, @digama0.

mathlib-bors bot pushed a commit to leanprover-community/mathlib4 that referenced this pull request Dec 8, 2023
Since this bump does not include leanprover-community/batteries#427 (in order to avoid having to handle the intermediate commits all at once), we temporarily remove the single use of a `∀ i ∉ s,` binder, and the two tests of it.

We can revert these changes in a later Std bump, once we've address the other awkward bumps inbetween.

This unblocks #8711.
mathlib-bors bot pushed a commit to leanprover-community/mathlib4 that referenced this pull request Dec 11, 2023
…tteries#427 (#8888)

Co-authored-by: James <jamesgallicchio@gmail.com>
Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Co-authored-by: Mario Carneiro <di.gama@gmail.com>
Co-authored-by: Siddharth Bhat <siddu.druid@gmail.com>
awueth pushed a commit to leanprover-community/mathlib4 that referenced this pull request Dec 19, 2023
Since this bump does not include leanprover-community/batteries#427 (in order to avoid having to handle the intermediate commits all at once), we temporarily remove the single use of a `∀ i ∉ s,` binder, and the two tests of it.

We can revert these changes in a later Std bump, once we've address the other awkward bumps inbetween.

This unblocks #8711.
awueth pushed a commit to leanprover-community/mathlib4 that referenced this pull request Dec 19, 2023
…tteries#427 (#8888)

Co-authored-by: James <jamesgallicchio@gmail.com>
Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Co-authored-by: Mario Carneiro <di.gama@gmail.com>
Co-authored-by: Siddharth Bhat <siddu.druid@gmail.com>
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.

None yet

2 participants