HomeHome Metamath Proof Explorer < Previous   Next >
Related theorems
Unicode version

Theorem dfwe2 2925
Description: Alternate definition of well-ordering. Definition 6.24(2) of [TakeutiZaring] p. 30.
Assertion
Ref Expression
dfwe2 |- (R We A <-> (R Fr A /\ A.x e. A A.y e. A (xRy \/ x = y \/ yRx)))
Distinct variable groups:   x,y,R   x,A,y

Proof of Theorem dfwe2
StepHypRef Expression
1 df-we 2924 . 2 |- (R We A <-> (R Fr A /\ R Or A))
2 solin 2848 . . . . . . 7 |- ((R Or A /\ (x e. A /\ y e. A)) -> (xRy \/ x = y \/ yRx))
32ex 373 . . . . . 6 |- (R Or A -> ((x e. A /\ y e. A) -> (xRy \/ x = y \/ yRx)))
4319.21aivv 1282 . . . . 5 |- (R Or A -> A.xA.y((x e. A /\ y e. A) -> (xRy \/ x = y \/ yRx)))
5 r2al 1668 . . . . 5 |- (A.x e. A A.y e. A (xRy \/ x = y \/ yRx) <-> A.xA.y((x e. A /\ y e. A) -> (xRy \/ x = y \/ yRx)))
64, 5sylibr 200 . . . 4 |- (R Or A -> A.x e. A A.y e. A (xRy \/ x = y \/ yRx))
76anim2i 335 . . 3 |- ((R Fr A /\ R Or A) -> (R Fr A /\ A.x e. A A.y e. A (xRy \/ x = y \/ yRx)))
8 fr2nr 2915 . . . . . . . . . . . . . . . . . . . . 21 |- ((R Fr A /\ (x e. A /\ y e. A)) -> -. (xRy /\ yRx))
983adantr3 806 . . . . . . . . . . . . . . . . . . . 20 |- ((R Fr A /\ (x e. A /\ y e. A /\ z e. A)) -> -. (xRy /\ yRx))
10 breq2 2613 . . . . . . . . . . . . . . . . . . . . . . 23 |- (x = z -> (yRx <-> yRz))
1110biimprd 154 . . . . . . . . . . . . . . . . . . . . . 22 |- (x = z -> (yRz -> yRx))
1211anim2d 559 . . . . . . . . . . . . . . . . . . . . 21 |- (x = z -> ((xRy /\ yRz) -> (xRy /\ yRx)))
1312impcom 351 . . . . . . . . . . . . . . . . . . . 20 |- (((xRy /\ yRz) /\ x = z) -> (xRy /\ yRx))
149, 13nsyl 116 . . . . . . . . . . . . . . . . . . 19 |- ((R Fr A /\ (x e. A /\ y e. A /\ z e. A)) -> -. ((xRy /\ yRz) /\ x = z))
15 imnan 242 . . . . . . . . . . . . . . . . . . 19 |- (((xRy /\ yRz) -> -. x = z) <-> -. ((xRy /\ yRz) /\ x = z))
1614, 15sylibr 200 . . . . . . . . . . . . . . . . . 18 |- ((R Fr A /\ (x e. A /\ y e. A /\ z e. A)) -> ((xRy /\ yRz) -> -. x = z))
17 fr3nr 2916 . . . . . . . . . . . . . . . . . . . 20 |- ((R Fr A /\ (x e. A /\ y e. A /\ z e. A)) -> -. (xRy /\ yRz /\ zRx))
18 df-3an 775 . . . . . . . . . . . . . . . . . . . . 21 |- ((xRy /\ yRz /\ zRx) <-> ((xRy /\ yRz) /\ zRx))
1918negbii 187 . . . . . . . . . . . . . . . . . . . 20 |- (-. (xRy /\ yRz /\ zRx) <-> -. ((xRy /\ yRz) /\ zRx))
2017, 19sylib 198 . . . . . . . . . . . . . . . . . . 19 |- ((R Fr A /\ (x e. A /\ y e. A /\ z e. A)) -> -. ((xRy /\ yRz) /\ zRx))
21 imnan 242 . . . . . . . . . . . . . . . . . . 19 |- (((xRy /\ yRz) -> -. zRx) <-> -. ((xRy /\ yRz) /\ zRx))
2220, 21sylibr 200 . . . . . . . . . . . . . . . . . 18 |- ((R Fr A /\ (x e. A /\ y e. A /\ z e. A)) -> ((xRy /\ yRz) -> -. zRx))
2316, 22jcad 598 . . . . . . . . . . . . . . . . 17 |- ((R Fr A /\ (x e. A /\ y e. A /\ z e. A)) -> ((xRy /\ yRz) -> (-. x = z /\ -. zRx)))
24 ioran 306 . . . . . . . . . . . . . . . . 17 |- (-. (x = z \/ zRx) <-> (-. x = z /\ -. zRx))
2523, 24syl6ibr 213 . . . . . . . . . . . . . . . 16 |- ((R Fr A /\ (x e. A /\ y e. A /\ z e. A)) -> ((xRy /\ yRz) -> -. (x = z \/ zRx)))
2625imim1d 28 . . . . . . . . . . . . . . 15 |- ((R Fr A /\ (x e. A /\ y e. A /\ z e. A)) -> ((-. (x = z \/ zRx) -> xRz) -> ((xRy /\ yRz) -> xRz)))
27 3orass 776 . . . . . . . . . . . . . . . 16 |- ((xRz \/ x = z \/ zRx) <-> (xRz \/ (x = z \/ zRx)))
28 orcom 246 . . . . . . . . . . . . . . . 16 |- ((xRz \/ (x = z \/ zRx)) <-> ((x = z \/ zRx) \/ xRz))
29 df-or 224 . . . . . . . . . . . . . . . 16 |- (((x = z \/ zRx) \/ xRz) <-> (-. (x = z \/ zRx) -> xRz))
3027, 28, 293bitr 177 . . . . . . . . . . . . . . 15 |- ((xRz \/ x = z \/ zRx) <-> (-. (x = z \/ zRx) -> xRz))
3126, 30syl5ib 206 . . . . . . . . . . . . . 14 |- ((R Fr A /\ (x e. A /\ y e. A /\ z e. A)) -> ((xRz \/ x = z \/ zRx) -> ((xRy /\ yRz) -> xRz)))
32 frirr 2914 . . . . . . . . . . . . . . 15 |- ((R Fr A /\ x e. A) -> -. xRx)
33323ad2antr1 810 . . . . . . . . . . . . . 14 |- ((R Fr A /\ (x e. A /\ y e. A /\ z e. A)) -> -. xRx)
3431, 33jctild 599 . . . . . . . . . . . . 13 |- ((R Fr A /\ (x e. A /\ y e. A /\ z e. A)) -> ((xRz \/ x = z \/ zRx) -> (-. xRx /\ ((xRy /\ yRz) -> xRz))))
3534ex 373 . . . . . . . . . . . 12 |- (R Fr A -> ((x e. A /\ y e. A /\ z e. A) -> ((xRz \/ x = z \/ zRx) -> (-. xRx /\ ((xRy /\ yRz) -> xRz)))))
3635a2d 13 . . . . . . . . . . 11 |- (R Fr A -> (((x e. A /\ y e. A /\ z e. A) -> (xRz \/ x = z \/ zRx)) -> ((x e. A /\ y e. A /\ z e. A) -> (-. xRx /\ ((xRy /\ yRz) -> xRz)))))
373619.20dv 1284 . . . . . . . . . 10 |- (R Fr A -> (A.z((x e. A /\ y e. A /\ z e. A) -> (xRz \/ x = z \/ zRx)) -> A.z((x e. A /\ y e. A /\ z e. A) -> (-. xRx /\ ((xRy /\ yRz) -> xRz)))))
383719.20dv 1284 . . . . . . . . 9 |- (R Fr A -> (A.yA.z((x e. A /\ y e. A /\ z e. A) -> (xRz \/ x = z \/ zRx)) -> A.yA.z((x e. A /\ y e. A /\ z e. A) -> (-. xRx /\ ((xRy /\ yRz) -> xRz)))))
393819.20dv 1284 . . . . . . . 8 |- (R Fr A -> (A.xA.yA.z((x e. A /\ y e. A /\ z e. A) -> (xRz \/ x = z \/ zRx)) -> A.xA.yA.z((x e. A /\ y e. A /\ z e. A) -> (-. xRx /\ ((xRy /\ yRz) -> xRz)))))
40 r3al 1682 . . . . . . . 8 |- (A.x e. A A.y e. A A.z e. A (xRz \/ x = z \/ zRx) <-> A.xA.yA.z((x e. A /\ y e. A /\ z e. A) -> (xRz \/ x = z \/ zRx)))
41 r3al 1682 . . . . . . . 8 |- (A.x e. A A.y e. A A.z e. A (-. xRx /\ ((xRy /\ yRz) -> xRz)) <-> A.xA.yA.z((x e. A /\ y e. A /\ z e. A) -> (-. xRx /\ ((xRy /\ yRz) -> xRz))))
4239, 40, 413imtr4g 551 . . . . . . 7 |- (R Fr A -> (A.x e. A A.y e. A A.z e. A (xRz \/ x = z \/ zRx) -> A.x e. A A.y e. A A.z e. A (-. xRx /\ ((xRy /\ yRz) -> xRz))))
43 ralidm 2347 . . . . . . . . 9 |- (A.y e. A A.y e. A (xRy \/ x = y \/ yRx) <-> A.y e. A (xRy \/ x = y \/ yRx))
44 breq2 2613 . . . . . . . . . . . 12 |- (y = z -> (xRy <-> xRz))
45 eqeq2 1476 . . . . . . . . . . . 12 |- (y = z -> (x = y <-> x = z))
46 breq1 2612 . . . . . . . . . . . 12 |- (y = z -> (yRx <-> zRx))
4744, 45, 463orbi123d 889 . . . . . . . . . . 11 |- (y = z -> ((xRy \/ x = y \/ yRx) <-> (xRz \/ x = z \/ zRx)))
4847cbvralv 1791 . . . . . . . . . 10 |- (A.y e. A (xRy \/ x = y \/ yRx) <-> A.z e. A (xRz \/ x = z \/ zRx))
4948ralbii 1659 . . . . . . . . 9 |- (A.y e. A A.y e. A (xRy \/ x = y \/ yRx) <-> A.y e. A A.z e. A (xRz \/ x = z \/ zRx))
5043, 49bitr3 175 . . . . . . . 8 |- (