Metamath Proof Explorer


Theorem fss

Description: Expanding the codomain of a mapping. (Contributed by NM, 10-May-1998) (Proof shortened by Andrew Salmon, 17-Sep-2011)

Ref Expression
Assertion fss ( ( 𝐹 : 𝐴𝐵𝐵𝐶 ) → 𝐹 : 𝐴𝐶 )

Proof

Step Hyp Ref Expression
1 sstr2 ( ran 𝐹𝐵 → ( 𝐵𝐶 → ran 𝐹𝐶 ) )
2 1 com12 ( 𝐵𝐶 → ( ran 𝐹𝐵 → ran 𝐹𝐶 ) )
3 2 anim2d ( 𝐵𝐶 → ( ( 𝐹 Fn 𝐴 ∧ ran 𝐹𝐵 ) → ( 𝐹 Fn 𝐴 ∧ ran 𝐹𝐶 ) ) )
4 df-f ( 𝐹 : 𝐴𝐵 ↔ ( 𝐹 Fn 𝐴 ∧ ran 𝐹𝐵 ) )
5 df-f ( 𝐹 : 𝐴𝐶 ↔ ( 𝐹 Fn 𝐴 ∧ ran 𝐹𝐶 ) )
6 3 4 5 3imtr4g ( 𝐵𝐶 → ( 𝐹 : 𝐴𝐵𝐹 : 𝐴𝐶 ) )
7 6 impcom ( ( 𝐹 : 𝐴𝐵𝐵𝐶 ) → 𝐹 : 𝐴𝐶 )