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

Theorem fsn2 7142
Description: A function that maps a singleton to a class is the singleton of an ordered pair. (Contributed by NM, 19-May-2004.)
Hypothesis
Ref Expression
fsn2.1 𝐴 ∈ V
Assertion
Ref Expression
fsn2 (𝐹:{𝐴}⟶𝐵 ↔ ((𝐹‘𝐴) ∈ 𝐵 ∧ 𝐹 = {⟨𝐴, (𝐹‘𝐴)⟩}))

Proof of Theorem fsn2
StepHypRef Expression
1 fsn2.1 . . . . . 6 𝐴 ∈ V
21snid 4619 . . . . 5 𝐴 ∈ {𝐴}
3 ffvelcdm 7086 . . . . 5 ((𝐹:{𝐴}⟶𝐵 ∧ 𝐴 ∈ {𝐴}) → (𝐹‘𝐴) ∈ 𝐵)
42, 3mpan2 704 . . . 4 (𝐹:{𝐴}⟶𝐵 → (𝐹‘𝐴) ∈ 𝐵)
5 ffn 6714 . . . . 5 (𝐹:{𝐴}⟶𝐵 → 𝐹 Fn {𝐴})
6 dffn3 6727 . . . . . . 7 (𝐹 Fn {𝐴} ↔ 𝐹:{𝐴}⟶ran 𝐹)
76biimpi 219 . . . . . 6 (𝐹 Fn {𝐴} → 𝐹:{𝐴}⟶ran 𝐹)
8 imadmrn 6069 . . . . . . . . 9 (𝐹 “ dom 𝐹) = ran 𝐹
9 fndm 6647 . . . . . . . . . 10 (𝐹 Fn {𝐴} → dom 𝐹 = {𝐴})
109imaeq2d 6054 . . . . . . . . 9 (𝐹 Fn {𝐴} → (𝐹 “ dom 𝐹) = (𝐹 “ {𝐴}))
118, 10eqtr3id 2809 . . . . . . . 8 (𝐹 Fn {𝐴} → ran 𝐹 = (𝐹 “ {𝐴}))
12 fnsnfv 6969 . . . . . . . . 9 ((𝐹 Fn {𝐴} ∧ 𝐴 ∈ {𝐴}) → {(𝐹‘𝐴)} = (𝐹 “ {𝐴}))
132, 12mpan2 704 . . . . . . . 8 (𝐹 Fn {𝐴} → {(𝐹‘𝐴)} = (𝐹 “ {𝐴}))
1411, 13eqtr4d 2798 . . . . . . 7 (𝐹 Fn {𝐴} → ran 𝐹 = {(𝐹‘𝐴)})
1514feq3d 6699 . . . . . 6 (𝐹 Fn {𝐴} → (𝐹:{𝐴}⟶ran 𝐹 ↔ 𝐹:{𝐴}⟶{(𝐹‘𝐴)}))
167, 15mpbid 235 . . . . 5 (𝐹 Fn {𝐴} → 𝐹:{𝐴}⟶{(𝐹‘𝐴)})
175, 16syl 18 . . . 4 (𝐹:{𝐴}⟶𝐵 → 𝐹:{𝐴}⟶{(𝐹‘𝐴)})
184, 17jca 521 . . 3 (𝐹:{𝐴}⟶𝐵 → ((𝐹‘𝐴) ∈ 𝐵 ∧ 𝐹:{𝐴}⟶{(𝐹‘𝐴)}))
19 snssi 4742 . . . 4 ((𝐹‘𝐴) ∈ 𝐵 → {(𝐹‘𝐴)} ⊆ 𝐵)
20 fss 6731 . . . . 5 ((𝐹:{𝐴}⟶{(𝐹‘𝐴)} ∧ {(𝐹‘𝐴)} ⊆ 𝐵) → 𝐹:{𝐴}⟶𝐵)
2120ancoms 464 . . . 4 (({(𝐹‘𝐴)} ⊆ 𝐵 ∧ 𝐹:{𝐴}⟶{(𝐹‘𝐴)}) → 𝐹:{𝐴}⟶𝐵)
2219, 21sylan 592 . . 3 (((𝐹‘𝐴) ∈ 𝐵 ∧ 𝐹:{𝐴}⟶{(𝐹‘𝐴)}) → 𝐹:{𝐴}⟶𝐵)
2318, 22impbii 212 . 2 (𝐹:{𝐴}⟶𝐵 ↔ ((𝐹‘𝐴) ∈ 𝐵 ∧ 𝐹:{𝐴}⟶{(𝐹‘𝐴)}))
24 fvex 6903 . . . 4 (𝐹‘𝐴) ∈ V
251, 24fsn 7141 . . 3 (𝐹:{𝐴}⟶{(𝐹‘𝐴)} ↔ 𝐹 = {⟨𝐴, (𝐹‘𝐴)⟩})
2625anbi2i 635 . 2 (((𝐹‘𝐴) ∈ 𝐵 ∧ 𝐹:{𝐴}⟶{(𝐹‘𝐴)}) ↔ ((𝐹‘𝐴) ∈ 𝐵 ∧ 𝐹 = {⟨𝐴, (𝐹‘𝐴)⟩}))
2723, 26bitri 278 1 (𝐹:{𝐴}⟶𝐵 ↔ ((𝐹‘𝐴) ∈ 𝐵 ∧ 𝐹 = {⟨𝐴, (𝐹‘𝐴)⟩}))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209   ∧ wa 401   = wceq 1569   ∈ wcel 2144  Vcvv 3450   ⊆ wss 3896  {csn 4584  ⟨cop 4834  dom cdm 5651  ran crn 5652   “ cima 5654   Fn wfn 6538  ⟶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:  fsn2g  7144  fnressn  7167  fressnfv  7169  mapsnconst  8927  elixpsn  8972  en1  9058  mat1dimelbas  22795  0spth  30726  wlkl0  30977  ldepsnlinclem1  49725  ldepsnlinclem2  49726  0aryfvalel  49854  1arymaptf1  49862  termcfuncval  50775
  Copyright terms: Public domain W3C validator