ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  mapsncnv GIF version

Theorem mapsncnv 6673
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 𝐹 = (𝑥 ∈ (𝐵𝑚 𝑆) ↦ (𝑥𝑋))
Assertion
Ref Expression
mapsncnv 𝐹 = (𝑦𝐵 ↦ (𝑆 × {𝑦}))
Distinct variable groups:   𝑥,𝐵,𝑦   𝑥,𝑆,𝑦   𝑦,𝑋
Allowed substitution hints:   𝐹(𝑥,𝑦)   𝑋(𝑥)

Proof of Theorem mapsncnv
StepHypRef Expression
1 elmapi 6648 . . . . . . . . 9 (𝑥 ∈ (𝐵𝑚 {𝑋}) → 𝑥:{𝑋}⟶𝐵)
2 mapsncnv.x . . . . . . . . . 10 𝑋 ∈ V
32snid 3614 . . . . . . . . 9 𝑋 ∈ {𝑋}
4 ffvelrn 5629 . . . . . . . . 9 ((𝑥:{𝑋}⟶𝐵𝑋 ∈ {𝑋}) → (𝑥𝑋) ∈ 𝐵)
51, 3, 4sylancl 411 . . . . . . . 8 (𝑥 ∈ (𝐵𝑚 {𝑋}) → (𝑥𝑋) ∈ 𝐵)
6 eqid 2170 . . . . . . . . 9 {𝑋} = {𝑋}
7 mapsncnv.b . . . . . . . . 9 𝐵 ∈ V
86, 7, 2mapsnconst 6672 . . . . . . . 8 (𝑥 ∈ (𝐵𝑚 {𝑋}) → 𝑥 = ({𝑋} × {(𝑥𝑋)}))
95, 8jca 304 . . . . . . 7 (𝑥 ∈ (𝐵𝑚 {𝑋}) → ((𝑥𝑋) ∈ 𝐵𝑥 = ({𝑋} × {(𝑥𝑋)})))
10 eleq1 2233 . . . . . . . 8 (𝑦 = (𝑥𝑋) → (𝑦𝐵 ↔ (𝑥𝑋) ∈ 𝐵))
11 sneq 3594 . . . . . . . . . 10 (𝑦 = (𝑥𝑋) → {𝑦} = {(𝑥𝑋)})
1211xpeq2d 4635 . . . . . . . . 9 (𝑦 = (𝑥𝑋) → ({𝑋} × {𝑦}) = ({𝑋} × {(𝑥𝑋)}))
1312eqeq2d 2182 . . . . . . . 8 (𝑦 = (𝑥𝑋) → (𝑥 = ({𝑋} × {𝑦}) ↔ 𝑥 = ({𝑋} × {(𝑥𝑋)})))
1410, 13anbi12d 470 . . . . . . 7 (𝑦 = (𝑥𝑋) → ((𝑦𝐵𝑥 = ({𝑋} × {𝑦})) ↔ ((𝑥𝑋) ∈ 𝐵𝑥 = ({𝑋} × {(𝑥𝑋)}))))
159, 14syl5ibrcom 156 . . . . . 6 (𝑥 ∈ (𝐵𝑚 {𝑋}) → (𝑦 = (𝑥𝑋) → (𝑦𝐵𝑥 = ({𝑋} × {𝑦}))))
1615imp 123 . . . . 5 ((𝑥 ∈ (𝐵𝑚 {𝑋}) ∧ 𝑦 = (𝑥𝑋)) → (𝑦𝐵𝑥 = ({𝑋} × {𝑦})))
17 fconst6g 5396 . . . . . . . . 9 (𝑦𝐵 → ({𝑋} × {𝑦}):{𝑋}⟶𝐵)
182snex 4171 . . . . . . . . . 10 {𝑋} ∈ V
197, 18elmap 6655 . . . . . . . . 9 (({𝑋} × {𝑦}) ∈ (𝐵𝑚 {𝑋}) ↔ ({𝑋} × {𝑦}):{𝑋}⟶𝐵)
2017, 19sylibr 133 . . . . . . . 8 (𝑦𝐵 → ({𝑋} × {𝑦}) ∈ (𝐵𝑚 {𝑋}))
21 vex 2733 . . . . . . . . . . 11 𝑦 ∈ V
2221fvconst2 5712 . . . . . . . . . 10 (𝑋 ∈ {𝑋} → (({𝑋} × {𝑦})‘𝑋) = 𝑦)
233, 22mp1i 10 . . . . . . . . 9 (𝑦𝐵 → (({𝑋} × {𝑦})‘𝑋) = 𝑦)
2423eqcomd 2176 . . . . . . . 8 (𝑦𝐵𝑦 = (({𝑋} × {𝑦})‘𝑋))
2520, 24jca 304 . . . . . . 7 (𝑦𝐵 → (({𝑋} × {𝑦}) ∈ (𝐵𝑚 {𝑋}) ∧ 𝑦 = (({𝑋} × {𝑦})‘𝑋)))
26 eleq1 2233 . . . . . . . 8 (𝑥 = ({𝑋} × {𝑦}) → (𝑥 ∈ (𝐵𝑚 {𝑋}) ↔ ({𝑋} × {𝑦}) ∈ (𝐵𝑚 {𝑋})))
27 fveq1 5495 . . . . . . . . 9 (𝑥 = ({𝑋} × {𝑦}) → (𝑥𝑋) = (({𝑋} × {𝑦})‘𝑋))
2827eqeq2d 2182 . . . . . . . 8 (𝑥 = ({𝑋} × {𝑦}) → (𝑦 = (𝑥𝑋) ↔ 𝑦 = (({𝑋} × {𝑦})‘𝑋)))
2926, 28anbi12d 470 . . . . . . 7 (𝑥 = ({𝑋} × {𝑦}) → ((𝑥 ∈ (𝐵𝑚 {𝑋}) ∧ 𝑦 = (𝑥𝑋)) ↔ (({𝑋} × {𝑦}) ∈ (𝐵𝑚 {𝑋}) ∧ 𝑦 = (({𝑋} × {𝑦})‘𝑋))))
3025, 29syl5ibrcom 156 . . . . . 6 (𝑦𝐵 → (𝑥 = ({𝑋} × {𝑦}) → (𝑥 ∈ (𝐵𝑚 {𝑋}) ∧ 𝑦 = (𝑥𝑋))))
3130imp 123 . . . . 5 ((𝑦𝐵𝑥 = ({𝑋} × {𝑦})) → (𝑥 ∈ (𝐵𝑚 {𝑋}) ∧ 𝑦 = (𝑥𝑋)))
3216, 31impbii 125 . . . 4 ((𝑥 ∈ (𝐵𝑚 {𝑋}) ∧ 𝑦 = (𝑥𝑋)) ↔ (𝑦𝐵𝑥 = ({𝑋} × {𝑦})))
33 mapsncnv.s . . . . . . 7 𝑆 = {𝑋}
3433oveq2i 5864 . . . . . 6 (𝐵𝑚 𝑆) = (𝐵𝑚 {𝑋})
3534eleq2i 2237 . . . . 5 (𝑥 ∈ (𝐵𝑚 𝑆) ↔ 𝑥 ∈ (𝐵𝑚 {𝑋}))
3635anbi1i 455 . . . 4 ((𝑥 ∈ (𝐵𝑚 𝑆) ∧ 𝑦 = (𝑥𝑋)) ↔ (𝑥 ∈ (𝐵𝑚 {𝑋}) ∧ 𝑦 = (𝑥𝑋)))
3733xpeq1i 4631 . . . . . 6 (𝑆 × {𝑦}) = ({𝑋} × {𝑦})
3837eqeq2i 2181 . . . . 5 (𝑥 = (𝑆 × {𝑦}) ↔ 𝑥 = ({𝑋} × {𝑦}))
3938anbi2i 454 . . . 4 ((𝑦𝐵𝑥 = (𝑆 × {𝑦})) ↔ (𝑦𝐵𝑥 = ({𝑋} × {𝑦})))
4032, 36, 393bitr4i 211 . . 3 ((𝑥 ∈ (𝐵𝑚 𝑆) ∧ 𝑦 = (𝑥𝑋)) ↔ (𝑦𝐵𝑥 = (𝑆 × {𝑦})))
4140opabbii 4056 . 2 {⟨𝑦, 𝑥⟩ ∣ (𝑥 ∈ (𝐵𝑚 𝑆) ∧ 𝑦 = (𝑥𝑋))} = {⟨𝑦, 𝑥⟩ ∣ (𝑦𝐵𝑥 = (𝑆 × {𝑦}))}
42 mapsncnv.f . . . . 5 𝐹 = (𝑥 ∈ (𝐵𝑚 𝑆) ↦ (𝑥𝑋))
43 df-mpt 4052 . . . . 5 (𝑥 ∈ (𝐵𝑚 𝑆) ↦ (𝑥𝑋)) = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ (𝐵𝑚 𝑆) ∧ 𝑦 = (𝑥𝑋))}
4442, 43eqtri 2191 . . . 4 𝐹 = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ (𝐵𝑚 𝑆) ∧ 𝑦 = (𝑥𝑋))}
4544cnveqi 4786 . . 3 𝐹 = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ (𝐵𝑚 𝑆) ∧ 𝑦 = (𝑥𝑋))}
46 cnvopab 5012 . . 3 {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ (𝐵𝑚 𝑆) ∧ 𝑦 = (𝑥𝑋))} = {⟨𝑦, 𝑥⟩ ∣ (𝑥 ∈ (𝐵𝑚 𝑆) ∧ 𝑦 = (𝑥𝑋))}
4745, 46eqtri 2191 . 2 𝐹 = {⟨𝑦, 𝑥⟩ ∣ (𝑥 ∈ (𝐵𝑚 𝑆) ∧ 𝑦 = (𝑥𝑋))}
48 df-mpt 4052 . 2 (𝑦𝐵 ↦ (𝑆 × {𝑦})) = {⟨𝑦, 𝑥⟩ ∣ (𝑦𝐵𝑥 = (𝑆 × {𝑦}))}
4941, 47, 483eqtr4i 2201 1 𝐹 = (𝑦𝐵 ↦ (𝑆 × {𝑦}))
Colors of variables: wff set class
Syntax hints:  wa 103   = wceq 1348  wcel 2141  Vcvv 2730  {csn 3583  {copab 4049  cmpt 4050   × cxp 4609  ccnv 4610  wf 5194  cfv 5198  (class class class)co 5853  𝑚 cmap 6626
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 609  ax-in2 610  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-13 2143  ax-14 2144  ax-ext 2152  ax-sep 4107  ax-pow 4160  ax-pr 4194  ax-un 4418  ax-setind 4521
This theorem depends on definitions:  df-bi 116  df-3an 975  df-tru 1351  df-fal 1354  df-nf 1454  df-sb 1756  df-eu 2022  df-mo 2023  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ne 2341  df-ral 2453  df-rex 2454  df-reu 2455  df-v 2732  df-sbc 2956  df-dif 3123  df-un 3125  df-in 3127  df-ss 3134  df-pw 3568  df-sn 3589  df-pr 3590  df-op 3592  df-uni 3797  df-br 3990  df-opab 4051  df-mpt 4052  df-id 4278  df-xp 4617  df-rel 4618  df-cnv 4619  df-co 4620  df-dm 4621  df-rn 4622  df-res 4623  df-ima 4624  df-iota 5160  df-fun 5200  df-fn 5201  df-f 5202  df-f1 5203  df-fo 5204  df-f1o 5205  df-fv 5206  df-ov 5856  df-oprab 5857  df-mpo 5858  df-map 6628
This theorem is referenced by:  mapsnf1o2  6674  mapsnf1o3  6675
  Copyright terms: Public domain W3C validator