lean4-htt/tests/lean/run/classAbbrev.lean

11 lines
332 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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