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

Theorem cnconst2 17011
Description: A constant function is continuous. (Contributed by Mario Carneiro, 19-Mar-2015.)
Assertion
Ref Expression
cnconst2  |-  ( ( J  e.  (TopOn `  X )  /\  K  e.  (TopOn `  Y )  /\  B  e.  Y
)  ->  ( X  X.  { B } )  e.  ( J  Cn  K ) )

Proof of Theorem cnconst2
Dummy variables  x  u  y are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fconst6g 5430 . . 3  |-  ( B  e.  Y  ->  ( X  X.  { B }
) : X --> Y )
213ad2ant3 978 . 2  |-  ( ( J  e.  (TopOn `  X )  /\  K  e.  (TopOn `  Y )  /\  B  e.  Y
)  ->  ( X  X.  { B } ) : X --> Y )
32adantr 451 . . . 4  |-  ( ( ( J  e.  (TopOn `  X )  /\  K  e.  (TopOn `  Y )  /\  B  e.  Y
)  /\  x  e.  X )  ->  ( X  X.  { B }
) : X --> Y )
4 simpll3 996 . . . . . . . 8  |-  ( ( ( ( J  e.  (TopOn `  X )  /\  K  e.  (TopOn `  Y )  /\  B  e.  Y )  /\  x  e.  X )  /\  y  e.  K )  ->  B  e.  Y )
5 simplr 731 . . . . . . . 8  |-  ( ( ( ( J  e.  (TopOn `  X )  /\  K  e.  (TopOn `  Y )  /\  B  e.  Y )  /\  x  e.  X )  /\  y  e.  K )  ->  x  e.  X )
6 fvconst2g 5727 . . . . . . . 8  |-  ( ( B  e.  Y  /\  x  e.  X )  ->  ( ( X  X.  { B } ) `  x )  =  B )
74, 5, 6syl2anc 642 . . . . . . 7  |-  ( ( ( ( J  e.  (TopOn `  X )  /\  K  e.  (TopOn `  Y )  /\  B  e.  Y )  /\  x  e.  X )  /\  y  e.  K )  ->  (
( X  X.  { B } ) `  x
)  =  B )
87eleq1d 2349 . . . . . 6  |-  ( ( ( ( J  e.  (TopOn `  X )  /\  K  e.  (TopOn `  Y )  /\  B  e.  Y )  /\  x  e.  X )  /\  y  e.  K )  ->  (
( ( X  X.  { B } ) `  x )  e.  y  <-> 
B  e.  y ) )
9 simpll1 994 . . . . . . . . 9  |-  ( ( ( ( J  e.  (TopOn `  X )  /\  K  e.  (TopOn `  Y )  /\  B  e.  Y )  /\  x  e.  X )  /\  (
y  e.  K  /\  B  e.  y )
)  ->  J  e.  (TopOn `  X ) )
10 toponmax 16666 . . . . . . . . 9  |-  ( J  e.  (TopOn `  X
)  ->  X  e.  J )
119, 10syl 15 . . . . . . . 8  |-  ( ( ( ( J  e.  (TopOn `  X )  /\  K  e.  (TopOn `  Y )  /\  B  e.  Y )  /\  x  e.  X )  /\  (
y  e.  K  /\  B  e.  y )
)  ->  X  e.  J )
12 simplr 731 . . . . . . . 8  |-  ( ( ( ( J  e.  (TopOn `  X )  /\  K  e.  (TopOn `  Y )  /\  B  e.  Y )  /\  x  e.  X )  /\  (
y  e.  K  /\  B  e.  y )
)  ->  x  e.  X )
13 df-ima 4702 . . . . . . . . 9  |-  ( ( X  X.  { B } ) " X
)  =  ran  (
( X  X.  { B } )  |`  X )
14 ssid 3197 . . . . . . . . . . . . 13  |-  X  C_  X
15 xpssres 4989 . . . . . . . . . . . . 13  |-  ( X 
C_  X  ->  (
( X  X.  { B } )  |`  X )  =  ( X  X.  { B } ) )
1614, 15ax-mp 8 . . . . . . . . . . . 12  |-  ( ( X  X.  { B } )  |`  X )  =  ( X  X.  { B } )
1716rneqi 4905 . . . . . . . . . . 11  |-  ran  (
( X  X.  { B } )  |`  X )  =  ran  ( X  X.  { B }
)
18 rnxpss 5108 . . . . . . . . . . 11  |-  ran  ( X  X.  { B }
)  C_  { B }
1917, 18eqsstri 3208 . . . . . . . . . 10  |-  ran  (
( X  X.  { B } )  |`  X ) 
C_  { B }
20 simprr 733 . . . . . . . . . . 11  |-  ( ( ( ( J  e.  (TopOn `  X )  /\  K  e.  (TopOn `  Y )  /\  B  e.  Y )  /\  x  e.  X )  /\  (
y  e.  K  /\  B  e.  y )
)  ->  B  e.  y )
2120snssd 3760 . . . . . . . . . 10  |-  ( ( ( ( J  e.  (TopOn `  X )  /\  K  e.  (TopOn `  Y )  /\  B  e.  Y )  /\  x  e.  X )  /\  (
y  e.  K  /\  B  e.  y )
)  ->  { B }  C_  y )
2219, 21syl5ss 3190 . . . . . . . . 9  |-  ( ( ( ( J  e.  (TopOn `  X )  /\  K  e.  (TopOn `  Y )  /\  B  e.  Y )  /\  x  e.  X )  /\  (
y  e.  K  /\  B  e.  y )
)  ->  ran  ( ( X  X.  { B } )  |`  X ) 
C_  y )
2313, 22syl5eqss 3222 . . . . . . . 8  |-  ( ( ( ( J  e.  (TopOn `  X )  /\  K  e.  (TopOn `  Y )  /\  B  e.  Y )  /\  x  e.  X )  /\  (
y  e.  K  /\  B  e.  y )
)  ->  ( ( X  X.  { B }
) " X ) 
C_  y )
24 eleq2 2344 . . . . . . . . . 10  |-  ( u  =  X  ->  (
x  e.  u  <->  x  e.  X ) )
25 imaeq2 5008 . . . . . . . . . . 11  |-  ( u  =  X  ->  (
( X  X.  { B } ) " u
)  =  ( ( X  X.  { B } ) " X
) )
2625sseq1d 3205 . . . . . . . . . 10  |-  ( u  =  X  ->  (
( ( X  X.  { B } ) "
u )  C_  y  <->  ( ( X  X.  { B } ) " X
)  C_  y )
)
2724, 26anbi12d 691 . . . . . . . . 9  |-  ( u  =  X  ->  (
( x  e.  u  /\  ( ( X  X.  { B } ) "
u )  C_  y
)  <->  ( x  e.  X  /\  ( ( X  X.  { B } ) " X
)  C_  y )
) )
2827rspcev 2884 . . . . . . . 8  |-  ( ( X  e.  J  /\  ( x  e.  X  /\  ( ( X  X.  { B } ) " X )  C_  y
) )  ->  E. u  e.  J  ( x  e.  u  /\  (
( X  X.  { B } ) " u
)  C_  y )
)
2911, 12, 23, 28syl12anc 1180 . . . . . . 7  |-  ( ( ( ( J  e.  (TopOn `  X )  /\  K  e.  (TopOn `  Y )  /\  B  e.  Y )  /\  x  e.  X )  /\  (
y  e.  K  /\  B  e.  y )
)  ->  E. u  e.  J  ( x  e.  u  /\  (
( X  X.  { B } ) " u
)  C_  y )
)
3029expr 598 . . . . . 6  |-  ( ( ( ( J  e.  (TopOn `  X )  /\  K  e.  (TopOn `  Y )  /\  B  e.  Y )  /\  x  e.  X )  /\  y  e.  K )  ->  ( B  e.  y  ->  E. u  e.  J  ( x  e.  u  /\  ( ( X  X.  { B } ) "
u )  C_  y
) ) )
318, 30sylbid 206 . . . . 5  |-  ( ( ( ( J  e.  (TopOn `  X )  /\  K  e.  (TopOn `  Y )  /\  B  e.  Y )  /\  x  e.  X )  /\  y  e.  K )  ->  (
( ( X  X.  { B } ) `  x )  e.  y  ->  E. u  e.  J  ( x  e.  u  /\  ( ( X  X.  { B } ) "
u )  C_  y
) ) )
3231ralrimiva 2626 . . . 4  |-  ( ( ( J  e.  (TopOn `  X )  /\  K  e.  (TopOn `  Y )  /\  B  e.  Y
)  /\  x  e.  X )  ->  A. y  e.  K  ( (
( X  X.  { B } ) `  x
)  e.  y  ->  E. u  e.  J  ( x  e.  u  /\  ( ( X  X.  { B } ) "
u )  C_  y
) ) )
33 simpl1 958 . . . . 5  |-  ( ( ( J  e.  (TopOn `  X )  /\  K  e.  (TopOn `  Y )  /\  B  e.  Y
)  /\  x  e.  X )  ->  J  e.  (TopOn `  X )
)
34 simpl2 959 . . . . 5  |-  ( ( ( J  e.  (TopOn `  X )  /\  K  e.  (TopOn `  Y )  /\  B  e.  Y
)  /\  x  e.  X )  ->  K  e.  (TopOn `  Y )
)
35 simpr 447 . . . . 5  |-  ( ( ( J  e.  (TopOn `  X )  /\  K  e.  (TopOn `  Y )  /\  B  e.  Y
)  /\  x  e.  X )  ->  x  e.  X )
36 iscnp 16967 . . . . 5  |-  ( ( J  e.  (TopOn `  X )  /\  K  e.  (TopOn `  Y )  /\  x  e.  X
)  ->  ( ( X  X.  { B }
)  e.  ( ( J  CnP  K ) `
 x )  <->  ( ( X  X.  { B }
) : X --> Y  /\  A. y  e.  K  ( ( ( X  X.  { B } ) `  x )  e.  y  ->  E. u  e.  J  ( x  e.  u  /\  ( ( X  X.  { B } ) "
u )  C_  y
) ) ) ) )
3733, 34, 35, 36syl3anc 1182 . . . 4  |-  ( ( ( J  e.  (TopOn `  X )  /\  K  e.  (TopOn `  Y )  /\  B  e.  Y
)  /\  x  e.  X )  ->  (
( X  X.  { B } )  e.  ( ( J  CnP  K
) `  x )  <->  ( ( X  X.  { B } ) : X --> Y  /\  A. y  e.  K  ( ( ( X  X.  { B } ) `  x
)  e.  y  ->  E. u  e.  J  ( x  e.  u  /\  ( ( X  X.  { B } ) "
u )  C_  y
) ) ) ) )
383, 32, 37mpbir2and 888 . . 3  |-  ( ( ( J  e.  (TopOn `  X )  /\  K  e.  (TopOn `  Y )  /\  B  e.  Y
)  /\  x  e.  X )  ->  ( X  X.  { B }
)  e.  ( ( J  CnP  K ) `
 x ) )
3938ralrimiva 2626 . 2  |-  ( ( J  e.  (TopOn `  X )  /\  K  e.  (TopOn `  Y )  /\  B  e.  Y
)  ->  A. x  e.  X  ( X  X.  { B } )  e.  ( ( J  CnP  K ) `  x ) )
40 cncnp 17009 . . 3  |-  ( ( J  e.  (TopOn `  X )  /\  K  e.  (TopOn `  Y )
)  ->  ( ( X  X.  { B }
)  e.  ( J  Cn  K )  <->  ( ( X  X.  { B }
) : X --> Y  /\  A. x  e.  X  ( X  X.  { B } )  e.  ( ( J  CnP  K
) `  x )
) ) )
41403adant3 975 . 2  |-  ( ( J  e.  (TopOn `  X )  /\  K  e.  (TopOn `  Y )  /\  B  e.  Y
)  ->  ( ( X  X.  { B }
)  e.  ( J  Cn  K )  <->  ( ( X  X.  { B }
) : X --> Y  /\  A. x  e.  X  ( X  X.  { B } )  e.  ( ( J  CnP  K
) `  x )
) ) )
422, 39, 41mpbir2and 888 1  |-  ( ( J  e.  (TopOn `  X )  /\  K  e.  (TopOn `  Y )  /\  B  e.  Y
)  ->  ( X  X.  { B } )  e.  ( J  Cn  K ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 176    /\ wa 358    /\ w3a 934    = wceq 1623    e. wcel 1684   A.wral 2543   E.wrex 2544    C_ wss 3152   {csn 3640    X. cxp 4687   ran crn 4690    |` cres 4691   "cima 4692   -->wf 5251   ` cfv 5255  (class class class)co 5858  TopOnctopon 16632    Cn ccn 16954    CnP ccnp 16955
This theorem is referenced by:  cnconst  17012  xkoccn  17313  txkgen  17346  cnmptc  17356  pcoptcl  18519  blocni  21383  conpcon  23766  cvmliftphtlem  23848  cvmlift3lem9  23858  stoweidlem47  27796
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-13 1686  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-pow 4188  ax-pr 4214  ax-un 4512
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-sbc 2992  df-csb 3082  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-nul 3456  df-if 3566  df-pw 3627  df-sn 3646  df-pr 3647  df-op 3649  df-uni 3828  df-iun 3907  df-br 4024  df-opab 4078  df-mpt 4079  df-id 4309  df-xp 4695  df-rel 4696  df-cnv 4697  df-co 4698  df-dm 4699  df-rn 4700  df-res 4701  df-ima 4702  df-iota 5219  df-fun 5257  df-fn 5258  df-f 5259  df-fv 5263  df-ov 5861  df-oprab 5862  df-mpt2 5863  df-1st 6122  df-2nd 6123  df-map 6774  df-topgen 13344  df-top 16636  df-topon 16639  df-cn 16957  df-cnp 16958
  Copyright terms: Public domain W3C validator