| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > fsn2 | Structured version Visualization version GIF version | ||
| Description: A function that maps a singleton to a class is the singleton of an ordered pair. (Contributed by NM, 19-May-2004.) |
| Ref | Expression |
|---|---|
| fsn2.1 | ⊢ 𝐴 ∈ V |
| Ref | Expression |
|---|---|
| fsn2 | ⊢ (𝐹:{𝐴}⟶𝐵 ↔ ((𝐹‘𝐴) ∈ 𝐵 ∧ 𝐹 = {〈𝐴, (𝐹‘𝐴)〉})) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | fsn2.1 | . . . . . 6 ⊢ 𝐴 ∈ V | |
| 2 | 1 | snid 4630 | . . . . 5 ⊢ 𝐴 ∈ {𝐴} |
| 3 | ffvelcdm 7080 | . . . . 5 ⊢ ((𝐹:{𝐴}⟶𝐵 ∧ 𝐴 ∈ {𝐴}) → (𝐹‘𝐴) ∈ 𝐵) | |
| 4 | 2, 3 | mpan2 704 | . . . 4 ⊢ (𝐹:{𝐴}⟶𝐵 → (𝐹‘𝐴) ∈ 𝐵) |
| 5 | ffn 6709 | . . . . 5 ⊢ (𝐹:{𝐴}⟶𝐵 → 𝐹 Fn {𝐴}) | |
| 6 | dffn3 6722 | . . . . . . 7 ⊢ (𝐹 Fn {𝐴} ↔ 𝐹:{𝐴}⟶ran 𝐹) | |
| 7 | 6 | biimpi 219 | . . . . . 6 ⊢ (𝐹 Fn {𝐴} → 𝐹:{𝐴}⟶ran 𝐹) |
| 8 | imadmrn 6074 | . . . . . . . . 9 ⊢ (𝐹 “ dom 𝐹) = ran 𝐹 | |
| 9 | fndm 6642 | . . . . . . . . . 10 ⊢ (𝐹 Fn {𝐴} → dom 𝐹 = {𝐴}) | |
| 10 | 9 | imaeq2d 6064 | . . . . . . . . 9 ⊢ (𝐹 Fn {𝐴} → (𝐹 “ dom 𝐹) = (𝐹 “ {𝐴})) |
| 11 | 8, 10 | eqtr3id 2814 | . . . . . . . 8 ⊢ (𝐹 Fn {𝐴} → ran 𝐹 = (𝐹 “ {𝐴})) |
| 12 | fnsnfv 6964 | . . . . . . . . 9 ⊢ ((𝐹 Fn {𝐴} ∧ 𝐴 ∈ {𝐴}) → {(𝐹‘𝐴)} = (𝐹 “ {𝐴})) | |
| 13 | 2, 12 | mpan2 704 | . . . . . . . 8 ⊢ (𝐹 Fn {𝐴} → {(𝐹‘𝐴)} = (𝐹 “ {𝐴})) |
| 14 | 11, 13 | eqtr4d 2803 | . . . . . . 7 ⊢ (𝐹 Fn {𝐴} → ran 𝐹 = {(𝐹‘𝐴)}) |
| 15 | 14 | feq3d 6694 | . . . . . 6 ⊢ (𝐹 Fn {𝐴} → (𝐹:{𝐴}⟶ran 𝐹 ↔ 𝐹:{𝐴}⟶{(𝐹‘𝐴)})) |
| 16 | 7, 15 | mpbid 235 | . . . . 5 ⊢ (𝐹 Fn {𝐴} → 𝐹:{𝐴}⟶{(𝐹‘𝐴)}) |
| 17 | 5, 16 | syl 18 | . . . 4 ⊢ (𝐹:{𝐴}⟶𝐵 → 𝐹:{𝐴}⟶{(𝐹‘𝐴)}) |
| 18 | 4, 17 | jca 521 | . . 3 ⊢ (𝐹:{𝐴}⟶𝐵 → ((𝐹‘𝐴) ∈ 𝐵 ∧ 𝐹:{𝐴}⟶{(𝐹‘𝐴)})) |
| 19 | snssi 4753 | . . . 4 ⊢ ((𝐹‘𝐴) ∈ 𝐵 → {(𝐹‘𝐴)} ⊆ 𝐵) | |
| 20 | fss 6726 | . . . . 5 ⊢ ((𝐹:{𝐴}⟶{(𝐹‘𝐴)} ∧ {(𝐹‘𝐴)} ⊆ 𝐵) → 𝐹:{𝐴}⟶𝐵) | |
| 21 | 20 | ancoms 464 | . . . 4 ⊢ (({(𝐹‘𝐴)} ⊆ 𝐵 ∧ 𝐹:{𝐴}⟶{(𝐹‘𝐴)}) → 𝐹:{𝐴}⟶𝐵) |
| 22 | 19, 21 | sylan 592 | . . 3 ⊢ (((𝐹‘𝐴) ∈ 𝐵 ∧ 𝐹:{𝐴}⟶{(𝐹‘𝐴)}) → 𝐹:{𝐴}⟶𝐵) |
| 23 | 18, 22 | impbii 212 | . 2 ⊢ (𝐹:{𝐴}⟶𝐵 ↔ ((𝐹‘𝐴) ∈ 𝐵 ∧ 𝐹:{𝐴}⟶{(𝐹‘𝐴)})) |
| 24 | fvex 6898 | . . . 4 ⊢ (𝐹‘𝐴) ∈ V | |
| 25 | 1, 24 | fsn 7135 | . . 3 ⊢ (𝐹:{𝐴}⟶{(𝐹‘𝐴)} ↔ 𝐹 = {〈𝐴, (𝐹‘𝐴)〉}) |
| 26 | 25 | anbi2i 635 | . 2 ⊢ (((𝐹‘𝐴) ∈ 𝐵 ∧ 𝐹:{𝐴}⟶{(𝐹‘𝐴)}) ↔ ((𝐹‘𝐴) ∈ 𝐵 ∧ 𝐹 = {〈𝐴, (𝐹‘𝐴)〉})) |
| 27 | 23, 26 | bitri 278 | 1 ⊢ (𝐹:{𝐴}⟶𝐵 ↔ ((𝐹‘𝐴) ∈ 𝐵 ∧ 𝐹 = {〈𝐴, (𝐹‘𝐴)〉})) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: ↔ wb 209 ∧ wa 401 = wceq 1570 ∈ wcel 2146 Vcvv 3457 ⊆ wss 3906 {csn 4591 〈cop 4597 dom cdm 5663 ran crn 5664 “ cima 5666 Fn wfn 6535 ⟶wf 6536 ‘cfv 6540 |
| This proof depends on axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1828 ax-4 1842 ax-5 1943 ax-6 2000 ax-7 2041 ax-8 2148 ax-9 2156 ax-10 2179 ax-12 2216 ax-ext 2737 ax-sep 5259 ax-nul 5271 ax-pr 5406 |
| This proof depends on definitions: df-bi 210 df-an 402 df-or 862 df-3an 1105 df-tru 1573 df-fal 1583 df-ex 1813 df-nf 1817 df-sb 2100 df-mo 2569 df-eu 2599 df-clab 2744 df-cleq 2757 df-clel 2840 df-ne 2961 df-ral 3082 df-rex 3092 df-reu 3372 df-rab 3419 df-v 3459 df-dif 3909 df-un 3911 df-in 3913 df-ss 3923 df-nul 4287 df-if 4490 df-sn 4592 df-pr 4594 df-op 4598 df-uni 4875 df-br 5112 df-opab 5176 df-id 5558 df-xp 5669 df-rel 5670 df-cnv 5671 df-co 5672 df-dm 5673 df-rn 5674 df-res 5675 df-ima 5676 df-iota 6496 df-fun 6542 df-fn 6543 df-f 6544 df-f1 6545 df-fo 6546 df-f1o 6547 df-fv 6548 |
| This theorem is used by: fsn2g 7138 fnressn 7161 fressnfv 7163 mapsnconst 8896 elixpsn 8941 en1 9027 mat1dimelbas 22678 0spth 30544 wlkl0 30789 ldepsnlinclem1 49342 ldepsnlinclem2 49343 0aryfvalel 49471 1arymaptf1 49479 termcfuncval 50367 |
| Copyright terms: Public domain | W3C validator |