Metamath Proof Explorer


Theorem fnresdmss

Description: A function does not change when restricted to a set that contains its domain. (Contributed by Glauco Siliprandi, 11-Dec-2019)

Ref Expression
Assertion fnresdmss F Fn A A B F B = F

Proof

Step Hyp Ref Expression
1 fnrel F Fn A Rel F
2 fndm F Fn A dom F = A
3 2 adantr F Fn A A B dom F = A
4 simpr F Fn A A B A B
5 3 4 eqsstrd F Fn A A B dom F B
6 relssres Rel F dom F B F B = F
7 1 5 6 syl2an2r F Fn A A B F B = F