| 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 5938 | . . . 4 ⊢ ((𝐴 ∪ {〈𝐵, 𝐶〉}) ↾ {𝐷}) = ((𝐴 ↾ {𝐷}) ∪ ({〈𝐵, 𝐶〉} ↾ {𝐷})) | |
| 2 | nelsn 4614 | . . . . . . 7 ⊢ (𝐵 ≠ 𝐷 → ¬ 𝐵 ∈ {𝐷}) | |
| 3 | ressnop0 7081 | . . . . . . 7 ⊢ (¬ 𝐵 ∈ {𝐷} → ({〈𝐵, 𝐶〉} ↾ {𝐷}) = ∅) | |
| 4 | 2, 3 | syl 17 | . . . . . 6 ⊢ (𝐵 ≠ 𝐷 → ({〈𝐵, 𝐶〉} ↾ {𝐷}) = ∅) |
| 5 | 4 | uneq2d 4113 | . . . . 5 ⊢ (𝐵 ≠ 𝐷 → ((𝐴 ↾ {𝐷}) ∪ ({〈𝐵, 𝐶〉} ↾ {𝐷})) = ((𝐴 ↾ {𝐷}) ∪ ∅)) |
| 6 | un0 4339 | . . . . 5 ⊢ ((𝐴 ↾ {𝐷}) ∪ ∅) = (𝐴 ↾ {𝐷}) | |
| 7 | 5, 6 | eqtrdi 2782 | . . . 4 ⊢ (𝐵 ≠ 𝐷 → ((𝐴 ↾ {𝐷}) ∪ ({〈𝐵, 𝐶〉} ↾ {𝐷})) = (𝐴 ↾ {𝐷})) |
| 8 | 1, 7 | eqtrid 2778 | . . 3 ⊢ (𝐵 ≠ 𝐷 → ((𝐴 ∪ {〈𝐵, 𝐶〉}) ↾ {𝐷}) = (𝐴 ↾ {𝐷})) |
| 9 | 8 | fveq1d 6819 | . 2 ⊢ (𝐵 ≠ 𝐷 → (((𝐴 ∪ {〈𝐵, 𝐶〉}) ↾ {𝐷})‘𝐷) = ((𝐴 ↾ {𝐷})‘𝐷)) |
| 10 | fvressn 7090 | . . 3 ⊢ (𝐷 ∈ V → (((𝐴 ∪ {〈𝐵, 𝐶〉}) ↾ {𝐷})‘𝐷) = ((𝐴 ∪ {〈𝐵, 𝐶〉})‘𝐷)) | |
| 11 | fvprc 6809 | . . . 4 ⊢ (¬ 𝐷 ∈ V → (((𝐴 ∪ {〈𝐵, 𝐶〉}) ↾ {𝐷})‘𝐷) = ∅) | |
| 12 | fvprc 6809 | . . . 4 ⊢ (¬ 𝐷 ∈ V → ((𝐴 ∪ {〈𝐵, 𝐶〉})‘𝐷) = ∅) | |
| 13 | 11, 12 | eqtr4d 2769 | . . 3 ⊢ (¬ 𝐷 ∈ V → (((𝐴 ∪ {〈𝐵, 𝐶〉}) ↾ {𝐷})‘𝐷) = ((𝐴 ∪ {〈𝐵, 𝐶〉})‘𝐷)) |
| 14 | 10, 13 | pm2.61i 182 | . 2 ⊢ (((𝐴 ∪ {〈𝐵, 𝐶〉}) ↾ {𝐷})‘𝐷) = ((𝐴 ∪ {〈𝐵, 𝐶〉})‘𝐷) |
| 15 | fvressn 7090 | . . 3 ⊢ (𝐷 ∈ V → ((𝐴 ↾ {𝐷})‘𝐷) = (𝐴‘𝐷)) | |
| 16 | fvprc 6809 | . . . 4 ⊢ (¬ 𝐷 ∈ V → ((𝐴 ↾ {𝐷})‘𝐷) = ∅) | |
| 17 | fvprc 6809 | . . . 4 ⊢ (¬ 𝐷 ∈ V → (𝐴‘𝐷) = ∅) | |
| 18 | 16, 17 | eqtr4d 2769 | . . 3 ⊢ (¬ 𝐷 ∈ V → ((𝐴 ↾ {𝐷})‘𝐷) = (𝐴‘𝐷)) |
| 19 | 15, 18 | pm2.61i 182 | . 2 ⊢ ((𝐴 ↾ {𝐷})‘𝐷) = (𝐴‘𝐷) |
| 20 | 9, 14, 19 | 3eqtr3g 2789 | 1 ⊢ (𝐵 ≠ 𝐷 → ((𝐴 ∪ {〈𝐵, 𝐶〉})‘𝐷) = (𝐴‘𝐷)) |
| Colors of variables: wff setvar class |
| Syntax hints: ¬ wn 3 → wi 4 = wceq 1541 ∈ wcel 2111 ≠ wne 2928 Vcvv 3436 ∪ cun 3895 ∅c0 4278 {csn 4571 〈cop 4577 ↾ cres 5613 ‘cfv 6476 |
| 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 2113 ax-9 2121 ax-ext 2703 ax-sep 5229 ax-nul 5239 ax-pr 5365 |
| 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-sb 2068 df-mo 2535 df-eu 2564 df-clab 2710 df-cleq 2723 df-clel 2806 df-ne 2929 df-ral 3048 df-rex 3057 df-rab 3396 df-v 3438 df-dif 3900 df-un 3902 df-in 3904 df-ss 3914 df-nul 4279 df-if 4471 df-sn 4572 df-pr 4574 df-op 4578 df-uni 4855 df-br 5087 df-opab 5149 df-xp 5617 df-res 5623 df-iota 6432 df-fv 6484 |
| This theorem is referenced by: fvpr1g 7119 fvtp1 7124 fvtp1g 7127 f1ounsn 7201 ac6sfi 9163 cats1un 14623 ruclem6 16139 ruclem7 16140 wlkp1lem5 29649 wlkp1lem6 29650 fnchoice 45066 nnsum4primeseven 47831 nnsum4primesevenALTV 47832 |
| Copyright terms: Public domain | W3C validator |