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

Theorem fsnunfv 6335
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 5325 . . . . . . . . 9 dom (𝐹 ↾ {𝑋}) = ({𝑋} ∩ dom 𝐹)
2 incom 3766 . . . . . . . . 9 ({𝑋} ∩ dom 𝐹) = (dom 𝐹 ∩ {𝑋})
31, 2eqtri 2631 . . . . . . . 8 dom (𝐹 ↾ {𝑋}) = (dom 𝐹 ∩ {𝑋})
4 disjsn 4191 . . . . . . . . 9 ((dom 𝐹 ∩ {𝑋}) = ∅ ↔ ¬ 𝑋 ∈ dom 𝐹)
54biimpri 216 . . . . . . . 8 𝑋 ∈ dom 𝐹 → (dom 𝐹 ∩ {𝑋}) = ∅)
63, 5syl5eq 2655 . . . . . . 7 𝑋 ∈ dom 𝐹 → dom (𝐹 ↾ {𝑋}) = ∅)
763ad2ant3 1076 . . . . . 6 ((𝑋𝑉𝑌𝑊 ∧ ¬ 𝑋 ∈ dom 𝐹) → dom (𝐹 ↾ {𝑋}) = ∅)
8 relres 5332 . . . . . . 7 Rel (𝐹 ↾ {𝑋})
9 reldm0 5250 . . . . . . 7 (Rel (𝐹 ↾ {𝑋}) → ((𝐹 ↾ {𝑋}) = ∅ ↔ dom (𝐹 ↾ {𝑋}) = ∅))
108, 9ax-mp 5 . . . . . 6 ((𝐹 ↾ {𝑋}) = ∅ ↔ dom (𝐹 ↾ {𝑋}) = ∅)
117, 10sylibr 222 . . . . 5 ((𝑋𝑉𝑌𝑊 ∧ ¬ 𝑋 ∈ dom 𝐹) → (𝐹 ↾ {𝑋}) = ∅)
12 fnsng 5837 . . . . . . 7 ((𝑋𝑉𝑌𝑊) → {⟨𝑋, 𝑌⟩} Fn {𝑋})
13123adant3 1073 . . . . . 6 ((𝑋𝑉𝑌𝑊 ∧ ¬ 𝑋 ∈ dom 𝐹) → {⟨𝑋, 𝑌⟩} Fn {𝑋})
14 fnresdm 5899 . . . . . 6 ({⟨𝑋, 𝑌⟩} Fn {𝑋} → ({⟨𝑋, 𝑌⟩} ↾ {𝑋}) = {⟨𝑋, 𝑌⟩})
1513, 14syl 17 . . . . 5 ((𝑋𝑉𝑌𝑊 ∧ ¬ 𝑋 ∈ dom 𝐹) → ({⟨𝑋, 𝑌⟩} ↾ {𝑋}) = {⟨𝑋, 𝑌⟩})
1611, 15uneq12d 3729 . . . 4 ((𝑋𝑉𝑌𝑊 ∧ ¬ 𝑋 ∈ dom 𝐹) → ((𝐹 ↾ {𝑋}) ∪ ({⟨𝑋, 𝑌⟩} ↾ {𝑋})) = (∅ ∪ {⟨𝑋, 𝑌⟩}))
17 resundir 5317 . . . 4 ((𝐹 ∪ {⟨𝑋, 𝑌⟩}) ↾ {𝑋}) = ((𝐹 ↾ {𝑋}) ∪ ({⟨𝑋, 𝑌⟩} ↾ {𝑋}))
18 uncom 3718 . . . . 5 (∅ ∪ {⟨𝑋, 𝑌⟩}) = ({⟨𝑋, 𝑌⟩} ∪ ∅)
19 un0 3918 . . . . 5 ({⟨𝑋, 𝑌⟩} ∪ ∅) = {⟨𝑋, 𝑌⟩}
2018, 19eqtr2i 2632 . . . 4 {⟨𝑋, 𝑌⟩} = (∅ ∪ {⟨𝑋, 𝑌⟩})
2116, 17, 203eqtr4g 2668 . . 3 ((𝑋𝑉𝑌𝑊 ∧ ¬ 𝑋 ∈ dom 𝐹) → ((𝐹 ∪ {⟨𝑋, 𝑌⟩}) ↾ {𝑋}) = {⟨𝑋, 𝑌⟩})
2221fveq1d 6089 . 2 ((𝑋𝑉𝑌𝑊 ∧ ¬ 𝑋 ∈ dom 𝐹) → (((𝐹 ∪ {⟨𝑋, 𝑌⟩}) ↾ {𝑋})‘𝑋) = ({⟨𝑋, 𝑌⟩}‘𝑋))
23 snidg 4152 . . . 4 (𝑋𝑉𝑋 ∈ {𝑋})
24233ad2ant1 1074 . . 3 ((𝑋𝑉𝑌𝑊 ∧ ¬ 𝑋 ∈ dom 𝐹) → 𝑋 ∈ {𝑋})
25 fvres 6101 . . 3 (𝑋 ∈ {𝑋} → (((𝐹 ∪ {⟨𝑋, 𝑌⟩}) ↾ {𝑋})‘𝑋) = ((𝐹 ∪ {⟨𝑋, 𝑌⟩})‘𝑋))
2624, 25syl 17 . 2 ((𝑋𝑉𝑌𝑊 ∧ ¬ 𝑋 ∈ dom 𝐹) → (((𝐹 ∪ {⟨𝑋, 𝑌⟩}) ↾ {𝑋})‘𝑋) = ((𝐹 ∪ {⟨𝑋, 𝑌⟩})‘𝑋))
27 fvsng 6329 . . 3 ((𝑋𝑉𝑌𝑊) → ({⟨𝑋, 𝑌⟩}‘𝑋) = 𝑌)
28273adant3 1073 . 2 ((𝑋𝑉𝑌𝑊 ∧ ¬ 𝑋 ∈ dom 𝐹) → ({⟨𝑋, 𝑌⟩}‘𝑋) = 𝑌)
2922, 26, 283eqtr3d 2651 1 ((𝑋𝑉𝑌𝑊 ∧ ¬ 𝑋 ∈ dom 𝐹) → ((𝐹 ∪ {⟨𝑋, 𝑌⟩})‘𝑋) = 𝑌)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 194  w3a 1030   = wceq 1474  wcel 1976  cun 3537  cin 3538  c0 3873  {csn 4124  cop 4130  dom cdm 5027  cres 5029  Rel wrel 5032   Fn wfn 5784  cfv 5789
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1712  ax-4 1727  ax-5 1826  ax-6 1874  ax-7 1921  ax-9 1985  ax-10 2005  ax-11 2020  ax-12 2033  ax-13 2233  ax-ext 2589  ax-sep 4703  ax-nul 4711  ax-pr 4827
This theorem depends on definitions:  df-bi 195  df-or 383  df-an 384  df-3an 1032  df-tru 1477  df-ex 1695  df-nf 1700  df-sb 1867  df-eu 2461  df-mo 2462  df-clab 2596  df-cleq 2602  df-clel 2605  df-nfc 2739  df-ral 2900  df-rex 2901  df-rab 2904  df-v 3174  df-sbc 3402  df-dif 3542  df-un 3544  df-in 3546  df-ss 3553  df-nul 3874  df-if 4036  df-sn 4125  df-pr 4127  df-op 4131  df-uni 4367  df-br 4578  df-opab 4638  df-id 4942  df-xp 5033  df-rel 5034  df-cnv 5035  df-co 5036  df-dm 5037  df-res 5039  df-iota 5753  df-fun 5791  df-fn 5792  df-fv 5797
This theorem is referenced by:  hashf1lem1  13050  cats1un  13275  fvsetsid  15670  islindf4  19943  mapfzcons2  36083  fnchoice  37994  nnsum4primeseven  40000  nnsum4primesevenALTV  40001  1wlkp1lem3  40865  1wlkp1lem7  40869  1wlkp1lem8  40870  eupth2eucrct  41366
  Copyright terms: Public domain W3C validator