let n be non empty Element of NAT ; :: thesis: for h being PartFunc of REAL, the carrier of (REAL-NS n) holds
( h is continuous iff for i being Element of NAT st i in Seg n holds
(Proj (i,n)) * h is continuous )

let h be PartFunc of REAL, the carrier of (REAL-NS n); :: thesis: ( h is continuous iff for i being Element of NAT st i in Seg n holds
(Proj (i,n)) * h is continuous )

hereby :: thesis: ( ( for i being Element of NAT st i in Seg n holds
(Proj (i,n)) * h is continuous ) implies h is continuous )
assume P1: h is continuous ; :: thesis: for i being Element of NAT st i in Seg n holds
(Proj (i,n)) * h is continuous

thus for i being Element of NAT st i in Seg n holds
(Proj (i,n)) * h is continuous :: thesis: verum
proof
let i be Element of NAT ; :: thesis: ( i in Seg n implies (Proj (i,n)) * h is continuous )
assume P2: i in Seg n ; :: thesis: (Proj (i,n)) * h is continuous
P20: dom (Proj (i,n)) = the carrier of (REAL-NS n) by FUNCT_2:def 1;
rng h c= the carrier of (REAL-NS n) ;
then P21: dom ((Proj (i,n)) * h) = dom h by P20, RELAT_1:27;
now
let x0 be real number ; :: thesis: ( x0 in dom ((Proj (i,n)) * h) implies (Proj (i,n)) * h is_continuous_in x0 )
assume x0 in dom ((Proj (i,n)) * h) ; :: thesis: (Proj (i,n)) * h is_continuous_in x0
then h is_continuous_in x0 by P1, P21, NFCONT_3:def 2;
hence (Proj (i,n)) * h is_continuous_in x0 by P2, Y1; :: thesis: verum
end;
hence (Proj (i,n)) * h is continuous by NFCONT_3:def 2; :: thesis: verum
end;
end;
assume Q1: for i being Element of NAT st i in Seg n holds
(Proj (i,n)) * h is continuous ; :: thesis: h is continuous
let x0 be real number ; :: according to NFCONT_3:def 2 :: thesis: ( not x0 in dom h or h is_continuous_in x0 )
assume A2: x0 in dom h ; :: thesis: h is_continuous_in x0
now
let i be Element of NAT ; :: thesis: ( i in Seg n implies (Proj (i,n)) * h is_continuous_in x0 )
assume P2: i in Seg n ; :: thesis: (Proj (i,n)) * h is_continuous_in x0
P20: dom (Proj (i,n)) = the carrier of (REAL-NS n) by FUNCT_2:def 1;
rng h c= the carrier of (REAL-NS n) ;
then P21: dom ((Proj (i,n)) * h) = dom h by P20, RELAT_1:27;
(Proj (i,n)) * h is continuous by Q1, P2;
hence (Proj (i,n)) * h is_continuous_in x0 by A2, P21, NFCONT_3:def 2; :: thesis: verum
end;
hence h is_continuous_in x0 by Y1; :: thesis: verum