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

Theorem fsn2g 7144
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 4590 . . 3 (𝑎 = 𝐴 → {𝑎} = {𝐴})
21feq2d 6698 . 2 (𝑎 = 𝐴 → (𝐹:{𝑎}⟶𝐵 ↔ 𝐹:{𝐴}⟶𝐵))
3 fveq2 6890 . . . 4 (𝑎 = 𝐴 → (𝐹‘𝑎) = (𝐹‘𝐴))
43eleq1d 2845 . . 3 (𝑎 = 𝐴 → ((𝐹‘𝑎) ∈ 𝐵 ↔ (𝐹‘𝐴) ∈ 𝐵))
5 id 23 . . . . . 6 (𝑎 = 𝐴 → 𝑎 = 𝐴)
65, 3opeq12d 4847 . . . . 5 (𝑎 = 𝐴 → ⟨𝑎, (𝐹‘𝑎)⟩ = ⟨𝐴, (𝐹‘𝐴)⟩)
76sneqd 4592 . . . 4 (𝑎 = 𝐴 → {⟨𝑎, (𝐹‘𝑎)⟩} = {⟨𝐴, (𝐹‘𝐴)⟩})
87eqeq2d 2771 . . 3 (𝑎 = 𝐴 → (𝐹 = {⟨𝑎, (𝐹‘𝑎)⟩} ↔ 𝐹 = {⟨𝐴, (𝐹‘𝐴)⟩}))
94, 8anbi12d 644 . 2 (𝑎 = 𝐴 → (((𝐹‘𝑎) ∈ 𝐵 ∧ 𝐹 = {⟨𝑎, (𝐹‘𝑎)⟩}) ↔ ((𝐹‘𝐴) ∈ 𝐵 ∧ 𝐹 = {⟨𝐴, (𝐹‘𝐴)⟩})))
10 vex 3454 . . 3 𝑎 ∈ V
1110fsn2 7142 . 2 (𝐹:{𝑎}⟶𝐵 ↔ ((𝐹‘𝑎) ∈ 𝐵 ∧ 𝐹 = {⟨𝑎, (𝐹‘𝑎)⟩}))
122, 9, 11vtoclbg 3519 1 (𝐴 ∈ 𝑉 → (𝐹:{𝐴}⟶𝐵 ↔ ((𝐹‘𝐴) ∈ 𝐵 ∧ 𝐹 = {⟨𝐴, (𝐹‘𝐴)⟩})))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569   ∈ wcel 2144  {csn 4584  ⟨cop 4834  ⟶wf 6539  ‘cfv 6543
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pr 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-ne 2956  df-ral 3077  df-rex 3087  df-reu 3366  df-rab 3413  df-v 3452  df-ss 3897  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-br 5103  df-opab 5167  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-iota 6497  df-fun 6545  df-fn 6546  df-f 6547  df-f1 6548  df-fo 6549  df-f1o 6550  df-fv 6551
This theorem is used by:  fsnex  7295  pt1hmeo  24134  k0004val0  45263  difmapsn  46333  fsetsniunop  48227  f1sn2g  50070  termcfuncval  50775
  Copyright terms: Public domain W3C validator