| 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 7079 | . . . . 5 ⊢ ((𝐹:{𝐴}⟶𝐵 ∧ 𝐴 ∈ {𝐴}) → (𝐹‘𝐴) ∈ 𝐵) | |
| 4 | 2, 3 | mpan2 704 | . . . 4 ⊢ (𝐹:{𝐴}⟶𝐵 → (𝐹‘𝐴) ∈ 𝐵) |
| 5 | ffn 6707 | . . . . 5 ⊢ (𝐹:{𝐴}⟶𝐵 → 𝐹 Fn {𝐴}) | |
| 6 | dffn3 6720 | . . . . . . 7 ⊢ (𝐹 Fn {𝐴} ↔ 𝐹:{𝐴}⟶ran 𝐹) | |
| 7 | 6 | biimpi 219 | . . . . . 6 ⊢ (𝐹 Fn {𝐴} → 𝐹:{𝐴}⟶ran 𝐹) |
| 8 | imadmrn 6067 | . . . . . . . . 9 ⊢ (𝐹 “ dom 𝐹) = ran 𝐹 | |
| 9 | fndm 6640 | . . . . . . . . . 10 ⊢ (𝐹 Fn {𝐴} → dom 𝐹 = {𝐴}) | |
| 10 | 9 | imaeq2d 6052 | . . . . . . . . 9 ⊢ (𝐹 Fn {𝐴} → (𝐹 “ dom 𝐹) = (𝐹 “ {𝐴})) |
| 11 | 8, 10 | eqtr3id 2810 | . . . . . . . 8 ⊢ (𝐹 Fn {𝐴} → ran 𝐹 = (𝐹 “ {𝐴})) |
| 12 | fnsnfv 6962 | . . . . . . . . 9 ⊢ ((𝐹 Fn {𝐴} ∧ 𝐴 ∈ {𝐴}) → {(𝐹‘𝐴)} = (𝐹 “ {𝐴})) | |
| 13 | 2, 12 | mpan2 704 | . . . . . . . 8 ⊢ (𝐹 Fn {𝐴} → {(𝐹‘𝐴)} = (𝐹 “ {𝐴})) |
| 14 | 11, 13 | eqtr4d 2799 | . . . . . . 7 ⊢ (𝐹 Fn {𝐴} → ran 𝐹 = {(𝐹‘𝐴)}) |
| 15 | 14 | feq3d 6692 | . . . . . 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 6724 | . . . . 5 ⊢ ((𝐹:{𝐴}⟶{(𝐹‘𝐴)} ∧ {(𝐹‘𝐴)} ⊆ 𝐵) → 𝐹:{𝐴}⟶𝐵) | |
| 21 | 20 | ancoms 464 | . . . 4 ⊢ (({(𝐹‘𝐴)} ⊆ 𝐵 ∧ 𝐹:{𝐴}⟶{(𝐹‘𝐴)}) → 𝐹:{𝐴}⟶𝐵) |
| 22 | 19, 21 | sylan 592 | . . 3 ⊢ (((𝐹‘𝐴) ∈ 𝐵 ∧ 𝐹:{𝐴}⟶{(𝐹‘𝐴)}) → 𝐹:{𝐴}⟶𝐵) |
| 23 | 18, 22 | impbii 212 | . 2 ⊢ (𝐹:{𝐴}⟶𝐵 ↔ ((𝐹‘𝐴) ∈ 𝐵 ∧ 𝐹:{𝐴}⟶{(𝐹‘𝐴)})) |
| 24 | fvex 6896 | . . . 4 ⊢ (𝐹‘𝐴) ∈ V | |
| 25 | 1, 24 | fsn 7134 | . . 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 3451 ⊆ wss 3899 {csn 4584 〈cop 4590 dom cdm 5651 ran crn 5652 “ cima 5654 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 2213 ax-ext 2733 ax-sep 5249 ax-nul 5260 ax-pr 5391 |
| 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 2565 df-eu 2595 df-clab 2740 df-cleq 2753 df-clel 2836 df-ne 2957 df-ral 3078 df-rex 3088 df-reu 3367 df-rab 3414 df-v 3453 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 5546 df-xp 5657 df-rel 5658 df-cnv 5659 df-co 5660 df-dm 5661 df-rn 5662 df-res 5663 df-ima 5664 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 7137 fnressn 7160 fressnfv 7162 mapsnconst 8913 elixpsn 8958 en1 9044 mat1dimelbas 22779 0spth 30710 wlkl0 30961 ldepsnlinclem1 49586 ldepsnlinclem2 49587 0aryfvalel 49715 1arymaptf1 49723 termcfuncval 50609 |
| Copyright terms: Public domain | W3C validator |