Users' Mathboxes Mathbox for Glauco Siliprandi < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  mapsnend Structured version   Visualization version   GIF version

Theorem mapsnend 38386
Description: Set exponentiation to a singleton exponent is equinumerous to its base. (Contributed by Glauco Siliprandi, 24-Dec-2020.)
Hypotheses
Ref Expression
mapsnend.a (𝜑𝐴𝑉)
mapsnend.b (𝜑𝐵𝑊)
Assertion
Ref Expression
mapsnend (𝜑 → (𝐴𝑚 {𝐵}) ≈ 𝐴)

Proof of Theorem mapsnend
Dummy variables 𝑤 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ovex 6577 . . 3 (𝐴𝑚 {𝐵}) ∈ V
21a1i 11 . 2 (𝜑 → (𝐴𝑚 {𝐵}) ∈ V)
3 mapsnend.a . . 3 (𝜑𝐴𝑉)
43elexd 3187 . 2 (𝜑𝐴 ∈ V)
5 fvex 6113 . . . 4 (𝑧𝐵) ∈ V
65a1i 11 . . 3 (𝑧 ∈ (𝐴𝑚 {𝐵}) → (𝑧𝐵) ∈ V)
76a1i 11 . 2 (𝜑 → (𝑧 ∈ (𝐴𝑚 {𝐵}) → (𝑧𝐵) ∈ V))
8 snex 4835 . . . 4 {⟨𝐵, 𝑤⟩} ∈ V
98a1i 11 . . 3 (𝑤𝐴 → {⟨𝐵, 𝑤⟩} ∈ V)
109a1i 11 . 2 (𝜑 → (𝑤𝐴 → {⟨𝐵, 𝑤⟩} ∈ V))
11 mapsnend.b . . . . . . 7 (𝜑𝐵𝑊)
123, 11mapsnd 38383 . . . . . 6 (𝜑 → (𝐴𝑚 {𝐵}) = {𝑧 ∣ ∃𝑦𝐴 𝑧 = {⟨𝐵, 𝑦⟩}})
1312abeq2d 2721 . . . . 5 (𝜑 → (𝑧 ∈ (𝐴𝑚 {𝐵}) ↔ ∃𝑦𝐴 𝑧 = {⟨𝐵, 𝑦⟩}))
1413anbi1d 737 . . . 4 (𝜑 → ((𝑧 ∈ (𝐴𝑚 {𝐵}) ∧ 𝑤 = (𝑧𝐵)) ↔ (∃𝑦𝐴 𝑧 = {⟨𝐵, 𝑦⟩} ∧ 𝑤 = (𝑧𝐵))))
15 r19.41v 3070 . . . . . 6 (∃𝑦𝐴 (𝑧 = {⟨𝐵, 𝑦⟩} ∧ 𝑤 = (𝑧𝐵)) ↔ (∃𝑦𝐴 𝑧 = {⟨𝐵, 𝑦⟩} ∧ 𝑤 = (𝑧𝐵)))
1615bicomi 213 . . . . 5 ((∃𝑦𝐴 𝑧 = {⟨𝐵, 𝑦⟩} ∧ 𝑤 = (𝑧𝐵)) ↔ ∃𝑦𝐴 (𝑧 = {⟨𝐵, 𝑦⟩} ∧ 𝑤 = (𝑧𝐵)))
1716a1i 11 . . . 4 (𝜑 → ((∃𝑦𝐴 𝑧 = {⟨𝐵, 𝑦⟩} ∧ 𝑤 = (𝑧𝐵)) ↔ ∃𝑦𝐴 (𝑧 = {⟨𝐵, 𝑦⟩} ∧ 𝑤 = (𝑧𝐵))))
18 df-rex 2902 . . . . 5 (∃𝑦𝐴 (𝑧 = {⟨𝐵, 𝑦⟩} ∧ 𝑤 = (𝑧𝐵)) ↔ ∃𝑦(𝑦𝐴 ∧ (𝑧 = {⟨𝐵, 𝑦⟩} ∧ 𝑤 = (𝑧𝐵))))
1918a1i 11 . . . 4 (𝜑 → (∃𝑦𝐴 (𝑧 = {⟨𝐵, 𝑦⟩} ∧ 𝑤 = (𝑧𝐵)) ↔ ∃𝑦(𝑦𝐴 ∧ (𝑧 = {⟨𝐵, 𝑦⟩} ∧ 𝑤 = (𝑧𝐵)))))
2014, 17, 193bitrd 293 . . 3 (𝜑 → ((𝑧 ∈ (𝐴𝑚 {𝐵}) ∧ 𝑤 = (𝑧𝐵)) ↔ ∃𝑦(𝑦𝐴 ∧ (𝑧 = {⟨𝐵, 𝑦⟩} ∧ 𝑤 = (𝑧𝐵)))))
21 fveq1 6102 . . . . . . . . . . . 12 (𝑧 = {⟨𝐵, 𝑦⟩} → (𝑧𝐵) = ({⟨𝐵, 𝑦⟩}‘𝐵))
2221adantl 481 . . . . . . . . . . 11 ((𝜑𝑧 = {⟨𝐵, 𝑦⟩}) → (𝑧𝐵) = ({⟨𝐵, 𝑦⟩}‘𝐵))
23 vex 3176 . . . . . . . . . . . . . 14 𝑦 ∈ V
2423a1i 11 . . . . . . . . . . . . 13 (𝜑𝑦 ∈ V)
25 fvsng 6352 . . . . . . . . . . . . 13 ((𝐵𝑊𝑦 ∈ V) → ({⟨𝐵, 𝑦⟩}‘𝐵) = 𝑦)
2611, 24, 25syl2anc 691 . . . . . . . . . . . 12 (𝜑 → ({⟨𝐵, 𝑦⟩}‘𝐵) = 𝑦)
2726adantr 480 . . . . . . . . . . 11 ((𝜑𝑧 = {⟨𝐵, 𝑦⟩}) → ({⟨𝐵, 𝑦⟩}‘𝐵) = 𝑦)
2822, 27eqtrd 2644 . . . . . . . . . 10 ((𝜑𝑧 = {⟨𝐵, 𝑦⟩}) → (𝑧𝐵) = 𝑦)
2928eqeq2d 2620 . . . . . . . . 9 ((𝜑𝑧 = {⟨𝐵, 𝑦⟩}) → (𝑤 = (𝑧𝐵) ↔ 𝑤 = 𝑦))
30 equcom 1932 . . . . . . . . . 10 (𝑤 = 𝑦𝑦 = 𝑤)
3130a1i 11 . . . . . . . . 9 ((𝜑𝑧 = {⟨𝐵, 𝑦⟩}) → (𝑤 = 𝑦𝑦 = 𝑤))
3229, 31bitrd 267 . . . . . . . 8 ((𝜑𝑧 = {⟨𝐵, 𝑦⟩}) → (𝑤 = (𝑧𝐵) ↔ 𝑦 = 𝑤))
3332ex 449 . . . . . . 7 (𝜑 → (𝑧 = {⟨𝐵, 𝑦⟩} → (𝑤 = (𝑧𝐵) ↔ 𝑦 = 𝑤)))
3433pm5.32d 669 . . . . . 6 (𝜑 → ((𝑧 = {⟨𝐵, 𝑦⟩} ∧ 𝑤 = (𝑧𝐵)) ↔ (𝑧 = {⟨𝐵, 𝑦⟩} ∧ 𝑦 = 𝑤)))
3534anbi2d 736 . . . . 5 (𝜑 → ((𝑦𝐴 ∧ (𝑧 = {⟨𝐵, 𝑦⟩} ∧ 𝑤 = (𝑧𝐵))) ↔ (𝑦𝐴 ∧ (𝑧 = {⟨𝐵, 𝑦⟩} ∧ 𝑦 = 𝑤))))
36 anass 679 . . . . . 6 (((𝑦𝐴𝑧 = {⟨𝐵, 𝑦⟩}) ∧ 𝑦 = 𝑤) ↔ (𝑦𝐴 ∧ (𝑧 = {⟨𝐵, 𝑦⟩} ∧ 𝑦 = 𝑤)))
3736a1i 11 . . . . 5 (𝜑 → (((𝑦𝐴𝑧 = {⟨𝐵, 𝑦⟩}) ∧ 𝑦 = 𝑤) ↔ (𝑦𝐴 ∧ (𝑧 = {⟨𝐵, 𝑦⟩} ∧ 𝑦 = 𝑤))))
38 ancom 465 . . . . . 6 (((𝑦𝐴𝑧 = {⟨𝐵, 𝑦⟩}) ∧ 𝑦 = 𝑤) ↔ (𝑦 = 𝑤 ∧ (𝑦𝐴𝑧 = {⟨𝐵, 𝑦⟩})))
3938a1i 11 . . . . 5 (𝜑 → (((𝑦𝐴𝑧 = {⟨𝐵, 𝑦⟩}) ∧ 𝑦 = 𝑤) ↔ (𝑦 = 𝑤 ∧ (𝑦𝐴𝑧 = {⟨𝐵, 𝑦⟩}))))
4035, 37, 393bitr2d 295 . . . 4 (𝜑 → ((𝑦𝐴 ∧ (𝑧 = {⟨𝐵, 𝑦⟩} ∧ 𝑤 = (𝑧𝐵))) ↔ (𝑦 = 𝑤 ∧ (𝑦𝐴𝑧 = {⟨𝐵, 𝑦⟩}))))
4140exbidv 1837 . . 3 (𝜑 → (∃𝑦(𝑦𝐴 ∧ (𝑧 = {⟨𝐵, 𝑦⟩} ∧ 𝑤 = (𝑧𝐵))) ↔ ∃𝑦(𝑦 = 𝑤 ∧ (𝑦𝐴𝑧 = {⟨𝐵, 𝑦⟩}))))
42 vex 3176 . . . . 5 𝑤 ∈ V
43 eleq1 2676 . . . . . 6 (𝑦 = 𝑤 → (𝑦𝐴𝑤𝐴))
44 opeq2 4341 . . . . . . . 8 (𝑦 = 𝑤 → ⟨𝐵, 𝑦⟩ = ⟨𝐵, 𝑤⟩)
4544sneqd 4137 . . . . . . 7 (𝑦 = 𝑤 → {⟨𝐵, 𝑦⟩} = {⟨𝐵, 𝑤⟩})
4645eqeq2d 2620 . . . . . 6 (𝑦 = 𝑤 → (𝑧 = {⟨𝐵, 𝑦⟩} ↔ 𝑧 = {⟨𝐵, 𝑤⟩}))
4743, 46anbi12d 743 . . . . 5 (𝑦 = 𝑤 → ((𝑦𝐴𝑧 = {⟨𝐵, 𝑦⟩}) ↔ (𝑤𝐴𝑧 = {⟨𝐵, 𝑤⟩})))
4842, 47ceqsexv 3215 . . . 4 (∃𝑦(𝑦 = 𝑤 ∧ (𝑦𝐴𝑧 = {⟨𝐵, 𝑦⟩})) ↔ (𝑤𝐴𝑧 = {⟨𝐵, 𝑤⟩}))
4948a1i 11 . . 3 (𝜑 → (∃𝑦(𝑦 = 𝑤 ∧ (𝑦𝐴𝑧 = {⟨𝐵, 𝑦⟩})) ↔ (𝑤𝐴𝑧 = {⟨𝐵, 𝑤⟩})))
5020, 41, 493bitrd 293 . 2 (𝜑 → ((𝑧 ∈ (𝐴𝑚 {𝐵}) ∧ 𝑤 = (𝑧𝐵)) ↔ (𝑤𝐴𝑧 = {⟨𝐵, 𝑤⟩})))
512, 4, 7, 10, 50en2d 7877 1 (𝜑 → (𝐴𝑚 {𝐵}) ≈ 𝐴)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 195  wa 383   = wceq 1475  wex 1695  wcel 1977  wrex 2897  Vcvv 3173  {csn 4125  cop 4131   class class class wbr 4583  cfv 5804  (class class class)co 6549  𝑚 cmap 7744  cen 7838
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-8 1979  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-sep 4709  ax-nul 4717  ax-pow 4769  ax-pr 4833  ax-un 6847
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-ral 2901  df-rex 2902  df-reu 2903  df-rab 2905  df-v 3175  df-sbc 3403  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-if 4037  df-pw 4110  df-sn 4126  df-pr 4128  df-op 4132  df-uni 4373  df-br 4584  df-opab 4644  df-mpt 4645  df-id 4953  df-xp 5044  df-rel 5045  df-cnv 5046  df-co 5047  df-dm 5048  df-rn 5049  df-res 5050  df-ima 5051  df-iota 5768  df-fun 5806  df-fn 5807  df-f 5808  df-f1 5809  df-fo 5810  df-f1o 5811  df-fv 5812  df-ov 6552  df-oprab 6553  df-mpt2 6554  df-map 7746  df-en 7842
This theorem is referenced by:  mpct  38388
  Copyright terms: Public domain W3C validator