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

feat(tactic/obtain): make type argument optional #1327

Merged
merged 4 commits into from Aug 19, 2019

Conversation

robertylewis
Copy link
Member

https://leanprover.zulipchat.com/#narrow/stream/113488-general/topic/obtain/near/173183243

obtain ⟨h, h2⟩ := and.intro trivial trivial is equivalent to rcases and.intro trivial trivial with ⟨h, h2⟩, but I think there's no reason not to support it with obtain as well.

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

@robertylewis robertylewis requested a review from a team as a code owner August 14, 2019 09:32
@semorrison
Copy link
Collaborator

LGTM.

@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 19, 2019
@mergify mergify bot merged commit 9c1718a into leanprover-community:master Aug 19, 2019
cipher1024 pushed a commit that referenced this pull request Aug 23, 2019
* feat(tactic/obtain): make type argument optional

* fix(tactic/obtain): unnecessary steps

* feat(tactic/obtain): simplify cases
anrddh pushed a commit to anrddh/mathlib that referenced this pull request May 15, 2020
…y#1327)

* feat(tactic/obtain): make type argument optional

* fix(tactic/obtain): unnecessary steps

* feat(tactic/obtain): simplify cases
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

3 participants