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

Theorem fsng 5697
Description: A function maps a singleton to a singleton iff it is the singleton of an ordered pair. (Contributed by NM, 26-Oct-2012.)
Assertion
Ref Expression
fsng  |-  ( ( A  e.  C  /\  B  e.  D )  ->  ( F : { A } --> { B }  <->  F  =  { <. A ,  B >. } ) )

Proof of Theorem fsng
Dummy variables  a 
b are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 sneq 3651 . . . 4  |-  ( a  =  A  ->  { a }  =  { A } )
21feq2d 5380 . . 3  |-  ( a  =  A  ->  ( F : { a } --> { b }  <->  F : { A } --> { b } ) )
3 opeq1 3796 . . . . 5  |-  ( a  =  A  ->  <. a ,  b >.  =  <. A ,  b >. )
43sneqd 3653 . . . 4  |-  ( a  =  A  ->  { <. a ,  b >. }  =  { <. A ,  b
>. } )
54eqeq2d 2294 . . 3  |-  ( a  =  A  ->  ( F  =  { <. a ,  b >. }  <->  F  =  { <. A ,  b
>. } ) )
62, 5bibi12d 312 . 2  |-  ( a  =  A  ->  (
( F : {
a } --> { b }  <->  F  =  { <. a ,  b >. } )  <->  ( F : { A } --> { b }  <->  F  =  { <. A ,  b >. } ) ) )
7 sneq 3651 . . . 4  |-  ( b  =  B  ->  { b }  =  { B } )
8 feq3 5377 . . . 4  |-  ( { b }  =  { B }  ->  ( F : { A } --> { b }  <->  F : { A } --> { B } ) )
97, 8syl 15 . . 3  |-  ( b  =  B  ->  ( F : { A } --> { b }  <->  F : { A } --> { B } ) )
10 opeq2 3797 . . . . 5  |-  ( b  =  B  ->  <. A , 
b >.  =  <. A ,  B >. )
1110sneqd 3653 . . . 4  |-  ( b  =  B  ->  { <. A ,  b >. }  =  { <. A ,  B >. } )
1211eqeq2d 2294 . . 3  |-  ( b  =  B  ->  ( F  =  { <. A , 
b >. }  <->  F  =  { <. A ,  B >. } ) )
139, 12bibi12d 312 . 2  |-  ( b  =  B  ->  (
( F : { A } --> { b }  <-> 
F  =  { <. A ,  b >. } )  <-> 
( F : { A } --> { B }  <->  F  =  { <. A ,  B >. } ) ) )
14 vex 2791 . . 3  |-  a  e. 
_V
15 vex 2791 . . 3  |-  b  e. 
_V
1614, 15fsn 5696 . 2  |-  ( F : { a } --> { b }  <->  F  =  { <. a ,  b
>. } )
176, 13, 16vtocl2g 2847 1  |-  ( ( A  e.  C  /\  B  e.  D )  ->  ( F : { A } --> { B }  <->  F  =  { <. A ,  B >. } ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 176    /\ wa 358    = wceq 1623    e. wcel 1684   {csn 3640   <.cop 3643   -->wf 5251
This theorem is referenced by:  xpsng  5699  axdc3lem4  8079  fseq1p1m1  10857  cats1un  11476  rngosn3  21093  esumsn  23437  bnj149  28907
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-reu 2550  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-dm 4699  df-rn 4700  df-fun 5257  df-fn 5258  df-f 5259  df-f1 5260  df-fo 5261  df-f1o 5262
  Copyright terms: Public domain W3C validator