| 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 4626 | . . . . 5 ⊢ 𝐴 ∈ {𝐴} |
| 3 | ffvelcdm 7078 | . . . . 5 ⊢ ((𝐹:{𝐴}⟶𝐵 ∧ 𝐴 ∈ {𝐴}) → (𝐹‘𝐴) ∈ 𝐵) | |
| 4 | 2, 3 | mpan2 704 | . . . 4 ⊢ (𝐹:{𝐴}⟶𝐵 → (𝐹‘𝐴) ∈ 𝐵) |
| 5 | ffn 6706 | . . . . 5 ⊢ (𝐹:{𝐴}⟶𝐵 → 𝐹 Fn {𝐴}) | |
| 6 | dffn3 6719 | . . . . . . 7 ⊢ (𝐹 Fn {𝐴} ↔ 𝐹:{𝐴}⟶ran 𝐹) | |
| 7 | 6 | biimpi 219 | . . . . . 6 ⊢ (𝐹 Fn {𝐴} → 𝐹:{𝐴}⟶ran 𝐹) |
| 8 | imadmrn 6070 | . . . . . . . . 9 ⊢ (𝐹 “ dom 𝐹) = ran 𝐹 | |
| 9 | fndm 6639 | . . . . . . . . . 10 ⊢ (𝐹 Fn {𝐴} → dom 𝐹 = {𝐴}) | |
| 10 | 9 | imaeq2d 6060 | . . . . . . . . 9 ⊢ (𝐹 Fn {𝐴} → (𝐹 “ dom 𝐹) = (𝐹 “ {𝐴})) |
| 11 | 8, 10 | eqtr3id 2811 | . . . . . . . 8 ⊢ (𝐹 Fn {𝐴} → ran 𝐹 = (𝐹 “ {𝐴})) |
| 12 | fnsnfv 6961 | . . . . . . . . 9 ⊢ ((𝐹 Fn {𝐴} ∧ 𝐴 ∈ {𝐴}) → {(𝐹‘𝐴)} = (𝐹 “ {𝐴})) | |
| 13 | 2, 12 | mpan2 704 | . . . . . . . 8 ⊢ (𝐹 Fn {𝐴} → {(𝐹‘𝐴)} = (𝐹 “ {𝐴})) |
| 14 | 11, 13 | eqtr4d 2800 | . . . . . . 7 ⊢ (𝐹 Fn {𝐴} → ran 𝐹 = {(𝐹‘𝐴)}) |
| 15 | 14 | feq3d 6691 | . . . . . 6 ⊢ (𝐹 Fn {𝐴} → (𝐹:{𝐴}⟶ran 𝐹 ↔ 𝐹:{𝐴}⟶{(𝐹‘𝐴)})) |
| 16 | 7, 15 | mpbid 235 | . . . . 5 ⊢ (𝐹 Fn {𝐴} → 𝐹:{𝐴}⟶{(𝐹‘𝐴)}) |
| 17 | 5, 16 | syl 18 | . . . 4 ⊢ (𝐹:{𝐴}⟶𝐵 → 𝐹:{𝐴}⟶{(𝐹‘𝐴)}) |
| 18 | 4, 17 | jca 521 | . . 3 ⊢ (𝐹:{𝐴}⟶𝐵 → ((𝐹‘𝐴) ∈ 𝐵 ∧ 𝐹:{𝐴}⟶{(𝐹‘𝐴)})) |
| 19 | snssi 4749 | . . . 4 ⊢ ((𝐹‘𝐴) ∈ 𝐵 → {(𝐹‘𝐴)} ⊆ 𝐵) | |
| 20 | fss 6723 | . . . . 5 ⊢ ((𝐹:{𝐴}⟶{(𝐹‘𝐴)} ∧ {(𝐹‘𝐴)} ⊆ 𝐵) → 𝐹:{𝐴}⟶𝐵) | |
| 21 | 20 | ancoms 464 | . . . 4 ⊢ (({(𝐹‘𝐴)} ⊆ 𝐵 ∧ 𝐹:{𝐴}⟶{(𝐹‘𝐴)}) → 𝐹:{𝐴}⟶𝐵) |
| 22 | 19, 21 | sylan 592 | . . 3 ⊢ (((𝐹‘𝐴) ∈ 𝐵 ∧ 𝐹:{𝐴}⟶{(𝐹‘𝐴)}) → 𝐹:{𝐴}⟶𝐵) |
| 23 | 18, 22 | impbii 212 | . 2 ⊢ (𝐹:{𝐴}⟶𝐵 ↔ ((𝐹‘𝐴) ∈ 𝐵 ∧ 𝐹:{𝐴}⟶{(𝐹‘𝐴)})) |
| 24 | fvex 6895 | . . . 4 ⊢ (𝐹‘𝐴) ∈ V | |
| 25 | 1, 24 | fsn 7133 | . . 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 2145 Vcvv 3453 ⊆ wss 3902 {csn 4587 〈cop 4593 dom cdm 5659 ran crn 5660 “ cima 5662 Fn wfn 6532 ⟶wf 6533 ‘cfv 6537 |
| 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 2147 ax-9 2155 ax-10 2178 ax-12 2215 ax-ext 2734 ax-sep 5255 ax-nul 5267 ax-pr 5402 |
| 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 2566 df-eu 2596 df-clab 2741 df-cleq 2754 df-clel 2837 df-ne 2958 df-ral 3079 df-rex 3089 df-reu 3368 df-rab 3415 df-v 3455 df-dif 3905 df-un 3907 df-in 3909 df-ss 3919 df-nul 4283 df-if 4486 df-sn 4588 df-pr 4590 df-op 4594 df-uni 4871 df-br 5108 df-opab 5172 df-id 5554 df-xp 5665 df-rel 5666 df-cnv 5667 df-co 5668 df-dm 5669 df-rn 5670 df-res 5671 df-ima 5672 df-iota 6493 df-fun 6539 df-fn 6540 df-f 6541 df-f1 6542 df-fo 6543 df-f1o 6544 df-fv 6545 |
| This theorem is used by: fsn2g 7136 fnressn 7159 fressnfv 7161 mapsnconst 8903 elixpsn 8948 en1 9034 mat1dimelbas 22699 0spth 30604 wlkl0 30855 ldepsnlinclem1 49443 ldepsnlinclem2 49444 0aryfvalel 49572 1arymaptf1 49580 termcfuncval 50466 |
| Copyright terms: Public domain | W3C validator |