11 lines
332 B
Text
11 lines
332 B
Text
class Refl.{U} {α : Type U} (R : α → α → Prop) : Prop :=
|
||
refl (a : α) : R a a
|
||
|
||
class Symm.{U} {α : Type U} (R : α → α → Prop) : Prop :=
|
||
symm {a b : α} : R a b → R b a
|
||
|
||
/--
|
||
An example decl modifier (a doc comment).
|
||
-/
|
||
class abbrev PEquiv.{U} {α : Type U} (R : α → α → Prop) : Prop
|
||
:= Refl R, Symm R
|