Mathlib.Tactic.liftReflToEq #
Convert a goal of the form x ~ y into the form x = y, where ~ is a reflexive
relation, that is, a relation which has a reflexive lemma tagged with the attribute @[refl].
If this can't be done, returns the original MVarId.
theorem
Mathlib.Tactic.rel_of_eq_and_refl
{α : Sort u_1}
{R : α → α → Prop}
{x y : α}
(hxy : x = y)
(h : R x x)
:
R x y
Helper theorem for Mathlib.Tactic.liftReflToEq.
Convert a goal of the form x ~ y into the form x = y, where ~ is a reflexive
relation, that is, a relation which has a reflexive lemma tagged with the attribute @[refl].
If this can't be done, returns the original MVarId.
Instances For
This tactic applies to a goal whose target has the form x ~ x, where ~ is a reflexive
relation, that is, a relation which has a reflexive lemma tagged with the attribute @[refl].