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

chore(category_theory/isomorphism): docstring, DRY, add some trivial lemmas #1309

Merged
merged 5 commits into from Aug 15, 2019

Conversation

urkud
Copy link
Member

@urkud urkud commented Aug 8, 2019

  • add module docstring;
  • use as_iso more aggressively to avoid repeating proofs;
  • add more trivial lemmas.

TO CONTRIBUTORS:

Make sure you have:

  • reviewed and applied the coding style: coding, naming
  • reviewed and applied the documentation requirements
  • for tactics:
  • 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

…lemmas

- add module docstring;
- use `as_iso` more aggressively to avoid repeating proofs;
- add more trivial lemmas.
@urkud urkud requested a review from a team as a code owner August 8, 2019 18:00
@urkud
Copy link
Member Author

urkud commented Aug 8, 2019

I needed some of the new lemmas for another PR I'm working on. Decided to split this into a dedicated PR to simplify review.

@semorrison
Copy link
Collaborator

Looks uncontroversial to me. Lots of good cleanup, and a good module doc at the top!

@robertylewis
Copy link
Member

What does DRY in the title stand for?

@digama0
Copy link
Member

digama0 commented Aug 14, 2019

don't repeat yourself, a.k.a extracting common code/lemmas

@robertylewis robertylewis 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 Aug 15, 2019
@mergify mergify bot merged commit 3d512f7 into leanprover-community:master Aug 15, 2019
@urkud urkud deleted the isomorphisms branch August 29, 2019 18:55
anrddh pushed a commit to anrddh/mathlib that referenced this pull request May 15, 2020
…lemmas (leanprover-community#1309)

- add module docstring;
- use `as_iso` more aggressively to avoid repeating proofs;
- add more trivial lemmas.
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