| Intuitionistic Logic Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > ILE Home > Th. List > fmptapd | GIF version | ||
| Description: Append an additional value to a function. (Contributed by Thierry Arnoux, 3-Jan-2017.) |
| Ref | Expression |
|---|---|
| fmptapd.0a | ⊢ (𝜑 → 𝐴 ∈ V) |
| fmptapd.0b | ⊢ (𝜑 → 𝐵 ∈ V) |
| fmptapd.1 | ⊢ (𝜑 → (𝑅 ∪ {𝐴}) = 𝑆) |
| fmptapd.2 | ⊢ ((𝜑 ∧ 𝑥 = 𝐴) → 𝐶 = 𝐵) |
| Ref | Expression |
|---|---|
| fmptapd | ⊢ (𝜑 → ((𝑥 ∈ 𝑅 ↦ 𝐶) ∪ {〈𝐴, 𝐵〉}) = (𝑥 ∈ 𝑆 ↦ 𝐶)) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | fmptapd.0a | . . . . 5 ⊢ (𝜑 → 𝐴 ∈ V) | |
| 2 | fmptapd.0b | . . . . 5 ⊢ (𝜑 → 𝐵 ∈ V) | |
| 3 | fmptsn 5842 | . . . . 5 ⊢ ((𝐴 ∈ V ∧ 𝐵 ∈ V) → {〈𝐴, 𝐵〉} = (𝑥 ∈ {𝐴} ↦ 𝐵)) | |
| 4 | 1, 2, 3 | syl2anc 411 | . . . 4 ⊢ (𝜑 → {〈𝐴, 𝐵〉} = (𝑥 ∈ {𝐴} ↦ 𝐵)) |
| 5 | elsni 3687 | . . . . . 6 ⊢ (𝑥 ∈ {𝐴} → 𝑥 = 𝐴) | |
| 6 | fmptapd.2 | . . . . . 6 ⊢ ((𝜑 ∧ 𝑥 = 𝐴) → 𝐶 = 𝐵) | |
| 7 | 5, 6 | sylan2 286 | . . . . 5 ⊢ ((𝜑 ∧ 𝑥 ∈ {𝐴}) → 𝐶 = 𝐵) |
| 8 | 7 | mpteq2dva 4179 | . . . 4 ⊢ (𝜑 → (𝑥 ∈ {𝐴} ↦ 𝐶) = (𝑥 ∈ {𝐴} ↦ 𝐵)) |
| 9 | 4, 8 | eqtr4d 2267 | . . 3 ⊢ (𝜑 → {〈𝐴, 𝐵〉} = (𝑥 ∈ {𝐴} ↦ 𝐶)) |
| 10 | 9 | uneq2d 3361 | . 2 ⊢ (𝜑 → ((𝑥 ∈ 𝑅 ↦ 𝐶) ∪ {〈𝐴, 𝐵〉}) = ((𝑥 ∈ 𝑅 ↦ 𝐶) ∪ (𝑥 ∈ {𝐴} ↦ 𝐶))) |
| 11 | mptun 5464 | . . 3 ⊢ (𝑥 ∈ (𝑅 ∪ {𝐴}) ↦ 𝐶) = ((𝑥 ∈ 𝑅 ↦ 𝐶) ∪ (𝑥 ∈ {𝐴} ↦ 𝐶)) | |
| 12 | 11 | a1i 9 | . 2 ⊢ (𝜑 → (𝑥 ∈ (𝑅 ∪ {𝐴}) ↦ 𝐶) = ((𝑥 ∈ 𝑅 ↦ 𝐶) ∪ (𝑥 ∈ {𝐴} ↦ 𝐶))) |
| 13 | fmptapd.1 | . . 3 ⊢ (𝜑 → (𝑅 ∪ {𝐴}) = 𝑆) | |
| 14 | 13 | mpteq1d 4174 | . 2 ⊢ (𝜑 → (𝑥 ∈ (𝑅 ∪ {𝐴}) ↦ 𝐶) = (𝑥 ∈ 𝑆 ↦ 𝐶)) |
| 15 | 10, 12, 14 | 3eqtr2d 2270 | 1 ⊢ (𝜑 → ((𝑥 ∈ 𝑅 ↦ 𝐶) ∪ {〈𝐴, 𝐵〉}) = (𝑥 ∈ 𝑆 ↦ 𝐶)) |
| Colors of variables: wff set class |
| Syntax hints: → wi 4 ∧ wa 104 = wceq 1397 ∈ wcel 2202 Vcvv 2802 ∪ cun 3198 {csn 3669 〈cop 3672 ↦ cmpt 4150 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-ia1 106 ax-ia2 107 ax-ia3 108 ax-io 716 ax-5 1495 ax-7 1496 ax-gen 1497 ax-ie1 1541 ax-ie2 1542 ax-8 1552 ax-10 1553 ax-11 1554 ax-i12 1555 ax-bndl 1557 ax-4 1558 ax-17 1574 ax-i9 1578 ax-ial 1582 ax-i5r 1583 ax-14 2205 ax-ext 2213 ax-sep 4207 ax-pow 4264 ax-pr 4299 |
| This theorem depends on definitions: df-bi 117 df-3an 1006 df-tru 1400 df-nf 1509 df-sb 1811 df-eu 2082 df-mo 2083 df-clab 2218 df-cleq 2224 df-clel 2227 df-nfc 2363 df-ral 2515 df-rex 2516 df-reu 2517 df-v 2804 df-un 3204 df-in 3206 df-ss 3213 df-pw 3654 df-sn 3675 df-pr 3676 df-op 3678 df-br 4089 df-opab 4151 df-mpt 4152 df-id 4390 df-xp 4731 df-rel 4732 df-cnv 4733 df-co 4734 df-dm 4735 df-rn 4736 df-fun 5328 df-fn 5329 df-f 5330 df-f1 5331 df-fo 5332 df-f1o 5333 |
| This theorem is referenced by: fmptpr 5845 |
| Copyright terms: Public domain | W3C validator |