Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > fmptap | Structured version Visualization version GIF version |
Description: Append an additional value to a function. (Contributed by NM, 6-Jun-2006.) (Revised by Mario Carneiro, 31-Aug-2015.) |
Ref | Expression |
---|---|
fmptap.0a | ⊢ 𝐴 ∈ V |
fmptap.0b | ⊢ 𝐵 ∈ V |
fmptap.1 | ⊢ (𝑅 ∪ {𝐴}) = 𝑆 |
fmptap.2 | ⊢ (𝑥 = 𝐴 → 𝐶 = 𝐵) |
Ref | Expression |
---|---|
fmptap | ⊢ ((𝑥 ∈ 𝑅 ↦ 𝐶) ∪ {〈𝐴, 𝐵〉}) = (𝑥 ∈ 𝑆 ↦ 𝐶) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | fmptap.0a | . . . . 5 ⊢ 𝐴 ∈ V | |
2 | fmptap.0b | . . . . 5 ⊢ 𝐵 ∈ V | |
3 | fmptsn 6931 | . . . . 5 ⊢ ((𝐴 ∈ V ∧ 𝐵 ∈ V) → {〈𝐴, 𝐵〉} = (𝑥 ∈ {𝐴} ↦ 𝐵)) | |
4 | 1, 2, 3 | mp2an 690 | . . . 4 ⊢ {〈𝐴, 𝐵〉} = (𝑥 ∈ {𝐴} ↦ 𝐵) |
5 | elsni 4586 | . . . . . 6 ⊢ (𝑥 ∈ {𝐴} → 𝑥 = 𝐴) | |
6 | fmptap.2 | . . . . . 6 ⊢ (𝑥 = 𝐴 → 𝐶 = 𝐵) | |
7 | 5, 6 | syl 17 | . . . . 5 ⊢ (𝑥 ∈ {𝐴} → 𝐶 = 𝐵) |
8 | 7 | mpteq2ia 5159 | . . . 4 ⊢ (𝑥 ∈ {𝐴} ↦ 𝐶) = (𝑥 ∈ {𝐴} ↦ 𝐵) |
9 | 4, 8 | eqtr4i 2849 | . . 3 ⊢ {〈𝐴, 𝐵〉} = (𝑥 ∈ {𝐴} ↦ 𝐶) |
10 | 9 | uneq2i 4138 | . 2 ⊢ ((𝑥 ∈ 𝑅 ↦ 𝐶) ∪ {〈𝐴, 𝐵〉}) = ((𝑥 ∈ 𝑅 ↦ 𝐶) ∪ (𝑥 ∈ {𝐴} ↦ 𝐶)) |
11 | mptun 6496 | . 2 ⊢ (𝑥 ∈ (𝑅 ∪ {𝐴}) ↦ 𝐶) = ((𝑥 ∈ 𝑅 ↦ 𝐶) ∪ (𝑥 ∈ {𝐴} ↦ 𝐶)) | |
12 | fmptap.1 | . . 3 ⊢ (𝑅 ∪ {𝐴}) = 𝑆 | |
13 | 12 | mpteq1i 5158 | . 2 ⊢ (𝑥 ∈ (𝑅 ∪ {𝐴}) ↦ 𝐶) = (𝑥 ∈ 𝑆 ↦ 𝐶) |
14 | 10, 11, 13 | 3eqtr2i 2852 | 1 ⊢ ((𝑥 ∈ 𝑅 ↦ 𝐶) ∪ {〈𝐴, 𝐵〉}) = (𝑥 ∈ 𝑆 ↦ 𝐶) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 = wceq 1537 ∈ wcel 2114 Vcvv 3496 ∪ cun 3936 {csn 4569 〈cop 4575 ↦ cmpt 5148 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1796 ax-4 1810 ax-5 1911 ax-6 1970 ax-7 2015 ax-8 2116 ax-9 2124 ax-10 2145 ax-11 2161 ax-12 2177 ax-ext 2795 ax-sep 5205 ax-nul 5212 ax-pr 5332 |
This theorem depends on definitions: df-bi 209 df-an 399 df-or 844 df-3an 1085 df-tru 1540 df-ex 1781 df-nf 1785 df-sb 2070 df-mo 2622 df-eu 2654 df-clab 2802 df-cleq 2816 df-clel 2895 df-nfc 2965 df-ne 3019 df-ral 3145 df-rex 3146 df-reu 3147 df-rab 3149 df-v 3498 df-dif 3941 df-un 3943 df-in 3945 df-ss 3954 df-nul 4294 df-if 4470 df-sn 4570 df-pr 4572 df-op 4576 df-br 5069 df-opab 5131 df-mpt 5149 df-id 5462 df-xp 5563 df-rel 5564 df-cnv 5565 df-co 5566 df-dm 5567 df-rn 5568 df-fun 6359 df-fn 6360 df-f 6361 df-f1 6362 df-fo 6363 df-f1o 6364 |
This theorem is referenced by: (None) |
Copyright terms: Public domain | W3C validator |