Table of ContentsTable of Contents Mathbox for Scott Fenton < Previous   Next >
Related theorems
Unicode version

Theorem xporderlem 13948
Description: Lemma for the lexicographical ordering theorems.
Hypothesis
Ref Expression
xporderlem.1 |- T = {<.x, y>. | ((x e. (A X. B) /\ y e. (A X. B)) /\ ((1st` x)R(1st` y) \/ ((1st` x) = (1st`
y) /\ (2nd` x)S(2nd`
y))))}
Assertion
Ref Expression
xporderlem |- (<.a, b>.T<.c, d>. <-> (((a e. A /\ c e. A) /\ (b e. B /\ d e. B)) /\ (aRc \/ (a = c /\ bSd))))
Distinct variable groups:   x,A,y   x,B,y   x,R,y   x,S,y   x,a,y   x,b,y   x,c,y   x,d,y

Proof of Theorem xporderlem
StepHypRef Expression
1 df-br 3339 . . 3 |- (<.a, b>.T<.c, d>. <-> <.<.a, b>., <.c, d>.>. e. T)
2 xporderlem.1 . . . 4 |- T = {<.x, y>. | ((x e. (A X. B) /\ y e. (A X. B)) /\ ((1st` x)R(1st` y) \/ ((1st` x) = (1st`
y) /\ (2nd` x)S(2nd`
y))))}
32eleq2i 1961 . . 3 |- (<.<.a, b>., <.c, d>.>. e. T <-> <.<.a, b>., <.c, d>.>. e. {<.x, y>. | ((x e. (A X. B) /\ y e. (A X. B)) /\ ((1st` x)R(1st` y) \/ ((1st`
x) = (1st` y) /\ (2nd`
x)S(2nd` y))))})
41, 3bitri 190 . 2 |- (<.a, b>.T<.c, d>. <-> <.<.a, b>., <.c, d>.>. e. {<.x, y>. | ((x e. (A X. B) /\ y e. (A X. B)) /\ ((1st` x)R(1st` y) \/ ((1st`
x) = (1st` y) /\ (2nd`
x)S(2nd` y))))})
5 opex 3527 . . 3 |- <.a, b>. e. _V
6 opex 3527 . . 3 |- <.c, d>. e. _V
7 eleq1 1957 . . . . . 6 |- (x = <.a, b>. -> (x e. (A X. B) <-> <.a, b>. e. (A X. B)))
8 visset 2295 . . . . . . 7 |- b e. _V
98opelxp 4036 . . . . . 6 |- (<.a, b>. e. (A X. B) <-> (a e. A /\ b e. B))
107, 9syl6bb 595 . . . . 5 |- (x = <.a, b>. -> (x e. (A X. B) <-> (a e. A /\ b e. B)))
1110anbi1d 679 . . . 4 |- (x = <.a, b>. -> ((x e. (A X. B) /\ y e. (A X. B)) <-> ((a e. A /\ b e. B) /\ y e. (A X. B))))
12 fveq2 4681 . . . . . . 7 |- (x = <.a, b>. -> (1st` x) = (1st` <.a, b>.))
13 visset 2295 . . . . . . . 8 |- a e. _V
1413op1st 5026 . . . . . . 7 |- (1st` <.a, b>.) = a
1512, 14syl6eq 1944 . . . . . 6 |- (x = <.a, b>. -> (1st` x) = a)
1615breq1d 3348 . . . . 5 |- (x = <.a, b>. -> ((1st` x)R(1st` y) <-> aR(1st`
y)))
1715eqeq1d 1892 . . . . . 6 |- (x = <.a, b>. -> ((1st` x) = (1st` y) <-> a = (1st`
y)))
18 fveq2 4681 . . . . . . . 8 |- (x = <.a, b>. -> (2nd` x) = (2nd` <.a, b>.))
1913, 8op2nd 5027 . . . . . . . 8 |- (2nd` <.a, b>.) = b
2018, 19syl6eq 1944 . . . . . . 7 |- (x = <.a, b>. -> (2nd` x) = b)
2120breq1d 3348 . . . . . 6 |- (x = <.a, b>. -> ((2nd` x)S(2nd` y) <-> bS(2nd`
y)))
2217, 21anbi12d 690 . . . . 5 |- (x = <.a, b>. -> (((1st`
x) = (1st` y) /\ (2nd`
x)S(2nd` y)) <-> (a = (1st` y) /\ bS(2nd` y))))
2316, 22orbi12d 689 . . . 4 |- (x = <.a, b>. -> (((1st`
x)R(1st` y) \/ ((1st` x) = (1st` y) /\ (2nd` x)S(2nd` y))) <-> (aR(1st`
y) \/ (a = (1st` y) /\ bS(2nd` y)))))
2411, 23anbi12d 690 . . 3 |- (x = <.a, b>. -> (((x e. (A X. B) /\ y e. (A X. B)) /\ ((1st` x)R(1st` y) \/ ((1st`
x) = (1st` y) /\ (2nd`
x)S(2nd` y)))) <-> (((a e. A /\ b e. B) /\ y e. (A X. B)) /\ (aR(1st` y) \/ (a = (1st` y) /\ bS(2nd` y))))))
25 eleq1 1957 . . . . . 6 |- (y = <.c, d>. -> (y e. (A X. B) <-> <.c, d>. e. (A X. B)))
26 visset 2295 . . . . . . 7 |- d e. _V
2726opelxp 4036 . . . . . 6 |- (<.c, d>. e. (A X. B) <-> (c e. A /\ d e. B))
2825, 27syl6bb 595 . . . . 5 |- (y = <.c, d>. -> (y e. (A X. B) <-> (c e. A /\ d e. B)))
2928anbi2d 678 . . . 4 |- (y = <.c, d>. -> (((a e. A /\ b e. B) /\ y e. (A X. B)) <-> ((a e. A /\ b e. B) /\ (c e. A /\ d e. B))))
30 fveq2 4681 . . . . . . 7 |- (y = <.c, d>. -> (1st` y) = (1st` <.c, d>.))
31 visset 2295 . . . . . . . 8 |- c e. _V
3231op1st 5026 . . . . . . 7 |- (1st` <.c, d>.) = c
3330, 32syl6eq 1944 . . . . . 6 |- (y = <.c, d>. -> (1st` y) = c)
3433breq2d 3350 . . . . 5 |- (y = <.c, d>. -> (aR(1st` y) <-> aRc))
3533eqeq2d 1895 . . . . . 6 |- (y = <.c, d>. -> (a = (1st` y) <-> a = c))
36 fveq2 4681 . . . . . . . 8 |- (y = <.c, d>. -> (2nd` y) = (2nd` <.c, d>.))
3731, 26op2nd 5027 . . . . . . . 8 |- (2nd` <.c, d>.) = d
3836, 37syl6eq 1944 . . . . . . 7 |- (y = <.c, d>. -> (2nd` y) = d)
3938breq2d 3350 . . . . . 6 |- (y = <.c, d>. -> (bS(2nd` y) <-> bSd))
4035, 39anbi12d 690 . . . . 5 |- (y = <.c, d>. -> ((a = (1st` y) /\ bS(2nd` y)) <-> (a = c /\ bSd)))
4134, 40orbi12d 689 . . . 4 |- (y = <.c, d>. -> ((aR(1st` y) \/ (a = (1st` y) /\ bS(2nd` y))) <-> (aRc \/ (a = c /\ bSd))))
4229, 41anbi12d 690 . . 3 |- (y = <.c, d>. -> ((((a e. A /\ b e. B) /\ y e. (A X. B)) /\ (aR(1st` y) \/ (a = (1st`
y) /\ bS(2nd`
y)))) <-> (((a e. A /\ b e. B) /\ (c e. A /\ d e. B)) /\ (aRc \/ (a = c /\ bSd)))))
435, 6, 24, 42opelopab 3570 . 2 |- (<.<.a, b>., <.c, d>.>. e. {<.x, y>. | ((x e. (A X. B) /\ y e. (A X. B)) /\ ((1st` x)R(1st` y) \/ ((1st` x) = (1st`
y) /\ (2nd` x)S(2nd`
y))))} <-> (((a e. A /\ b e. B) /\ (c e. A /\ d e. B)) /\ (aRc \/ (a = c /\ bSd))))
44 an4 564 . . 3 |- (((a e. A /\ b e. B) /\ (c e. A /\ d e. B)) <-> ((a e. A /\ c e. A) /\ (b e. B /\ d e. B)))
4544anbi1i 539 . 2 |- ((((a e. A /\ b e. B) /\ (c e. A /\ d e. B)) /\ (aRc \/ (a = c /\ bSd))) <-> (((a e. A /\ c e. A) /\ (b e. B /\ d e. B)) /\ (aRc \/ (a = c /\ bSd))))
464, 43, 453bitri 194 1 |- (<.a, b>.T<.c, d>. <-> (((a e. A /\ c e. A) /\ (b e. B /\ d e. B)) /\ (aRc \/ (a = c /\ bSd))))
Colors of variables: wff set class
Syntax hints:   <-> wb 163   \/ wo 239   /\ wa 240   = wceq 1298   e. wcel 1300  <.cop 3046   class class class wbr 3338  {copab 3395   X. cxp 3984  ` cfv 3998  1stc1st 5018  2ndc2nd 5019
This theorem is referenced by:  poxp 13949  soxp 13950
This theorem was proved from axioms:  ax-1 4  ax-2 5  ax-3 6  ax-mp 7  ax-7 1304  ax-gen 1305  ax-8 1306  ax-9 1307  ax-10 1308  ax-11 1309  ax-12 1310  ax-13 1311  ax-14 1312  ax-17 1317  ax-4 1319  ax-5o 1321  ax-6o 1324  ax-9o 1481  ax-10o 1500  ax-16 1580  ax-11o 1588  ax-ext 1865  ax-sep 3438  ax-nul 3445  ax-pow 3481  ax-pr 3524  ax-un 3790
This theorem depends on definitions:  df-bi 164  df-or 241  df-an 242  df-ex 1327  df-sb 1536  df-eu 1775  df-mo 1776  df-clab 1872  df-cleq 1877  df-clel 1880  df-ne 2019  df-ral 2109  df-rex 2110  df-v 2294  df-dif 2597  df-un 2600  df-in 2603  df-ss 2605  df-nul 2876  df-pw 3035  df-sn 3049  df-pr 3050  df-op 3053  df-uni 3178  df-br 3339  df-opab 3396  df-id 3586  df-xp 4000  df-rel 4001  df-cnv 4002  df-co 4003  df-dm 4004  df-rn 4005  df-res 4006  df-ima 4007  df-fun 4008  df-fv 4014  df-1st 5020  df-2nd 5021
Copyright terms: Public domain