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

Theorem fsn2 5885
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 5536 . . 3 (𝐹:{𝐴}⟶𝐵 → 𝐹 Fn {𝐴})
2 fsn2.1 . . . . 5 𝐴 ∈ V
32snid 3740 . . . 4 𝐴 ∈ {𝐴}
4 funfvex 5715 . . . . 5 ((Fun 𝐹 ∧ 𝐴 ∈ dom 𝐹) → (𝐹‘𝐴) ∈ V)
54funfni 5486 . . . 4 ((𝐹 Fn {𝐴} ∧ 𝐴 ∈ {𝐴}) → (𝐹‘𝐴) ∈ V)
63, 5mpan2 429 . . 3 (𝐹 Fn {𝐴} → (𝐹‘𝐴) ∈ V)
71, 6syl 14 . 2 (𝐹:{𝐴}⟶𝐵 → (𝐹‘𝐴) ∈ V)
8 elex 2833 . . 3 ((𝐹‘𝐴) ∈ 𝐵 → (𝐹‘𝐴) ∈ V)
98adantr 276 . 2 (((𝐹‘𝐴) ∈ 𝐵 ∧ 𝐹 = {⟨𝐴, (𝐹‘𝐴)⟩}) → (𝐹‘𝐴) ∈ V)
10 ffvelcdm 5844 . . . . . 6 ((𝐹:{𝐴}⟶𝐵 ∧ 𝐴 ∈ {𝐴}) → (𝐹‘𝐴) ∈ 𝐵)
113, 10mpan2 429 . . . . 5 (𝐹:{𝐴}⟶𝐵 → (𝐹‘𝐴) ∈ 𝐵)
12 dffn3 5547 . . . . . . . 8 (𝐹 Fn {𝐴} ↔ 𝐹:{𝐴}⟶ran 𝐹)
1312biimpi 120 . . . . . . 7 (𝐹 Fn {𝐴} → 𝐹:{𝐴}⟶ran 𝐹)
14 imadmrn 5139 . . . . . . . . . 10 (𝐹 “ dom 𝐹) = ran 𝐹
15 fndm 5483 . . . . . . . . . . 11 (𝐹 Fn {𝐴} → dom 𝐹 = {𝐴})
1615imaeq2d 5129 . . . . . . . . . 10 (𝐹 Fn {𝐴} → (𝐹 “ dom 𝐹) = (𝐹 “ {𝐴}))
1714, 16eqtr3id 2285 . . . . . . . . 9 (𝐹 Fn {𝐴} → ran 𝐹 = (𝐹 “ {𝐴}))
18 fnsnfv 5765 . . . . . . . . . 10 ((𝐹 Fn {𝐴} ∧ 𝐴 ∈ {𝐴}) → {(𝐹‘𝐴)} = (𝐹 “ {𝐴}))
193, 18mpan2 429 . . . . . . . . 9 (𝐹 Fn {𝐴} → {(𝐹‘𝐴)} = (𝐹 “ {𝐴}))
2017, 19eqtr4d 2274 . . . . . . . 8 (𝐹 Fn {𝐴} → ran 𝐹 = {(𝐹‘𝐴)})
21 feq3 5521 . . . . . . . 8 (ran 𝐹 = {(𝐹‘𝐴)} → (𝐹:{𝐴}⟶ran 𝐹 ↔ 𝐹:{𝐴}⟶{(𝐹‘𝐴)}))
2220, 21syl 14 . . . . . . 7 (𝐹 Fn {𝐴} → (𝐹:{𝐴}⟶ran 𝐹 ↔ 𝐹:{𝐴}⟶{(𝐹‘𝐴)}))
2313, 22mpbid 147 . . . . . 6 (𝐹 Fn {𝐴} → 𝐹:{𝐴}⟶{(𝐹‘𝐴)})
241, 23syl 14 . . . . 5 (𝐹:{𝐴}⟶𝐵 → 𝐹:{𝐴}⟶{(𝐹‘𝐴)})
2511, 24jca 306 . . . 4 (𝐹:{𝐴}⟶𝐵 → ((𝐹‘𝐴) ∈ 𝐵 ∧ 𝐹:{𝐴}⟶{(𝐹‘𝐴)}))
26 snssi 3859 . . . . 5 ((𝐹‘𝐴) ∈ 𝐵 → {(𝐹‘𝐴)} ⊆ 𝐵)
27 fss 5549 . . . . . 6 ((𝐹:{𝐴}⟶{(𝐹‘𝐴)} ∧ {(𝐹‘𝐴)} ⊆ 𝐵) → 𝐹:{𝐴}⟶𝐵)
2827ancoms 268 . . . . 5 (({(𝐹‘𝐴)} ⊆ 𝐵 ∧ 𝐹:{𝐴}⟶{(𝐹‘𝐴)}) → 𝐹:{𝐴}⟶𝐵)
2926, 28sylan 283 . . . 4 (((𝐹‘𝐴) ∈ 𝐵 ∧ 𝐹:{𝐴}⟶{(𝐹‘𝐴)}) → 𝐹:{𝐴}⟶𝐵)
3025, 29impbii 126 . . 3 (𝐹:{𝐴}⟶𝐵 ↔ ((𝐹‘𝐴) ∈ 𝐵 ∧ 𝐹:{𝐴}⟶{(𝐹‘𝐴)}))
31 fsng 5884 . . . . 5 ((𝐴 ∈ V ∧ (𝐹‘𝐴) ∈ V) → (𝐹:{𝐴}⟶{(𝐹‘𝐴)} ↔ 𝐹 = {⟨𝐴, (𝐹‘𝐴)⟩}))
322, 31mpan 428 . . . 4 ((𝐹‘𝐴) ∈ V → (𝐹:{𝐴}⟶{(𝐹‘𝐴)} ↔ 𝐹 = {⟨𝐴, (𝐹‘𝐴)⟩}))
3332anbi2d 468 . . 3 ((𝐹‘𝐴) ∈ V → (((𝐹‘𝐴) ∈ 𝐵 ∧ 𝐹:{𝐴}⟶{(𝐹‘𝐴)}) ↔ ((𝐹‘𝐴) ∈ 𝐵 ∧ 𝐹 = {⟨𝐴, (𝐹‘𝐴)⟩})))
3430, 33bitrid 192 . 2 ((𝐹‘𝐴) ∈ V → (𝐹:{𝐴}⟶𝐵 ↔ ((𝐹‘𝐴) ∈ 𝐵 ∧ 𝐹 = {⟨𝐴, (𝐹‘𝐴)⟩})))
357, 9, 34pm5.21nii 716 1 (𝐹:{𝐴}⟶𝐵 ↔ ((𝐹‘𝐴) ∈ 𝐵 ∧ 𝐹 = {⟨𝐴, (𝐹‘𝐴)⟩}))
Colors of variables:    wff set class
This proof depends on syntax axioms:   ∧ wa 104   ↔ wb 105   = wceq 1402   ∈ wcel 2209  Vcvv 2821   ⊆ wss 3220  {csn 3709  ⟨cop 3712  dom cdm 4776  ran crn 4777   “ cima 4779   Fn wfn 5375  ⟶wf 5376  ‘cfv 5380
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-io 721  ax-5 1500  ax-7 1501  ax-gen 1502  ax-ie1 1546  ax-ie2 1547  ax-8 1557  ax-10 1558  ax-11 1559  ax-i12 1560  ax-bndl 1562  ax-4 1563  ax-17 1579  ax-i9 1583  ax-ial 1587  ax-i5r 1588  ax-14 2212  ax-ext 2220  ax-sep 4251  ax-pow 4313  ax-pr 4348
This proof depends on definitions:  df-bi 117  df-3an 1011  df-tru 1405  df-nf 1514  df-sb 1816  df-eu 2089  df-mo 2090  df-clab 2225  df-cleq 2231  df-clel 2234  df-nfc 2381  df-ral 2533  df-rex 2534  df-reu 2535  df-v 2823  df-sbc 3052  df-un 3224  df-in 3226  df-ss 3233  df-pw 3690  df-sn 3715  df-pr 3716  df-op 3718  df-uni 3936  df-br 4132  df-opab 4194  df-id 4440  df-xp 4782  df-rel 4783  df-cnv 4784  df-co 4785  df-dm 4786  df-rn 4787  df-res 4788  df-ima 4789  df-iota 5340  df-fun 5382  df-fn 5383  df-f 5384  df-f1 5385  df-fo 5386  df-f1o 5387  df-fv 5388
This theorem is used by:  fsn2g  5886  fnressn  5904  fressnfv  5905  mapsnconst  6980  elixpsn  7021  en1  7090
  Copyright terms: Public domain W3C validator