Metamath Proof Explorer


Theorem cnmpt1res

Description: The restriction of a continuous function to a subset is continuous. (Contributed by Mario Carneiro, 5-Jun-2014)

Ref Expression
Hypotheses cnmpt1res.2 K=J𝑡Y
cnmpt1res.3 φJTopOnX
cnmpt1res.5 φYX
cnmpt1res.6 φxXAJCnL
Assertion cnmpt1res φxYAKCnL

Proof

Step Hyp Ref Expression
1 cnmpt1res.2 K=J𝑡Y
2 cnmpt1res.3 φJTopOnX
3 cnmpt1res.5 φYX
4 cnmpt1res.6 φxXAJCnL
5 3 resmptd φxXAY=xYA
6 toponuni JTopOnXX=J
7 2 6 syl φX=J
8 3 7 sseqtrd φYJ
9 eqid J=J
10 9 cnrest xXAJCnLYJxXAYJ𝑡YCnL
11 4 8 10 syl2anc φxXAYJ𝑡YCnL
12 1 oveq1i KCnL=J𝑡YCnL
13 11 12 eleqtrrdi φxXAYKCnL
14 5 13 eqeltrrd φxYAKCnL