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

Theorem fsnunfv 6494
Description: Recover the added point from a point-added function. (Contributed by Stefan O'Rear, 28-Feb-2015.) (Revised by NM, 18-May-2017.)
Assertion
Ref Expression
fsnunfv ((𝑋𝑉𝑌𝑊 ∧ ¬ 𝑋 ∈ dom 𝐹) → ((𝐹 ∪ {⟨𝑋, 𝑌⟩})‘𝑋) = 𝑌)

Proof of Theorem fsnunfv
StepHypRef Expression
1 dmres 5454 . . . . . . . . 9 dom (𝐹 ↾ {𝑋}) = ({𝑋} ∩ dom 𝐹)
2 incom 3838 . . . . . . . . 9 ({𝑋} ∩ dom 𝐹) = (dom 𝐹 ∩ {𝑋})
31, 2eqtri 2673 . . . . . . . 8 dom (𝐹 ↾ {𝑋}) = (dom 𝐹 ∩ {𝑋})
4 disjsn 4278 . . . . . . . . 9 ((dom 𝐹 ∩ {𝑋}) = ∅ ↔ ¬ 𝑋 ∈ dom 𝐹)
54biimpri 218 . . . . . . . 8 𝑋 ∈ dom 𝐹 → (dom 𝐹 ∩ {𝑋}) = ∅)
63, 5syl5eq 2697 . . . . . . 7 𝑋 ∈ dom 𝐹 → dom (𝐹 ↾ {𝑋}) = ∅)
763ad2ant3 1104 . . . . . 6 ((𝑋𝑉𝑌𝑊 ∧ ¬ 𝑋 ∈ dom 𝐹) → dom (𝐹 ↾ {𝑋}) = ∅)
8 relres 5461 . . . . . . 7 Rel (𝐹 ↾ {𝑋})
9 reldm0 5375 . . . . . . 7 (Rel (𝐹 ↾ {𝑋}) → ((𝐹 ↾ {𝑋}) = ∅ ↔ dom (𝐹 ↾ {𝑋}) = ∅))
108, 9ax-mp 5 . . . . . 6 ((𝐹 ↾ {𝑋}) = ∅ ↔ dom (𝐹 ↾ {𝑋}) = ∅)
117, 10sylibr 224 . . . . 5 ((𝑋𝑉𝑌𝑊 ∧ ¬ 𝑋 ∈ dom 𝐹) → (𝐹 ↾ {𝑋}) = ∅)
12 fnsng 5976 . . . . . . 7 ((𝑋𝑉𝑌𝑊) → {⟨𝑋, 𝑌⟩} Fn {𝑋})
13123adant3 1101 . . . . . 6 ((𝑋𝑉𝑌𝑊 ∧ ¬ 𝑋 ∈ dom 𝐹) → {⟨𝑋, 𝑌⟩} Fn {𝑋})
14 fnresdm 6038 . . . . . 6 ({⟨𝑋, 𝑌⟩} Fn {𝑋} → ({⟨𝑋, 𝑌⟩} ↾ {𝑋}) = {⟨𝑋, 𝑌⟩})
1513, 14syl 17 . . . . 5 ((𝑋𝑉𝑌𝑊 ∧ ¬ 𝑋 ∈ dom 𝐹) → ({⟨𝑋, 𝑌⟩} ↾ {𝑋}) = {⟨𝑋, 𝑌⟩})
1611, 15uneq12d 3801 . . . 4 ((𝑋𝑉𝑌𝑊 ∧ ¬ 𝑋 ∈ dom 𝐹) → ((𝐹 ↾ {𝑋}) ∪ ({⟨𝑋, 𝑌⟩} ↾ {𝑋})) = (∅ ∪ {⟨𝑋, 𝑌⟩}))
17 resundir 5446 . . . 4 ((𝐹 ∪ {⟨𝑋, 𝑌⟩}) ↾ {𝑋}) = ((𝐹 ↾ {𝑋}) ∪ ({⟨𝑋, 𝑌⟩} ↾ {𝑋}))
18 uncom 3790 . . . . 5 (∅ ∪ {⟨𝑋, 𝑌⟩}) = ({⟨𝑋, 𝑌⟩} ∪ ∅)
19 un0 4000 . . . . 5 ({⟨𝑋, 𝑌⟩} ∪ ∅) = {⟨𝑋, 𝑌⟩}
2018, 19eqtr2i 2674 . . . 4 {⟨𝑋, 𝑌⟩} = (∅ ∪ {⟨𝑋, 𝑌⟩})
2116, 17, 203eqtr4g 2710 . . 3 ((𝑋𝑉𝑌𝑊 ∧ ¬ 𝑋 ∈ dom 𝐹) → ((𝐹 ∪ {⟨𝑋, 𝑌⟩}) ↾ {𝑋}) = {⟨𝑋, 𝑌⟩})
2221fveq1d 6231 . 2 ((𝑋𝑉𝑌𝑊 ∧ ¬ 𝑋 ∈ dom 𝐹) → (((𝐹 ∪ {⟨𝑋, 𝑌⟩}) ↾ {𝑋})‘𝑋) = ({⟨𝑋, 𝑌⟩}‘𝑋))
23 snidg 4239 . . . 4 (𝑋𝑉𝑋 ∈ {𝑋})
24233ad2ant1 1102 . . 3 ((𝑋𝑉𝑌𝑊 ∧ ¬ 𝑋 ∈ dom 𝐹) → 𝑋 ∈ {𝑋})
25 fvres 6245 . . 3 (𝑋 ∈ {𝑋} → (((𝐹 ∪ {⟨𝑋, 𝑌⟩}) ↾ {𝑋})‘𝑋) = ((𝐹 ∪ {⟨𝑋, 𝑌⟩})‘𝑋))
2624, 25syl 17 . 2 ((𝑋𝑉𝑌𝑊 ∧ ¬ 𝑋 ∈ dom 𝐹) → (((𝐹 ∪ {⟨𝑋, 𝑌⟩}) ↾ {𝑋})‘𝑋) = ((𝐹 ∪ {⟨𝑋, 𝑌⟩})‘𝑋))
27 fvsng 6488 . . 3 ((𝑋𝑉𝑌𝑊) → ({⟨𝑋, 𝑌⟩}‘𝑋) = 𝑌)
28273adant3 1101 . 2 ((𝑋𝑉𝑌𝑊 ∧ ¬ 𝑋 ∈ dom 𝐹) → ({⟨𝑋, 𝑌⟩}‘𝑋) = 𝑌)
2922, 26, 283eqtr3d 2693 1 ((𝑋𝑉𝑌𝑊 ∧ ¬ 𝑋 ∈ dom 𝐹) → ((𝐹 ∪ {⟨𝑋, 𝑌⟩})‘𝑋) = 𝑌)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 196  w3a 1054   = wceq 1523  wcel 2030  cun 3605  cin 3606  c0 3948  {csn 4210  cop 4216  dom cdm 5143  cres 5145  Rel wrel 5148   Fn wfn 5921  cfv 5926
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1762  ax-4 1777  ax-5 1879  ax-6 1945  ax-7 1981  ax-9 2039  ax-10 2059  ax-11 2074  ax-12 2087  ax-13 2282  ax-ext 2631  ax-sep 4814  ax-nul 4822  ax-pr 4936
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1056  df-tru 1526  df-ex 1745  df-nf 1750  df-sb 1938  df-eu 2502  df-mo 2503  df-clab 2638  df-cleq 2644  df-clel 2647  df-nfc 2782  df-ral 2946  df-rex 2947  df-rab 2950  df-v 3233  df-sbc 3469  df-dif 3610  df-un 3612  df-in 3614  df-ss 3621  df-nul 3949  df-if 4120  df-sn 4211  df-pr 4213  df-op 4217  df-uni 4469  df-br 4686  df-opab 4746  df-id 5053  df-xp 5149  df-rel 5150  df-cnv 5151  df-co 5152  df-dm 5153  df-res 5155  df-iota 5889  df-fun 5928  df-fn 5929  df-fv 5934
This theorem is referenced by:  hashf1lem1  13277  cats1un  13521  fvsetsid  15937  islindf4  20225  wlkp1lem3  26628  wlkp1lem7  26632  wlkp1lem8  26633  eupth2eucrct  27195  mapfzcons2  37599  fnchoice  39502  nnsum4primeseven  42013  nnsum4primesevenALTV  42014
  Copyright terms: Public domain W3C validator