Metamath Proof Explorer


Theorem r0weon

Description: A set-like well-ordering of the class of ordinal pairs. Proposition 7.58(1) of TakeutiZaring p. 54. (Contributed by Mario Carneiro, 7-Mar-2013) (Revised by Mario Carneiro, 26-Jun-2015)

Ref Expression
Hypotheses leweon.1 L = x y | x On × On y On × On 1 st x 1 st y 1 st x = 1 st y 2 nd x 2 nd y
r0weon.1 R = z w | z On × On w On × On 1 st z 2 nd z 1 st w 2 nd w 1 st z 2 nd z = 1 st w 2 nd w z L w
Assertion r0weon R We On × On R Se On × On

Proof

Step Hyp Ref Expression
1 leweon.1 L = x y | x On × On y On × On 1 st x 1 st y 1 st x = 1 st y 2 nd x 2 nd y
2 r0weon.1 R = z w | z On × On w On × On 1 st z 2 nd z 1 st w 2 nd w 1 st z 2 nd z = 1 st w 2 nd w z L w
3 fveq2 x = z 1 st x = 1 st z
4 fveq2 x = z 2 nd x = 2 nd z
5 3 4 uneq12d x = z 1 st x 2 nd x = 1 st z 2 nd z
6 eqid x On × On 1 st x 2 nd x = x On × On 1 st x 2 nd x
7 fvex 1 st z V
8 fvex 2 nd z V
9 7 8 unex 1 st z 2 nd z V
10 5 6 9 fvmpt z On × On x On × On 1 st x 2 nd x z = 1 st z 2 nd z
11 fveq2 x = w 1 st x = 1 st w
12 fveq2 x = w 2 nd x = 2 nd w
13 11 12 uneq12d x = w 1 st x 2 nd x = 1 st w 2 nd w
14 fvex 1 st w V
15 fvex 2 nd w V
16 14 15 unex 1 st w 2 nd w V
17 13 6 16 fvmpt w On × On x On × On 1 st x 2 nd x w = 1 st w 2 nd w
18 10 17 breqan12d z On × On w On × On x On × On 1 st x 2 nd x z E x On × On 1 st x 2 nd x w 1 st z 2 nd z E 1 st w 2 nd w
19 16 epeli 1 st z 2 nd z E 1 st w 2 nd w 1 st z 2 nd z 1 st w 2 nd w
20 18 19 bitrdi z On × On w On × On x On × On 1 st x 2 nd x z E x On × On 1 st x 2 nd x w 1 st z 2 nd z 1 st w 2 nd w
21 10 17 eqeqan12d z On × On w On × On x On × On 1 st x 2 nd x z = x On × On 1 st x 2 nd x w 1 st z 2 nd z = 1 st w 2 nd w
22 21 anbi1d z On × On w On × On x On × On 1 st x 2 nd x z = x On × On 1 st x 2 nd x w z L w 1 st z 2 nd z = 1 st w 2 nd w z L w
23 20 22 orbi12d z On × On w On × On x On × On 1 st x 2 nd x z E x On × On 1 st x 2 nd x w x On × On 1 st x 2 nd x z = x On × On 1 st x 2 nd x w z L w 1 st z 2 nd z 1 st w 2 nd w 1 st z 2 nd z = 1 st w 2 nd w z L w
24 23 pm5.32i z On × On w On × On x On × On 1 st x 2 nd x z E x On × On 1 st x 2 nd x w x On × On 1 st x 2 nd x z = x On × On 1 st x 2 nd x w z L w z On × On w On × On 1 st z 2 nd z 1 st w 2 nd w 1 st z 2 nd z = 1 st w 2 nd w z L w
25 24 opabbii z w | z On × On w On × On x On × On 1 st x 2 nd x z E x On × On 1 st x 2 nd x w x On × On 1 st x 2 nd x z = x On × On 1 st x 2 nd x w z L w = z w | z On × On w On × On 1 st z 2 nd z 1 st w 2 nd w 1 st z 2 nd z = 1 st w 2 nd w z L w
26 2 25 eqtr4i R = z w | z On × On w On × On x On × On 1 st x 2 nd x z E x On × On 1 st x 2 nd x w x On × On 1 st x 2 nd x z = x On × On 1 st x 2 nd x w z L w
27 xp1st x On × On 1 st x On
28 xp2nd x On × On 2 nd x On
29 fvex 1 st x V
30 29 elon 1 st x On Ord 1 st x
31 fvex 2 nd x V
32 31 elon 2 nd x On Ord 2 nd x
33 ordun Ord 1 st x Ord 2 nd x Ord 1 st x 2 nd x
34 30 32 33 syl2anb 1 st x On 2 nd x On Ord 1 st x 2 nd x
35 27 28 34 syl2anc x On × On Ord 1 st x 2 nd x
36 29 31 unex 1 st x 2 nd x V
37 36 elon 1 st x 2 nd x On Ord 1 st x 2 nd x
38 35 37 sylibr x On × On 1 st x 2 nd x On
39 6 38 fmpti x On × On 1 st x 2 nd x : On × On On
40 39 a1i x On × On 1 st x 2 nd x : On × On On
41 epweon E We On
42 41 a1i E We On
43 1 leweon L We On × On
44 43 a1i L We On × On
45 vex u V
46 45 dmex dom u V
47 45 rnex ran u V
48 46 47 unex dom u ran u V
49 imadmres x On × On 1 st x 2 nd x dom x On × On 1 st x 2 nd x u = x On × On 1 st x 2 nd x u
50 inss2 u On × On On × On
51 ssun1 dom u dom u ran u
52 elinel2 x u On × On x On × On
53 1st2nd2 x On × On x = 1 st x 2 nd x
54 52 53 syl x u On × On x = 1 st x 2 nd x
55 elinel1 x u On × On x u
56 54 55 eqeltrrd x u On × On 1 st x 2 nd x u
57 29 31 opeldm 1 st x 2 nd x u 1 st x dom u
58 56 57 syl x u On × On 1 st x dom u
59 51 58 sselid x u On × On 1 st x dom u ran u
60 ssun2 ran u dom u ran u
61 29 31 opelrn 1 st x 2 nd x u 2 nd x ran u
62 56 61 syl x u On × On 2 nd x ran u
63 60 62 sselid x u On × On 2 nd x dom u ran u
64 59 63 prssd x u On × On 1 st x 2 nd x dom u ran u
65 52 27 syl x u On × On 1 st x On
66 52 28 syl x u On × On 2 nd x On
67 ordunpr 1 st x On 2 nd x On 1 st x 2 nd x 1 st x 2 nd x
68 65 66 67 syl2anc x u On × On 1 st x 2 nd x 1 st x 2 nd x
69 64 68 sseldd x u On × On 1 st x 2 nd x dom u ran u
70 69 rgen x u On × On 1 st x 2 nd x dom u ran u
71 ssrab u On × On x On × On | 1 st x 2 nd x dom u ran u u On × On On × On x u On × On 1 st x 2 nd x dom u ran u
72 50 70 71 mpbir2an u On × On x On × On | 1 st x 2 nd x dom u ran u
73 dmres dom x On × On 1 st x 2 nd x u = u dom x On × On 1 st x 2 nd x
74 39 fdmi dom x On × On 1 st x 2 nd x = On × On
75 74 ineq2i u dom x On × On 1 st x 2 nd x = u On × On
76 73 75 eqtri dom x On × On 1 st x 2 nd x u = u On × On
77 6 mptpreima x On × On 1 st x 2 nd x -1 dom u ran u = x On × On | 1 st x 2 nd x dom u ran u
78 72 76 77 3sstr4i dom x On × On 1 st x 2 nd x u x On × On 1 st x 2 nd x -1 dom u ran u
79 funmpt Fun x On × On 1 st x 2 nd x
80 resss x On × On 1 st x 2 nd x u x On × On 1 st x 2 nd x
81 dmss x On × On 1 st x 2 nd x u x On × On 1 st x 2 nd x dom x On × On 1 st x 2 nd x u dom x On × On 1 st x 2 nd x
82 80 81 ax-mp dom x On × On 1 st x 2 nd x u dom x On × On 1 st x 2 nd x
83 funimass3 Fun x On × On 1 st x 2 nd x dom x On × On 1 st x 2 nd x u dom x On × On 1 st x 2 nd x x On × On 1 st x 2 nd x dom x On × On 1 st x 2 nd x u dom u ran u dom x On × On 1 st x 2 nd x u x On × On 1 st x 2 nd x -1 dom u ran u
84 79 82 83 mp2an x On × On 1 st x 2 nd x dom x On × On 1 st x 2 nd x u dom u ran u dom x On × On 1 st x 2 nd x u x On × On 1 st x 2 nd x -1 dom u ran u
85 78 84 mpbir x On × On 1 st x 2 nd x dom x On × On 1 st x 2 nd x u dom u ran u
86 49 85 eqsstrri x On × On 1 st x 2 nd x u dom u ran u
87 48 86 ssexi x On × On 1 st x 2 nd x u V
88 87 a1i x On × On 1 st x 2 nd x u V
89 26 40 42 44 88 fnwe R We On × On
90 epse E Se On
91 90 a1i E Se On
92 vuniex u V
93 92 pwex 𝒫 u V
94 93 93 xpex 𝒫 u × 𝒫 u V
95 6 mptpreima x On × On 1 st x 2 nd x -1 u = x On × On | 1 st x 2 nd x u
96 df-rab x On × On | 1 st x 2 nd x u = x | x On × On 1 st x 2 nd x u
97 95 96 eqtri x On × On 1 st x 2 nd x -1 u = x | x On × On 1 st x 2 nd x u
98 53 adantr x On × On 1 st x 2 nd x u x = 1 st x 2 nd x
99 elssuni 1 st x 2 nd x u 1 st x 2 nd x u
100 99 adantl x On × On 1 st x 2 nd x u 1 st x 2 nd x u
101 100 unssad x On × On 1 st x 2 nd x u 1 st x u
102 29 elpw 1 st x 𝒫 u 1 st x u
103 101 102 sylibr x On × On 1 st x 2 nd x u 1 st x 𝒫 u
104 100 unssbd x On × On 1 st x 2 nd x u 2 nd x u
105 31 elpw 2 nd x 𝒫 u 2 nd x u
106 104 105 sylibr x On × On 1 st x 2 nd x u 2 nd x 𝒫 u
107 103 106 jca x On × On 1 st x 2 nd x u 1 st x 𝒫 u 2 nd x 𝒫 u
108 elxp6 x 𝒫 u × 𝒫 u x = 1 st x 2 nd x 1 st x 𝒫 u 2 nd x 𝒫 u
109 98 107 108 sylanbrc x On × On 1 st x 2 nd x u x 𝒫 u × 𝒫 u
110 109 abssi x | x On × On 1 st x 2 nd x u 𝒫 u × 𝒫 u
111 97 110 eqsstri x On × On 1 st x 2 nd x -1 u 𝒫 u × 𝒫 u
112 94 111 ssexi x On × On 1 st x 2 nd x -1 u V
113 112 a1i x On × On 1 st x 2 nd x -1 u V
114 26 40 91 113 fnse R Se On × On
115 89 114 jca R We On × On R Se On × On
116 115 mptru R We On × On R Se On × On