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

Theorem fsn2g 6895
 Description: A function that maps a singleton to a class is the singleton of an ordered pair. (Contributed by Thierry Arnoux, 11-Jul-2020.)
Assertion
Ref Expression
fsn2g (𝐴𝑉 → (𝐹:{𝐴}⟶𝐵 ↔ ((𝐹𝐴) ∈ 𝐵𝐹 = {⟨𝐴, (𝐹𝐴)⟩})))

Proof of Theorem fsn2g
Dummy variable 𝑎 is distinct from all other variables.
StepHypRef Expression
1 sneq 4573 . . 3 (𝑎 = 𝐴 → {𝑎} = {𝐴})
21feq2d 6496 . 2 (𝑎 = 𝐴 → (𝐹:{𝑎}⟶𝐵𝐹:{𝐴}⟶𝐵))
3 fveq2 6666 . . . 4 (𝑎 = 𝐴 → (𝐹𝑎) = (𝐹𝐴))
43eleq1d 2901 . . 3 (𝑎 = 𝐴 → ((𝐹𝑎) ∈ 𝐵 ↔ (𝐹𝐴) ∈ 𝐵))
5 id 22 . . . . . 6 (𝑎 = 𝐴𝑎 = 𝐴)
65, 3opeq12d 4809 . . . . 5 (𝑎 = 𝐴 → ⟨𝑎, (𝐹𝑎)⟩ = ⟨𝐴, (𝐹𝐴)⟩)
76sneqd 4575 . . . 4 (𝑎 = 𝐴 → {⟨𝑎, (𝐹𝑎)⟩} = {⟨𝐴, (𝐹𝐴)⟩})
87eqeq2d 2836 . . 3 (𝑎 = 𝐴 → (𝐹 = {⟨𝑎, (𝐹𝑎)⟩} ↔ 𝐹 = {⟨𝐴, (𝐹𝐴)⟩}))
94, 8anbi12d 630 . 2 (𝑎 = 𝐴 → (((𝐹𝑎) ∈ 𝐵𝐹 = {⟨𝑎, (𝐹𝑎)⟩}) ↔ ((𝐹𝐴) ∈ 𝐵𝐹 = {⟨𝐴, (𝐹𝐴)⟩})))
10 vex 3502 . . 3 𝑎 ∈ V
1110fsn2 6893 . 2 (𝐹:{𝑎}⟶𝐵 ↔ ((𝐹𝑎) ∈ 𝐵𝐹 = {⟨𝑎, (𝐹𝑎)⟩}))
122, 9, 11vtoclbg 3573 1 (𝐴𝑉 → (𝐹:{𝐴}⟶𝐵 ↔ ((𝐹𝐴) ∈ 𝐵𝐹 = {⟨𝐴, (𝐹𝐴)⟩})))
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ↔ wb 207   ∧ wa 396   = wceq 1530   ∈ wcel 2107  {csn 4563  ⟨cop 4569  ⟶wf 6347  ‘cfv 6351 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1789  ax-4 1803  ax-5 1904  ax-6 1963  ax-7 2008  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2153  ax-12 2169  ax-ext 2797  ax-sep 5199  ax-nul 5206  ax-pr 5325 This theorem depends on definitions:  df-bi 208  df-an 397  df-or 844  df-3an 1083  df-tru 1533  df-ex 1774  df-nf 1778  df-sb 2063  df-mo 2619  df-eu 2651  df-clab 2804  df-cleq 2818  df-clel 2897  df-nfc 2967  df-ne 3021  df-ral 3147  df-rex 3148  df-reu 3149  df-rab 3151  df-v 3501  df-sbc 3776  df-dif 3942  df-un 3944  df-in 3946  df-ss 3955  df-nul 4295  df-if 4470  df-sn 4564  df-pr 4566  df-op 4570  df-uni 4837  df-br 5063  df-opab 5125  df-id 5458  df-xp 5559  df-rel 5560  df-cnv 5561  df-co 5562  df-dm 5563  df-rn 5564  df-res 5565  df-ima 5566  df-iota 6311  df-fun 6353  df-fn 6354  df-f 6355  df-f1 6356  df-fo 6357  df-f1o 6358  df-fv 6359 This theorem is referenced by:  fsnex  7036  pt1hmeo  22333  k0004val0  40372  difmapsn  41343
 Copyright terms: Public domain W3C validator