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

Theorem fvsnun1 6641
Description: The value of a function with one of its ordered pairs replaced, at the replaced ordered pair. See also fvsnun2 6642. (Contributed by NM, 23-Sep-2007.)
Hypotheses
Ref Expression
fvsnun.1 𝐴 ∈ V
fvsnun.2 𝐵 ∈ V
fvsnun.3 𝐺 = ({⟨𝐴, 𝐵⟩} ∪ (𝐹 ↾ (𝐶 ∖ {𝐴})))
Assertion
Ref Expression
fvsnun1 (𝐺𝐴) = 𝐵

Proof of Theorem fvsnun1
StepHypRef Expression
1 fvsnun.3 . . . . 5 𝐺 = ({⟨𝐴, 𝐵⟩} ∪ (𝐹 ↾ (𝐶 ∖ {𝐴})))
21reseq1i 5561 . . . 4 (𝐺 ↾ {𝐴}) = (({⟨𝐴, 𝐵⟩} ∪ (𝐹 ↾ (𝐶 ∖ {𝐴}))) ↾ {𝐴})
3 resundir 5587 . . . . 5 (({⟨𝐴, 𝐵⟩} ∪ (𝐹 ↾ (𝐶 ∖ {𝐴}))) ↾ {𝐴}) = (({⟨𝐴, 𝐵⟩} ↾ {𝐴}) ∪ ((𝐹 ↾ (𝐶 ∖ {𝐴})) ↾ {𝐴}))
4 incom 3967 . . . . . . . . 9 ((𝐶 ∖ {𝐴}) ∩ {𝐴}) = ({𝐴} ∩ (𝐶 ∖ {𝐴}))
5 disjdif 4200 . . . . . . . . 9 ({𝐴} ∩ (𝐶 ∖ {𝐴})) = ∅
64, 5eqtri 2787 . . . . . . . 8 ((𝐶 ∖ {𝐴}) ∩ {𝐴}) = ∅
7 resdisj 5746 . . . . . . . 8 (((𝐶 ∖ {𝐴}) ∩ {𝐴}) = ∅ → ((𝐹 ↾ (𝐶 ∖ {𝐴})) ↾ {𝐴}) = ∅)
86, 7ax-mp 5 . . . . . . 7 ((𝐹 ↾ (𝐶 ∖ {𝐴})) ↾ {𝐴}) = ∅
98uneq2i 3926 . . . . . 6 (({⟨𝐴, 𝐵⟩} ↾ {𝐴}) ∪ ((𝐹 ↾ (𝐶 ∖ {𝐴})) ↾ {𝐴})) = (({⟨𝐴, 𝐵⟩} ↾ {𝐴}) ∪ ∅)
10 un0 4129 . . . . . 6 (({⟨𝐴, 𝐵⟩} ↾ {𝐴}) ∪ ∅) = ({⟨𝐴, 𝐵⟩} ↾ {𝐴})
119, 10eqtri 2787 . . . . 5 (({⟨𝐴, 𝐵⟩} ↾ {𝐴}) ∪ ((𝐹 ↾ (𝐶 ∖ {𝐴})) ↾ {𝐴})) = ({⟨𝐴, 𝐵⟩} ↾ {𝐴})
123, 11eqtri 2787 . . . 4 (({⟨𝐴, 𝐵⟩} ∪ (𝐹 ↾ (𝐶 ∖ {𝐴}))) ↾ {𝐴}) = ({⟨𝐴, 𝐵⟩} ↾ {𝐴})
132, 12eqtri 2787 . . 3 (𝐺 ↾ {𝐴}) = ({⟨𝐴, 𝐵⟩} ↾ {𝐴})
1413fveq1i 6376 . 2 ((𝐺 ↾ {𝐴})‘𝐴) = (({⟨𝐴, 𝐵⟩} ↾ {𝐴})‘𝐴)
15 fvsnun.1 . . . 4 𝐴 ∈ V
1615snid 4366 . . 3 𝐴 ∈ {𝐴}
17 fvres 6394 . . 3 (𝐴 ∈ {𝐴} → ((𝐺 ↾ {𝐴})‘𝐴) = (𝐺𝐴))
1816, 17ax-mp 5 . 2 ((𝐺 ↾ {𝐴})‘𝐴) = (𝐺𝐴)
19 fvres 6394 . . . 4 (𝐴 ∈ {𝐴} → (({⟨𝐴, 𝐵⟩} ↾ {𝐴})‘𝐴) = ({⟨𝐴, 𝐵⟩}‘𝐴))
2016, 19ax-mp 5 . . 3 (({⟨𝐴, 𝐵⟩} ↾ {𝐴})‘𝐴) = ({⟨𝐴, 𝐵⟩}‘𝐴)
21 fvsnun.2 . . . 4 𝐵 ∈ V
2215, 21fvsn 6639 . . 3 ({⟨𝐴, 𝐵⟩}‘𝐴) = 𝐵
2320, 22eqtri 2787 . 2 (({⟨𝐴, 𝐵⟩} ↾ {𝐴})‘𝐴) = 𝐵
2414, 18, 233eqtr3i 2795 1 (𝐺𝐴) = 𝐵
Colors of variables: wff setvar class
Syntax hints:   = wceq 1652  wcel 2155  Vcvv 3350  cdif 3729  cun 3730  cin 3731  c0 4079  {csn 4334  cop 4340  cres 5279  cfv 6068
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1890  ax-4 1904  ax-5 2005  ax-6 2070  ax-7 2105  ax-9 2164  ax-10 2183  ax-11 2198  ax-12 2211  ax-13 2352  ax-ext 2743  ax-sep 4941  ax-nul 4949  ax-pr 5062
This theorem depends on definitions:  df-bi 198  df-an 385  df-or 874  df-3an 1109  df-tru 1656  df-ex 1875  df-nf 1879  df-sb 2063  df-mo 2565  df-eu 2582  df-clab 2752  df-cleq 2758  df-clel 2761  df-nfc 2896  df-ral 3060  df-rex 3061  df-rab 3064  df-v 3352  df-sbc 3597  df-dif 3735  df-un 3737  df-in 3739  df-ss 3746  df-nul 4080  df-if 4244  df-sn 4335  df-pr 4337  df-op 4341  df-uni 4595  df-br 4810  df-opab 4872  df-id 5185  df-xp 5283  df-rel 5284  df-cnv 5285  df-co 5286  df-dm 5287  df-res 5289  df-iota 6031  df-fun 6070  df-fv 6076
This theorem is referenced by:  fac0  13267  ruclem4  15245
  Copyright terms: Public domain W3C validator