let z be complex number ; :: thesis: ( Arg z in ].0 ,(PI / 2).[ iff ( Re z > 0 & Im z > 0 ) )
thus ( Arg z in ].0 ,(PI / 2).[ implies ( Re z > 0 & Im z > 0 ) ) :: thesis: ( Re z > 0 & Im z > 0 implies Arg z in ].0 ,(PI / 2).[ )
proof
assume A1: Arg z in ].0 ,(PI / 2).[ ; :: thesis: ( Re z > 0 & Im z > 0 )
then A2: ( Arg z > 0 & Arg z < PI / 2 ) by XXREAL_1:4;
then A3: z <> 0 by Def1;
then B4: z = (|.z.| * (cos (Arg z))) + ((|.z.| * (sin (Arg z))) * <i> ) by Def1;
A5: |.z.| > 0 by A3, COMPLEX1:133;
cos (Arg z) > 0 by A1, SIN_COS:86;
hence Re z > 0 by B4, A5, COMPLEX1:28; :: thesis: Im z > 0
Arg z < PI by A2, Lx2, XXREAL_0:2;
then Arg z in ].0 ,PI .[ by A2, XXREAL_1:4;
then sin . (Arg z) > 0 by Th23;
then sin (Arg z) > 0 by SIN_COS:def 21;
hence Im z > 0 by B4, A5, COMPLEX1:28; :: thesis: verum
end;
assume that
A6: Re z > 0 and
A7: Im z > 0 ; :: thesis: Arg z in ].0 ,(PI / 2).[
z = (Re z) + ((Im z) * <i> ) by COMPLEX1:29;
then A8: z <> 0 + (0 * <i> ) by A6, COMPLEX1:163;
then A9: |.z.| > 0 by COMPLEX1:133;
A10: ( 0 <= Arg z & Arg z < 2 * PI ) by Th52;
z = (|.z.| * (cos (Arg z))) + ((|.z.| * (sin (Arg z))) * <i> ) by A8, Def1;
then ( cos (Arg z) > 0 & sin (Arg z) > 0 ) by A9, A6, A7, COMPLEX1:28;
then A11: ( cos . (Arg z) > 0 & sin . (Arg z) > 0 ) by SIN_COS:def 21, SIN_COS:def 23;
then ( not Arg z in [.PI ,(2 * PI ).] & not Arg z in [.(PI / 2),((3 / 2) * PI ).] ) by Th26, Th30;
then A12: ( PI / 2 > Arg z or ( PI > Arg z & (3 / 2) * PI < Arg z ) ) by A10, XXREAL_1:1;
Arg z > 0 by A10, A11, SIN_COS:33;
hence Arg z in ].0 ,(PI / 2).[ by A12, Lm6, XXREAL_0:2, XXREAL_1:4; :: thesis: verum