MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  fvunsn Structured version   Visualization version   GIF version

Theorem fvunsn 7051
Description: Remove an ordered pair not participating in a function value. (Contributed by NM, 1-Oct-2013.) (Revised by Mario Carneiro, 28-May-2014.)
Assertion
Ref Expression
fvunsn (𝐵𝐷 → ((𝐴 ∪ {⟨𝐵, 𝐶⟩})‘𝐷) = (𝐴𝐷))

Proof of Theorem fvunsn
StepHypRef Expression
1 resundir 5906 . . . 4 ((𝐴 ∪ {⟨𝐵, 𝐶⟩}) ↾ {𝐷}) = ((𝐴 ↾ {𝐷}) ∪ ({⟨𝐵, 𝐶⟩} ↾ {𝐷}))
2 nelsn 4601 . . . . . . 7 (𝐵𝐷 → ¬ 𝐵 ∈ {𝐷})
3 ressnop0 7025 . . . . . . 7 𝐵 ∈ {𝐷} → ({⟨𝐵, 𝐶⟩} ↾ {𝐷}) = ∅)
42, 3syl 17 . . . . . 6 (𝐵𝐷 → ({⟨𝐵, 𝐶⟩} ↾ {𝐷}) = ∅)
54uneq2d 4097 . . . . 5 (𝐵𝐷 → ((𝐴 ↾ {𝐷}) ∪ ({⟨𝐵, 𝐶⟩} ↾ {𝐷})) = ((𝐴 ↾ {𝐷}) ∪ ∅))
6 un0 4324 . . . . 5 ((𝐴 ↾ {𝐷}) ∪ ∅) = (𝐴 ↾ {𝐷})
75, 6eqtrdi 2794 . . . 4 (𝐵𝐷 → ((𝐴 ↾ {𝐷}) ∪ ({⟨𝐵, 𝐶⟩} ↾ {𝐷})) = (𝐴 ↾ {𝐷}))
81, 7eqtrid 2790 . . 3 (𝐵𝐷 → ((𝐴 ∪ {⟨𝐵, 𝐶⟩}) ↾ {𝐷}) = (𝐴 ↾ {𝐷}))
98fveq1d 6776 . 2 (𝐵𝐷 → (((𝐴 ∪ {⟨𝐵, 𝐶⟩}) ↾ {𝐷})‘𝐷) = ((𝐴 ↾ {𝐷})‘𝐷))
10 fvressn 7034 . . 3 (𝐷 ∈ V → (((𝐴 ∪ {⟨𝐵, 𝐶⟩}) ↾ {𝐷})‘𝐷) = ((𝐴 ∪ {⟨𝐵, 𝐶⟩})‘𝐷))
11 fvprc 6766 . . . 4 𝐷 ∈ V → (((𝐴 ∪ {⟨𝐵, 𝐶⟩}) ↾ {𝐷})‘𝐷) = ∅)
12 fvprc 6766 . . . 4 𝐷 ∈ V → ((𝐴 ∪ {⟨𝐵, 𝐶⟩})‘𝐷) = ∅)
1311, 12eqtr4d 2781 . . 3 𝐷 ∈ V → (((𝐴 ∪ {⟨𝐵, 𝐶⟩}) ↾ {𝐷})‘𝐷) = ((𝐴 ∪ {⟨𝐵, 𝐶⟩})‘𝐷))
1410, 13pm2.61i 182 . 2 (((𝐴 ∪ {⟨𝐵, 𝐶⟩}) ↾ {𝐷})‘𝐷) = ((𝐴 ∪ {⟨𝐵, 𝐶⟩})‘𝐷)
15 fvressn 7034 . . 3 (𝐷 ∈ V → ((𝐴 ↾ {𝐷})‘𝐷) = (𝐴𝐷))
16 fvprc 6766 . . . 4 𝐷 ∈ V → ((𝐴 ↾ {𝐷})‘𝐷) = ∅)
17 fvprc 6766 . . . 4 𝐷 ∈ V → (𝐴𝐷) = ∅)
1816, 17eqtr4d 2781 . . 3 𝐷 ∈ V → ((𝐴 ↾ {𝐷})‘𝐷) = (𝐴𝐷))
1915, 18pm2.61i 182 . 2 ((𝐴 ↾ {𝐷})‘𝐷) = (𝐴𝐷)
209, 14, 193eqtr3g 2801 1 (𝐵𝐷 → ((𝐴 ∪ {⟨𝐵, 𝐶⟩})‘𝐷) = (𝐴𝐷))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4   = wceq 1539  wcel 2106  wne 2943  Vcvv 3432  cun 3885  c0 4256  {csn 4561  cop 4567  cres 5591  cfv 6433
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-ne 2944  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-opab 5137  df-xp 5595  df-res 5601  df-iota 6391  df-fv 6441
This theorem is referenced by:  fvpr1g  7062  fvpr2gOLD  7064  fvpr1OLD  7066  fvtp1  7070  fvtp1g  7073  ac6sfi  9058  cats1un  14434  ruclem6  15944  ruclem7  15945  wlkp1lem5  28045  wlkp1lem6  28046  fnchoice  42572  nnsum4primeseven  45252  nnsum4primesevenALTV  45253
  Copyright terms: Public domain W3C validator