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

Theorem cnmpt2k 22747
Description: The currying of a two-argument function is continuous. (Contributed by Mario Carneiro, 23-Mar-2015.)
Hypotheses
Ref Expression
cnmpt2k.j (𝜑𝐽 ∈ (TopOn‘𝑋))
cnmpt2k.k (𝜑𝐾 ∈ (TopOn‘𝑌))
cnmpt2k.a (𝜑 → (𝑥𝑋, 𝑦𝑌𝐴) ∈ ((𝐽 ×t 𝐾) Cn 𝐿))
Assertion
Ref Expression
cnmpt2k (𝜑 → (𝑥𝑋 ↦ (𝑦𝑌𝐴)) ∈ (𝐽 Cn (𝐿ko 𝐾)))
Distinct variable groups:   𝑥,𝑦,𝐿   𝜑,𝑥,𝑦   𝑥,𝑋,𝑦   𝑥,𝑌,𝑦
Allowed substitution hints:   𝐴(𝑥,𝑦)   𝐽(𝑥,𝑦)   𝐾(𝑥,𝑦)

Proof of Theorem cnmpt2k
Dummy variables 𝑤 𝑣 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 nfcv 2906 . . . . 5 𝑥𝑌
2 nfcv 2906 . . . . . 6 𝑥𝑣
3 nfmpo2 7334 . . . . . 6 𝑥(𝑦𝑌, 𝑥𝑋𝐴)
4 nfcv 2906 . . . . . 6 𝑥𝑤
52, 3, 4nfov 7285 . . . . 5 𝑥(𝑣(𝑦𝑌, 𝑥𝑋𝐴)𝑤)
61, 5nfmpt 5177 . . . 4 𝑥(𝑣𝑌 ↦ (𝑣(𝑦𝑌, 𝑥𝑋𝐴)𝑤))
7 nfcv 2906 . . . 4 𝑤(𝑦𝑌 ↦ (𝑦(𝑦𝑌, 𝑥𝑋𝐴)𝑥))
8 nfcv 2906 . . . . . . 7 𝑦𝑣
9 nfmpo1 7333 . . . . . . 7 𝑦(𝑦𝑌, 𝑥𝑋𝐴)
10 nfcv 2906 . . . . . . 7 𝑦𝑤
118, 9, 10nfov 7285 . . . . . 6 𝑦(𝑣(𝑦𝑌, 𝑥𝑋𝐴)𝑤)
12 nfcv 2906 . . . . . 6 𝑣(𝑦(𝑦𝑌, 𝑥𝑋𝐴)𝑤)
13 oveq1 7262 . . . . . 6 (𝑣 = 𝑦 → (𝑣(𝑦𝑌, 𝑥𝑋𝐴)𝑤) = (𝑦(𝑦𝑌, 𝑥𝑋𝐴)𝑤))
1411, 12, 13cbvmpt 5181 . . . . 5 (𝑣𝑌 ↦ (𝑣(𝑦𝑌, 𝑥𝑋𝐴)𝑤)) = (𝑦𝑌 ↦ (𝑦(𝑦𝑌, 𝑥𝑋𝐴)𝑤))
15 oveq2 7263 . . . . . 6 (𝑤 = 𝑥 → (𝑦(𝑦𝑌, 𝑥𝑋𝐴)𝑤) = (𝑦(𝑦𝑌, 𝑥𝑋𝐴)𝑥))
1615mpteq2dv 5172 . . . . 5 (𝑤 = 𝑥 → (𝑦𝑌 ↦ (𝑦(𝑦𝑌, 𝑥𝑋𝐴)𝑤)) = (𝑦𝑌 ↦ (𝑦(𝑦𝑌, 𝑥𝑋𝐴)𝑥)))
1714, 16eqtrid 2790 . . . 4 (𝑤 = 𝑥 → (𝑣𝑌 ↦ (𝑣(𝑦𝑌, 𝑥𝑋𝐴)𝑤)) = (𝑦𝑌 ↦ (𝑦(𝑦𝑌, 𝑥𝑋𝐴)𝑥)))
186, 7, 17cbvmpt 5181 . . 3 (𝑤𝑋 ↦ (𝑣𝑌 ↦ (𝑣(𝑦𝑌, 𝑥𝑋𝐴)𝑤))) = (𝑥𝑋 ↦ (𝑦𝑌 ↦ (𝑦(𝑦𝑌, 𝑥𝑋𝐴)𝑥)))
19 simpr 484 . . . . . 6 (((𝜑𝑥𝑋) ∧ 𝑦𝑌) → 𝑦𝑌)
20 simplr 765 . . . . . 6 (((𝜑𝑥𝑋) ∧ 𝑦𝑌) → 𝑥𝑋)
21 cnmpt2k.k . . . . . . . . . . . 12 (𝜑𝐾 ∈ (TopOn‘𝑌))
22 cnmpt2k.j . . . . . . . . . . . 12 (𝜑𝐽 ∈ (TopOn‘𝑋))
23 txtopon 22650 . . . . . . . . . . . 12 ((𝐾 ∈ (TopOn‘𝑌) ∧ 𝐽 ∈ (TopOn‘𝑋)) → (𝐾 ×t 𝐽) ∈ (TopOn‘(𝑌 × 𝑋)))
2421, 22, 23syl2anc 583 . . . . . . . . . . 11 (𝜑 → (𝐾 ×t 𝐽) ∈ (TopOn‘(𝑌 × 𝑋)))
25 cnmpt2k.a . . . . . . . . . . . . 13 (𝜑 → (𝑥𝑋, 𝑦𝑌𝐴) ∈ ((𝐽 ×t 𝐾) Cn 𝐿))
26 cntop2 22300 . . . . . . . . . . . . 13 ((𝑥𝑋, 𝑦𝑌𝐴) ∈ ((𝐽 ×t 𝐾) Cn 𝐿) → 𝐿 ∈ Top)
2725, 26syl 17 . . . . . . . . . . . 12 (𝜑𝐿 ∈ Top)
28 toptopon2 21975 . . . . . . . . . . . 12 (𝐿 ∈ Top ↔ 𝐿 ∈ (TopOn‘ 𝐿))
2927, 28sylib 217 . . . . . . . . . . 11 (𝜑𝐿 ∈ (TopOn‘ 𝐿))
3022, 21, 25cnmptcom 22737 . . . . . . . . . . 11 (𝜑 → (𝑦𝑌, 𝑥𝑋𝐴) ∈ ((𝐾 ×t 𝐽) Cn 𝐿))
31 cnf2 22308 . . . . . . . . . . 11 (((𝐾 ×t 𝐽) ∈ (TopOn‘(𝑌 × 𝑋)) ∧ 𝐿 ∈ (TopOn‘ 𝐿) ∧ (𝑦𝑌, 𝑥𝑋𝐴) ∈ ((𝐾 ×t 𝐽) Cn 𝐿)) → (𝑦𝑌, 𝑥𝑋𝐴):(𝑌 × 𝑋)⟶ 𝐿)
3224, 29, 30, 31syl3anc 1369 . . . . . . . . . 10 (𝜑 → (𝑦𝑌, 𝑥𝑋𝐴):(𝑌 × 𝑋)⟶ 𝐿)
33 eqid 2738 . . . . . . . . . . 11 (𝑦𝑌, 𝑥𝑋𝐴) = (𝑦𝑌, 𝑥𝑋𝐴)
3433fmpo 7881 . . . . . . . . . 10 (∀𝑦𝑌𝑥𝑋 𝐴 𝐿 ↔ (𝑦𝑌, 𝑥𝑋𝐴):(𝑌 × 𝑋)⟶ 𝐿)
3532, 34sylibr 233 . . . . . . . . 9 (𝜑 → ∀𝑦𝑌𝑥𝑋 𝐴 𝐿)
3635r19.21bi 3132 . . . . . . . 8 ((𝜑𝑦𝑌) → ∀𝑥𝑋 𝐴 𝐿)
3736r19.21bi 3132 . . . . . . 7 (((𝜑𝑦𝑌) ∧ 𝑥𝑋) → 𝐴 𝐿)
3837an32s 648 . . . . . 6 (((𝜑𝑥𝑋) ∧ 𝑦𝑌) → 𝐴 𝐿)
3933ovmpt4g 7398 . . . . . 6 ((𝑦𝑌𝑥𝑋𝐴 𝐿) → (𝑦(𝑦𝑌, 𝑥𝑋𝐴)𝑥) = 𝐴)
4019, 20, 38, 39syl3anc 1369 . . . . 5 (((𝜑𝑥𝑋) ∧ 𝑦𝑌) → (𝑦(𝑦𝑌, 𝑥𝑋𝐴)𝑥) = 𝐴)
4140mpteq2dva 5170 . . . 4 ((𝜑𝑥𝑋) → (𝑦𝑌 ↦ (𝑦(𝑦𝑌, 𝑥𝑋𝐴)𝑥)) = (𝑦𝑌𝐴))
4241mpteq2dva 5170 . . 3 (𝜑 → (𝑥𝑋 ↦ (𝑦𝑌 ↦ (𝑦(𝑦𝑌, 𝑥𝑋𝐴)𝑥))) = (𝑥𝑋 ↦ (𝑦𝑌𝐴)))
4318, 42eqtrid 2790 . 2 (𝜑 → (𝑤𝑋 ↦ (𝑣𝑌 ↦ (𝑣(𝑦𝑌, 𝑥𝑋𝐴)𝑤))) = (𝑥𝑋 ↦ (𝑦𝑌𝐴)))
44 eqid 2738 . . . . 5 (𝑤𝑋 ↦ (𝑣𝑌 ↦ ⟨𝑣, 𝑤⟩)) = (𝑤𝑋 ↦ (𝑣𝑌 ↦ ⟨𝑣, 𝑤⟩))
4544xkoinjcn 22746 . . . 4 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝐾 ∈ (TopOn‘𝑌)) → (𝑤𝑋 ↦ (𝑣𝑌 ↦ ⟨𝑣, 𝑤⟩)) ∈ (𝐽 Cn ((𝐾 ×t 𝐽) ↑ko 𝐾)))
4622, 21, 45syl2anc 583 . . 3 (𝜑 → (𝑤𝑋 ↦ (𝑣𝑌 ↦ ⟨𝑣, 𝑤⟩)) ∈ (𝐽 Cn ((𝐾 ×t 𝐽) ↑ko 𝐾)))
4732feqmptd 6819 . . . 4 (𝜑 → (𝑦𝑌, 𝑥𝑋𝐴) = (𝑧 ∈ (𝑌 × 𝑋) ↦ ((𝑦𝑌, 𝑥𝑋𝐴)‘𝑧)))
4847, 30eqeltrrd 2840 . . 3 (𝜑 → (𝑧 ∈ (𝑌 × 𝑋) ↦ ((𝑦𝑌, 𝑥𝑋𝐴)‘𝑧)) ∈ ((𝐾 ×t 𝐽) Cn 𝐿))
49 fveq2 6756 . . . 4 (𝑧 = ⟨𝑣, 𝑤⟩ → ((𝑦𝑌, 𝑥𝑋𝐴)‘𝑧) = ((𝑦𝑌, 𝑥𝑋𝐴)‘⟨𝑣, 𝑤⟩))
50 df-ov 7258 . . . 4 (𝑣(𝑦𝑌, 𝑥𝑋𝐴)𝑤) = ((𝑦𝑌, 𝑥𝑋𝐴)‘⟨𝑣, 𝑤⟩)
5149, 50eqtr4di 2797 . . 3 (𝑧 = ⟨𝑣, 𝑤⟩ → ((𝑦𝑌, 𝑥𝑋𝐴)‘𝑧) = (𝑣(𝑦𝑌, 𝑥𝑋𝐴)𝑤))
5222, 21, 24, 46, 48, 51cnmptk1 22740 . 2 (𝜑 → (𝑤𝑋 ↦ (𝑣𝑌 ↦ (𝑣(𝑦𝑌, 𝑥𝑋𝐴)𝑤))) ∈ (𝐽 Cn (𝐿ko 𝐾)))
5343, 52eqeltrrd 2840 1 (𝜑 → (𝑥𝑋 ↦ (𝑦𝑌𝐴)) ∈ (𝐽 Cn (𝐿ko 𝐾)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1539  wcel 2108  wral 3063  cop 4564   cuni 4836  cmpt 5153   × cxp 5578  wf 6414  cfv 6418  (class class class)co 7255  cmpo 7257  Topctop 21950  TopOnctopon 21967   Cn ccn 22283   ×t ctx 22619  ko cxko 22620
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-rep 5205  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-3or 1086  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-reu 3070  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-pss 3902  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-uni 4837  df-int 4877  df-iun 4923  df-iin 4924  df-br 5071  df-opab 5133  df-mpt 5154  df-tr 5188  df-id 5480  df-eprel 5486  df-po 5494  df-so 5495  df-fr 5535  df-we 5537  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-ord 6254  df-on 6255  df-lim 6256  df-suc 6257  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-ov 7258  df-oprab 7259  df-mpo 7260  df-om 7688  df-1st 7804  df-2nd 7805  df-1o 8267  df-er 8456  df-map 8575  df-en 8692  df-dom 8693  df-fin 8695  df-fi 9100  df-rest 17050  df-topgen 17071  df-top 21951  df-topon 21968  df-bases 22004  df-cn 22286  df-cnp 22287  df-cmp 22446  df-tx 22621  df-xko 22622
This theorem is referenced by:  xkocnv  22873  xkohmeo  22874
  Copyright terms: Public domain W3C validator