Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  mpt2mptxf Structured version   Unicode version

Theorem mpt2mptxf 25995
Description: Express a two-argument function as a one-argument function, or vice-versa. In this version 
B ( x ) is not assumed to be constant w.r.t  x. (Contributed by Mario Carneiro, 29-Dec-2014.) (Revised by Thierry Arnoux, 31-Mar-2018.)
Hypotheses
Ref Expression
mpt2mptxf.0  |-  F/_ x C
mpt2mptxf.1  |-  F/_ y C
mpt2mptxf.2  |-  ( z  =  <. x ,  y
>.  ->  C  =  D )
Assertion
Ref Expression
mpt2mptxf  |-  ( z  e.  U_ x  e.  A  ( { x }  X.  B )  |->  C )  =  ( x  e.  A ,  y  e.  B  |->  D )
Distinct variable groups:    x, y,
z, A    y, B, z    z, D
Allowed substitution hints:    B( x)    C( x, y, z)    D( x, y)

Proof of Theorem mpt2mptxf
Dummy variable  w is distinct from all other variables.
StepHypRef Expression
1 df-mpt 4352 . 2  |-  ( z  e.  U_ x  e.  A  ( { x }  X.  B )  |->  C )  =  { <. z ,  w >.  |  ( z  e.  U_ x  e.  A  ( {
x }  X.  B
)  /\  w  =  C ) }
2 df-mpt2 6096 . . 3  |-  ( x  e.  A ,  y  e.  B  |->  D )  =  { <. <. x ,  y >. ,  w >.  |  ( ( x  e.  A  /\  y  e.  B )  /\  w  =  D ) }
3 eliunxp 4977 . . . . . . 7  |-  ( z  e.  U_ x  e.  A  ( { x }  X.  B )  <->  E. x E. y ( z  = 
<. x ,  y >.  /\  ( x  e.  A  /\  y  e.  B
) ) )
43anbi1i 695 . . . . . 6  |-  ( ( z  e.  U_ x  e.  A  ( {
x }  X.  B
)  /\  w  =  C )  <->  ( E. x E. y ( z  =  <. x ,  y
>.  /\  ( x  e.  A  /\  y  e.  B ) )  /\  w  =  C )
)
5 nfcv 2579 . . . . . . . . . 10  |-  F/_ y
w
6 mpt2mptxf.1 . . . . . . . . . 10  |-  F/_ y C
75, 6nfeq 2586 . . . . . . . . 9  |-  F/ y  w  =  C
8719.41 1899 . . . . . . . 8  |-  ( E. y ( ( z  =  <. x ,  y
>.  /\  ( x  e.  A  /\  y  e.  B ) )  /\  w  =  C )  <->  ( E. y ( z  =  <. x ,  y
>.  /\  ( x  e.  A  /\  y  e.  B ) )  /\  w  =  C )
)
98exbii 1634 . . . . . . 7  |-  ( E. x E. y ( ( z  =  <. x ,  y >.  /\  (
x  e.  A  /\  y  e.  B )
)  /\  w  =  C )  <->  E. x
( E. y ( z  =  <. x ,  y >.  /\  (
x  e.  A  /\  y  e.  B )
)  /\  w  =  C ) )
10 nfcv 2579 . . . . . . . . 9  |-  F/_ x w
11 mpt2mptxf.0 . . . . . . . . 9  |-  F/_ x C
1210, 11nfeq 2586 . . . . . . . 8  |-  F/ x  w  =  C
131219.41 1899 . . . . . . 7  |-  ( E. x ( E. y
( z  =  <. x ,  y >.  /\  (
x  e.  A  /\  y  e.  B )
)  /\  w  =  C )  <->  ( E. x E. y ( z  =  <. x ,  y
>.  /\  ( x  e.  A  /\  y  e.  B ) )  /\  w  =  C )
)
149, 13bitri 249 . . . . . 6  |-  ( E. x E. y ( ( z  =  <. x ,  y >.  /\  (
x  e.  A  /\  y  e.  B )
)  /\  w  =  C )  <->  ( E. x E. y ( z  =  <. x ,  y
>.  /\  ( x  e.  A  /\  y  e.  B ) )  /\  w  =  C )
)
15 anass 649 . . . . . . . 8  |-  ( ( ( z  =  <. x ,  y >.  /\  (
x  e.  A  /\  y  e.  B )
)  /\  w  =  C )  <->  ( z  =  <. x ,  y
>.  /\  ( ( x  e.  A  /\  y  e.  B )  /\  w  =  C ) ) )
16 mpt2mptxf.2 . . . . . . . . . . 11  |-  ( z  =  <. x ,  y
>.  ->  C  =  D )
1716eqeq2d 2454 . . . . . . . . . 10  |-  ( z  =  <. x ,  y
>.  ->  ( w  =  C  <->  w  =  D
) )
1817anbi2d 703 . . . . . . . . 9  |-  ( z  =  <. x ,  y
>.  ->  ( ( ( x  e.  A  /\  y  e.  B )  /\  w  =  C
)  <->  ( ( x  e.  A  /\  y  e.  B )  /\  w  =  D ) ) )
1918pm5.32i 637 . . . . . . . 8  |-  ( ( z  =  <. x ,  y >.  /\  (
( x  e.  A  /\  y  e.  B
)  /\  w  =  C ) )  <->  ( z  =  <. x ,  y
>.  /\  ( ( x  e.  A  /\  y  e.  B )  /\  w  =  D ) ) )
2015, 19bitri 249 . . . . . . 7  |-  ( ( ( z  =  <. x ,  y >.  /\  (
x  e.  A  /\  y  e.  B )
)  /\  w  =  C )  <->  ( z  =  <. x ,  y
>.  /\  ( ( x  e.  A  /\  y  e.  B )  /\  w  =  D ) ) )
21202exbii 1635 . . . . . 6  |-  ( E. x E. y ( ( z  =  <. x ,  y >.  /\  (
x  e.  A  /\  y  e.  B )
)  /\  w  =  C )  <->  E. x E. y ( z  = 
<. x ,  y >.  /\  ( ( x  e.  A  /\  y  e.  B )  /\  w  =  D ) ) )
224, 14, 213bitr2i 273 . . . . 5  |-  ( ( z  e.  U_ x  e.  A  ( {
x }  X.  B
)  /\  w  =  C )  <->  E. x E. y ( z  = 
<. x ,  y >.  /\  ( ( x  e.  A  /\  y  e.  B )  /\  w  =  D ) ) )
2322opabbii 4356 . . . 4  |-  { <. z ,  w >.  |  ( z  e.  U_ x  e.  A  ( {
x }  X.  B
)  /\  w  =  C ) }  =  { <. z ,  w >.  |  E. x E. y ( z  = 
<. x ,  y >.  /\  ( ( x  e.  A  /\  y  e.  B )  /\  w  =  D ) ) }
24 dfoprab2 6133 . . . 4  |-  { <. <.
x ,  y >. ,  w >.  |  (
( x  e.  A  /\  y  e.  B
)  /\  w  =  D ) }  =  { <. z ,  w >.  |  E. x E. y ( z  = 
<. x ,  y >.  /\  ( ( x  e.  A  /\  y  e.  B )  /\  w  =  D ) ) }
2523, 24eqtr4i 2466 . . 3  |-  { <. z ,  w >.  |  ( z  e.  U_ x  e.  A  ( {
x }  X.  B
)  /\  w  =  C ) }  =  { <. <. x ,  y
>. ,  w >.  |  ( ( x  e.  A  /\  y  e.  B )  /\  w  =  D ) }
262, 25eqtr4i 2466 . 2  |-  ( x  e.  A ,  y  e.  B  |->  D )  =  { <. z ,  w >.  |  (
z  e.  U_ x  e.  A  ( {
x }  X.  B
)  /\  w  =  C ) }
271, 26eqtr4i 2466 1  |-  ( z  e.  U_ x  e.  A  ( { x }  X.  B )  |->  C )  =  ( x  e.  A ,  y  e.  B  |->  D )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    /\ wa 369    = wceq 1369   E.wex 1586    e. wcel 1756   F/_wnfc 2566   {csn 3877   <.cop 3883   U_ciun 4171   {copab 4349    e. cmpt 4350    X. cxp 4838   {coprab 6092    e. cmpt2 6093
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1591  ax-4 1602  ax-5 1670  ax-6 1708  ax-7 1728  ax-9 1760  ax-10 1775  ax-11 1780  ax-12 1792  ax-13 1943  ax-ext 2423  ax-sep 4413  ax-nul 4421  ax-pr 4531
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3an 967  df-tru 1372  df-ex 1587  df-nf 1590  df-sb 1701  df-clab 2430  df-cleq 2436  df-clel 2439  df-nfc 2568  df-ne 2608  df-ral 2720  df-rex 2721  df-rab 2724  df-v 2974  df-sbc 3187  df-csb 3289  df-dif 3331  df-un 3333  df-in 3335  df-ss 3342  df-nul 3638  df-if 3792  df-sn 3878  df-pr 3880  df-op 3884  df-iun 4173  df-opab 4351  df-mpt 4352  df-xp 4846  df-rel 4847  df-oprab 6095  df-mpt2 6096
This theorem is referenced by:  gsummpt2co  26249
  Copyright terms: Public domain W3C validator