Metamath Proof Explorer


Theorem funresdfunsn

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)

Ref Expression
Assertion funresdfunsn Fun F X dom F F V X X F X = F

Proof

Step Hyp Ref Expression
1 resdmdfsn F V X = F dom F X
2 1 a1i Fun F X dom F F V X = F dom F X
3 2 uneq1d Fun F X dom F F V X X F X = F dom F X X F X
4 funfn Fun F F Fn dom F
5 fnsnsplit F Fn dom F X dom F F = F dom F X X F X
6 4 5 sylanb Fun F X dom F F = F dom F X X F X
7 3 6 eqtr4d Fun F X dom F F V X X F X = F