In this draft version the definedness predicates for the standard functions in the following specification do not respect our rule of methodology from Note M-6 [RM99a]. A general problem is that the domain of convergence of the taylor series is not obvious. Therefore we prefer at the moment to specify the domains of the functions explicitly.
exp : | Real -> Real; |
ln,sqrt : | Real ->? Real; |
e : | Real; |
__ ^ __ : | Real × Real ->? Real; |
sin, cos, sinh, cosh : | Real -> Real; |
tan, cot, arcsin, arccos, | |
arctan, arccot, tanh, coth, | |
arsinh, arcosh, artanh, arcoth : | Real ->? Real; |
pi : | Real; |
ln(x) = sum( | constSeq(x-1) ^ (2*N+1) / |
( (2*N+1) * (constSeq(x+1) ^ (2*N+1)) )) | |
if defln(x) |
arcsin(x) = sum( | (2*N+1)!* constSeq(x) ^ (2*N+1) / |
( (2*N+1)*2 ^ (2*N-1)*(N-1)!*N! )) | |
if defarcsin(x) |
Elem |-> Real, |
0 |-> 0, |
1 |-> 1, |
__+__ |-> __+__, |
__*__ |-> __*__ |