fix: protect rfl
This commit is contained in:
parent
ba6fcd7b74
commit
358a129d78
2 changed files with 2 additions and 2 deletions
|
|
@ -284,7 +284,7 @@ theorem iff_iff_implies_and_implies (a b : Prop) : (a ↔ b) ↔ (a → b) ∧ (
|
|||
theorem Iff.refl (a : Prop) : a ↔ a :=
|
||||
Iff.intro (fun h => h) (fun h => h)
|
||||
|
||||
theorem Iff.rfl {a : Prop} : a ↔ a :=
|
||||
protected theorem Iff.rfl {a : Prop} : a ↔ a :=
|
||||
Iff.refl a
|
||||
|
||||
theorem Iff.trans (h₁ : a ↔ b) (h₂ : b ↔ c) : a ↔ c :=
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@ init_quot
|
|||
inductive HEq {α : Sort u} (a : α) : {β : Sort u} → β → Prop where
|
||||
| refl {} : HEq a a
|
||||
|
||||
@[matchPattern] def HEq.rfl {α : Sort u} {a : α} : HEq a a :=
|
||||
@[matchPattern] protected def HEq.rfl {α : Sort u} {a : α} : HEq a a :=
|
||||
HEq.refl a
|
||||
|
||||
theorem eq_of_heq {α : Sort u} {a a' : α} (h : HEq a a') : Eq a a' :=
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue