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

Theorem fconst5 5747
Description: Two ways to express that a function is constant. (Contributed by NM, 27-Nov-2007.)
Assertion
Ref Expression
fconst5  |-  ( ( F  Fn  A  /\  A  =/=  (/) )  ->  ( F  =  ( A  X.  { B } )  <->  ran  F  =  { B } ) )

Proof of Theorem fconst5
StepHypRef Expression
1 rneq 4920 . . . 4  |-  ( F  =  ( A  X.  { B } )  ->  ran  F  =  ran  ( A  X.  { B }
) )
2 rnxp 5122 . . . . 5  |-  ( A  =/=  (/)  ->  ran  ( A  X.  { B }
)  =  { B } )
32eqeq2d 2307 . . . 4  |-  ( A  =/=  (/)  ->  ( ran  F  =  ran  ( A  X.  { B }
)  <->  ran  F  =  { B } ) )
41, 3syl5ib 210 . . 3  |-  ( A  =/=  (/)  ->  ( F  =  ( A  X.  { B } )  ->  ran  F  =  { B } ) )
54adantl 452 . 2  |-  ( ( F  Fn  A  /\  A  =/=  (/) )  ->  ( F  =  ( A  X.  { B } )  ->  ran  F  =  { B } ) )
6 df-fo 5277 . . . . . . 7  |-  ( F : A -onto-> { B } 
<->  ( F  Fn  A  /\  ran  F  =  { B } ) )
7 fof 5467 . . . . . . 7  |-  ( F : A -onto-> { B }  ->  F : A --> { B } )
86, 7sylbir 204 . . . . . 6  |-  ( ( F  Fn  A  /\  ran  F  =  { B } )  ->  F : A --> { B }
)
9 fconst2g 5744 . . . . . 6  |-  ( B  e.  _V  ->  ( F : A --> { B } 
<->  F  =  ( A  X.  { B }
) ) )
108, 9syl5ib 210 . . . . 5  |-  ( B  e.  _V  ->  (
( F  Fn  A  /\  ran  F  =  { B } )  ->  F  =  ( A  X.  { B } ) ) )
1110exp3a 425 . . . 4  |-  ( B  e.  _V  ->  ( F  Fn  A  ->  ( ran  F  =  { B }  ->  F  =  ( A  X.  { B } ) ) ) )
1211adantrd 454 . . 3  |-  ( B  e.  _V  ->  (
( F  Fn  A  /\  A  =/=  (/) )  -> 
( ran  F  =  { B }  ->  F  =  ( A  X.  { B } ) ) ) )
13 fnrel 5358 . . . . 5  |-  ( F  Fn  A  ->  Rel  F )
14 snprc 3708 . . . . . 6  |-  ( -.  B  e.  _V  <->  { B }  =  (/) )
15 relrn0 4953 . . . . . . . . . 10  |-  ( Rel 
F  ->  ( F  =  (/)  <->  ran  F  =  (/) ) )
1615biimprd 214 . . . . . . . . 9  |-  ( Rel 
F  ->  ( ran  F  =  (/)  ->  F  =  (/) ) )
1716adantl 452 . . . . . . . 8  |-  ( ( { B }  =  (/) 
/\  Rel  F )  ->  ( ran  F  =  (/)  ->  F  =  (/) ) )
18 eqeq2 2305 . . . . . . . . 9  |-  ( { B }  =  (/)  ->  ( ran  F  =  { B }  <->  ran  F  =  (/) ) )
1918adantr 451 . . . . . . . 8  |-  ( ( { B }  =  (/) 
/\  Rel  F )  ->  ( ran  F  =  { B }  <->  ran  F  =  (/) ) )
20 xpeq2 4720 . . . . . . . . . . 11  |-  ( { B }  =  (/)  ->  ( A  X.  { B } )  =  ( A  X.  (/) ) )
21 xp0 5114 . . . . . . . . . . 11  |-  ( A  X.  (/) )  =  (/)
2220, 21syl6eq 2344 . . . . . . . . . 10  |-  ( { B }  =  (/)  ->  ( A  X.  { B } )  =  (/) )
2322eqeq2d 2307 . . . . . . . . 9  |-  ( { B }  =  (/)  ->  ( F  =  ( A  X.  { B } )  <->  F  =  (/) ) )
2423adantr 451 . . . . . . . 8  |-  ( ( { B }  =  (/) 
/\  Rel  F )  ->  ( F  =  ( A  X.  { B } )  <->  F  =  (/) ) )
2517, 19, 243imtr4d 259 . . . . . . 7  |-  ( ( { B }  =  (/) 
/\  Rel  F )  ->  ( ran  F  =  { B }  ->  F  =  ( A  X.  { B } ) ) )
2625ex 423 . . . . . 6  |-  ( { B }  =  (/)  ->  ( Rel  F  -> 
( ran  F  =  { B }  ->  F  =  ( A  X.  { B } ) ) ) )
2714, 26sylbi 187 . . . . 5  |-  ( -.  B  e.  _V  ->  ( Rel  F  ->  ( ran  F  =  { B }  ->  F  =  ( A  X.  { B } ) ) ) )
2813, 27syl5 28 . . . 4  |-  ( -.  B  e.  _V  ->  ( F  Fn  A  -> 
( ran  F  =  { B }  ->  F  =  ( A  X.  { B } ) ) ) )
2928adantrd 454 . . 3  |-  ( -.  B  e.  _V  ->  ( ( F  Fn  A  /\  A  =/=  (/) )  -> 
( ran  F  =  { B }  ->  F  =  ( A  X.  { B } ) ) ) )
3012, 29pm2.61i 156 . 2  |-  ( ( F  Fn  A  /\  A  =/=  (/) )  ->  ( ran  F  =  { B }  ->  F  =  ( A  X.  { B } ) ) )
315, 30impbid 183 1  |-  ( ( F  Fn  A  /\  A  =/=  (/) )  ->  ( F  =  ( A  X.  { B } )  <->  ran  F  =  { B } ) )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 176    /\ wa 358    = wceq 1632    e. wcel 1696    =/= wne 2459   _Vcvv 2801   (/)c0 3468   {csn 3653    X. cxp 4703   ran crn 4706   Rel wrel 4710    Fn wfn 5266   -->wf 5267   -onto->wfo 5269
This theorem is referenced by:  nvo00  21355  esumnul  23442  esum0  23443
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1536  ax-5 1547  ax-17 1606  ax-9 1644  ax-8 1661  ax-13 1698  ax-14 1700  ax-6 1715  ax-7 1720  ax-11 1727  ax-12 1878  ax-ext 2277  ax-sep 4157  ax-nul 4165  ax-pow 4204  ax-pr 4230
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3an 936  df-tru 1310  df-ex 1532  df-nf 1535  df-sb 1639  df-eu 2160  df-mo 2161  df-clab 2283  df-cleq 2289  df-clel 2292  df-nfc 2421  df-ne 2461  df-ral 2561  df-rex 2562  df-rab 2565  df-v 2803  df-sbc 3005  df-csb 3095  df-dif 3168  df-un 3170  df-in 3172  df-ss 3179  df-nul 3469  df-if 3579  df-sn 3659  df-pr 3660  df-op 3662  df-uni 3844  df-br 4040  df-opab 4094  df-mpt 4095  df-id 4325  df-xp 4711  df-rel 4712  df-cnv 4713  df-co 4714  df-dm 4715  df-rn 4716  df-res 4717  df-ima 4718  df-iota 5235  df-fun 5273  df-fn 5274  df-f 5275  df-fo 5277  df-fv 5279
  Copyright terms: Public domain W3C validator