MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  pmvalg Structured version   Visualization version   Unicode version

Theorem pmvalg 7868
Description: The value of the partial mapping operation.  ( A  ^pm  B ) is the set of all partial functions that map from  B to  A. (Contributed by NM, 15-Nov-2007.) (Revised by Mario Carneiro, 8-Sep-2013.)
Assertion
Ref Expression
pmvalg  |-  ( ( A  e.  C  /\  B  e.  D )  ->  ( A  ^pm  B
)  =  { f  e.  ~P ( B  X.  A )  |  Fun  f } )
Distinct variable groups:    A, f    B, f
Allowed substitution hints:    C( f)    D( f)

Proof of Theorem pmvalg
Dummy variables  x  y are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ssrab2 3687 . . 3  |-  { f  e.  ~P ( B  X.  A )  |  Fun  f }  C_  ~P ( B  X.  A
)
2 xpexg 6960 . . . . 5  |-  ( ( B  e.  D  /\  A  e.  C )  ->  ( B  X.  A
)  e.  _V )
32ancoms 469 . . . 4  |-  ( ( A  e.  C  /\  B  e.  D )  ->  ( B  X.  A
)  e.  _V )
4 pwexg 4850 . . . 4  |-  ( ( B  X.  A )  e.  _V  ->  ~P ( B  X.  A
)  e.  _V )
53, 4syl 17 . . 3  |-  ( ( A  e.  C  /\  B  e.  D )  ->  ~P ( B  X.  A )  e.  _V )
6 ssexg 4804 . . 3  |-  ( ( { f  e.  ~P ( B  X.  A
)  |  Fun  f }  C_  ~P ( B  X.  A )  /\  ~P ( B  X.  A
)  e.  _V )  ->  { f  e.  ~P ( B  X.  A
)  |  Fun  f }  e.  _V )
71, 5, 6sylancr 695 . 2  |-  ( ( A  e.  C  /\  B  e.  D )  ->  { f  e.  ~P ( B  X.  A
)  |  Fun  f }  e.  _V )
8 elex 3212 . . 3  |-  ( A  e.  C  ->  A  e.  _V )
9 elex 3212 . . 3  |-  ( B  e.  D  ->  B  e.  _V )
10 xpeq2 5129 . . . . . . 7  |-  ( x  =  A  ->  (
y  X.  x )  =  ( y  X.  A ) )
1110pweqd 4163 . . . . . 6  |-  ( x  =  A  ->  ~P ( y  X.  x
)  =  ~P (
y  X.  A ) )
12 rabeq 3192 . . . . . 6  |-  ( ~P ( y  X.  x
)  =  ~P (
y  X.  A )  ->  { f  e. 
~P ( y  X.  x )  |  Fun  f }  =  {
f  e.  ~P (
y  X.  A )  |  Fun  f } )
1311, 12syl 17 . . . . 5  |-  ( x  =  A  ->  { f  e.  ~P ( y  X.  x )  |  Fun  f }  =  { f  e.  ~P ( y  X.  A
)  |  Fun  f } )
14 xpeq1 5128 . . . . . . 7  |-  ( y  =  B  ->  (
y  X.  A )  =  ( B  X.  A ) )
1514pweqd 4163 . . . . . 6  |-  ( y  =  B  ->  ~P ( y  X.  A
)  =  ~P ( B  X.  A ) )
16 rabeq 3192 . . . . . 6  |-  ( ~P ( y  X.  A
)  =  ~P ( B  X.  A )  ->  { f  e.  ~P ( y  X.  A
)  |  Fun  f }  =  { f  e.  ~P ( B  X.  A )  |  Fun  f } )
1715, 16syl 17 . . . . 5  |-  ( y  =  B  ->  { f  e.  ~P ( y  X.  A )  |  Fun  f }  =  { f  e.  ~P ( B  X.  A
)  |  Fun  f } )
18 df-pm 7860 . . . . 5  |-  ^pm  =  ( x  e.  _V ,  y  e.  _V  |->  { f  e.  ~P ( y  X.  x
)  |  Fun  f } )
1913, 17, 18ovmpt2g 6795 . . . 4  |-  ( ( A  e.  _V  /\  B  e.  _V  /\  {
f  e.  ~P ( B  X.  A )  |  Fun  f }  e.  _V )  ->  ( A 
^pm  B )  =  { f  e.  ~P ( B  X.  A
)  |  Fun  f } )
20193expia 1267 . . 3  |-  ( ( A  e.  _V  /\  B  e.  _V )  ->  ( { f  e. 
~P ( B  X.  A )  |  Fun  f }  e.  _V  ->  ( A  ^pm  B
)  =  { f  e.  ~P ( B  X.  A )  |  Fun  f } ) )
218, 9, 20syl2an 494 . 2  |-  ( ( A  e.  C  /\  B  e.  D )  ->  ( { f  e. 
~P ( B  X.  A )  |  Fun  f }  e.  _V  ->  ( A  ^pm  B
)  =  { f  e.  ~P ( B  X.  A )  |  Fun  f } ) )
227, 21mpd 15 1  |-  ( ( A  e.  C  /\  B  e.  D )  ->  ( A  ^pm  B
)  =  { f  e.  ~P ( B  X.  A )  |  Fun  f } )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    /\ wa 384    = wceq 1483    e. wcel 1990   {crab 2916   _Vcvv 3200    C_ wss 3574   ~Pcpw 4158    X. cxp 5112   Fun wfun 5882  (class class class)co 6650    ^pm cpm 7858
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-8 1992  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-sep 4781  ax-nul 4789  ax-pow 4843  ax-pr 4906  ax-un 6949
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-eu 2474  df-mo 2475  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ral 2917  df-rex 2918  df-rab 2921  df-v 3202  df-sbc 3436  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-pw 4160  df-sn 4178  df-pr 4180  df-op 4184  df-uni 4437  df-br 4654  df-opab 4713  df-id 5024  df-xp 5120  df-rel 5121  df-cnv 5122  df-co 5123  df-dm 5124  df-iota 5851  df-fun 5890  df-fv 5896  df-ov 6653  df-oprab 6654  df-mpt2 6655  df-pm 7860
This theorem is referenced by:  elpmg  7873
  Copyright terms: Public domain W3C validator