2014-07-22 16:43:18 +00:00
|
|
|
definition Prop : Type.{1} := Type.{0}
|
2014-06-14 00:30:35 +00:00
|
|
|
section
|
2014-06-23 00:51:00 +00:00
|
|
|
parameter {A : Type} -- Mark A as implicit parameter
|
2014-07-22 16:43:18 +00:00
|
|
|
parameter R : A → A → Prop
|
2014-06-14 00:30:35 +00:00
|
|
|
definition id (a : A) : A := a
|
2014-07-22 16:43:18 +00:00
|
|
|
definition refl : Prop := forall (a : A), R a a
|
|
|
|
definition symm : Prop := forall (a b : A), R a b -> R b a
|
2014-06-14 00:30:35 +00:00
|
|
|
end
|
|
|
|
check id.{2}
|
|
|
|
check refl.{1}
|
|
|
|
check symm.{1}
|