Metamath Proof Explorer


Definition df-dir

Description: Define the class of directed sets (the order relation itself is sometimes called a direction, and a directed set is a set equipped with a direction). (Contributed by Jeff Hankins, 25-Nov-2009)

Ref Expression
Assertion df-dir DirRel = r | Rel r I r r r r r r × r r -1 r

Detailed syntax breakdown

Step Hyp Ref Expression
0 cdir class DirRel
1 vr setvar r
2 1 cv setvar r
3 2 wrel wff Rel r
4 cid class I
5 2 cuni class r
6 5 cuni class r
7 4 6 cres class I r
8 7 2 wss wff I r r
9 3 8 wa wff Rel r I r r
10 2 2 ccom class r r
11 10 2 wss wff r r r
12 6 6 cxp class r × r
13 2 ccnv class r -1
14 13 2 ccom class r -1 r
15 12 14 wss wff r × r r -1 r
16 11 15 wa wff r r r r × r r -1 r
17 9 16 wa wff Rel r I r r r r r r × r r -1 r
18 17 1 cab class r | Rel r I r r r r r r × r r -1 r
19 0 18 wceq wff DirRel = r | Rel r I r r r r r r × r r -1 r