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/find): find defs as well as theorems #1512

Merged
merged 4 commits into from
Oct 8, 2019
Merged

feat(tactic/find): find defs as well as theorems #1512

merged 4 commits into from
Oct 8, 2019

Conversation

robertylewis
Copy link
Member

Not sure if I'm overlooking a reason not to do this, but it seems like a straightforward enough change. #find should be able to find definitions matching a certain signature as well as theorems.

https://leanprover.zulipchat.com/#narrow/stream/113489-new-members/topic/noob.20question.3A.20vscode.20and.20LEAN_PATH

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

src/tactic/find.lean Outdated Show resolved Hide resolved
@robertylewis robertylewis added the awaiting-review The author would like community review of the PR label Oct 7, 2019
@rwbarton rwbarton 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 Oct 7, 2019
@mergify mergify bot merged commit 045d931 into master Oct 8, 2019
@mergify mergify bot deleted the find branch October 8, 2019 02:27
anrddh pushed a commit to anrddh/mathlib that referenced this pull request May 15, 2020
…y#1512)

* feat(tactic/find): find defs as well as theorems

* use env.mfold

* use try
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