ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  cnvoprab Unicode version

Theorem cnvoprab 6211
Description: The converse of a class abstraction of nested ordered pairs. (Contributed by Thierry Arnoux, 17-Aug-2017.)
Hypotheses
Ref Expression
cnvoprab.x  |-  F/ x ps
cnvoprab.y  |-  F/ y ps
cnvoprab.1  |-  ( a  =  <. x ,  y
>.  ->  ( ps  <->  ph ) )
cnvoprab.2  |-  ( ps 
->  a  e.  ( _V  X.  _V ) )
Assertion
Ref Expression
cnvoprab  |-  `' { <. <. x ,  y
>. ,  z >.  | 
ph }  =  { <. z ,  a >.  |  ps }
Distinct variable groups:    x, a, y, z    ph, a
Allowed substitution hints:    ph( x, y, z)    ps( x, y, z, a)

Proof of Theorem cnvoprab
Dummy variable  w is distinct from all other variables.
StepHypRef Expression
1 excom 1657 . . . . . 6  |-  ( E. a E. z ( w  =  <. a ,  z >.  /\  ps ) 
<->  E. z E. a
( w  =  <. a ,  z >.  /\  ps ) )
2 nfv 1521 . . . . . . . . . . 11  |-  F/ x  w  =  <. a ,  z >.
3 cnvoprab.x . . . . . . . . . . 11  |-  F/ x ps
42, 3nfan 1558 . . . . . . . . . 10  |-  F/ x
( w  =  <. a ,  z >.  /\  ps )
54nfex 1630 . . . . . . . . 9  |-  F/ x E. a ( w  = 
<. a ,  z >.  /\  ps )
6 nfv 1521 . . . . . . . . . . . 12  |-  F/ y  w  =  <. a ,  z >.
7 cnvoprab.y . . . . . . . . . . . 12  |-  F/ y ps
86, 7nfan 1558 . . . . . . . . . . 11  |-  F/ y ( w  =  <. a ,  z >.  /\  ps )
98nfex 1630 . . . . . . . . . 10  |-  F/ y E. a ( w  =  <. a ,  z
>.  /\  ps )
10 vex 2733 . . . . . . . . . . . 12  |-  x  e. 
_V
11 vex 2733 . . . . . . . . . . . 12  |-  y  e. 
_V
1210, 11opex 4212 . . . . . . . . . . 11  |-  <. x ,  y >.  e.  _V
13 opeq1 3763 . . . . . . . . . . . . 13  |-  ( a  =  <. x ,  y
>.  ->  <. a ,  z
>.  =  <. <. x ,  y >. ,  z
>. )
1413eqeq2d 2182 . . . . . . . . . . . 12  |-  ( a  =  <. x ,  y
>.  ->  ( w  = 
<. a ,  z >.  <->  w  =  <. <. x ,  y
>. ,  z >. ) )
15 cnvoprab.1 . . . . . . . . . . . 12  |-  ( a  =  <. x ,  y
>.  ->  ( ps  <->  ph ) )
1614, 15anbi12d 470 . . . . . . . . . . 11  |-  ( a  =  <. x ,  y
>.  ->  ( ( w  =  <. a ,  z
>.  /\  ps )  <->  ( w  =  <. <. x ,  y
>. ,  z >.  /\ 
ph ) ) )
1712, 16spcev 2825 . . . . . . . . . 10  |-  ( ( w  =  <. <. x ,  y >. ,  z
>.  /\  ph )  ->  E. a ( w  = 
<. a ,  z >.  /\  ps ) )
189, 17exlimi 1587 . . . . . . . . 9  |-  ( E. y ( w  = 
<. <. x ,  y
>. ,  z >.  /\ 
ph )  ->  E. a
( w  =  <. a ,  z >.  /\  ps ) )
195, 18exlimi 1587 . . . . . . . 8  |-  ( E. x E. y ( w  =  <. <. x ,  y >. ,  z
>.  /\  ph )  ->  E. a ( w  = 
<. a ,  z >.  /\  ps ) )
20 cnvoprab.2 . . . . . . . . . . 11  |-  ( ps 
->  a  e.  ( _V  X.  _V ) )
2120adantl 275 . . . . . . . . . 10  |-  ( ( w  =  <. a ,  z >.  /\  ps )  ->  a  e.  ( _V  X.  _V )
)
22 vex 2733 . . . . . . . . . . . 12  |-  a  e. 
_V
23 1stexg 6144 . . . . . . . . . . . 12  |-  ( a  e.  _V  ->  ( 1st `  a )  e. 
_V )
2422, 23ax-mp 5 . . . . . . . . . . 11  |-  ( 1st `  a )  e.  _V
25 2ndexg 6145 . . . . . . . . . . . 12  |-  ( a  e.  _V  ->  ( 2nd `  a )  e. 
_V )
2622, 25ax-mp 5 . . . . . . . . . . 11  |-  ( 2nd `  a )  e.  _V
27 eqcom 2172 . . . . . . . . . . . . . . 15  |-  ( ( 1st `  a )  =  x  <->  x  =  ( 1st `  a ) )
28 eqcom 2172 . . . . . . . . . . . . . . 15  |-  ( ( 2nd `  a )  =  y  <->  y  =  ( 2nd `  a ) )
2927, 28anbi12i 457 . . . . . . . . . . . . . 14  |-  ( ( ( 1st `  a
)  =  x  /\  ( 2nd `  a )  =  y )  <->  ( x  =  ( 1st `  a
)  /\  y  =  ( 2nd `  a ) ) )
30 eqopi 6149 . . . . . . . . . . . . . 14  |-  ( ( a  e.  ( _V 
X.  _V )  /\  (
( 1st `  a
)  =  x  /\  ( 2nd `  a )  =  y ) )  ->  a  =  <. x ,  y >. )
3129, 30sylan2br 286 . . . . . . . . . . . . 13  |-  ( ( a  e.  ( _V 
X.  _V )  /\  (
x  =  ( 1st `  a )  /\  y  =  ( 2nd `  a
) ) )  -> 
a  =  <. x ,  y >. )
3216bicomd 140 . . . . . . . . . . . . 13  |-  ( a  =  <. x ,  y
>.  ->  ( ( w  =  <. <. x ,  y
>. ,  z >.  /\ 
ph )  <->  ( w  =  <. a ,  z
>.  /\  ps ) ) )
3331, 32syl 14 . . . . . . . . . . . 12  |-  ( ( a  e.  ( _V 
X.  _V )  /\  (
x  =  ( 1st `  a )  /\  y  =  ( 2nd `  a
) ) )  -> 
( ( w  = 
<. <. x ,  y
>. ,  z >.  /\ 
ph )  <->  ( w  =  <. a ,  z
>.  /\  ps ) ) )
344, 8, 33spc2ed 6210 . . . . . . . . . . 11  |-  ( ( a  e.  ( _V 
X.  _V )  /\  (
( 1st `  a
)  e.  _V  /\  ( 2nd `  a )  e.  _V ) )  ->  ( ( w  =  <. a ,  z
>.  /\  ps )  ->  E. x E. y ( w  =  <. <. x ,  y >. ,  z
>.  /\  ph ) ) )
3524, 26, 34mpanr12 437 . . . . . . . . . 10  |-  ( a  e.  ( _V  X.  _V )  ->  ( ( w  =  <. a ,  z >.  /\  ps )  ->  E. x E. y
( w  =  <. <.
x ,  y >. ,  z >.  /\  ph ) ) )
3621, 35mpcom 36 . . . . . . . . 9  |-  ( ( w  =  <. a ,  z >.  /\  ps )  ->  E. x E. y
( w  =  <. <.
x ,  y >. ,  z >.  /\  ph ) )
3736exlimiv 1591 . . . . . . . 8  |-  ( E. a ( w  = 
<. a ,  z >.  /\  ps )  ->  E. x E. y ( w  = 
<. <. x ,  y
>. ,  z >.  /\ 
ph ) )
3819, 37impbii 125 . . . . . . 7  |-  ( E. x E. y ( w  =  <. <. x ,  y >. ,  z
>.  /\  ph )  <->  E. a
( w  =  <. a ,  z >.  /\  ps ) )
3938exbii 1598 . . . . . 6  |-  ( E. z E. x E. y ( w  = 
<. <. x ,  y
>. ,  z >.  /\ 
ph )  <->  E. z E. a ( w  = 
<. a ,  z >.  /\  ps ) )
40 exrot3 1683 . . . . . 6  |-  ( E. z E. x E. y ( w  = 
<. <. x ,  y
>. ,  z >.  /\ 
ph )  <->  E. x E. y E. z ( w  =  <. <. x ,  y >. ,  z
>.  /\  ph ) )
411, 39, 403bitr2ri 208 . . . . 5  |-  ( E. x E. y E. z ( w  = 
<. <. x ,  y
>. ,  z >.  /\ 
ph )  <->  E. a E. z ( w  = 
<. a ,  z >.  /\  ps ) )
4241abbii 2286 . . . 4  |-  { w  |  E. x E. y E. z ( w  = 
<. <. x ,  y
>. ,  z >.  /\ 
ph ) }  =  { w  |  E. a E. z ( w  =  <. a ,  z
>.  /\  ps ) }
43 df-oprab 5855 . . . 4  |-  { <. <.
x ,  y >. ,  z >.  |  ph }  =  { w  |  E. x E. y E. z ( w  = 
<. <. x ,  y
>. ,  z >.  /\ 
ph ) }
44 df-opab 4049 . . . 4  |-  { <. a ,  z >.  |  ps }  =  { w  |  E. a E. z
( w  =  <. a ,  z >.  /\  ps ) }
4542, 43, 443eqtr4ri 2202 . . 3  |-  { <. a ,  z >.  |  ps }  =  { <. <. x ,  y >. ,  z
>.  |  ph }
4645cnveqi 4784 . 2  |-  `' { <. a ,  z >.  |  ps }  =  `' { <. <. x ,  y
>. ,  z >.  | 
ph }
47 cnvopab 5010 . 2  |-  `' { <. a ,  z >.  |  ps }  =  { <. z ,  a >.  |  ps }
4846, 47eqtr3i 2193 1  |-  `' { <. <. x ,  y
>. ,  z >.  | 
ph }  =  { <. z ,  a >.  |  ps }
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 103    <-> wb 104    = wceq 1348   F/wnf 1453   E.wex 1485    e. wcel 2141   {cab 2156   _Vcvv 2730   <.cop 3584   {copab 4047    X. cxp 4607   `'ccnv 4608   ` cfv 5196   {coprab 5852   1stc1st 6115   2ndc2nd 6116
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-13 2143  ax-14 2144  ax-ext 2152  ax-sep 4105  ax-pow 4158  ax-pr 4192  ax-un 4416
This theorem depends on definitions:  df-bi 116  df-3an 975  df-tru 1351  df-nf 1454  df-sb 1756  df-eu 2022  df-mo 2023  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ral 2453  df-rex 2454  df-v 2732  df-sbc 2956  df-un 3125  df-in 3127  df-ss 3134  df-pw 3566  df-sn 3587  df-pr 3588  df-op 3590  df-uni 3795  df-br 3988  df-opab 4049  df-mpt 4050  df-id 4276  df-xp 4615  df-rel 4616  df-cnv 4617  df-co 4618  df-dm 4619  df-rn 4620  df-iota 5158  df-fun 5198  df-fn 5199  df-f 5200  df-fo 5202  df-fv 5204  df-oprab 5855  df-1st 6117  df-2nd 6118
This theorem is referenced by:  f1od2  6212
  Copyright terms: Public domain W3C validator