| 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 7111 | . . . . 5 ⊢ ((𝐴 ∈ V ∧ 𝐵 ∈ V) → {〈𝐴, 𝐵〉} = (𝑥 ∈ {𝐴} ↦ 𝐵)) | |
| 4 | 1, 2, 3 | mp2an 692 | . . . 4 ⊢ {〈𝐴, 𝐵〉} = (𝑥 ∈ {𝐴} ↦ 𝐵) |
| 5 | elsni 4595 | . . . . . 6 ⊢ (𝑥 ∈ {𝐴} → 𝑥 = 𝐴) | |
| 6 | fmptap.2 | . . . . . 6 ⊢ (𝑥 = 𝐴 → 𝐶 = 𝐵) | |
| 7 | 5, 6 | syl 17 | . . . . 5 ⊢ (𝑥 ∈ {𝐴} → 𝐶 = 𝐵) |
| 8 | 7 | mpteq2ia 5191 | . . . 4 ⊢ (𝑥 ∈ {𝐴} ↦ 𝐶) = (𝑥 ∈ {𝐴} ↦ 𝐵) |
| 9 | 4, 8 | eqtr4i 2760 | . . 3 ⊢ {〈𝐴, 𝐵〉} = (𝑥 ∈ {𝐴} ↦ 𝐶) |
| 10 | 9 | uneq2i 4115 | . 2 ⊢ ((𝑥 ∈ 𝑅 ↦ 𝐶) ∪ {〈𝐴, 𝐵〉}) = ((𝑥 ∈ 𝑅 ↦ 𝐶) ∪ (𝑥 ∈ {𝐴} ↦ 𝐶)) |
| 11 | mptun 6636 | . 2 ⊢ (𝑥 ∈ (𝑅 ∪ {𝐴}) ↦ 𝐶) = ((𝑥 ∈ 𝑅 ↦ 𝐶) ∪ (𝑥 ∈ {𝐴} ↦ 𝐶)) | |
| 12 | fmptap.1 | . . 3 ⊢ (𝑅 ∪ {𝐴}) = 𝑆 | |
| 13 | 12 | mpteq1i 5187 | . 2 ⊢ (𝑥 ∈ (𝑅 ∪ {𝐴}) ↦ 𝐶) = (𝑥 ∈ 𝑆 ↦ 𝐶) |
| 14 | 10, 11, 13 | 3eqtr2i 2763 | 1 ⊢ ((𝑥 ∈ 𝑅 ↦ 𝐶) ∪ {〈𝐴, 𝐵〉}) = (𝑥 ∈ 𝑆 ↦ 𝐶) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 = wceq 1541 ∈ wcel 2113 Vcvv 3438 ∪ cun 3897 {csn 4578 〈cop 4584 ↦ cmpt 5177 |
| 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 1968 ax-7 2009 ax-8 2115 ax-9 2123 ax-10 2146 ax-11 2162 ax-12 2182 ax-ext 2706 ax-sep 5239 ax-nul 5249 ax-pr 5375 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 848 df-3an 1088 df-tru 1544 df-fal 1554 df-ex 1781 df-nf 1785 df-sb 2068 df-mo 2537 df-eu 2567 df-clab 2713 df-cleq 2726 df-clel 2809 df-nfc 2883 df-ne 2931 df-ral 3050 df-rex 3059 df-reu 3349 df-rab 3398 df-v 3440 df-dif 3902 df-un 3904 df-ss 3916 df-nul 4284 df-if 4478 df-sn 4579 df-pr 4581 df-op 4585 df-br 5097 df-opab 5159 df-mpt 5178 df-id 5517 df-xp 5628 df-rel 5629 df-cnv 5630 df-co 5631 df-dm 5632 df-rn 5633 df-fun 6492 df-fn 6493 df-f 6494 df-f1 6495 df-fo 6496 df-f1o 6497 |
| This theorem is referenced by: (None) |
| Copyright terms: Public domain | W3C validator |