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: rename 13 simp lemmas #5317

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Parcly-Taxel
Copy link
Contributor

Add _eq to the end of (and,or,iff)_(true,false), (true,false)_(and,or,iff) and iff_self.

This resolves a TODO in Mathlib.

@Parcly-Taxel Parcly-Taxel changed the title chore: rename simp lemmas chore: rename 13 simp lemmas Sep 12, 2024
@YaelDillies
Copy link

Can you also rename forall_congr to forall_congr_eq?

@@ -101,13 +101,13 @@ theorem dite_cond_eq_false {α : Sort u} {c : Prop} {_ : Decidable c} {t : c →
end SimprocHelperLemmas
@[simp] theorem ite_self {α : Sort u} {c : Prop} {d : Decidable c} (a : α) : ite c a a = a := by cases d <;> rfl

@[simp] theorem and_true (p : Prop) : (p ∧ True) = p := propext ⟨(·.1), (⟨·, trivial⟩)⟩
Copy link
Contributor

Choose a reason for hiding this comment

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

Alternatively, should this be changed to be an Iff statement instead?

@leanprover-bot leanprover-bot added the P-low We are not planning to work on this issue label Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P-low We are not planning to work on this issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants