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(data/fintype/basic): fintype α/β from fintype α ⊕ β #7736

Closed
wants to merge 4 commits into from

Conversation

ericrbg
Copy link
Collaborator

@ericrbg ericrbg commented May 28, 2021

Also renaming the equivalent α × β versions, for consistency.


Open in Gitpod

I don't see a clear way to make this computable without inhabited α, and if you have inhabited α and fintype α ⊕ β I would be shocked if you didn't have fintype α already. Not an instance for typeclass-looping reasons.

(The issue with equiv.of_left_inverse is that I need inhabited, not nonempty)

@ericrbg ericrbg added awaiting-review The author would like community review of the PR easy < 20s of review time. See the lifecycle page for guidelines. labels May 28, 2021
src/data/fintype/basic.lean Outdated Show resolved Hide resolved
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
@semorrison
Copy link
Collaborator

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 May 30, 2021
bors bot pushed a commit that referenced this pull request May 30, 2021
Also renaming the equivalent `α × β` versions, for consistency.



Co-authored-by: Eric <37984851+ericrbg@users.noreply.github.com>
@bors
Copy link

bors bot commented May 30, 2021

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title chore(data/fintype/basic): fintype α/β from fintype α ⊕ β [Merged by Bors] - chore(data/fintype/basic): fintype α/β from fintype α ⊕ β May 30, 2021
@bors bors bot closed this May 30, 2021
@bors bors bot deleted the smaller_fintype_from_bigger branch May 30, 2021 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
easy < 20s of review time. See the lifecycle page for guidelines. 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

3 participants