Metamath Proof Explorer


Theorem isps

Description: The predicate "is a poset" i.e. a transitive, reflexive, antisymmetric relation. (Contributed by NM, 11-May-2008)

Ref Expression
Assertion isps R A R PosetRel Rel R R R R R R -1 = I R

Proof

Step Hyp Ref Expression
1 releq r = R Rel r Rel R
2 coeq1 r = R r r = R r
3 coeq2 r = R R r = R R
4 2 3 eqtrd r = R r r = R R
5 id r = R r = R
6 4 5 sseq12d r = R r r r R R R
7 cnveq r = R r -1 = R -1
8 5 7 ineq12d r = R r r -1 = R R -1
9 unieq r = R r = R
10 9 unieqd r = R r = R
11 10 reseq2d r = R I r = I R
12 8 11 eqeq12d r = R r r -1 = I r R R -1 = I R
13 1 6 12 3anbi123d r = R Rel r r r r r r -1 = I r Rel R R R R R R -1 = I R
14 df-ps PosetRel = r | Rel r r r r r r -1 = I r
15 13 14 elab2g R A R PosetRel Rel R R R R R R -1 = I R