]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/lib/basics/relations.ma
- basics: bug fix in Conf3, it was not generic enough
[helm.git] / matita / matita / lib / basics / relations.ma
index a1bae198b707723b66f5ba16db61ac1cac58deab..ff190e5e3c2d2fb1ef7b952638e85e5f4f011f6e 100644 (file)
 
 include "basics/logic.ma".
 
+(********** predicates *********)
+
+definition predicate: Type[0] → Type[0]
+≝ λA.A→Prop.
+
 (********** relations **********)
 definition relation : Type[0] → Type[0]
 ≝ λA.A→A→Prop. 
 
+definition relation2 : Type[0] → Type[0] → Type[0]
+≝ λA,B.A→B→Prop.
+
 definition reflexive: ∀A.∀R :relation A.Prop
 ≝ λA.λR.∀x:A.R x x.