Proof of Theorem mapsn
Step | Hyp | Ref
| Expression |
1 | | map0.1 |
. . . 4
⊢ 𝐴 ∈ V |
2 | | map0.2 |
. . . . 5
⊢ 𝐵 ∈ V |
3 | 2 | snex 4164 |
. . . 4
⊢ {𝐵} ∈ V |
4 | 1, 3 | elmap 6643 |
. . 3
⊢ (𝑓 ∈ (𝐴 ↑𝑚 {𝐵}) ↔ 𝑓:{𝐵}⟶𝐴) |
5 | | ffn 5337 |
. . . . . . . 8
⊢ (𝑓:{𝐵}⟶𝐴 → 𝑓 Fn {𝐵}) |
6 | 2 | snid 3607 |
. . . . . . . 8
⊢ 𝐵 ∈ {𝐵} |
7 | | fneu 5292 |
. . . . . . . 8
⊢ ((𝑓 Fn {𝐵} ∧ 𝐵 ∈ {𝐵}) → ∃!𝑦 𝐵𝑓𝑦) |
8 | 5, 6, 7 | sylancl 410 |
. . . . . . 7
⊢ (𝑓:{𝐵}⟶𝐴 → ∃!𝑦 𝐵𝑓𝑦) |
9 | | euabsn 3646 |
. . . . . . . 8
⊢
(∃!𝑦 𝐵𝑓𝑦 ↔ ∃𝑦{𝑦 ∣ 𝐵𝑓𝑦} = {𝑦}) |
10 | | imasng 4969 |
. . . . . . . . . . . 12
⊢ (𝐵 ∈ V → (𝑓 “ {𝐵}) = {𝑦 ∣ 𝐵𝑓𝑦}) |
11 | 2, 10 | ax-mp 5 |
. . . . . . . . . . 11
⊢ (𝑓 “ {𝐵}) = {𝑦 ∣ 𝐵𝑓𝑦} |
12 | | fdm 5343 |
. . . . . . . . . . . . 13
⊢ (𝑓:{𝐵}⟶𝐴 → dom 𝑓 = {𝐵}) |
13 | 12 | imaeq2d 4946 |
. . . . . . . . . . . 12
⊢ (𝑓:{𝐵}⟶𝐴 → (𝑓 “ dom 𝑓) = (𝑓 “ {𝐵})) |
14 | | imadmrn 4956 |
. . . . . . . . . . . 12
⊢ (𝑓 “ dom 𝑓) = ran 𝑓 |
15 | 13, 14 | eqtr3di 2214 |
. . . . . . . . . . 11
⊢ (𝑓:{𝐵}⟶𝐴 → (𝑓 “ {𝐵}) = ran 𝑓) |
16 | 11, 15 | eqtr3id 2213 |
. . . . . . . . . 10
⊢ (𝑓:{𝐵}⟶𝐴 → {𝑦 ∣ 𝐵𝑓𝑦} = ran 𝑓) |
17 | 16 | eqeq1d 2174 |
. . . . . . . . 9
⊢ (𝑓:{𝐵}⟶𝐴 → ({𝑦 ∣ 𝐵𝑓𝑦} = {𝑦} ↔ ran 𝑓 = {𝑦})) |
18 | 17 | exbidv 1813 |
. . . . . . . 8
⊢ (𝑓:{𝐵}⟶𝐴 → (∃𝑦{𝑦 ∣ 𝐵𝑓𝑦} = {𝑦} ↔ ∃𝑦ran 𝑓 = {𝑦})) |
19 | 9, 18 | syl5bb 191 |
. . . . . . 7
⊢ (𝑓:{𝐵}⟶𝐴 → (∃!𝑦 𝐵𝑓𝑦 ↔ ∃𝑦ran 𝑓 = {𝑦})) |
20 | 8, 19 | mpbid 146 |
. . . . . 6
⊢ (𝑓:{𝐵}⟶𝐴 → ∃𝑦ran 𝑓 = {𝑦}) |
21 | | vex 2729 |
. . . . . . . . . . 11
⊢ 𝑦 ∈ V |
22 | 21 | snid 3607 |
. . . . . . . . . 10
⊢ 𝑦 ∈ {𝑦} |
23 | | eleq2 2230 |
. . . . . . . . . 10
⊢ (ran
𝑓 = {𝑦} → (𝑦 ∈ ran 𝑓 ↔ 𝑦 ∈ {𝑦})) |
24 | 22, 23 | mpbiri 167 |
. . . . . . . . 9
⊢ (ran
𝑓 = {𝑦} → 𝑦 ∈ ran 𝑓) |
25 | | frn 5346 |
. . . . . . . . . 10
⊢ (𝑓:{𝐵}⟶𝐴 → ran 𝑓 ⊆ 𝐴) |
26 | 25 | sseld 3141 |
. . . . . . . . 9
⊢ (𝑓:{𝐵}⟶𝐴 → (𝑦 ∈ ran 𝑓 → 𝑦 ∈ 𝐴)) |
27 | 24, 26 | syl5 32 |
. . . . . . . 8
⊢ (𝑓:{𝐵}⟶𝐴 → (ran 𝑓 = {𝑦} → 𝑦 ∈ 𝐴)) |
28 | | dffn4 5416 |
. . . . . . . . . . . 12
⊢ (𝑓 Fn {𝐵} ↔ 𝑓:{𝐵}–onto→ran 𝑓) |
29 | 5, 28 | sylib 121 |
. . . . . . . . . . 11
⊢ (𝑓:{𝐵}⟶𝐴 → 𝑓:{𝐵}–onto→ran 𝑓) |
30 | | fof 5410 |
. . . . . . . . . . 11
⊢ (𝑓:{𝐵}–onto→ran 𝑓 → 𝑓:{𝐵}⟶ran 𝑓) |
31 | 29, 30 | syl 14 |
. . . . . . . . . 10
⊢ (𝑓:{𝐵}⟶𝐴 → 𝑓:{𝐵}⟶ran 𝑓) |
32 | | feq3 5322 |
. . . . . . . . . 10
⊢ (ran
𝑓 = {𝑦} → (𝑓:{𝐵}⟶ran 𝑓 ↔ 𝑓:{𝐵}⟶{𝑦})) |
33 | 31, 32 | syl5ibcom 154 |
. . . . . . . . 9
⊢ (𝑓:{𝐵}⟶𝐴 → (ran 𝑓 = {𝑦} → 𝑓:{𝐵}⟶{𝑦})) |
34 | 2, 21 | fsn 5657 |
. . . . . . . . 9
⊢ (𝑓:{𝐵}⟶{𝑦} ↔ 𝑓 = {〈𝐵, 𝑦〉}) |
35 | 33, 34 | syl6ib 160 |
. . . . . . . 8
⊢ (𝑓:{𝐵}⟶𝐴 → (ran 𝑓 = {𝑦} → 𝑓 = {〈𝐵, 𝑦〉})) |
36 | 27, 35 | jcad 305 |
. . . . . . 7
⊢ (𝑓:{𝐵}⟶𝐴 → (ran 𝑓 = {𝑦} → (𝑦 ∈ 𝐴 ∧ 𝑓 = {〈𝐵, 𝑦〉}))) |
37 | 36 | eximdv 1868 |
. . . . . 6
⊢ (𝑓:{𝐵}⟶𝐴 → (∃𝑦ran 𝑓 = {𝑦} → ∃𝑦(𝑦 ∈ 𝐴 ∧ 𝑓 = {〈𝐵, 𝑦〉}))) |
38 | 20, 37 | mpd 13 |
. . . . 5
⊢ (𝑓:{𝐵}⟶𝐴 → ∃𝑦(𝑦 ∈ 𝐴 ∧ 𝑓 = {〈𝐵, 𝑦〉})) |
39 | | df-rex 2450 |
. . . . 5
⊢
(∃𝑦 ∈
𝐴 𝑓 = {〈𝐵, 𝑦〉} ↔ ∃𝑦(𝑦 ∈ 𝐴 ∧ 𝑓 = {〈𝐵, 𝑦〉})) |
40 | 38, 39 | sylibr 133 |
. . . 4
⊢ (𝑓:{𝐵}⟶𝐴 → ∃𝑦 ∈ 𝐴 𝑓 = {〈𝐵, 𝑦〉}) |
41 | 2, 21 | f1osn 5472 |
. . . . . . . . 9
⊢
{〈𝐵, 𝑦〉}:{𝐵}–1-1-onto→{𝑦} |
42 | | f1oeq1 5421 |
. . . . . . . . 9
⊢ (𝑓 = {〈𝐵, 𝑦〉} → (𝑓:{𝐵}–1-1-onto→{𝑦} ↔ {〈𝐵, 𝑦〉}:{𝐵}–1-1-onto→{𝑦})) |
43 | 41, 42 | mpbiri 167 |
. . . . . . . 8
⊢ (𝑓 = {〈𝐵, 𝑦〉} → 𝑓:{𝐵}–1-1-onto→{𝑦}) |
44 | | f1of 5432 |
. . . . . . . 8
⊢ (𝑓:{𝐵}–1-1-onto→{𝑦} → 𝑓:{𝐵}⟶{𝑦}) |
45 | 43, 44 | syl 14 |
. . . . . . 7
⊢ (𝑓 = {〈𝐵, 𝑦〉} → 𝑓:{𝐵}⟶{𝑦}) |
46 | | snssi 3717 |
. . . . . . 7
⊢ (𝑦 ∈ 𝐴 → {𝑦} ⊆ 𝐴) |
47 | | fss 5349 |
. . . . . . 7
⊢ ((𝑓:{𝐵}⟶{𝑦} ∧ {𝑦} ⊆ 𝐴) → 𝑓:{𝐵}⟶𝐴) |
48 | 45, 46, 47 | syl2an 287 |
. . . . . 6
⊢ ((𝑓 = {〈𝐵, 𝑦〉} ∧ 𝑦 ∈ 𝐴) → 𝑓:{𝐵}⟶𝐴) |
49 | 48 | expcom 115 |
. . . . 5
⊢ (𝑦 ∈ 𝐴 → (𝑓 = {〈𝐵, 𝑦〉} → 𝑓:{𝐵}⟶𝐴)) |
50 | 49 | rexlimiv 2577 |
. . . 4
⊢
(∃𝑦 ∈
𝐴 𝑓 = {〈𝐵, 𝑦〉} → 𝑓:{𝐵}⟶𝐴) |
51 | 40, 50 | impbii 125 |
. . 3
⊢ (𝑓:{𝐵}⟶𝐴 ↔ ∃𝑦 ∈ 𝐴 𝑓 = {〈𝐵, 𝑦〉}) |
52 | 4, 51 | bitri 183 |
. 2
⊢ (𝑓 ∈ (𝐴 ↑𝑚 {𝐵}) ↔ ∃𝑦 ∈ 𝐴 𝑓 = {〈𝐵, 𝑦〉}) |
53 | 52 | abbi2i 2281 |
1
⊢ (𝐴 ↑𝑚
{𝐵}) = {𝑓 ∣ ∃𝑦 ∈ 𝐴 𝑓 = {〈𝐵, 𝑦〉}} |