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

Theorem funresdfunsn 6677
Description: Restricting a function to a domain without one element of the domain of the function, and adding a pair of this element and the function value of the element results in the function itself. (Contributed by AV, 2-Dec-2018.)
Assertion
Ref Expression
funresdfunsn ((Fun 𝐹𝑋 ∈ dom 𝐹) → ((𝐹 ↾ (V ∖ {𝑋})) ∪ {⟨𝑋, (𝐹𝑋)⟩}) = 𝐹)

Proof of Theorem funresdfunsn
StepHypRef Expression
1 funrel 6115 . . . . 5 (Fun 𝐹 → Rel 𝐹)
2 resdmdfsn 5647 . . . . 5 (Rel 𝐹 → (𝐹 ↾ (V ∖ {𝑋})) = (𝐹 ↾ (dom 𝐹 ∖ {𝑋})))
31, 2syl 17 . . . 4 (Fun 𝐹 → (𝐹 ↾ (V ∖ {𝑋})) = (𝐹 ↾ (dom 𝐹 ∖ {𝑋})))
43adantr 468 . . 3 ((Fun 𝐹𝑋 ∈ dom 𝐹) → (𝐹 ↾ (V ∖ {𝑋})) = (𝐹 ↾ (dom 𝐹 ∖ {𝑋})))
54uneq1d 3962 . 2 ((Fun 𝐹𝑋 ∈ dom 𝐹) → ((𝐹 ↾ (V ∖ {𝑋})) ∪ {⟨𝑋, (𝐹𝑋)⟩}) = ((𝐹 ↾ (dom 𝐹 ∖ {𝑋})) ∪ {⟨𝑋, (𝐹𝑋)⟩}))
6 funfn 6128 . . 3 (Fun 𝐹𝐹 Fn dom 𝐹)
7 fnsnsplit 6672 . . 3 ((𝐹 Fn dom 𝐹𝑋 ∈ dom 𝐹) → 𝐹 = ((𝐹 ↾ (dom 𝐹 ∖ {𝑋})) ∪ {⟨𝑋, (𝐹𝑋)⟩}))
86, 7sylanb 572 . 2 ((Fun 𝐹𝑋 ∈ dom 𝐹) → 𝐹 = ((𝐹 ↾ (dom 𝐹 ∖ {𝑋})) ∪ {⟨𝑋, (𝐹𝑋)⟩}))
95, 8eqtr4d 2842 1 ((Fun 𝐹𝑋 ∈ dom 𝐹) → ((𝐹 ↾ (V ∖ {𝑋})) ∪ {⟨𝑋, (𝐹𝑋)⟩}) = 𝐹)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 384   = wceq 1637  wcel 2158  Vcvv 3390  cdif 3763  cun 3764  {csn 4367  cop 4373  dom cdm 5308  cres 5310  Rel wrel 5313  Fun wfun 6092   Fn wfn 6093  cfv 6098
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1880  ax-4 1897  ax-5 2004  ax-6 2070  ax-7 2106  ax-9 2167  ax-10 2187  ax-11 2203  ax-12 2216  ax-13 2422  ax-ext 2784  ax-sep 4971  ax-nul 4980  ax-pr 5093
This theorem depends on definitions:  df-bi 198  df-an 385  df-or 866  df-3an 1102  df-tru 1641  df-ex 1860  df-nf 1865  df-sb 2063  df-eu 2636  df-mo 2637  df-clab 2792  df-cleq 2798  df-clel 2801  df-nfc 2936  df-ne 2978  df-ral 3100  df-rex 3101  df-reu 3102  df-rab 3104  df-v 3392  df-sbc 3631  df-dif 3769  df-un 3771  df-in 3773  df-ss 3780  df-nul 4114  df-if 4277  df-sn 4368  df-pr 4370  df-op 4374  df-uni 4627  df-br 4841  df-opab 4903  df-id 5216  df-xp 5314  df-rel 5315  df-cnv 5316  df-co 5317  df-dm 5318  df-rn 5319  df-res 5320  df-ima 5321  df-iota 6061  df-fun 6100  df-fn 6101  df-f 6102  df-f1 6103  df-fo 6104  df-f1o 6105  df-fv 6106
This theorem is referenced by:  setsidvald  16096
  Copyright terms: Public domain W3C validator