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(logic/basic): exists_eq' #1397

Merged
merged 2 commits into from
Sep 4, 2019
Merged

feat(logic/basic): exists_eq' #1397

merged 2 commits into from
Sep 4, 2019

Conversation

ChrisHughes24
Copy link
Member

@ChrisHughes24 ChrisHughes24 commented Sep 4, 2019

Not a great name, but exists_eq_left and exists_eq_right are taken, and it's unlikely to be used except in simp

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

Not a great name, but `exists_eq_left` and `exists_eq_right` are taken, and it's unlikely to be used except in `simp`
@ChrisHughes24 ChrisHughes24 requested a review from a team as a code owner September 4, 2019 18:16
@cipher1024 cipher1024 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 Sep 4, 2019
@@ -477,6 +477,8 @@ by simp [and_comm]

@[simp] theorem exists_eq {a' : α} : ∃ a, a = a' := ⟨_, rfl⟩

@[simp] theorem exists_eq' {a' : α} : Exists (eq a') := ⟨_, rfl⟩
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
@[simp] theorem exists_eq' {a' : α} : Exists (eq a') := ⟨_, rfl⟩
@[simp] theorem Exists_eq {a' : α} : Exists (eq a') := ⟨_, rfl⟩

How about this name?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't seem to be the convention. Exists should really be called exists

@mergify mergify bot merged commit 3c224f0 into master Sep 4, 2019
@mergify mergify bot deleted the ChrisHughes24-patch-1 branch September 4, 2019 20:53
anrddh pushed a commit to anrddh/mathlib that referenced this pull request May 15, 2020
Not a great name, but `exists_eq_left` and `exists_eq_right` are taken, and it's unlikely to be used except in `simp`
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