| 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 4623 | . . . . 5 ⊢ 𝐴 ∈ {𝐴} |
| 3 | ffvelcdm 7074 | . . . . 5 ⊢ ((𝐹:{𝐴}⟶𝐵 ∧ 𝐴 ∈ {𝐴}) → (𝐹‘𝐴) ∈ 𝐵) | |
| 4 | 2, 3 | mpan2 704 | . . . 4 ⊢ (𝐹:{𝐴}⟶𝐵 → (𝐹‘𝐴) ∈ 𝐵) |
| 5 | ffn 6702 | . . . . 5 ⊢ (𝐹:{𝐴}⟶𝐵 → 𝐹 Fn {𝐴}) | |
| 6 | dffn3 6715 | . . . . . . 7 ⊢ (𝐹 Fn {𝐴} ↔ 𝐹:{𝐴}⟶ran 𝐹) | |
| 7 | 6 | biimpi 219 | . . . . . 6 ⊢ (𝐹 Fn {𝐴} → 𝐹:{𝐴}⟶ran 𝐹) |
| 8 | imadmrn 6066 | . . . . . . . . 9 ⊢ (𝐹 “ dom 𝐹) = ran 𝐹 | |
| 9 | fndm 6635 | . . . . . . . . . 10 ⊢ (𝐹 Fn {𝐴} → dom 𝐹 = {𝐴}) | |
| 10 | 9 | imaeq2d 6056 | . . . . . . . . 9 ⊢ (𝐹 Fn {𝐴} → (𝐹 “ dom 𝐹) = (𝐹 “ {𝐴})) |
| 11 | 8, 10 | eqtr3id 2809 | . . . . . . . 8 ⊢ (𝐹 Fn {𝐴} → ran 𝐹 = (𝐹 “ {𝐴})) |
| 12 | fnsnfv 6957 | . . . . . . . . 9 ⊢ ((𝐹 Fn {𝐴} ∧ 𝐴 ∈ {𝐴}) → {(𝐹‘𝐴)} = (𝐹 “ {𝐴})) | |
| 13 | 2, 12 | mpan2 704 | . . . . . . . 8 ⊢ (𝐹 Fn {𝐴} → {(𝐹‘𝐴)} = (𝐹 “ {𝐴})) |
| 14 | 11, 13 | eqtr4d 2798 | . . . . . . 7 ⊢ (𝐹 Fn {𝐴} → ran 𝐹 = {(𝐹‘𝐴)}) |
| 15 | 14 | feq3d 6687 | . . . . . 6 ⊢ (𝐹 Fn {𝐴} → (𝐹:{𝐴}⟶ran 𝐹 ↔ 𝐹:{𝐴}⟶{(𝐹‘𝐴)})) |
| 16 | 7, 15 | mpbid 235 | . . . . 5 ⊢ (𝐹 Fn {𝐴} → 𝐹:{𝐴}⟶{(𝐹‘𝐴)}) |
| 17 | 5, 16 | syl 18 | . . . 4 ⊢ (𝐹:{𝐴}⟶𝐵 → 𝐹:{𝐴}⟶{(𝐹‘𝐴)}) |
| 18 | 4, 17 | jca 521 | . . 3 ⊢ (𝐹:{𝐴}⟶𝐵 → ((𝐹‘𝐴) ∈ 𝐵 ∧ 𝐹:{𝐴}⟶{(𝐹‘𝐴)})) |
| 19 | snssi 4746 | . . . 4 ⊢ ((𝐹‘𝐴) ∈ 𝐵 → {(𝐹‘𝐴)} ⊆ 𝐵) | |
| 20 | fss 6719 | . . . . 5 ⊢ ((𝐹:{𝐴}⟶{(𝐹‘𝐴)} ∧ {(𝐹‘𝐴)} ⊆ 𝐵) → 𝐹:{𝐴}⟶𝐵) | |
| 21 | 20 | ancoms 464 | . . . 4 ⊢ (({(𝐹‘𝐴)} ⊆ 𝐵 ∧ 𝐹:{𝐴}⟶{(𝐹‘𝐴)}) → 𝐹:{𝐴}⟶𝐵) |
| 22 | 19, 21 | sylan 592 | . . 3 ⊢ (((𝐹‘𝐴) ∈ 𝐵 ∧ 𝐹:{𝐴}⟶{(𝐹‘𝐴)}) → 𝐹:{𝐴}⟶𝐵) |
| 23 | 18, 22 | impbii 212 | . 2 ⊢ (𝐹:{𝐴}⟶𝐵 ↔ ((𝐹‘𝐴) ∈ 𝐵 ∧ 𝐹:{𝐴}⟶{(𝐹‘𝐴)})) |
| 24 | fvex 6891 | . . . 4 ⊢ (𝐹‘𝐴) ∈ V | |
| 25 | 1, 24 | fsn 7129 | . . 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 3450 ⊆ wss 3899 {csn 4584 〈cop 4590 dom cdm 5655 ran crn 5656 “ cima 5658 Fn wfn 6528 ⟶wf 6529 ‘cfv 6533 |
| 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 2213 ax-ext 2732 ax-sep 5251 ax-nul 5263 ax-pr 5398 |
| 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 2564 df-eu 2594 df-clab 2739 df-cleq 2752 df-clel 2835 df-ne 2956 df-ral 3077 df-rex 3087 df-reu 3366 df-rab 3413 df-v 3452 df-dif 3902 df-un 3904 df-in 3906 df-ss 3916 df-nul 4280 df-if 4483 df-sn 4585 df-pr 4587 df-op 4591 df-uni 4868 df-br 5104 df-opab 5168 df-id 5550 df-xp 5661 df-rel 5662 df-cnv 5663 df-co 5664 df-dm 5665 df-rn 5666 df-res 5667 df-ima 5668 df-iota 6489 df-fun 6535 df-fn 6536 df-f 6537 df-f1 6538 df-fo 6539 df-f1o 6540 df-fv 6541 |
| This theorem is used by: fsn2g 7132 fnressn 7155 fressnfv 7157 mapsnconst 8899 elixpsn 8944 en1 9030 mat1dimelbas 22693 0spth 30596 wlkl0 30847 ldepsnlinclem1 49435 ldepsnlinclem2 49436 0aryfvalel 49564 1arymaptf1 49572 termcfuncval 50458 |
| Copyright terms: Public domain | W3C validator |