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

Theorem mapsnen 8035
Description: Set exponentiation to a singleton exponent is equinumerous to its base. Exercise 4.43 of [Mendelson] p. 255. (Contributed by NM, 17-Dec-2003.) (Revised by Mario Carneiro, 15-Nov-2014.)
Hypotheses
Ref Expression
mapsnen.1 𝐴 ∈ V
mapsnen.2 𝐵 ∈ V
Assertion
Ref Expression
mapsnen (𝐴𝑚 {𝐵}) ≈ 𝐴

Proof of Theorem mapsnen
Dummy variables 𝑦 𝑤 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ovex 6678 . 2 (𝐴𝑚 {𝐵}) ∈ V
2 mapsnen.1 . 2 𝐴 ∈ V
3 fvexd 6203 . 2 (𝑧 ∈ (𝐴𝑚 {𝐵}) → (𝑧𝐵) ∈ V)
4 snex 4908 . . 3 {⟨𝐵, 𝑤⟩} ∈ V
54a1i 11 . 2 (𝑤𝐴 → {⟨𝐵, 𝑤⟩} ∈ V)
6 mapsnen.2 . . . . . . 7 𝐵 ∈ V
72, 6mapsn 7899 . . . . . 6 (𝐴𝑚 {𝐵}) = {𝑧 ∣ ∃𝑦𝐴 𝑧 = {⟨𝐵, 𝑦⟩}}
87abeq2i 2735 . . . . 5 (𝑧 ∈ (𝐴𝑚 {𝐵}) ↔ ∃𝑦𝐴 𝑧 = {⟨𝐵, 𝑦⟩})
98anbi1i 731 . . . 4 ((𝑧 ∈ (𝐴𝑚 {𝐵}) ∧ 𝑤 = (𝑧𝐵)) ↔ (∃𝑦𝐴 𝑧 = {⟨𝐵, 𝑦⟩} ∧ 𝑤 = (𝑧𝐵)))
10 r19.41v 3089 . . . 4 (∃𝑦𝐴 (𝑧 = {⟨𝐵, 𝑦⟩} ∧ 𝑤 = (𝑧𝐵)) ↔ (∃𝑦𝐴 𝑧 = {⟨𝐵, 𝑦⟩} ∧ 𝑤 = (𝑧𝐵)))
11 df-rex 2918 . . . 4 (∃𝑦𝐴 (𝑧 = {⟨𝐵, 𝑦⟩} ∧ 𝑤 = (𝑧𝐵)) ↔ ∃𝑦(𝑦𝐴 ∧ (𝑧 = {⟨𝐵, 𝑦⟩} ∧ 𝑤 = (𝑧𝐵))))
129, 10, 113bitr2i 288 . . 3 ((𝑧 ∈ (𝐴𝑚 {𝐵}) ∧ 𝑤 = (𝑧𝐵)) ↔ ∃𝑦(𝑦𝐴 ∧ (𝑧 = {⟨𝐵, 𝑦⟩} ∧ 𝑤 = (𝑧𝐵))))
13 fveq1 6190 . . . . . . . . . 10 (𝑧 = {⟨𝐵, 𝑦⟩} → (𝑧𝐵) = ({⟨𝐵, 𝑦⟩}‘𝐵))
14 vex 3203 . . . . . . . . . . 11 𝑦 ∈ V
156, 14fvsn 6446 . . . . . . . . . 10 ({⟨𝐵, 𝑦⟩}‘𝐵) = 𝑦
1613, 15syl6eq 2672 . . . . . . . . 9 (𝑧 = {⟨𝐵, 𝑦⟩} → (𝑧𝐵) = 𝑦)
1716eqeq2d 2632 . . . . . . . 8 (𝑧 = {⟨𝐵, 𝑦⟩} → (𝑤 = (𝑧𝐵) ↔ 𝑤 = 𝑦))
18 equcom 1945 . . . . . . . 8 (𝑤 = 𝑦𝑦 = 𝑤)
1917, 18syl6bb 276 . . . . . . 7 (𝑧 = {⟨𝐵, 𝑦⟩} → (𝑤 = (𝑧𝐵) ↔ 𝑦 = 𝑤))
2019pm5.32i 669 . . . . . 6 ((𝑧 = {⟨𝐵, 𝑦⟩} ∧ 𝑤 = (𝑧𝐵)) ↔ (𝑧 = {⟨𝐵, 𝑦⟩} ∧ 𝑦 = 𝑤))
2120anbi2i 730 . . . . 5 ((𝑦𝐴 ∧ (𝑧 = {⟨𝐵, 𝑦⟩} ∧ 𝑤 = (𝑧𝐵))) ↔ (𝑦𝐴 ∧ (𝑧 = {⟨𝐵, 𝑦⟩} ∧ 𝑦 = 𝑤)))
22 anass 681 . . . . 5 (((𝑦𝐴𝑧 = {⟨𝐵, 𝑦⟩}) ∧ 𝑦 = 𝑤) ↔ (𝑦𝐴 ∧ (𝑧 = {⟨𝐵, 𝑦⟩} ∧ 𝑦 = 𝑤)))
23 ancom 466 . . . . 5 (((𝑦𝐴𝑧 = {⟨𝐵, 𝑦⟩}) ∧ 𝑦 = 𝑤) ↔ (𝑦 = 𝑤 ∧ (𝑦𝐴𝑧 = {⟨𝐵, 𝑦⟩})))
2421, 22, 233bitr2i 288 . . . 4 ((𝑦𝐴 ∧ (𝑧 = {⟨𝐵, 𝑦⟩} ∧ 𝑤 = (𝑧𝐵))) ↔ (𝑦 = 𝑤 ∧ (𝑦𝐴𝑧 = {⟨𝐵, 𝑦⟩})))
2524exbii 1774 . . 3 (∃𝑦(𝑦𝐴 ∧ (𝑧 = {⟨𝐵, 𝑦⟩} ∧ 𝑤 = (𝑧𝐵))) ↔ ∃𝑦(𝑦 = 𝑤 ∧ (𝑦𝐴𝑧 = {⟨𝐵, 𝑦⟩})))
26 vex 3203 . . . 4 𝑤 ∈ V
27 eleq1 2689 . . . . 5 (𝑦 = 𝑤 → (𝑦𝐴𝑤𝐴))
28 opeq2 4403 . . . . . . 7 (𝑦 = 𝑤 → ⟨𝐵, 𝑦⟩ = ⟨𝐵, 𝑤⟩)
2928sneqd 4189 . . . . . 6 (𝑦 = 𝑤 → {⟨𝐵, 𝑦⟩} = {⟨𝐵, 𝑤⟩})
3029eqeq2d 2632 . . . . 5 (𝑦 = 𝑤 → (𝑧 = {⟨𝐵, 𝑦⟩} ↔ 𝑧 = {⟨𝐵, 𝑤⟩}))
3127, 30anbi12d 747 . . . 4 (𝑦 = 𝑤 → ((𝑦𝐴𝑧 = {⟨𝐵, 𝑦⟩}) ↔ (𝑤𝐴𝑧 = {⟨𝐵, 𝑤⟩})))
3226, 31ceqsexv 3242 . . 3 (∃𝑦(𝑦 = 𝑤 ∧ (𝑦𝐴𝑧 = {⟨𝐵, 𝑦⟩})) ↔ (𝑤𝐴𝑧 = {⟨𝐵, 𝑤⟩}))
3312, 25, 323bitri 286 . 2 ((𝑧 ∈ (𝐴𝑚 {𝐵}) ∧ 𝑤 = (𝑧𝐵)) ↔ (𝑤𝐴𝑧 = {⟨𝐵, 𝑤⟩}))
341, 2, 3, 5, 33en2i 7993 1 (𝐴𝑚 {𝐵}) ≈ 𝐴
Colors of variables: wff setvar class
Syntax hints:  wa 384   = wceq 1483  wex 1704  wcel 1990  wrex 2913  Vcvv 3200  {csn 4177  cop 4183   class class class wbr 4653  cfv 5888  (class class class)co 6650  𝑚 cmap 7857  cen 7952
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-8 1992  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-sep 4781  ax-nul 4789  ax-pow 4843  ax-pr 4906  ax-un 6949
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-eu 2474  df-mo 2475  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ne 2795  df-ral 2917  df-rex 2918  df-reu 2919  df-rab 2921  df-v 3202  df-sbc 3436  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-pw 4160  df-sn 4178  df-pr 4180  df-op 4184  df-uni 4437  df-br 4654  df-opab 4713  df-mpt 4730  df-id 5024  df-xp 5120  df-rel 5121  df-cnv 5122  df-co 5123  df-dm 5124  df-rn 5125  df-res 5126  df-ima 5127  df-iota 5851  df-fun 5890  df-fn 5891  df-f 5892  df-f1 5893  df-fo 5894  df-f1o 5895  df-fv 5896  df-ov 6653  df-oprab 6654  df-mpt2 6655  df-map 7859  df-en 7956
This theorem is referenced by:  map2xp  8130  mapdom3  8132  ackbij1lem5  9046  pwxpndom2  9487  hashmap  13222
  Copyright terms: Public domain W3C validator