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

Theorem fvunsn 7230
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 6009 . . . 4 ((𝐴 ∪ {⟨𝐵, 𝐶⟩}) ↾ {𝐷}) = ((𝐴 ↾ {𝐷}) ∪ ({⟨𝐵, 𝐶⟩} ↾ {𝐷}))
2 nelsn 4635 . . . . . . 7 (𝐵 ≠ 𝐷 → ¬ 𝐵 ∈ {𝐷})
3 ressnop0 7204 . . . . . . 7 (¬ 𝐵 ∈ {𝐷} → ({⟨𝐵, 𝐶⟩} ↾ {𝐷}) = ∅)
42, 3syl 18 . . . . . 6 (𝐵 ≠ 𝐷 → ({⟨𝐵, 𝐶⟩} ↾ {𝐷}) = ∅)
54uneq2d 4177 . . . . 5 (𝐵 ≠ 𝐷 → ((𝐴 ↾ {𝐷}) ∪ ({⟨𝐵, 𝐶⟩} ↾ {𝐷})) = ((𝐴 ↾ {𝐷}) ∪ ∅))
6 un0 4354 . . . . 5 ((𝐴 ↾ {𝐷}) ∪ ∅) = (𝐴 ↾ {𝐷})
75, 6eqtrdi 2825 . . . 4 (𝐵 ≠ 𝐷 → ((𝐴 ↾ {𝐷}) ∪ ({⟨𝐵, 𝐶⟩} ↾ {𝐷})) = (𝐴 ↾ {𝐷}))
81, 7eqtrid 2821 . . 3 (𝐵 ≠ 𝐷 → ((𝐴 ∪ {⟨𝐵, 𝐶⟩}) ↾ {𝐷}) = (𝐴 ↾ {𝐷}))
98fveq1d 6933 . 2 (𝐵 ≠ 𝐷 → (((𝐴 ∪ {⟨𝐵, 𝐶⟩}) ↾ {𝐷})‘𝐷) = ((𝐴 ↾ {𝐷})‘𝐷))
10 fvressn 7213 . . 3 (𝐷 ∈ V → (((𝐴 ∪ {⟨𝐵, 𝐶⟩}) ↾ {𝐷})‘𝐷) = ((𝐴 ∪ {⟨𝐵, 𝐶⟩})‘𝐷))
11 fvprc 6923 . . . 4 (¬ 𝐷 ∈ V → (((𝐴 ∪ {⟨𝐵, 𝐶⟩}) ↾ {𝐷})‘𝐷) = ∅)
12 fvprc 6923 . . . 4 (¬ 𝐷 ∈ V → ((𝐴 ∪ {⟨𝐵, 𝐶⟩})‘𝐷) = ∅)
1311, 12eqtr4d 2812 . . 3 (¬ 𝐷 ∈ V → (((𝐴 ∪ {⟨𝐵, 𝐶⟩}) ↾ {𝐷})‘𝐷) = ((𝐴 ∪ {⟨𝐵, 𝐶⟩})‘𝐷))
1410, 13pm2.61i 184 . 2 (((𝐴 ∪ {⟨𝐵, 𝐶⟩}) ↾ {𝐷})‘𝐷) = ((𝐴 ∪ {⟨𝐵, 𝐶⟩})‘𝐷)
15 fvressn 7213 . . 3 (𝐷 ∈ V → ((𝐴 ↾ {𝐷})‘𝐷) = (𝐴‘𝐷))
16 fvprc 6923 . . . 4 (¬ 𝐷 ∈ V → ((𝐴 ↾ {𝐷})‘𝐷) = ∅)
17 fvprc 6923 . . . 4 (¬ 𝐷 ∈ V → (𝐴‘𝐷) = ∅)
1816, 17eqtr4d 2812 . . 3 (¬ 𝐷 ∈ V → ((𝐴 ↾ {𝐷})‘𝐷) = (𝐴‘𝐷))
1915, 18pm2.61i 184 . 2 ((𝐴 ↾ {𝐷})‘𝐷) = (𝐴‘𝐷)
209, 14, 193eqtr3g 2832 1 (𝐵 ≠ 𝐷 → ((𝐴 ∪ {⟨𝐵, 𝐶⟩})‘𝐷) = (𝐴‘𝐷))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   = wceq 1572   ∈ wcel 2156   ≠ wne 2970  Vcvv 3461   ∪ cun 4159  ∅c0 4288  {csn 4595  ⟨cop 4848   ↾ cres 5668  ‘cfv 6578
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-ext 2746  ax-sep 5263  ax-nul 5274  ax-pr 5406
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-ne 2971  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-br 5117  df-opab 5182  df-xp 5672  df-res 5678  df-iota 6532  df-fv 6586
This theorem is used by:  fvpr1g  7241  fvtp1  7246  fvtp1g  7249  f1ounsn  7326  ac6sfi  9329  cats1un  14930  ruclem6  16464  ruclem7  16465  wlkp1lem5  30401  wlkp1lem6  30402  fnchoice  46460  nnsum4primeseven  49309  nnsum4primesevenALTV  49310
  Copyright terms: Public domain W3C validator