The areas / V34. The tactics of Mathlib
Mathlib.Tactic.Relation.Rfl
4 declarations. Mathlib docs · Source
theorem Mathlib.Tactic.rel_of_eq_and_refl E2 #
∀ {α : Sort u_1} {R : α → α → Prop} {x y : α}, x = y → R x x → R x y
Helper theorem for Mathlib.Tactic.liftReflToEq.
def Mathlib.Tactic.liftReflToEq E1 #
Lean.MVarId → Lean.MetaM Lean.MVarId
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.
def Mathlib.Tactic.rflTac E1 #
Lean.Elab.Tactic.TacticM Unit
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].
def Lean.Expr.relSidesIfRefl? E1 #
Lean.Expr → Lean.MetaM (Option (Lean.Name × Lean.Expr × Lean.Expr))
If e is the form @R .. x y, where R is a reflexive
relation, return some (R, x, y).
As a special case, if e is @HEq α a β b, return some (`HEq, a, b).