| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > fvunsn | Structured version Visualization version GIF version | ||
| Description: Remove an ordered pair not participating in a function value. (Contributed by NM, 1-Oct-2013.) (Revised by Mario Carneiro, 28-May-2014.) |
| Ref | Expression |
|---|---|
| fvunsn | ⊢ (𝐵 ≠ 𝐷 → ((𝐴 ∪ {〈𝐵, 𝐶〉})‘𝐷) = (𝐴‘𝐷)) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | resundir 5981 | . . . 4 ⊢ ((𝐴 ∪ {〈𝐵, 𝐶〉}) ↾ {𝐷}) = ((𝐴 ↾ {𝐷}) ∪ ({〈𝐵, 𝐶〉} ↾ {𝐷})) | |
| 2 | nelsn 4642 | . . . . . . 7 ⊢ (𝐵 ≠ 𝐷 → ¬ 𝐵 ∈ {𝐷}) | |
| 3 | ressnop0 7142 | . . . . . . 7 ⊢ (¬ 𝐵 ∈ {𝐷} → ({〈𝐵, 𝐶〉} ↾ {𝐷}) = ∅) | |
| 4 | 2, 3 | syl 17 | . . . . . 6 ⊢ (𝐵 ≠ 𝐷 → ({〈𝐵, 𝐶〉} ↾ {𝐷}) = ∅) |
| 5 | 4 | uneq2d 4143 | . . . . 5 ⊢ (𝐵 ≠ 𝐷 → ((𝐴 ↾ {𝐷}) ∪ ({〈𝐵, 𝐶〉} ↾ {𝐷})) = ((𝐴 ↾ {𝐷}) ∪ ∅)) |
| 6 | un0 4369 | . . . . 5 ⊢ ((𝐴 ↾ {𝐷}) ∪ ∅) = (𝐴 ↾ {𝐷}) | |
| 7 | 5, 6 | eqtrdi 2786 | . . . 4 ⊢ (𝐵 ≠ 𝐷 → ((𝐴 ↾ {𝐷}) ∪ ({〈𝐵, 𝐶〉} ↾ {𝐷})) = (𝐴 ↾ {𝐷})) |
| 8 | 1, 7 | eqtrid 2782 | . . 3 ⊢ (𝐵 ≠ 𝐷 → ((𝐴 ∪ {〈𝐵, 𝐶〉}) ↾ {𝐷}) = (𝐴 ↾ {𝐷})) |
| 9 | 8 | fveq1d 6877 | . 2 ⊢ (𝐵 ≠ 𝐷 → (((𝐴 ∪ {〈𝐵, 𝐶〉}) ↾ {𝐷})‘𝐷) = ((𝐴 ↾ {𝐷})‘𝐷)) |
| 10 | fvressn 7151 | . . 3 ⊢ (𝐷 ∈ V → (((𝐴 ∪ {〈𝐵, 𝐶〉}) ↾ {𝐷})‘𝐷) = ((𝐴 ∪ {〈𝐵, 𝐶〉})‘𝐷)) | |
| 11 | fvprc 6867 | . . . 4 ⊢ (¬ 𝐷 ∈ V → (((𝐴 ∪ {〈𝐵, 𝐶〉}) ↾ {𝐷})‘𝐷) = ∅) | |
| 12 | fvprc 6867 | . . . 4 ⊢ (¬ 𝐷 ∈ V → ((𝐴 ∪ {〈𝐵, 𝐶〉})‘𝐷) = ∅) | |
| 13 | 11, 12 | eqtr4d 2773 | . . 3 ⊢ (¬ 𝐷 ∈ V → (((𝐴 ∪ {〈𝐵, 𝐶〉}) ↾ {𝐷})‘𝐷) = ((𝐴 ∪ {〈𝐵, 𝐶〉})‘𝐷)) |
| 14 | 10, 13 | pm2.61i 182 | . 2 ⊢ (((𝐴 ∪ {〈𝐵, 𝐶〉}) ↾ {𝐷})‘𝐷) = ((𝐴 ∪ {〈𝐵, 𝐶〉})‘𝐷) |
| 15 | fvressn 7151 | . . 3 ⊢ (𝐷 ∈ V → ((𝐴 ↾ {𝐷})‘𝐷) = (𝐴‘𝐷)) | |
| 16 | fvprc 6867 | . . . 4 ⊢ (¬ 𝐷 ∈ V → ((𝐴 ↾ {𝐷})‘𝐷) = ∅) | |
| 17 | fvprc 6867 | . . . 4 ⊢ (¬ 𝐷 ∈ V → (𝐴‘𝐷) = ∅) | |
| 18 | 16, 17 | eqtr4d 2773 | . . 3 ⊢ (¬ 𝐷 ∈ V → ((𝐴 ↾ {𝐷})‘𝐷) = (𝐴‘𝐷)) |
| 19 | 15, 18 | pm2.61i 182 | . 2 ⊢ ((𝐴 ↾ {𝐷})‘𝐷) = (𝐴‘𝐷) |
| 20 | 9, 14, 19 | 3eqtr3g 2793 | 1 ⊢ (𝐵 ≠ 𝐷 → ((𝐴 ∪ {〈𝐵, 𝐶〉})‘𝐷) = (𝐴‘𝐷)) |
| Colors of variables: wff setvar class |
| Syntax hints: ¬ wn 3 → wi 4 = wceq 1540 ∈ wcel 2108 ≠ wne 2932 Vcvv 3459 ∪ cun 3924 ∅c0 4308 {csn 4601 〈cop 4607 ↾ cres 5656 ‘cfv 6530 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1795 ax-4 1809 ax-5 1910 ax-6 1967 ax-7 2007 ax-8 2110 ax-9 2118 ax-10 2141 ax-11 2157 ax-12 2177 ax-ext 2707 ax-sep 5266 ax-nul 5276 ax-pr 5402 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 848 df-3an 1088 df-tru 1543 df-fal 1553 df-ex 1780 df-nf 1784 df-sb 2065 df-mo 2539 df-eu 2568 df-clab 2714 df-cleq 2727 df-clel 2809 df-ne 2933 df-ral 3052 df-rex 3061 df-rab 3416 df-v 3461 df-dif 3929 df-un 3931 df-in 3933 df-ss 3943 df-nul 4309 df-if 4501 df-sn 4602 df-pr 4604 df-op 4608 df-uni 4884 df-br 5120 df-opab 5182 df-xp 5660 df-res 5666 df-iota 6483 df-fv 6538 |
| This theorem is referenced by: fvpr1g 7181 fvtp1 7186 fvtp1g 7189 f1ounsn 7264 ac6sfi 9290 cats1un 14737 ruclem6 16251 ruclem7 16252 wlkp1lem5 29603 wlkp1lem6 29604 fnchoice 45001 nnsum4primeseven 47762 nnsum4primesevenALTV 47763 |
| Copyright terms: Public domain | W3C validator |