NFE Home New Foundations Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  NFE Home  >  Th. List  >  opeq GIF version

Theorem opeq 4620
Description: Any class is equal to an ordered pair. (Contributed by Scott Fenton, 8-Apr-2021.)
Assertion
Ref Expression
opeq A = Proj1 A, Proj2 A

Proof of Theorem opeq
Dummy variables x y z are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-op 4567 . 2 Proj1 A, Proj2 A = ({x y Proj1 Ax = Phi y} ∪ {x y Proj2 Ax = ( Phi y ∪ {0c})})
2 df-proj1 4568 . . . . . . 7 Proj1 A = {z Phi z A}
32rexeqi 2813 . . . . . 6 (y Proj1 Ax = Phi yy {z Phi z A}x = Phi y)
4 phieq 4571 . . . . . . . 8 (z = y Phi z = Phi y)
54eleq1d 2419 . . . . . . 7 (z = y → ( Phi z A Phi y A))
65rexab 3000 . . . . . 6 (y {z Phi z A}x = Phi yy( Phi y A x = Phi y))
7 ancom 437 . . . . . . . . 9 (( Phi y A x = Phi y) ↔ (x = Phi y Phi y A))
8 eleq1 2413 . . . . . . . . . 10 (x = Phi y → (x A Phi y A))
98pm5.32i 618 . . . . . . . . 9 ((x = Phi y x A) ↔ (x = Phi y Phi y A))
107, 9bitr4i 243 . . . . . . . 8 (( Phi y A x = Phi y) ↔ (x = Phi y x A))
1110exbii 1582 . . . . . . 7 (y( Phi y A x = Phi y) ↔ y(x = Phi y x A))
12 19.41v 1901 . . . . . . 7 (y(x = Phi y x A) ↔ (y x = Phi y x A))
13 ancom 437 . . . . . . 7 ((y x = Phi y x A) ↔ (x A y x = Phi y))
1411, 12, 133bitri 262 . . . . . 6 (y( Phi y A x = Phi y) ↔ (x A y x = Phi y))
153, 6, 143bitri 262 . . . . 5 (y Proj1 Ax = Phi y ↔ (x A y x = Phi y))
1615abbii 2466 . . . 4 {x y Proj1 Ax = Phi y} = {x (x A y x = Phi y)}
17 df-rab 2624 . . . 4 {x A y x = Phi y} = {x (x A y x = Phi y)}
1816, 17eqtr4i 2376 . . 3 {x y Proj1 Ax = Phi y} = {x A y x = Phi y}
19 df-proj2 4569 . . . . . . 7 Proj2 A = {z ( Phi z ∪ {0c}) A}
2019rexeqi 2813 . . . . . 6 (y Proj2 Ax = ( Phi y ∪ {0c}) ↔ y {z ( Phi z ∪ {0c}) A}x = ( Phi y ∪ {0c}))
214uneq1d 3418 . . . . . . . 8 (z = y → ( Phi z ∪ {0c}) = ( Phi y ∪ {0c}))
2221eleq1d 2419 . . . . . . 7 (z = y → (( Phi z ∪ {0c}) A ↔ ( Phi y ∪ {0c}) A))
2322rexab 3000 . . . . . 6 (y {z ( Phi z ∪ {0c}) A}x = ( Phi y ∪ {0c}) ↔ y(( Phi y ∪ {0c}) A x = ( Phi y ∪ {0c})))
24 ancom 437 . . . . . . . . 9 ((( Phi y ∪ {0c}) A x = ( Phi y ∪ {0c})) ↔ (x = ( Phi y ∪ {0c}) ( Phi y ∪ {0c}) A))
25 eleq1 2413 . . . . . . . . . 10 (x = ( Phi y ∪ {0c}) → (x A ↔ ( Phi y ∪ {0c}) A))
2625pm5.32i 618 . . . . . . . . 9 ((x = ( Phi y ∪ {0c}) x A) ↔ (x = ( Phi y ∪ {0c}) ( Phi y ∪ {0c}) A))
2724, 26bitr4i 243 . . . . . . . 8 ((( Phi y ∪ {0c}) A x = ( Phi y ∪ {0c})) ↔ (x = ( Phi y ∪ {0c}) x A))
2827exbii 1582 . . . . . . 7 (y(( Phi y ∪ {0c}) A x = ( Phi y ∪ {0c})) ↔ y(x = ( Phi y ∪ {0c}) x A))
29 19.41v 1901 . . . . . . 7 (y(x = ( Phi y ∪ {0c}) x A) ↔ (y x = ( Phi y ∪ {0c}) x A))
30 ancom 437 . . . . . . 7 ((y x = ( Phi y ∪ {0c}) x A) ↔ (x A y x = ( Phi y ∪ {0c})))
3128, 29, 303bitri 262 . . . . . 6 (y(( Phi y ∪ {0c}) A x = ( Phi y ∪ {0c})) ↔ (x A y x = ( Phi y ∪ {0c})))
3220, 23, 313bitri 262 . . . . 5 (y Proj2 Ax = ( Phi y ∪ {0c}) ↔ (x A y x = ( Phi y ∪ {0c})))
3332abbii 2466 . . . 4 {x y Proj2 Ax = ( Phi y ∪ {0c})} = {x (x A y x = ( Phi y ∪ {0c}))}
34 df-rab 2624 . . . 4 {x A y x = ( Phi y ∪ {0c})} = {x (x A y x = ( Phi y ∪ {0c}))}
3533, 34eqtr4i 2376 . . 3 {x y Proj2 Ax = ( Phi y ∪ {0c})} = {x A y x = ( Phi y ∪ {0c})}
3618, 35uneq12i 3417 . 2 ({x y Proj1 Ax = Phi y} ∪ {x y Proj2 Ax = ( Phi y ∪ {0c})}) = ({x A y x = Phi y} ∪ {x A y x = ( Phi y ∪ {0c})})
37 unrab 3527 . . 3 ({x A y x = Phi y} ∪ {x A y x = ( Phi y ∪ {0c})}) = {x A (y x = Phi y y x = ( Phi y ∪ {0c}))}
38 rabid2 2789 . . . 4 (A = {x A (y x = Phi y y x = ( Phi y ∪ {0c}))} ↔ x A (y x = Phi y y x = ( Phi y ∪ {0c})))
39 vex 2863 . . . . . . 7 x V
4039phiall 4619 . . . . . 6 y(x = Phi y x = ( Phi y ∪ {0c}))
41 19.43 1605 . . . . . 6 (y(x = Phi y x = ( Phi y ∪ {0c})) ↔ (y x = Phi y y x = ( Phi y ∪ {0c})))
4240, 41mpbi 199 . . . . 5 (y x = Phi y y x = ( Phi y ∪ {0c}))
4342a1i 10 . . . 4 (x A → (y x = Phi y y x = ( Phi y ∪ {0c})))
4438, 43mprgbir 2685 . . 3 A = {x A (y x = Phi y y x = ( Phi y ∪ {0c}))}
4537, 44eqtr4i 2376 . 2 ({x A y x = Phi y} ∪ {x A y x = ( Phi y ∪ {0c})}) = A
461, 36, 453eqtrri 2378 1 A = Proj1 A, Proj2 A
Colors of variables: wff setvar class
Syntax hints:   wo 357   wa 358  wex 1541   = wceq 1642   wcel 1710  {cab 2339  wrex 2616  {crab 2619  cun 3208  {csn 3738  0cc0c 4375  cop 4562   Phi cphi 4563   Proj1 cproj1 4564   Proj2 cproj2 4565
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1546  ax-5 1557  ax-17 1616  ax-9 1654  ax-8 1675  ax-6 1729  ax-7 1734  ax-11 1746  ax-12 1925  ax-ext 2334  ax-nin 4079  ax-xp 4080  ax-cnv 4081  ax-1c 4082  ax-sset 4083  ax-si 4084  ax-ins2 4085  ax-ins3 4086  ax-typlower 4087  ax-sn 4088
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3an 936  df-nan 1288  df-tru 1319  df-ex 1542  df-nf 1545  df-sb 1649  df-clab 2340  df-cleq 2346  df-clel 2349  df-nfc 2479  df-ne 2519  df-ral 2620  df-rex 2621  df-rab 2624  df-v 2862  df-sbc 3048  df-nin 3212  df-compl 3213  df-in 3214  df-un 3215  df-dif 3216  df-symdif 3217  df-ss 3260  df-nul 3552  df-if 3664  df-pw 3725  df-sn 3742  df-pr 3743  df-uni 3893  df-int 3928  df-opk 4059  df-1c 4137  df-pw1 4138  df-uni1 4139  df-xpk 4186  df-cnvk 4187  df-ins2k 4188  df-ins3k 4189  df-imak 4190  df-cok 4191  df-p6 4192  df-sik 4193  df-ssetk 4194  df-imagek 4195  df-idk 4196  df-0c 4378  df-addc 4379  df-nnc 4380  df-phi 4566  df-op 4567  df-proj1 4568  df-proj2 4569
This theorem is referenced by:  opeqexb  4621  xpvv  4844  ssrel  4845  proj1eldm  4928  co01  5094  1stfo  5506  2ndfo  5507  swapf1o  5512  otsnelsi3  5806  xpassenlem  6057  xpassen  6058  nncdiv3lem1  6276  dmfrec  6317  fnfreclem2  6319
  Copyright terms: Public domain W3C validator