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] - chore(*): remove instance binders in exists, for mathport #9083

Closed
wants to merge 2 commits into from

Conversation

semorrison
Copy link
Collaborator

Per @digama0's request at https://leanprover.zulipchat.com/#narrow/stream/287929-mathlib4/topic/Instance.20binders.20in.20exists.

Instance binders under an "Exists" aren't allowed in Lean4, so we're backport removing them. I've just turned relevant [X] binders into (_ : X) binders, and it seems to all still work. (i.e. the instance binders weren't actually doing anything).

It turns out two of the problem binders were in infi or supr, not Exists, but I treated them the same way.


Open in Gitpod

@semorrison semorrison added the awaiting-review The author would like community review of the PR label Sep 8, 2021
@jcommelin
Copy link
Member

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 Sep 8, 2021
bors bot pushed a commit that referenced this pull request Sep 8, 2021
Per @digama0's request at https://leanprover.zulipchat.com/#narrow/stream/287929-mathlib4/topic/Instance.20binders.20in.20exists.

Instance binders under an "Exists" aren't allowed in Lean4, so we're backport removing them. I've just turned relevant `[X]` binders into `(_ : X)` binders, and it seems to all still work. (i.e. the instance binders weren't actually doing anything).

It turns out two of the problem binders were in `infi` or `supr`, not `Exists`, but I treated them the same way.



Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
@bors
Copy link

bors bot commented Sep 8, 2021

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title chore(*): remove instance binders in exists, for mathport [Merged by Bors] - chore(*): remove instance binders in exists, for mathport Sep 8, 2021
@bors bors bot closed this Sep 8, 2021
@bors bors bot deleted the exists_binders branch September 8, 2021 14:00
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

2 participants