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

Theorem fsn2 5594
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 5272 . . 3 (𝐹:{𝐴}⟶𝐵𝐹 Fn {𝐴})
2 fsn2.1 . . . . 5 𝐴 ∈ V
32snid 3556 . . . 4 𝐴 ∈ {𝐴}
4 funfvex 5438 . . . . 5 ((Fun 𝐹𝐴 ∈ dom 𝐹) → (𝐹𝐴) ∈ V)
54funfni 5223 . . . 4 ((𝐹 Fn {𝐴} ∧ 𝐴 ∈ {𝐴}) → (𝐹𝐴) ∈ V)
63, 5mpan2 421 . . 3 (𝐹 Fn {𝐴} → (𝐹𝐴) ∈ V)
71, 6syl 14 . 2 (𝐹:{𝐴}⟶𝐵 → (𝐹𝐴) ∈ V)
8 elex 2697 . . 3 ((𝐹𝐴) ∈ 𝐵 → (𝐹𝐴) ∈ V)
98adantr 274 . 2 (((𝐹𝐴) ∈ 𝐵𝐹 = {⟨𝐴, (𝐹𝐴)⟩}) → (𝐹𝐴) ∈ V)
10 ffvelrn 5553 . . . . . 6 ((𝐹:{𝐴}⟶𝐵𝐴 ∈ {𝐴}) → (𝐹𝐴) ∈ 𝐵)
113, 10mpan2 421 . . . . 5 (𝐹:{𝐴}⟶𝐵 → (𝐹𝐴) ∈ 𝐵)
12 dffn3 5283 . . . . . . . 8 (𝐹 Fn {𝐴} ↔ 𝐹:{𝐴}⟶ran 𝐹)
1312biimpi 119 . . . . . . 7 (𝐹 Fn {𝐴} → 𝐹:{𝐴}⟶ran 𝐹)
14 imadmrn 4891 . . . . . . . . . 10 (𝐹 “ dom 𝐹) = ran 𝐹
15 fndm 5222 . . . . . . . . . . 11 (𝐹 Fn {𝐴} → dom 𝐹 = {𝐴})
1615imaeq2d 4881 . . . . . . . . . 10 (𝐹 Fn {𝐴} → (𝐹 “ dom 𝐹) = (𝐹 “ {𝐴}))
1714, 16syl5eqr 2186 . . . . . . . . 9 (𝐹 Fn {𝐴} → ran 𝐹 = (𝐹 “ {𝐴}))
18 fnsnfv 5480 . . . . . . . . . 10 ((𝐹 Fn {𝐴} ∧ 𝐴 ∈ {𝐴}) → {(𝐹𝐴)} = (𝐹 “ {𝐴}))
193, 18mpan2 421 . . . . . . . . 9 (𝐹 Fn {𝐴} → {(𝐹𝐴)} = (𝐹 “ {𝐴}))
2017, 19eqtr4d 2175 . . . . . . . 8 (𝐹 Fn {𝐴} → ran 𝐹 = {(𝐹𝐴)})
21 feq3 5257 . . . . . . . 8 (ran 𝐹 = {(𝐹𝐴)} → (𝐹:{𝐴}⟶ran 𝐹𝐹:{𝐴}⟶{(𝐹𝐴)}))
2220, 21syl 14 . . . . . . 7 (𝐹 Fn {𝐴} → (𝐹:{𝐴}⟶ran 𝐹𝐹:{𝐴}⟶{(𝐹𝐴)}))
2313, 22mpbid 146 . . . . . 6 (𝐹 Fn {𝐴} → 𝐹:{𝐴}⟶{(𝐹𝐴)})
241, 23syl 14 . . . . 5 (𝐹:{𝐴}⟶𝐵𝐹:{𝐴}⟶{(𝐹𝐴)})
2511, 24jca 304 . . . 4 (𝐹:{𝐴}⟶𝐵 → ((𝐹𝐴) ∈ 𝐵𝐹:{𝐴}⟶{(𝐹𝐴)}))
26 snssi 3664 . . . . 5 ((𝐹𝐴) ∈ 𝐵 → {(𝐹𝐴)} ⊆ 𝐵)
27 fss 5284 . . . . . 6 ((𝐹:{𝐴}⟶{(𝐹𝐴)} ∧ {(𝐹𝐴)} ⊆ 𝐵) → 𝐹:{𝐴}⟶𝐵)
2827ancoms 266 . . . . 5 (({(𝐹𝐴)} ⊆ 𝐵𝐹:{𝐴}⟶{(𝐹𝐴)}) → 𝐹:{𝐴}⟶𝐵)
2926, 28sylan 281 . . . 4 (((𝐹𝐴) ∈ 𝐵𝐹:{𝐴}⟶{(𝐹𝐴)}) → 𝐹:{𝐴}⟶𝐵)
3025, 29impbii 125 . . 3 (𝐹:{𝐴}⟶𝐵 ↔ ((𝐹𝐴) ∈ 𝐵𝐹:{𝐴}⟶{(𝐹𝐴)}))
31 fsng 5593 . . . . 5 ((𝐴 ∈ V ∧ (𝐹𝐴) ∈ V) → (𝐹:{𝐴}⟶{(𝐹𝐴)} ↔ 𝐹 = {⟨𝐴, (𝐹𝐴)⟩}))
322, 31mpan 420 . . . 4 ((𝐹𝐴) ∈ V → (𝐹:{𝐴}⟶{(𝐹𝐴)} ↔ 𝐹 = {⟨𝐴, (𝐹𝐴)⟩}))
3332anbi2d 459 . . 3 ((𝐹𝐴) ∈ V → (((𝐹𝐴) ∈ 𝐵𝐹:{𝐴}⟶{(𝐹𝐴)}) ↔ ((𝐹𝐴) ∈ 𝐵𝐹 = {⟨𝐴, (𝐹𝐴)⟩})))
3430, 33syl5bb 191 . 2 ((𝐹𝐴) ∈ V → (𝐹:{𝐴}⟶𝐵 ↔ ((𝐹𝐴) ∈ 𝐵𝐹 = {⟨𝐴, (𝐹𝐴)⟩})))
357, 9, 34pm5.21nii 693 1 (𝐹:{𝐴}⟶𝐵 ↔ ((𝐹𝐴) ∈ 𝐵𝐹 = {⟨𝐴, (𝐹𝐴)⟩}))
Colors of variables: wff set class
Syntax hints:  wa 103  wb 104   = wceq 1331  wcel 1480  Vcvv 2686  wss 3071  {csn 3527  cop 3530  dom cdm 4539  ran crn 4540  cima 4542   Fn wfn 5118  wf 5119  cfv 5123
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 698  ax-5 1423  ax-7 1424  ax-gen 1425  ax-ie1 1469  ax-ie2 1470  ax-8 1482  ax-10 1483  ax-11 1484  ax-i12 1485  ax-bndl 1486  ax-4 1487  ax-14 1492  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-ext 2121  ax-sep 4046  ax-pow 4098  ax-pr 4131
This theorem depends on definitions:  df-bi 116  df-3an 964  df-tru 1334  df-nf 1437  df-sb 1736  df-eu 2002  df-mo 2003  df-clab 2126  df-cleq 2132  df-clel 2135  df-nfc 2270  df-ral 2421  df-rex 2422  df-reu 2423  df-v 2688  df-sbc 2910  df-un 3075  df-in 3077  df-ss 3084  df-pw 3512  df-sn 3533  df-pr 3534  df-op 3536  df-uni 3737  df-br 3930  df-opab 3990  df-id 4215  df-xp 4545  df-rel 4546  df-cnv 4547  df-co 4548  df-dm 4549  df-rn 4550  df-res 4551  df-ima 4552  df-iota 5088  df-fun 5125  df-fn 5126  df-f 5127  df-f1 5128  df-fo 5129  df-f1o 5130  df-fv 5131
This theorem is referenced by:  fnressn  5606  fressnfv  5607  mapsnconst  6588  elixpsn  6629  en1  6693
  Copyright terms: Public domain W3C validator