Metamath Proof Explorer


Theorem fmptcos

Description: Composition of two functions expressed as mapping abstractions. (Contributed by NM, 22-May-2006) (Revised by Mario Carneiro, 31-Aug-2015)

Ref Expression
Hypotheses fmptcof.1 ( 𝜑 → ∀ 𝑥𝐴 𝑅𝐵 )
fmptcof.2 ( 𝜑𝐹 = ( 𝑥𝐴𝑅 ) )
fmptcof.3 ( 𝜑𝐺 = ( 𝑦𝐵𝑆 ) )
Assertion fmptcos ( 𝜑 → ( 𝐺𝐹 ) = ( 𝑥𝐴 𝑅 / 𝑦 𝑆 ) )

Proof

Step Hyp Ref Expression
1 fmptcof.1 ( 𝜑 → ∀ 𝑥𝐴 𝑅𝐵 )
2 fmptcof.2 ( 𝜑𝐹 = ( 𝑥𝐴𝑅 ) )
3 fmptcof.3 ( 𝜑𝐺 = ( 𝑦𝐵𝑆 ) )
4 nfcv 𝑧 𝑆
5 nfcsb1v 𝑦 𝑧 / 𝑦 𝑆
6 csbeq1a ( 𝑦 = 𝑧𝑆 = 𝑧 / 𝑦 𝑆 )
7 4 5 6 cbvmpt ( 𝑦𝐵𝑆 ) = ( 𝑧𝐵 𝑧 / 𝑦 𝑆 )
8 3 7 eqtrdi ( 𝜑𝐺 = ( 𝑧𝐵 𝑧 / 𝑦 𝑆 ) )
9 csbeq1 ( 𝑧 = 𝑅 𝑧 / 𝑦 𝑆 = 𝑅 / 𝑦 𝑆 )
10 1 2 8 9 fmptcof ( 𝜑 → ( 𝐺𝐹 ) = ( 𝑥𝐴 𝑅 / 𝑦 𝑆 ) )