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

Theorem cnconst2 20992
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 6053 . . 3 (𝐵𝑌 → (𝑋 × {𝐵}):𝑋𝑌)
213ad2ant3 1082 . 2 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) → (𝑋 × {𝐵}):𝑋𝑌)
32adantr 481 . . . 4 (((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) ∧ 𝑥𝑋) → (𝑋 × {𝐵}):𝑋𝑌)
4 simpll3 1100 . . . . . . . 8 ((((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) ∧ 𝑥𝑋) ∧ 𝑦𝐾) → 𝐵𝑌)
5 simplr 791 . . . . . . . 8 ((((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) ∧ 𝑥𝑋) ∧ 𝑦𝐾) → 𝑥𝑋)
6 fvconst2g 6422 . . . . . . . 8 ((𝐵𝑌𝑥𝑋) → ((𝑋 × {𝐵})‘𝑥) = 𝐵)
74, 5, 6syl2anc 692 . . . . . . 7 ((((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) ∧ 𝑥𝑋) ∧ 𝑦𝐾) → ((𝑋 × {𝐵})‘𝑥) = 𝐵)
87eleq1d 2688 . . . . . 6 ((((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) ∧ 𝑥𝑋) ∧ 𝑦𝐾) → (((𝑋 × {𝐵})‘𝑥) ∈ 𝑦𝐵𝑦))
9 simpll1 1098 . . . . . . . . 9 ((((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) ∧ 𝑥𝑋) ∧ (𝑦𝐾𝐵𝑦)) → 𝐽 ∈ (TopOn‘𝑋))
10 toponmax 20638 . . . . . . . . 9 (𝐽 ∈ (TopOn‘𝑋) → 𝑋𝐽)
119, 10syl 17 . . . . . . . 8 ((((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) ∧ 𝑥𝑋) ∧ (𝑦𝐾𝐵𝑦)) → 𝑋𝐽)
12 simplr 791 . . . . . . . 8 ((((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) ∧ 𝑥𝑋) ∧ (𝑦𝐾𝐵𝑦)) → 𝑥𝑋)
13 df-ima 5092 . . . . . . . . 9 ((𝑋 × {𝐵}) “ 𝑋) = ran ((𝑋 × {𝐵}) ↾ 𝑋)
14 ssid 3608 . . . . . . . . . . . . 13 𝑋𝑋
15 xpssres 5397 . . . . . . . . . . . . 13 (𝑋𝑋 → ((𝑋 × {𝐵}) ↾ 𝑋) = (𝑋 × {𝐵}))
1614, 15ax-mp 5 . . . . . . . . . . . 12 ((𝑋 × {𝐵}) ↾ 𝑋) = (𝑋 × {𝐵})
1716rneqi 5316 . . . . . . . . . . 11 ran ((𝑋 × {𝐵}) ↾ 𝑋) = ran (𝑋 × {𝐵})
18 rnxpss 5529 . . . . . . . . . . 11 ran (𝑋 × {𝐵}) ⊆ {𝐵}
1917, 18eqsstri 3619 . . . . . . . . . 10 ran ((𝑋 × {𝐵}) ↾ 𝑋) ⊆ {𝐵}
20 simprr 795 . . . . . . . . . . 11 ((((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) ∧ 𝑥𝑋) ∧ (𝑦𝐾𝐵𝑦)) → 𝐵𝑦)
2120snssd 4314 . . . . . . . . . 10 ((((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) ∧ 𝑥𝑋) ∧ (𝑦𝐾𝐵𝑦)) → {𝐵} ⊆ 𝑦)
2219, 21syl5ss 3599 . . . . . . . . 9 ((((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) ∧ 𝑥𝑋) ∧ (𝑦𝐾𝐵𝑦)) → ran ((𝑋 × {𝐵}) ↾ 𝑋) ⊆ 𝑦)
2313, 22syl5eqss 3633 . . . . . . . 8 ((((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) ∧ 𝑥𝑋) ∧ (𝑦𝐾𝐵𝑦)) → ((𝑋 × {𝐵}) “ 𝑋) ⊆ 𝑦)
24 eleq2 2693 . . . . . . . . . 10 (𝑢 = 𝑋 → (𝑥𝑢𝑥𝑋))
25 imaeq2 5425 . . . . . . . . . . 11 (𝑢 = 𝑋 → ((𝑋 × {𝐵}) “ 𝑢) = ((𝑋 × {𝐵}) “ 𝑋))
2625sseq1d 3616 . . . . . . . . . 10 (𝑢 = 𝑋 → (((𝑋 × {𝐵}) “ 𝑢) ⊆ 𝑦 ↔ ((𝑋 × {𝐵}) “ 𝑋) ⊆ 𝑦))
2724, 26anbi12d 746 . . . . . . . . 9 (𝑢 = 𝑋 → ((𝑥𝑢 ∧ ((𝑋 × {𝐵}) “ 𝑢) ⊆ 𝑦) ↔ (𝑥𝑋 ∧ ((𝑋 × {𝐵}) “ 𝑋) ⊆ 𝑦)))
2827rspcev 3300 . . . . . . . 8 ((𝑋𝐽 ∧ (𝑥𝑋 ∧ ((𝑋 × {𝐵}) “ 𝑋) ⊆ 𝑦)) → ∃𝑢𝐽 (𝑥𝑢 ∧ ((𝑋 × {𝐵}) “ 𝑢) ⊆ 𝑦))
2911, 12, 23, 28syl12anc 1321 . . . . . . 7 ((((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) ∧ 𝑥𝑋) ∧ (𝑦𝐾𝐵𝑦)) → ∃𝑢𝐽 (𝑥𝑢 ∧ ((𝑋 × {𝐵}) “ 𝑢) ⊆ 𝑦))
3029expr 642 . . . . . 6 ((((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) ∧ 𝑥𝑋) ∧ 𝑦𝐾) → (𝐵𝑦 → ∃𝑢𝐽 (𝑥𝑢 ∧ ((𝑋 × {𝐵}) “ 𝑢) ⊆ 𝑦)))
318, 30sylbid 230 . . . . 5 ((((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) ∧ 𝑥𝑋) ∧ 𝑦𝐾) → (((𝑋 × {𝐵})‘𝑥) ∈ 𝑦 → ∃𝑢𝐽 (𝑥𝑢 ∧ ((𝑋 × {𝐵}) “ 𝑢) ⊆ 𝑦)))
3231ralrimiva 2965 . . . 4 (((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) ∧ 𝑥𝑋) → ∀𝑦𝐾 (((𝑋 × {𝐵})‘𝑥) ∈ 𝑦 → ∃𝑢𝐽 (𝑥𝑢 ∧ ((𝑋 × {𝐵}) “ 𝑢) ⊆ 𝑦)))
33 simpl1 1062 . . . . 5 (((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) ∧ 𝑥𝑋) → 𝐽 ∈ (TopOn‘𝑋))
34 simpl2 1063 . . . . 5 (((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) ∧ 𝑥𝑋) → 𝐾 ∈ (TopOn‘𝑌))
35 simpr 477 . . . . 5 (((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) ∧ 𝑥𝑋) → 𝑥𝑋)
36 iscnp 20946 . . . . 5 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝑥𝑋) → ((𝑋 × {𝐵}) ∈ ((𝐽 CnP 𝐾)‘𝑥) ↔ ((𝑋 × {𝐵}):𝑋𝑌 ∧ ∀𝑦𝐾 (((𝑋 × {𝐵})‘𝑥) ∈ 𝑦 → ∃𝑢𝐽 (𝑥𝑢 ∧ ((𝑋 × {𝐵}) “ 𝑢) ⊆ 𝑦)))))
3733, 34, 35, 36syl3anc 1323 . . . 4 (((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) ∧ 𝑥𝑋) → ((𝑋 × {𝐵}) ∈ ((𝐽 CnP 𝐾)‘𝑥) ↔ ((𝑋 × {𝐵}):𝑋𝑌 ∧ ∀𝑦𝐾 (((𝑋 × {𝐵})‘𝑥) ∈ 𝑦 → ∃𝑢𝐽 (𝑥𝑢 ∧ ((𝑋 × {𝐵}) “ 𝑢) ⊆ 𝑦)))))
383, 32, 37mpbir2and 956 . . 3 (((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) ∧ 𝑥𝑋) → (𝑋 × {𝐵}) ∈ ((𝐽 CnP 𝐾)‘𝑥))
3938ralrimiva 2965 . 2 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) → ∀𝑥𝑋 (𝑋 × {𝐵}) ∈ ((𝐽 CnP 𝐾)‘𝑥))
40 cncnp 20989 . . 3 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌)) → ((𝑋 × {𝐵}) ∈ (𝐽 Cn 𝐾) ↔ ((𝑋 × {𝐵}):𝑋𝑌 ∧ ∀𝑥𝑋 (𝑋 × {𝐵}) ∈ ((𝐽 CnP 𝐾)‘𝑥))))
41403adant3 1079 . 2 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) → ((𝑋 × {𝐵}) ∈ (𝐽 Cn 𝐾) ↔ ((𝑋 × {𝐵}):𝑋𝑌 ∧ ∀𝑥𝑋 (𝑋 × {𝐵}) ∈ ((𝐽 CnP 𝐾)‘𝑥))))
422, 39, 41mpbir2and 956 1 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌) ∧ 𝐵𝑌) → (𝑋 × {𝐵}) ∈ (𝐽 Cn 𝐾))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 384  w3a 1036   = wceq 1480  wcel 1992  wral 2912  wrex 2913  wss 3560  {csn 4153   × cxp 5077  ran crn 5080  cres 5081  cima 5082  wf 5846  cfv 5850  (class class class)co 6605  TopOnctopon 20613   Cn ccn 20933   CnP ccnp 20934
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1841  ax-6 1890  ax-7 1937  ax-8 1994  ax-9 2001  ax-10 2021  ax-11 2036  ax-12 2049  ax-13 2250  ax-ext 2606  ax-sep 4746  ax-nul 4754  ax-pow 4808  ax-pr 4872  ax-un 6903
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1883  df-eu 2478  df-mo 2479  df-clab 2613  df-cleq 2619  df-clel 2622  df-nfc 2756  df-ne 2797  df-ral 2917  df-rex 2918  df-rab 2921  df-v 3193  df-sbc 3423  df-csb 3520  df-dif 3563  df-un 3565  df-in 3567  df-ss 3574  df-nul 3897  df-if 4064  df-pw 4137  df-sn 4154  df-pr 4156  df-op 4160  df-uni 4408  df-iun 4492  df-br 4619  df-opab 4679  df-mpt 4680  df-id 4994  df-xp 5085  df-rel 5086  df-cnv 5087  df-co 5088  df-dm 5089  df-rn 5090  df-res 5091  df-ima 5092  df-iota 5813  df-fun 5852  df-fn 5853  df-f 5854  df-fv 5858  df-ov 6608  df-oprab 6609  df-mpt2 6610  df-1st 7116  df-2nd 7117  df-map 7805  df-topgen 16020  df-top 20616  df-topon 20618  df-cn 20936  df-cnp 20937
This theorem is referenced by:  cnconst  20993  xkoccn  21327  txkgen  21360  cnmptc  21370  pcoptcl  22724  blocni  27500  pl1cn  29775  connpconn  30917  cvmliftphtlem  30999  cvmlift3lem9  31009  cnfdmsn  39385  stoweidlem47  39558
  Copyright terms: Public domain W3C validator