1 (**************************************************************************)
4 (* ||A|| A project by Andrea Asperti *)
6 (* ||I|| Developers: *)
7 (* ||T|| A.Asperti, C.Sacerdoti Coen, *)
8 (* ||A|| E.Tassi, S.Zacchiroli *)
10 (* \ / This file is distributed under the terms of the *)
11 (* v GNU Lesser General Public License Version 2.1 *)
13 (**************************************************************************)
15 set "baseuri" "cic:/matita/higher_order_defs/relations/".
17 include "logic/connectives.ma".
19 definition reflexive: \forall A:Type.\forall R:A \to A \to Prop.Prop
21 \lambda A.\lambda R.\forall x:A.R x x.
23 definition symmetric: \forall A:Type.\forall R:A \to A \to Prop.Prop
25 \lambda A.\lambda R.\forall x,y:A.R x y \to R y x.
27 definition transitive: \forall A:Type.\forall R:A \to A \to Prop.Prop
29 \lambda A.\lambda R.\forall x,y,z:A.R x y \to R y z \to R x z.
31 definition irreflexive: \forall A:Type.\forall R:A \to A \to Prop.Prop
33 \lambda A.\lambda R.\forall x:A.\lnot (R x x).