ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  fsn2 GIF version

Theorem fsn2 5670
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 ffn 5347 . . 3 (𝐹:{𝐴}⟶𝐵𝐹 Fn {𝐴})
2 fsn2.1 . . . . 5 𝐴 ∈ V
32snid 3614 . . . 4 𝐴 ∈ {𝐴}
4 funfvex 5513 . . . . 5 ((Fun 𝐹𝐴 ∈ dom 𝐹) → (𝐹𝐴) ∈ V)
54funfni 5298 . . . 4 ((𝐹 Fn {𝐴} ∧ 𝐴 ∈ {𝐴}) → (𝐹𝐴) ∈ V)
63, 5mpan2 423 . . 3 (𝐹 Fn {𝐴} → (𝐹𝐴) ∈ V)
71, 6syl 14 . 2 (𝐹:{𝐴}⟶𝐵 → (𝐹𝐴) ∈ V)
8 elex 2741 . . 3 ((𝐹𝐴) ∈ 𝐵 → (𝐹𝐴) ∈ V)
98adantr 274 . 2 (((𝐹𝐴) ∈ 𝐵𝐹 = {⟨𝐴, (𝐹𝐴)⟩}) → (𝐹𝐴) ∈ V)
10 ffvelrn 5629 . . . . . 6 ((𝐹:{𝐴}⟶𝐵𝐴 ∈ {𝐴}) → (𝐹𝐴) ∈ 𝐵)
113, 10mpan2 423 . . . . 5 (𝐹:{𝐴}⟶𝐵 → (𝐹𝐴) ∈ 𝐵)
12 dffn3 5358 . . . . . . . 8 (𝐹 Fn {𝐴} ↔ 𝐹:{𝐴}⟶ran 𝐹)
1312biimpi 119 . . . . . . 7 (𝐹 Fn {𝐴} → 𝐹:{𝐴}⟶ran 𝐹)
14 imadmrn 4963 . . . . . . . . . 10 (𝐹 “ dom 𝐹) = ran 𝐹
15 fndm 5297 . . . . . . . . . . 11 (𝐹 Fn {𝐴} → dom 𝐹 = {𝐴})
1615imaeq2d 4953 . . . . . . . . . 10 (𝐹 Fn {𝐴} → (𝐹 “ dom 𝐹) = (𝐹 “ {𝐴}))
1714, 16eqtr3id 2217 . . . . . . . . 9 (𝐹 Fn {𝐴} → ran 𝐹 = (𝐹 “ {𝐴}))
18 fnsnfv 5555 . . . . . . . . . 10 ((𝐹 Fn {𝐴} ∧ 𝐴 ∈ {𝐴}) → {(𝐹𝐴)} = (𝐹 “ {𝐴}))
193, 18mpan2 423 . . . . . . . . 9 (𝐹 Fn {𝐴} → {(𝐹𝐴)} = (𝐹 “ {𝐴}))
2017, 19eqtr4d 2206 . . . . . . . 8 (𝐹 Fn {𝐴} → ran 𝐹 = {(𝐹𝐴)})
21 feq3 5332 . . . . . . . 8 (ran 𝐹 = {(𝐹𝐴)} → (𝐹:{𝐴}⟶ran 𝐹𝐹:{𝐴}⟶{(𝐹𝐴)}))
2220, 21syl 14 . . . . . . 7 (𝐹 Fn {𝐴} → (𝐹:{𝐴}⟶ran 𝐹𝐹:{𝐴}⟶{(𝐹𝐴)}))
2313, 22mpbid 146 . . . . . 6 (𝐹 Fn {𝐴} → 𝐹:{𝐴}⟶{(𝐹𝐴)})
241, 23syl 14 . . . . 5 (𝐹:{𝐴}⟶𝐵𝐹:{𝐴}⟶{(𝐹𝐴)})
2511, 24jca 304 . . . 4 (𝐹:{𝐴}⟶𝐵 → ((𝐹𝐴) ∈ 𝐵𝐹:{𝐴}⟶{(𝐹𝐴)}))
26 snssi 3724 . . . . 5 ((𝐹𝐴) ∈ 𝐵 → {(𝐹𝐴)} ⊆ 𝐵)
27 fss 5359 . . . . . 6 ((𝐹:{𝐴}⟶{(𝐹𝐴)} ∧ {(𝐹𝐴)} ⊆ 𝐵) → 𝐹:{𝐴}⟶𝐵)
2827ancoms 266 . . . . 5 (({(𝐹𝐴)} ⊆ 𝐵𝐹:{𝐴}⟶{(𝐹𝐴)}) → 𝐹:{𝐴}⟶𝐵)
2926, 28sylan 281 . . . 4 (((𝐹𝐴) ∈ 𝐵𝐹:{𝐴}⟶{(𝐹𝐴)}) → 𝐹:{𝐴}⟶𝐵)
3025, 29impbii 125 . . 3 (𝐹:{𝐴}⟶𝐵 ↔ ((𝐹𝐴) ∈ 𝐵𝐹:{𝐴}⟶{(𝐹𝐴)}))
31 fsng 5669 . . . . 5 ((𝐴 ∈ V ∧ (𝐹𝐴) ∈ V) → (𝐹:{𝐴}⟶{(𝐹𝐴)} ↔ 𝐹 = {⟨𝐴, (𝐹𝐴)⟩}))
322, 31mpan 422 . . . 4 ((𝐹𝐴) ∈ V → (𝐹:{𝐴}⟶{(𝐹𝐴)} ↔ 𝐹 = {⟨𝐴, (𝐹𝐴)⟩}))
3332anbi2d 461 . . 3 ((𝐹𝐴) ∈ V → (((𝐹𝐴) ∈ 𝐵𝐹:{𝐴}⟶{(𝐹𝐴)}) ↔ ((𝐹𝐴) ∈ 𝐵𝐹 = {⟨𝐴, (𝐹𝐴)⟩})))
3430, 33syl5bb 191 . 2 ((𝐹𝐴) ∈ V → (𝐹:{𝐴}⟶𝐵 ↔ ((𝐹𝐴) ∈ 𝐵𝐹 = {⟨𝐴, (𝐹𝐴)⟩})))
357, 9, 34pm5.21nii 699 1 (𝐹:{𝐴}⟶𝐵 ↔ ((𝐹𝐴) ∈ 𝐵𝐹 = {⟨𝐴, (𝐹𝐴)⟩}))
Colors of variables: wff set class
Syntax hints:  wa 103  wb 104   = wceq 1348  wcel 2141  Vcvv 2730  wss 3121  {csn 3583  cop 3586  dom cdm 4611  ran crn 4612  cima 4614   Fn wfn 5193  wf 5194  cfv 5198
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-14 2144  ax-ext 2152  ax-sep 4107  ax-pow 4160  ax-pr 4194
This theorem depends on definitions:  df-bi 116  df-3an 975  df-tru 1351  df-nf 1454  df-sb 1756  df-eu 2022  df-mo 2023  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ral 2453  df-rex 2454  df-reu 2455  df-v 2732  df-sbc 2956  df-un 3125  df-in 3127  df-ss 3134  df-pw 3568  df-sn 3589  df-pr 3590  df-op 3592  df-uni 3797  df-br 3990  df-opab 4051  df-id 4278  df-xp 4617  df-rel 4618  df-cnv 4619  df-co 4620  df-dm 4621  df-rn 4622  df-res 4623  df-ima 4624  df-iota 5160  df-fun 5200  df-fn 5201  df-f 5202  df-f1 5203  df-fo 5204  df-f1o 5205  df-fv 5206
This theorem is referenced by:  fnressn  5682  fressnfv  5683  mapsnconst  6672  elixpsn  6713  en1  6777
  Copyright terms: Public domain W3C validator