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

Theorem mapsncnv 8681
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 8637 . . . . . . . . 9 (𝑥 ∈ (𝐵m {𝑋}) → 𝑥:{𝑋}⟶𝐵)
2 mapsncnv.x . . . . . . . . . 10 𝑋 ∈ V
32snid 4597 . . . . . . . . 9 𝑋 ∈ {𝑋}
4 ffvelrn 6959 . . . . . . . . 9 ((𝑥:{𝑋}⟶𝐵𝑋 ∈ {𝑋}) → (𝑥𝑋) ∈ 𝐵)
51, 3, 4sylancl 586 . . . . . . . 8 (𝑥 ∈ (𝐵m {𝑋}) → (𝑥𝑋) ∈ 𝐵)
6 eqid 2738 . . . . . . . . 9 {𝑋} = {𝑋}
7 mapsncnv.b . . . . . . . . 9 𝐵 ∈ V
86, 7, 2mapsnconst 8680 . . . . . . . 8 (𝑥 ∈ (𝐵m {𝑋}) → 𝑥 = ({𝑋} × {(𝑥𝑋)}))
95, 8jca 512 . . . . . . 7 (𝑥 ∈ (𝐵m {𝑋}) → ((𝑥𝑋) ∈ 𝐵𝑥 = ({𝑋} × {(𝑥𝑋)})))
10 eleq1 2826 . . . . . . . 8 (𝑦 = (𝑥𝑋) → (𝑦𝐵 ↔ (𝑥𝑋) ∈ 𝐵))
11 sneq 4571 . . . . . . . . . 10 (𝑦 = (𝑥𝑋) → {𝑦} = {(𝑥𝑋)})
1211xpeq2d 5619 . . . . . . . . 9 (𝑦 = (𝑥𝑋) → ({𝑋} × {𝑦}) = ({𝑋} × {(𝑥𝑋)}))
1312eqeq2d 2749 . . . . . . . 8 (𝑦 = (𝑥𝑋) → (𝑥 = ({𝑋} × {𝑦}) ↔ 𝑥 = ({𝑋} × {(𝑥𝑋)})))
1410, 13anbi12d 631 . . . . . . 7 (𝑦 = (𝑥𝑋) → ((𝑦𝐵𝑥 = ({𝑋} × {𝑦})) ↔ ((𝑥𝑋) ∈ 𝐵𝑥 = ({𝑋} × {(𝑥𝑋)}))))
159, 14syl5ibrcom 246 . . . . . 6 (𝑥 ∈ (𝐵m {𝑋}) → (𝑦 = (𝑥𝑋) → (𝑦𝐵𝑥 = ({𝑋} × {𝑦}))))
1615imp 407 . . . . 5 ((𝑥 ∈ (𝐵m {𝑋}) ∧ 𝑦 = (𝑥𝑋)) → (𝑦𝐵𝑥 = ({𝑋} × {𝑦})))
17 fconst6g 6663 . . . . . . . . 9 (𝑦𝐵 → ({𝑋} × {𝑦}):{𝑋}⟶𝐵)
18 snex 5354 . . . . . . . . . 10 {𝑋} ∈ V
197, 18elmap 8659 . . . . . . . . 9 (({𝑋} × {𝑦}) ∈ (𝐵m {𝑋}) ↔ ({𝑋} × {𝑦}):{𝑋}⟶𝐵)
2017, 19sylibr 233 . . . . . . . 8 (𝑦𝐵 → ({𝑋} × {𝑦}) ∈ (𝐵m {𝑋}))
21 vex 3436 . . . . . . . . . . 11 𝑦 ∈ V
2221fvconst2 7079 . . . . . . . . . 10 (𝑋 ∈ {𝑋} → (({𝑋} × {𝑦})‘𝑋) = 𝑦)
233, 22mp1i 13 . . . . . . . . 9 (𝑦𝐵 → (({𝑋} × {𝑦})‘𝑋) = 𝑦)
2423eqcomd 2744 . . . . . . . 8 (𝑦𝐵𝑦 = (({𝑋} × {𝑦})‘𝑋))
2520, 24jca 512 . . . . . . 7 (𝑦𝐵 → (({𝑋} × {𝑦}) ∈ (𝐵m {𝑋}) ∧ 𝑦 = (({𝑋} × {𝑦})‘𝑋)))
26 eleq1 2826 . . . . . . . 8 (𝑥 = ({𝑋} × {𝑦}) → (𝑥 ∈ (𝐵m {𝑋}) ↔ ({𝑋} × {𝑦}) ∈ (𝐵m {𝑋})))
27 fveq1 6773 . . . . . . . . 9 (𝑥 = ({𝑋} × {𝑦}) → (𝑥𝑋) = (({𝑋} × {𝑦})‘𝑋))
2827eqeq2d 2749 . . . . . . . 8 (𝑥 = ({𝑋} × {𝑦}) → (𝑦 = (𝑥𝑋) ↔ 𝑦 = (({𝑋} × {𝑦})‘𝑋)))
2926, 28anbi12d 631 . . . . . . 7 (𝑥 = ({𝑋} × {𝑦}) → ((𝑥 ∈ (𝐵m {𝑋}) ∧ 𝑦 = (𝑥𝑋)) ↔ (({𝑋} × {𝑦}) ∈ (𝐵m {𝑋}) ∧ 𝑦 = (({𝑋} × {𝑦})‘𝑋))))
3025, 29syl5ibrcom 246 . . . . . 6 (𝑦𝐵 → (𝑥 = ({𝑋} × {𝑦}) → (𝑥 ∈ (𝐵m {𝑋}) ∧ 𝑦 = (𝑥𝑋))))
3130imp 407 . . . . 5 ((𝑦𝐵𝑥 = ({𝑋} × {𝑦})) → (𝑥 ∈ (𝐵m {𝑋}) ∧ 𝑦 = (𝑥𝑋)))
3216, 31impbii 208 . . . 4 ((𝑥 ∈ (𝐵m {𝑋}) ∧ 𝑦 = (𝑥𝑋)) ↔ (𝑦𝐵𝑥 = ({𝑋} × {𝑦})))
33 mapsncnv.s . . . . . . 7 𝑆 = {𝑋}
3433oveq2i 7286 . . . . . 6 (𝐵m 𝑆) = (𝐵m {𝑋})
3534eleq2i 2830 . . . . 5 (𝑥 ∈ (𝐵m 𝑆) ↔ 𝑥 ∈ (𝐵m {𝑋}))
3635anbi1i 624 . . . 4 ((𝑥 ∈ (𝐵m 𝑆) ∧ 𝑦 = (𝑥𝑋)) ↔ (𝑥 ∈ (𝐵m {𝑋}) ∧ 𝑦 = (𝑥𝑋)))
3733xpeq1i 5615 . . . . . 6 (𝑆 × {𝑦}) = ({𝑋} × {𝑦})
3837eqeq2i 2751 . . . . 5 (𝑥 = (𝑆 × {𝑦}) ↔ 𝑥 = ({𝑋} × {𝑦}))
3938anbi2i 623 . . . 4 ((𝑦𝐵𝑥 = (𝑆 × {𝑦})) ↔ (𝑦𝐵𝑥 = ({𝑋} × {𝑦})))
4032, 36, 393bitr4i 303 . . 3 ((𝑥 ∈ (𝐵m 𝑆) ∧ 𝑦 = (𝑥𝑋)) ↔ (𝑦𝐵𝑥 = (𝑆 × {𝑦})))
4140opabbii 5141 . 2 {⟨𝑦, 𝑥⟩ ∣ (𝑥 ∈ (𝐵m 𝑆) ∧ 𝑦 = (𝑥𝑋))} = {⟨𝑦, 𝑥⟩ ∣ (𝑦𝐵𝑥 = (𝑆 × {𝑦}))}
42 mapsncnv.f . . . . 5 𝐹 = (𝑥 ∈ (𝐵m 𝑆) ↦ (𝑥𝑋))
43 df-mpt 5158 . . . . 5 (𝑥 ∈ (𝐵m 𝑆) ↦ (𝑥𝑋)) = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ (𝐵m 𝑆) ∧ 𝑦 = (𝑥𝑋))}
4442, 43eqtri 2766 . . . 4 𝐹 = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ (𝐵m 𝑆) ∧ 𝑦 = (𝑥𝑋))}
4544cnveqi 5783 . . 3 𝐹 = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ (𝐵m 𝑆) ∧ 𝑦 = (𝑥𝑋))}
46 cnvopab 6042 . . 3 {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ (𝐵m 𝑆) ∧ 𝑦 = (𝑥𝑋))} = {⟨𝑦, 𝑥⟩ ∣ (𝑥 ∈ (𝐵m 𝑆) ∧ 𝑦 = (𝑥𝑋))}
4745, 46eqtri 2766 . 2 𝐹 = {⟨𝑦, 𝑥⟩ ∣ (𝑥 ∈ (𝐵m 𝑆) ∧ 𝑦 = (𝑥𝑋))}
48 df-mpt 5158 . 2 (𝑦𝐵 ↦ (𝑆 × {𝑦})) = {⟨𝑦, 𝑥⟩ ∣ (𝑦𝐵𝑥 = (𝑆 × {𝑦}))}
4941, 47, 483eqtr4i 2776 1 𝐹 = (𝑦𝐵 ↦ (𝑆 × {𝑦}))
Colors of variables: wff setvar class
Syntax hints:  wa 396   = wceq 1539  wcel 2106  Vcvv 3432  {csn 4561  {copab 5136  cmpt 5157   × cxp 5587  ccnv 5588  wf 6429  cfv 6433  (class class class)co 7275  m cmap 8615
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-iun 4926  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-ov 7278  df-oprab 7279  df-mpo 7280  df-1st 7831  df-2nd 7832  df-map 8617
This theorem is referenced by:  mapsnf1o2  8682  mapsnf1o3  8683  coe1sfi  21384  evl1var  21502  pf1mpf  21518  pf1ind  21521  deg1val  25261
  Copyright terms: Public domain W3C validator