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

Theorem mapsncnv 8639
Description: Expression for the inverse of the canonical map between a set and its set of singleton functions. (Contributed by Stefan O'Rear, 21-Mar-2015.)
Hypotheses
Ref Expression
mapsncnv.s 𝑆 = {𝑋}
mapsncnv.b 𝐵 ∈ V
mapsncnv.x 𝑋 ∈ V
mapsncnv.f 𝐹 = (𝑥 ∈ (𝐵m 𝑆) ↦ (𝑥𝑋))
Assertion
Ref Expression
mapsncnv 𝐹 = (𝑦𝐵 ↦ (𝑆 × {𝑦}))
Distinct variable groups:   𝑥,𝐵,𝑦   𝑥,𝑆,𝑦   𝑦,𝑋
Allowed substitution hints:   𝐹(𝑥,𝑦)   𝑋(𝑥)

Proof of Theorem mapsncnv
StepHypRef Expression
1 elmapi 8595 . . . . . . . . 9 (𝑥 ∈ (𝐵m {𝑋}) → 𝑥:{𝑋}⟶𝐵)
2 mapsncnv.x . . . . . . . . . 10 𝑋 ∈ V
32snid 4594 . . . . . . . . 9 𝑋 ∈ {𝑋}
4 ffvelrn 6941 . . . . . . . . 9 ((𝑥:{𝑋}⟶𝐵𝑋 ∈ {𝑋}) → (𝑥𝑋) ∈ 𝐵)
51, 3, 4sylancl 585 . . . . . . . 8 (𝑥 ∈ (𝐵m {𝑋}) → (𝑥𝑋) ∈ 𝐵)
6 eqid 2738 . . . . . . . . 9 {𝑋} = {𝑋}
7 mapsncnv.b . . . . . . . . 9 𝐵 ∈ V
86, 7, 2mapsnconst 8638 . . . . . . . 8 (𝑥 ∈ (𝐵m {𝑋}) → 𝑥 = ({𝑋} × {(𝑥𝑋)}))
95, 8jca 511 . . . . . . 7 (𝑥 ∈ (𝐵m {𝑋}) → ((𝑥𝑋) ∈ 𝐵𝑥 = ({𝑋} × {(𝑥𝑋)})))
10 eleq1 2826 . . . . . . . 8 (𝑦 = (𝑥𝑋) → (𝑦𝐵 ↔ (𝑥𝑋) ∈ 𝐵))
11 sneq 4568 . . . . . . . . . 10 (𝑦 = (𝑥𝑋) → {𝑦} = {(𝑥𝑋)})
1211xpeq2d 5610 . . . . . . . . 9 (𝑦 = (𝑥𝑋) → ({𝑋} × {𝑦}) = ({𝑋} × {(𝑥𝑋)}))
1312eqeq2d 2749 . . . . . . . 8 (𝑦 = (𝑥𝑋) → (𝑥 = ({𝑋} × {𝑦}) ↔ 𝑥 = ({𝑋} × {(𝑥𝑋)})))
1410, 13anbi12d 630 . . . . . . 7 (𝑦 = (𝑥𝑋) → ((𝑦𝐵𝑥 = ({𝑋} × {𝑦})) ↔ ((𝑥𝑋) ∈ 𝐵𝑥 = ({𝑋} × {(𝑥𝑋)}))))
159, 14syl5ibrcom 246 . . . . . 6 (𝑥 ∈ (𝐵m {𝑋}) → (𝑦 = (𝑥𝑋) → (𝑦𝐵𝑥 = ({𝑋} × {𝑦}))))
1615imp 406 . . . . 5 ((𝑥 ∈ (𝐵m {𝑋}) ∧ 𝑦 = (𝑥𝑋)) → (𝑦𝐵𝑥 = ({𝑋} × {𝑦})))
17 fconst6g 6647 . . . . . . . . 9 (𝑦𝐵 → ({𝑋} × {𝑦}):{𝑋}⟶𝐵)
18 snex 5349 . . . . . . . . . 10 {𝑋} ∈ V
197, 18elmap 8617 . . . . . . . . 9 (({𝑋} × {𝑦}) ∈ (𝐵m {𝑋}) ↔ ({𝑋} × {𝑦}):{𝑋}⟶𝐵)
2017, 19sylibr 233 . . . . . . . 8 (𝑦𝐵 → ({𝑋} × {𝑦}) ∈ (𝐵m {𝑋}))
21 vex 3426 . . . . . . . . . . 11 𝑦 ∈ V
2221fvconst2 7061 . . . . . . . . . 10 (𝑋 ∈ {𝑋} → (({𝑋} × {𝑦})‘𝑋) = 𝑦)
233, 22mp1i 13 . . . . . . . . 9 (𝑦𝐵 → (({𝑋} × {𝑦})‘𝑋) = 𝑦)
2423eqcomd 2744 . . . . . . . 8 (𝑦𝐵𝑦 = (({𝑋} × {𝑦})‘𝑋))
2520, 24jca 511 . . . . . . 7 (𝑦𝐵 → (({𝑋} × {𝑦}) ∈ (𝐵m {𝑋}) ∧ 𝑦 = (({𝑋} × {𝑦})‘𝑋)))
26 eleq1 2826 . . . . . . . 8 (𝑥 = ({𝑋} × {𝑦}) → (𝑥 ∈ (𝐵m {𝑋}) ↔ ({𝑋} × {𝑦}) ∈ (𝐵m {𝑋})))
27 fveq1 6755 . . . . . . . . 9 (𝑥 = ({𝑋} × {𝑦}) → (𝑥𝑋) = (({𝑋} × {𝑦})‘𝑋))
2827eqeq2d 2749 . . . . . . . 8 (𝑥 = ({𝑋} × {𝑦}) → (𝑦 = (𝑥𝑋) ↔ 𝑦 = (({𝑋} × {𝑦})‘𝑋)))
2926, 28anbi12d 630 . . . . . . 7 (𝑥 = ({𝑋} × {𝑦}) → ((𝑥 ∈ (𝐵m {𝑋}) ∧ 𝑦 = (𝑥𝑋)) ↔ (({𝑋} × {𝑦}) ∈ (𝐵m {𝑋}) ∧ 𝑦 = (({𝑋} × {𝑦})‘𝑋))))
3025, 29syl5ibrcom 246 . . . . . 6 (𝑦𝐵 → (𝑥 = ({𝑋} × {𝑦}) → (𝑥 ∈ (𝐵m {𝑋}) ∧ 𝑦 = (𝑥𝑋))))
3130imp 406 . . . . 5 ((𝑦𝐵𝑥 = ({𝑋} × {𝑦})) → (𝑥 ∈ (𝐵m {𝑋}) ∧ 𝑦 = (𝑥𝑋)))
3216, 31impbii 208 . . . 4 ((𝑥 ∈ (𝐵m {𝑋}) ∧ 𝑦 = (𝑥𝑋)) ↔ (𝑦𝐵𝑥 = ({𝑋} × {𝑦})))
33 mapsncnv.s . . . . . . 7 𝑆 = {𝑋}
3433oveq2i 7266 . . . . . 6 (𝐵m 𝑆) = (𝐵m {𝑋})
3534eleq2i 2830 . . . . 5 (𝑥 ∈ (𝐵m 𝑆) ↔ 𝑥 ∈ (𝐵m {𝑋}))
3635anbi1i 623 . . . 4 ((𝑥 ∈ (𝐵m 𝑆) ∧ 𝑦 = (𝑥𝑋)) ↔ (𝑥 ∈ (𝐵m {𝑋}) ∧ 𝑦 = (𝑥𝑋)))
3733xpeq1i 5606 . . . . . 6 (𝑆 × {𝑦}) = ({𝑋} × {𝑦})
3837eqeq2i 2751 . . . . 5 (𝑥 = (𝑆 × {𝑦}) ↔ 𝑥 = ({𝑋} × {𝑦}))
3938anbi2i 622 . . . 4 ((𝑦𝐵𝑥 = (𝑆 × {𝑦})) ↔ (𝑦𝐵𝑥 = ({𝑋} × {𝑦})))
4032, 36, 393bitr4i 302 . . 3 ((𝑥 ∈ (𝐵m 𝑆) ∧ 𝑦 = (𝑥𝑋)) ↔ (𝑦𝐵𝑥 = (𝑆 × {𝑦})))
4140opabbii 5137 . 2 {⟨𝑦, 𝑥⟩ ∣ (𝑥 ∈ (𝐵m 𝑆) ∧ 𝑦 = (𝑥𝑋))} = {⟨𝑦, 𝑥⟩ ∣ (𝑦𝐵𝑥 = (𝑆 × {𝑦}))}
42 mapsncnv.f . . . . 5 𝐹 = (𝑥 ∈ (𝐵m 𝑆) ↦ (𝑥𝑋))
43 df-mpt 5154 . . . . 5 (𝑥 ∈ (𝐵m 𝑆) ↦ (𝑥𝑋)) = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ (𝐵m 𝑆) ∧ 𝑦 = (𝑥𝑋))}
4442, 43eqtri 2766 . . . 4 𝐹 = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ (𝐵m 𝑆) ∧ 𝑦 = (𝑥𝑋))}
4544cnveqi 5772 . . 3 𝐹 = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ (𝐵m 𝑆) ∧ 𝑦 = (𝑥𝑋))}
46 cnvopab 6031 . . 3 {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ (𝐵m 𝑆) ∧ 𝑦 = (𝑥𝑋))} = {⟨𝑦, 𝑥⟩ ∣ (𝑥 ∈ (𝐵m 𝑆) ∧ 𝑦 = (𝑥𝑋))}
4745, 46eqtri 2766 . 2 𝐹 = {⟨𝑦, 𝑥⟩ ∣ (𝑥 ∈ (𝐵m 𝑆) ∧ 𝑦 = (𝑥𝑋))}
48 df-mpt 5154 . 2 (𝑦𝐵 ↦ (𝑆 × {𝑦})) = {⟨𝑦, 𝑥⟩ ∣ (𝑦𝐵𝑥 = (𝑆 × {𝑦}))}
4941, 47, 483eqtr4i 2776 1 𝐹 = (𝑦𝐵 ↦ (𝑆 × {𝑦}))
Colors of variables: wff setvar class
Syntax hints:  wa 395   = wceq 1539  wcel 2108  Vcvv 3422  {csn 4558  {copab 5132  cmpt 5153   × cxp 5578  ccnv 5579  wf 6414  cfv 6418  (class class class)co 7255  m cmap 8573
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-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-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-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-ov 7258  df-oprab 7259  df-mpo 7260  df-1st 7804  df-2nd 7805  df-map 8575
This theorem is referenced by:  mapsnf1o2  8640  mapsnf1o3  8641  coe1sfi  21294  evl1var  21412  pf1mpf  21428  pf1ind  21431  deg1val  25166
  Copyright terms: Public domain W3C validator