| 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 5968 | . . . 4 ⊢ ((𝐴 ∪ {〈𝐵, 𝐶〉}) ↾ {𝐷}) = ((𝐴 ↾ {𝐷}) ∪ ({〈𝐵, 𝐶〉} ↾ {𝐷})) | |
| 2 | nelsn 4633 | . . . . . . 7 ⊢ (𝐵 ≠ 𝐷 → ¬ 𝐵 ∈ {𝐷}) | |
| 3 | ressnop0 7128 | . . . . . . 7 ⊢ (¬ 𝐵 ∈ {𝐷} → ({〈𝐵, 𝐶〉} ↾ {𝐷}) = ∅) | |
| 4 | 2, 3 | syl 17 | . . . . . 6 ⊢ (𝐵 ≠ 𝐷 → ({〈𝐵, 𝐶〉} ↾ {𝐷}) = ∅) |
| 5 | 4 | uneq2d 4134 | . . . . 5 ⊢ (𝐵 ≠ 𝐷 → ((𝐴 ↾ {𝐷}) ∪ ({〈𝐵, 𝐶〉} ↾ {𝐷})) = ((𝐴 ↾ {𝐷}) ∪ ∅)) |
| 6 | un0 4360 | . . . . 5 ⊢ ((𝐴 ↾ {𝐷}) ∪ ∅) = (𝐴 ↾ {𝐷}) | |
| 7 | 5, 6 | eqtrdi 2781 | . . . 4 ⊢ (𝐵 ≠ 𝐷 → ((𝐴 ↾ {𝐷}) ∪ ({〈𝐵, 𝐶〉} ↾ {𝐷})) = (𝐴 ↾ {𝐷})) |
| 8 | 1, 7 | eqtrid 2777 | . . 3 ⊢ (𝐵 ≠ 𝐷 → ((𝐴 ∪ {〈𝐵, 𝐶〉}) ↾ {𝐷}) = (𝐴 ↾ {𝐷})) |
| 9 | 8 | fveq1d 6863 | . 2 ⊢ (𝐵 ≠ 𝐷 → (((𝐴 ∪ {〈𝐵, 𝐶〉}) ↾ {𝐷})‘𝐷) = ((𝐴 ↾ {𝐷})‘𝐷)) |
| 10 | fvressn 7137 | . . 3 ⊢ (𝐷 ∈ V → (((𝐴 ∪ {〈𝐵, 𝐶〉}) ↾ {𝐷})‘𝐷) = ((𝐴 ∪ {〈𝐵, 𝐶〉})‘𝐷)) | |
| 11 | fvprc 6853 | . . . 4 ⊢ (¬ 𝐷 ∈ V → (((𝐴 ∪ {〈𝐵, 𝐶〉}) ↾ {𝐷})‘𝐷) = ∅) | |
| 12 | fvprc 6853 | . . . 4 ⊢ (¬ 𝐷 ∈ V → ((𝐴 ∪ {〈𝐵, 𝐶〉})‘𝐷) = ∅) | |
| 13 | 11, 12 | eqtr4d 2768 | . . 3 ⊢ (¬ 𝐷 ∈ V → (((𝐴 ∪ {〈𝐵, 𝐶〉}) ↾ {𝐷})‘𝐷) = ((𝐴 ∪ {〈𝐵, 𝐶〉})‘𝐷)) |
| 14 | 10, 13 | pm2.61i 182 | . 2 ⊢ (((𝐴 ∪ {〈𝐵, 𝐶〉}) ↾ {𝐷})‘𝐷) = ((𝐴 ∪ {〈𝐵, 𝐶〉})‘𝐷) |
| 15 | fvressn 7137 | . . 3 ⊢ (𝐷 ∈ V → ((𝐴 ↾ {𝐷})‘𝐷) = (𝐴‘𝐷)) | |
| 16 | fvprc 6853 | . . . 4 ⊢ (¬ 𝐷 ∈ V → ((𝐴 ↾ {𝐷})‘𝐷) = ∅) | |
| 17 | fvprc 6853 | . . . 4 ⊢ (¬ 𝐷 ∈ V → (𝐴‘𝐷) = ∅) | |
| 18 | 16, 17 | eqtr4d 2768 | . . 3 ⊢ (¬ 𝐷 ∈ V → ((𝐴 ↾ {𝐷})‘𝐷) = (𝐴‘𝐷)) |
| 19 | 15, 18 | pm2.61i 182 | . 2 ⊢ ((𝐴 ↾ {𝐷})‘𝐷) = (𝐴‘𝐷) |
| 20 | 9, 14, 19 | 3eqtr3g 2788 | 1 ⊢ (𝐵 ≠ 𝐷 → ((𝐴 ∪ {〈𝐵, 𝐶〉})‘𝐷) = (𝐴‘𝐷)) |
| Colors of variables: wff setvar class |
| Syntax hints: ¬ wn 3 → wi 4 = wceq 1540 ∈ wcel 2109 ≠ wne 2926 Vcvv 3450 ∪ cun 3915 ∅c0 4299 {csn 4592 〈cop 4598 ↾ cres 5643 ‘cfv 6514 |
| 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 2008 ax-8 2111 ax-9 2119 ax-10 2142 ax-11 2158 ax-12 2178 ax-ext 2702 ax-sep 5254 ax-nul 5264 ax-pr 5390 |
| 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 2066 df-mo 2534 df-eu 2563 df-clab 2709 df-cleq 2722 df-clel 2804 df-ne 2927 df-ral 3046 df-rex 3055 df-rab 3409 df-v 3452 df-dif 3920 df-un 3922 df-in 3924 df-ss 3934 df-nul 4300 df-if 4492 df-sn 4593 df-pr 4595 df-op 4599 df-uni 4875 df-br 5111 df-opab 5173 df-xp 5647 df-res 5653 df-iota 6467 df-fv 6522 |
| This theorem is referenced by: fvpr1g 7167 fvtp1 7172 fvtp1g 7175 f1ounsn 7250 ac6sfi 9238 cats1un 14693 ruclem6 16210 ruclem7 16211 wlkp1lem5 29612 wlkp1lem6 29613 fnchoice 45030 nnsum4primeseven 47805 nnsum4primesevenALTV 47806 |
| Copyright terms: Public domain | W3C validator |