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 5373 | . . . . 5 ⊢ ((𝐴 ∈ V ∧ 𝐵 ∈ V) → {〈𝐴, 𝐵〉} = (𝑥 ∈ {𝐴} ↦ 𝐵)) | |
4 | 1, 2, 3 | syl2anc 403 | . . . 4 ⊢ (𝜑 → {〈𝐴, 𝐵〉} = (𝑥 ∈ {𝐴} ↦ 𝐵)) |
5 | elsni 3416 | . . . . . 6 ⊢ (𝑥 ∈ {𝐴} → 𝑥 = 𝐴) | |
6 | fmptapd.2 | . . . . . 6 ⊢ ((𝜑 ∧ 𝑥 = 𝐴) → 𝐶 = 𝐵) | |
7 | 5, 6 | sylan2 280 | . . . . 5 ⊢ ((𝜑 ∧ 𝑥 ∈ {𝐴}) → 𝐶 = 𝐵) |
8 | 7 | mpteq2dva 3868 | . . . 4 ⊢ (𝜑 → (𝑥 ∈ {𝐴} ↦ 𝐶) = (𝑥 ∈ {𝐴} ↦ 𝐵)) |
9 | 4, 8 | eqtr4d 2116 | . . 3 ⊢ (𝜑 → {〈𝐴, 𝐵〉} = (𝑥 ∈ {𝐴} ↦ 𝐶)) |
10 | 9 | uneq2d 3126 | . 2 ⊢ (𝜑 → ((𝑥 ∈ 𝑅 ↦ 𝐶) ∪ {〈𝐴, 𝐵〉}) = ((𝑥 ∈ 𝑅 ↦ 𝐶) ∪ (𝑥 ∈ {𝐴} ↦ 𝐶))) |
11 | mptun 5049 | . . 3 ⊢ (𝑥 ∈ (𝑅 ∪ {𝐴}) ↦ 𝐶) = ((𝑥 ∈ 𝑅 ↦ 𝐶) ∪ (𝑥 ∈ {𝐴} ↦ 𝐶)) | |
12 | 11 | a1i 9 | . 2 ⊢ (𝜑 → (𝑥 ∈ (𝑅 ∪ {𝐴}) ↦ 𝐶) = ((𝑥 ∈ 𝑅 ↦ 𝐶) ∪ (𝑥 ∈ {𝐴} ↦ 𝐶))) |
13 | fmptapd.1 | . . 3 ⊢ (𝜑 → (𝑅 ∪ {𝐴}) = 𝑆) | |
14 | 13 | mpteq1d 3863 | . 2 ⊢ (𝜑 → (𝑥 ∈ (𝑅 ∪ {𝐴}) ↦ 𝐶) = (𝑥 ∈ 𝑆 ↦ 𝐶)) |
15 | 10, 12, 14 | 3eqtr2d 2119 | 1 ⊢ (𝜑 → ((𝑥 ∈ 𝑅 ↦ 𝐶) ∪ {〈𝐴, 𝐵〉}) = (𝑥 ∈ 𝑆 ↦ 𝐶)) |
Colors of variables: wff set class |
Syntax hints: → wi 4 ∧ wa 102 = wceq 1284 ∈ wcel 1433 Vcvv 2601 ∪ cun 2971 {csn 3398 〈cop 3401 ↦ cmpt 3839 |
This theorem was proved from axioms: ax-1 5 ax-2 6 ax-mp 7 ax-ia1 104 ax-ia2 105 ax-ia3 106 ax-io 662 ax-5 1376 ax-7 1377 ax-gen 1378 ax-ie1 1422 ax-ie2 1423 ax-8 1435 ax-10 1436 ax-11 1437 ax-i12 1438 ax-bndl 1439 ax-4 1440 ax-14 1445 ax-17 1459 ax-i9 1463 ax-ial 1467 ax-i5r 1468 ax-ext 2063 ax-sep 3896 ax-pow 3948 ax-pr 3964 |
This theorem depends on definitions: df-bi 115 df-3an 921 df-tru 1287 df-nf 1390 df-sb 1686 df-eu 1944 df-mo 1945 df-clab 2068 df-cleq 2074 df-clel 2077 df-nfc 2208 df-ral 2353 df-rex 2354 df-reu 2355 df-v 2603 df-un 2977 df-in 2979 df-ss 2986 df-pw 3384 df-sn 3404 df-pr 3405 df-op 3407 df-br 3786 df-opab 3840 df-mpt 3841 df-id 4048 df-xp 4369 df-rel 4370 df-cnv 4371 df-co 4372 df-dm 4373 df-rn 4374 df-fun 4924 df-fn 4925 df-f 4926 df-f1 4927 df-fo 4928 df-f1o 4929 |
This theorem is referenced by: fmptpr 5376 |
Copyright terms: Public domain | W3C validator |