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

Theorem fvunsn 7033
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 5895 . . . 4 ((𝐴 ∪ {⟨𝐵, 𝐶⟩}) ↾ {𝐷}) = ((𝐴 ↾ {𝐷}) ∪ ({⟨𝐵, 𝐶⟩} ↾ {𝐷}))
2 nelsn 4598 . . . . . . 7 (𝐵𝐷 → ¬ 𝐵 ∈ {𝐷})
3 ressnop0 7007 . . . . . . 7 𝐵 ∈ {𝐷} → ({⟨𝐵, 𝐶⟩} ↾ {𝐷}) = ∅)
42, 3syl 17 . . . . . 6 (𝐵𝐷 → ({⟨𝐵, 𝐶⟩} ↾ {𝐷}) = ∅)
54uneq2d 4093 . . . . 5 (𝐵𝐷 → ((𝐴 ↾ {𝐷}) ∪ ({⟨𝐵, 𝐶⟩} ↾ {𝐷})) = ((𝐴 ↾ {𝐷}) ∪ ∅))
6 un0 4321 . . . . 5 ((𝐴 ↾ {𝐷}) ∪ ∅) = (𝐴 ↾ {𝐷})
75, 6eqtrdi 2795 . . . 4 (𝐵𝐷 → ((𝐴 ↾ {𝐷}) ∪ ({⟨𝐵, 𝐶⟩} ↾ {𝐷})) = (𝐴 ↾ {𝐷}))
81, 7eqtrid 2790 . . 3 (𝐵𝐷 → ((𝐴 ∪ {⟨𝐵, 𝐶⟩}) ↾ {𝐷}) = (𝐴 ↾ {𝐷}))
98fveq1d 6758 . 2 (𝐵𝐷 → (((𝐴 ∪ {⟨𝐵, 𝐶⟩}) ↾ {𝐷})‘𝐷) = ((𝐴 ↾ {𝐷})‘𝐷))
10 fvressn 7016 . . 3 (𝐷 ∈ V → (((𝐴 ∪ {⟨𝐵, 𝐶⟩}) ↾ {𝐷})‘𝐷) = ((𝐴 ∪ {⟨𝐵, 𝐶⟩})‘𝐷))
11 fvprc 6748 . . . 4 𝐷 ∈ V → (((𝐴 ∪ {⟨𝐵, 𝐶⟩}) ↾ {𝐷})‘𝐷) = ∅)
12 fvprc 6748 . . . 4 𝐷 ∈ V → ((𝐴 ∪ {⟨𝐵, 𝐶⟩})‘𝐷) = ∅)
1311, 12eqtr4d 2781 . . 3 𝐷 ∈ V → (((𝐴 ∪ {⟨𝐵, 𝐶⟩}) ↾ {𝐷})‘𝐷) = ((𝐴 ∪ {⟨𝐵, 𝐶⟩})‘𝐷))
1410, 13pm2.61i 182 . 2 (((𝐴 ∪ {⟨𝐵, 𝐶⟩}) ↾ {𝐷})‘𝐷) = ((𝐴 ∪ {⟨𝐵, 𝐶⟩})‘𝐷)
15 fvressn 7016 . . 3 (𝐷 ∈ V → ((𝐴 ↾ {𝐷})‘𝐷) = (𝐴𝐷))
16 fvprc 6748 . . . 4 𝐷 ∈ V → ((𝐴 ↾ {𝐷})‘𝐷) = ∅)
17 fvprc 6748 . . . 4 𝐷 ∈ V → (𝐴𝐷) = ∅)
1816, 17eqtr4d 2781 . . 3 𝐷 ∈ V → ((𝐴 ↾ {𝐷})‘𝐷) = (𝐴𝐷))
1915, 18pm2.61i 182 . 2 ((𝐴 ↾ {𝐷})‘𝐷) = (𝐴𝐷)
209, 14, 193eqtr3g 2802 1 (𝐵𝐷 → ((𝐴 ∪ {⟨𝐵, 𝐶⟩})‘𝐷) = (𝐴𝐷))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4   = wceq 1539  wcel 2108  wne 2942  Vcvv 3422  cun 3881  c0 4253  {csn 4558  cop 4564  cres 5582  cfv 6418
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-ne 2943  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-xp 5586  df-res 5592  df-iota 6376  df-fv 6426
This theorem is referenced by:  fvpr1g  7044  fvpr2gOLD  7046  fvpr1OLD  7048  fvtp1  7052  fvtp1g  7055  ac6sfi  8988  cats1un  14362  ruclem6  15872  ruclem7  15873  wlkp1lem5  27947  wlkp1lem6  27948  fnchoice  42461  nnsum4primeseven  45140  nnsum4primesevenALTV  45141
  Copyright terms: Public domain W3C validator