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

Theorem cnconst2 22342
Description: A constant function is continuous. (Contributed by Mario Carneiro, 19-Mar-2015.)
Assertion
Ref Expression
cnconst2 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) → (𝑋 × {𝐵}) ∈ (𝐽 Cn 𝐾))

Proof of Theorem cnconst2
Dummy variables 𝑥 𝑢 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fconst6g 6647 . . 3 (𝐵𝑌 → (𝑋 × {𝐵}):𝑋𝑌)
213ad2ant3 1133 . 2 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) → (𝑋 × {𝐵}):𝑋𝑌)
32adantr 480 . . . 4 (((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) ∧ 𝑥𝑋) → (𝑋 × {𝐵}):𝑋𝑌)
4 simpll3 1212 . . . . . . . 8 ((((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) ∧ 𝑥𝑋) ∧ 𝑦𝐾) → 𝐵𝑌)
5 simplr 765 . . . . . . . 8 ((((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) ∧ 𝑥𝑋) ∧ 𝑦𝐾) → 𝑥𝑋)
6 fvconst2g 7059 . . . . . . . 8 ((𝐵𝑌𝑥𝑋) → ((𝑋 × {𝐵})‘𝑥) = 𝐵)
74, 5, 6syl2anc 583 . . . . . . 7 ((((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) ∧ 𝑥𝑋) ∧ 𝑦𝐾) → ((𝑋 × {𝐵})‘𝑥) = 𝐵)
87eleq1d 2823 . . . . . 6 ((((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) ∧ 𝑥𝑋) ∧ 𝑦𝐾) → (((𝑋 × {𝐵})‘𝑥) ∈ 𝑦𝐵𝑦))
9 simpll1 1210 . . . . . . . . 9 ((((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) ∧ 𝑥𝑋) ∧ (𝑦𝐾𝐵𝑦)) → 𝐽 ∈ (TopOn‘𝑋))
10 toponmax 21983 . . . . . . . . 9 (𝐽 ∈ (TopOn‘𝑋) → 𝑋𝐽)
119, 10syl 17 . . . . . . . 8 ((((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) ∧ 𝑥𝑋) ∧ (𝑦𝐾𝐵𝑦)) → 𝑋𝐽)
12 simplr 765 . . . . . . . 8 ((((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) ∧ 𝑥𝑋) ∧ (𝑦𝐾𝐵𝑦)) → 𝑥𝑋)
13 df-ima 5593 . . . . . . . . 9 ((𝑋 × {𝐵}) “ 𝑋) = ran ((𝑋 × {𝐵}) ↾ 𝑋)
14 ssid 3939 . . . . . . . . . . . . 13 𝑋𝑋
15 xpssres 5917 . . . . . . . . . . . . 13 (𝑋𝑋 → ((𝑋 × {𝐵}) ↾ 𝑋) = (𝑋 × {𝐵}))
1614, 15ax-mp 5 . . . . . . . . . . . 12 ((𝑋 × {𝐵}) ↾ 𝑋) = (𝑋 × {𝐵})
1716rneqi 5835 . . . . . . . . . . 11 ran ((𝑋 × {𝐵}) ↾ 𝑋) = ran (𝑋 × {𝐵})
18 rnxpss 6064 . . . . . . . . . . 11 ran (𝑋 × {𝐵}) ⊆ {𝐵}
1917, 18eqsstri 3951 . . . . . . . . . 10 ran ((𝑋 × {𝐵}) ↾ 𝑋) ⊆ {𝐵}
20 simprr 769 . . . . . . . . . . 11 ((((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) ∧ 𝑥𝑋) ∧ (𝑦𝐾𝐵𝑦)) → 𝐵𝑦)
2120snssd 4739 . . . . . . . . . 10 ((((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) ∧ 𝑥𝑋) ∧ (𝑦𝐾𝐵𝑦)) → {𝐵} ⊆ 𝑦)
2219, 21sstrid 3928 . . . . . . . . 9 ((((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) ∧ 𝑥𝑋) ∧ (𝑦𝐾𝐵𝑦)) → ran ((𝑋 × {𝐵}) ↾ 𝑋) ⊆ 𝑦)
2313, 22eqsstrid 3965 . . . . . . . 8 ((((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) ∧ 𝑥𝑋) ∧ (𝑦𝐾𝐵𝑦)) → ((𝑋 × {𝐵}) “ 𝑋) ⊆ 𝑦)
24 eleq2 2827 . . . . . . . . . 10 (𝑢 = 𝑋 → (𝑥𝑢𝑥𝑋))
25 imaeq2 5954 . . . . . . . . . . 11 (𝑢 = 𝑋 → ((𝑋 × {𝐵}) “ 𝑢) = ((𝑋 × {𝐵}) “ 𝑋))
2625sseq1d 3948 . . . . . . . . . 10 (𝑢 = 𝑋 → (((𝑋 × {𝐵}) “ 𝑢) ⊆ 𝑦 ↔ ((𝑋 × {𝐵}) “ 𝑋) ⊆ 𝑦))
2724, 26anbi12d 630 . . . . . . . . 9 (𝑢 = 𝑋 → ((𝑥𝑢 ∧ ((𝑋 × {𝐵}) “ 𝑢) ⊆ 𝑦) ↔ (𝑥𝑋 ∧ ((𝑋 × {𝐵}) “ 𝑋) ⊆ 𝑦)))
2827rspcev 3552 . . . . . . . 8 ((𝑋𝐽 ∧ (𝑥𝑋 ∧ ((𝑋 × {𝐵}) “ 𝑋) ⊆ 𝑦)) → ∃𝑢𝐽 (𝑥𝑢 ∧ ((𝑋 × {𝐵}) “ 𝑢) ⊆ 𝑦))
2911, 12, 23, 28syl12anc 833 . . . . . . 7 ((((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) ∧ 𝑥𝑋) ∧ (𝑦𝐾𝐵𝑦)) → ∃𝑢𝐽 (𝑥𝑢 ∧ ((𝑋 × {𝐵}) “ 𝑢) ⊆ 𝑦))
3029expr 456 . . . . . 6 ((((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) ∧ 𝑥𝑋) ∧ 𝑦𝐾) → (𝐵𝑦 → ∃𝑢𝐽 (𝑥𝑢 ∧ ((𝑋 × {𝐵}) “ 𝑢) ⊆ 𝑦)))
318, 30sylbid 239 . . . . 5 ((((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) ∧ 𝑥𝑋) ∧ 𝑦𝐾) → (((𝑋 × {𝐵})‘𝑥) ∈ 𝑦 → ∃𝑢𝐽 (𝑥𝑢 ∧ ((𝑋 × {𝐵}) “ 𝑢) ⊆ 𝑦)))
3231ralrimiva 3107 . . . 4 (((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) ∧ 𝑥𝑋) → ∀𝑦𝐾 (((𝑋 × {𝐵})‘𝑥) ∈ 𝑦 → ∃𝑢𝐽 (𝑥𝑢 ∧ ((𝑋 × {𝐵}) “ 𝑢) ⊆ 𝑦)))
33 simpl1 1189 . . . . 5 (((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) ∧ 𝑥𝑋) → 𝐽 ∈ (TopOn‘𝑋))
34 simpl2 1190 . . . . 5 (((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) ∧ 𝑥𝑋) → 𝐾 ∈ (TopOn‘𝑌))
35 simpr 484 . . . . 5 (((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) ∧ 𝑥𝑋) → 𝑥𝑋)
36 iscnp 22296 . . . . 5 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝑥𝑋) → ((𝑋 × {𝐵}) ∈ ((𝐽 CnP 𝐾)‘𝑥) ↔ ((𝑋 × {𝐵}):𝑋𝑌 ∧ ∀𝑦𝐾 (((𝑋 × {𝐵})‘𝑥) ∈ 𝑦 → ∃𝑢𝐽 (𝑥𝑢 ∧ ((𝑋 × {𝐵}) “ 𝑢) ⊆ 𝑦)))))
3733, 34, 35, 36syl3anc 1369 . . . 4 (((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) ∧ 𝑥𝑋) → ((𝑋 × {𝐵}) ∈ ((𝐽 CnP 𝐾)‘𝑥) ↔ ((𝑋 × {𝐵}):𝑋𝑌 ∧ ∀𝑦𝐾 (((𝑋 × {𝐵})‘𝑥) ∈ 𝑦 → ∃𝑢𝐽 (𝑥𝑢 ∧ ((𝑋 × {𝐵}) “ 𝑢) ⊆ 𝑦)))))
383, 32, 37mpbir2and 709 . . 3 (((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) ∧ 𝑥𝑋) → (𝑋 × {𝐵}) ∈ ((𝐽 CnP 𝐾)‘𝑥))
3938ralrimiva 3107 . 2 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) → ∀𝑥𝑋 (𝑋 × {𝐵}) ∈ ((𝐽 CnP 𝐾)‘𝑥))
40 cncnp 22339 . . 3 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌)) → ((𝑋 × {𝐵}) ∈ (𝐽 Cn 𝐾) ↔ ((𝑋 × {𝐵}):𝑋𝑌 ∧ ∀𝑥𝑋 (𝑋 × {𝐵}) ∈ ((𝐽 CnP 𝐾)‘𝑥))))
41403adant3 1130 . 2 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) → ((𝑋 × {𝐵}) ∈ (𝐽 Cn 𝐾) ↔ ((𝑋 × {𝐵}):𝑋𝑌 ∧ ∀𝑥𝑋 (𝑋 × {𝐵}) ∈ ((𝐽 CnP 𝐾)‘𝑥))))
422, 39, 41mpbir2and 709 1 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) → (𝑋 × {𝐵}) ∈ (𝐽 Cn 𝐾))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  w3a 1085   = wceq 1539  wcel 2108  wral 3063  wrex 3064  wss 3883  {csn 4558   × cxp 5578  ran crn 5581  cres 5582  cima 5583  wf 6414  cfv 6418  (class class class)co 7255  TopOnctopon 21967   Cn ccn 22283   CnP ccnp 22284
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-fv 6426  df-ov 7258  df-oprab 7259  df-mpo 7260  df-1st 7804  df-2nd 7805  df-map 8575  df-topgen 17071  df-top 21951  df-topon 21968  df-cn 22286  df-cnp 22287
This theorem is referenced by:  cnconst  22343  xkoccn  22678  txkgen  22711  cnmptc  22721  pcoptcl  24090  blocni  29068  pl1cn  31807  connpconn  33097  cvmliftphtlem  33179  cvmlift3lem9  33189  cnfdmsn  43313  stoweidlem47  43478
  Copyright terms: Public domain W3C validator