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

Theorem mpt2fun 5946
Description: The maps-to notation for an operation is always a function. (Contributed by Scott Fenton, 21-Mar-2012.)
Hypothesis
Ref Expression
mpt2fun.1  |-  F  =  ( x  e.  A ,  y  e.  B  |->  C )
Assertion
Ref Expression
mpt2fun  |-  Fun  F
Distinct variable group:    x, y
Allowed substitution hints:    A( x, y)    B( x, y)    C( x, y)    F( x, y)

Proof of Theorem mpt2fun
Dummy variables  w  z are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eqtr3 2302 . . . . . 6  |-  ( ( z  =  C  /\  w  =  C )  ->  z  =  w )
21ad2ant2l 726 . . . . 5  |-  ( ( ( ( x  e.  A  /\  y  e.  B )  /\  z  =  C )  /\  (
( x  e.  A  /\  y  e.  B
)  /\  w  =  C ) )  -> 
z  =  w )
32gen2 1534 . . . 4  |-  A. z A. w ( ( ( ( x  e.  A  /\  y  e.  B
)  /\  z  =  C )  /\  (
( x  e.  A  /\  y  e.  B
)  /\  w  =  C ) )  -> 
z  =  w )
4 eqeq1 2289 . . . . . 6  |-  ( z  =  w  ->  (
z  =  C  <->  w  =  C ) )
54anbi2d 684 . . . . 5  |-  ( z  =  w  ->  (
( ( x  e.  A  /\  y  e.  B )  /\  z  =  C )  <->  ( (
x  e.  A  /\  y  e.  B )  /\  w  =  C
) ) )
65mo4 2176 . . . 4  |-  ( E* z ( ( x  e.  A  /\  y  e.  B )  /\  z  =  C )  <->  A. z A. w ( ( ( ( x  e.  A  /\  y  e.  B
)  /\  z  =  C )  /\  (
( x  e.  A  /\  y  e.  B
)  /\  w  =  C ) )  -> 
z  =  w ) )
73, 6mpbir 200 . . 3  |-  E* z
( ( x  e.  A  /\  y  e.  B )  /\  z  =  C )
87funoprab 5944 . 2  |-  Fun  { <. <. x ,  y
>. ,  z >.  |  ( ( x  e.  A  /\  y  e.  B )  /\  z  =  C ) }
9 mpt2fun.1 . . . 4  |-  F  =  ( x  e.  A ,  y  e.  B  |->  C )
10 df-mpt2 5863 . . . 4  |-  ( x  e.  A ,  y  e.  B  |->  C )  =  { <. <. x ,  y >. ,  z
>.  |  ( (
x  e.  A  /\  y  e.  B )  /\  z  =  C
) }
119, 10eqtri 2303 . . 3  |-  F  =  { <. <. x ,  y
>. ,  z >.  |  ( ( x  e.  A  /\  y  e.  B )  /\  z  =  C ) }
1211funeqi 5275 . 2  |-  ( Fun 
F  <->  Fun  { <. <. x ,  y >. ,  z
>.  |  ( (
x  e.  A  /\  y  e.  B )  /\  z  =  C
) } )
138, 12mpbir 200 1  |-  Fun  F
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 358   A.wal 1527    = wceq 1623    e. wcel 1684   E*wmo 2144   Fun wfun 5249   {coprab 5859    e. cmpt2 5860
This theorem is referenced by:  ofexg  6082  mpt2exxg  6195  imasvscafn  13439  coapm  13903  oppglsm  14953  xkococnlem  17353  tpr2rico  23296  elunirnmbfm  23558  aovmpt4g  28061
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1533  ax-5 1544  ax-17 1603  ax-9 1635  ax-8 1643  ax-14 1688  ax-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264  ax-sep 4141  ax-nul 4149  ax-pr 4214
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3an 936  df-tru 1310  df-ex 1529  df-nf 1532  df-sb 1630  df-eu 2147  df-mo 2148  df-clab 2270  df-cleq 2276  df-clel 2279  df-nfc 2408  df-ne 2448  df-ral 2548  df-rex 2549  df-rab 2552  df-v 2790  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-nul 3456  df-if 3566  df-sn 3646  df-pr 3647  df-op 3649  df-br 4024  df-opab 4078  df-id 4309  df-xp 4695  df-rel 4696  df-cnv 4697  df-co 4698  df-fun 5257  df-oprab 5862  df-mpt2 5863
  Copyright terms: Public domain W3C validator