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

Theorem fsng 5994
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 3998 . . . 4  |-  ( a  =  A  ->  { a }  =  { A } )
21feq2d 5658 . . 3  |-  ( a  =  A  ->  ( F : { a } --> { b }  <->  F : { A } --> { b } ) )
3 opeq1 4170 . . . . 5  |-  ( a  =  A  ->  <. a ,  b >.  =  <. A ,  b >. )
43sneqd 4000 . . . 4  |-  ( a  =  A  ->  { <. a ,  b >. }  =  { <. A ,  b
>. } )
54eqeq2d 2468 . . 3  |-  ( a  =  A  ->  ( F  =  { <. a ,  b >. }  <->  F  =  { <. A ,  b
>. } ) )
62, 5bibi12d 321 . 2  |-  ( a  =  A  ->  (
( F : {
a } --> { b }  <->  F  =  { <. a ,  b >. } )  <->  ( F : { A } --> { b }  <->  F  =  { <. A ,  b >. } ) ) )
7 sneq 3998 . . . 4  |-  ( b  =  B  ->  { b }  =  { B } )
8 feq3 5655 . . . 4  |-  ( { b }  =  { B }  ->  ( F : { A } --> { b }  <->  F : { A } --> { B } ) )
97, 8syl 16 . . 3  |-  ( b  =  B  ->  ( F : { A } --> { b }  <->  F : { A } --> { B } ) )
10 opeq2 4171 . . . . 5  |-  ( b  =  B  ->  <. A , 
b >.  =  <. A ,  B >. )
1110sneqd 4000 . . . 4  |-  ( b  =  B  ->  { <. A ,  b >. }  =  { <. A ,  B >. } )
1211eqeq2d 2468 . . 3  |-  ( b  =  B  ->  ( F  =  { <. A , 
b >. }  <->  F  =  { <. A ,  B >. } ) )
139, 12bibi12d 321 . 2  |-  ( b  =  B  ->  (
( F : { A } --> { b }  <-> 
F  =  { <. A ,  b >. } )  <-> 
( F : { A } --> { B }  <->  F  =  { <. A ,  B >. } ) ) )
14 vex 3081 . . 3  |-  a  e. 
_V
15 vex 3081 . . 3  |-  b  e. 
_V
1614, 15fsn 5993 . 2  |-  ( F : { a } --> { b }  <->  F  =  { <. a ,  b
>. } )
176, 13, 16vtocl2g 3140 1  |-  ( ( A  e.  C  /\  B  e.  D )  ->  ( F : { A } --> { B }  <->  F  =  { <. A ,  B >. } ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 369    = wceq 1370    e. wcel 1758   {csn 3988   <.cop 3994   -->wf 5525
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1592  ax-4 1603  ax-5 1671  ax-6 1710  ax-7 1730  ax-9 1762  ax-10 1777  ax-11 1782  ax-12 1794  ax-13 1955  ax-ext 2432  ax-sep 4524  ax-nul 4532  ax-pr 4642
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3an 967  df-tru 1373  df-ex 1588  df-nf 1591  df-sb 1703  df-eu 2266  df-mo 2267  df-clab 2440  df-cleq 2446  df-clel 2449  df-nfc 2604  df-ne 2650  df-ral 2804  df-rex 2805  df-reu 2806  df-rab 2808  df-v 3080  df-dif 3442  df-un 3444  df-in 3446  df-ss 3453  df-nul 3749  df-if 3903  df-sn 3989  df-pr 3991  df-op 3995  df-br 4404  df-opab 4462  df-id 4747  df-xp 4957  df-rel 4958  df-cnv 4959  df-co 4960  df-dm 4961  df-rn 4962  df-fun 5531  df-fn 5532  df-f 5533  df-f1 5534  df-fo 5535  df-f1o 5536
This theorem is referenced by:  xpsng  5996  ftpg  6004  axdc3lem4  8736  fseq1p1m1  11654  cats1un  12491  symg1bas  16023  rngosn3  24085  esumsn  26680  mapsnop  30903  snlindsntorlem  31156  lmod1zr  31187  bnj149  32220
  Copyright terms: Public domain W3C validator