Skip to content

chore: rename 13 simp lemmas - #5317

Closed
Parcly-Taxel wants to merge 1 commit into
leanprover:masterfrom
Parcly-Taxel:iff_eq
Closed

chore: rename 13 simp lemmas#5317
Parcly-Taxel wants to merge 1 commit into
leanprover:masterfrom
Parcly-Taxel:iff_eq

Conversation

@Parcly-Taxel

Copy link
Copy Markdown
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
Copy Markdown
Contributor

Can you also rename forall_congr to forall_congr_eq?

Comment thread src/Init/SimpLemmas.lean
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
Copy Markdown
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
@kim-em

kim-em commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator

This hasn't been touched in over a year, and has a merge conflict. I'm closing now; please re-open if you think appropriate.

@kim-em kim-em closed this Sep 1, 2026
@Parcly-Taxel
Parcly-Taxel deleted the iff_eq branch September 1, 2026 01:06
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.

5 participants