Metamath Proof Explorer


Theorem funresfunco

Description: Composition of two functions, generalization of funco . (Contributed by Alexander van der Vekens, 25-Jul-2017)

Ref Expression
Assertion funresfunco Fun F ran G Fun G Fun F G

Proof

Step Hyp Ref Expression
1 funco Fun F ran G Fun G Fun F ran G G
2 ssid ran G ran G
3 cores ran G ran G F ran G G = F G
4 2 3 ax-mp F ran G G = F G
5 4 eqcomi F G = F ran G G
6 5 funeqi Fun F G Fun F ran G G
7 1 6 sylibr Fun F ran G Fun G Fun F G