Abstract
One of the problems with manipulating function identities in computer algebra systems is that they often involve functions which are multivalued, whilst most users tend to work with single-valued functions. The problem is that many well-known identities may no longer be true everywhere in the complex plane when working with their single-valued counterparts. Conversely, we cannot ignore them, since in particular contexts they may be valid. We investigate the practicality of a method to verify such identities by means of an experiment; this is based on a set of test examples which one might realistically meet in practice. Essentially, the method works as follows. We decompose the complex plane via means of cylindrical algebraic decomposition into regions with respect to the branch cuts of the functions. We then test the identity numerically at a sample point in each region. The latter step is facilitated by the notion of the adherence of a branch cut, which was previously introduced by the authors. In addition to presenting the results of the experiment, we explain how adherence relates to the proposal of signed zeroes by W. Kahan, and develop this idea further in order to allow us to cover previously untreatable cases. Finally, we discuss other ways to improve upon our general methodology as well as topics for future research.
Similar content being viewed by others
References
Abramowitz, M., Stegun, I.: Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables. US Government Printing Office (1964; 10th printing, 1972)
Arnon D.S. (1988). A cluster-based CAD algorithm. J. Symb. Comput. 5(1/2): 189–212
Bradford, R., Davenport, J.H.: Towards better simplification of elementary functions. In: Mora, T. (ed.) Proceedings of ISSAC, Lille, 7–10 July, pp. 15–22. ACM, New York (2002)
Beaumont, J.C., Bradford, R., Davenport, J.H.: Better simplification of elementary functions through power series. In: Sendra, J.R. (ed.) Proceedings of ISSAC, Philadelphia, 3–6 August, pp. 30–36. ACM, New York (2003)
Beaumont, J.C., Bradford, R., Davenport, J.H., Phisanbut, N.: A Poly-algorithmic approach to simplifying elementary functions. In: Guttierez, J. (ed.) Proceedings of ISSAC, Santander, 4–7 July, pp. 30–36. ACM, New York (2004)
Beaumont, J. C., Bradford, R., Phisanbut, N.: Practical simplification of elementary functions using CAD. In: Dolzmann, A., Seidl, A., Sturm, T. (eds.) Proceedings of Algorithmic Algebra and Logic, Passau, 3–6 April. Books on Demand GmbH, Norderstedt, Germany (2005)
Beaumont, J.C., Bradford, R., Davenport, J.H., Phisanbut, N.: Adherence is better than adjacency: computing the riemann index using CAD. In: Kauers Editor, M. (ed.) Proceedings of ISSAC, Beijing, 24–27 July, pp. 37–45. ACM, New York (2005)
Bradford R., Corless R., Davenport J., Jeffrey D. and Watt S. (2002). Reasoning about the elementary functions of complex analysis. Ann. Math. Artif. Intel. 36: 303–318
Brown, C.: Companion to the Tutorial Cylindrical Algebraic Decomposition, Presented at ISSAC 2004. Available at: www.cs.usna.edu/∼wcbrown/research/ISSAC04/Tutorial.html
Brown, C., McCallum, S.: On Using Bi-equational constraints in CAD construction. In: Kauers, M. (ed.) Proceedings of ISSAC, Beijing, pp. 76–84. ACM, New York (2005)
Collins, G.: Quantifier elimination for real closed fields by cylindrical algebraic decomposition. In: Proceedings of 2nd GI Conference Automata Theory & Formal Languages, vol. 33 of Springer Lecture Notes in Computer Science (1975)
Collins G. and Hong H. (1991). Partial CAD for quantifier elimination. J. Symb. Comput. 12(3): 299–328
Collins G. and McCallum S. (2002). Local box adjacency algorithms for CAD. J. Symb. Comput. 33(3): 321–342
Corless R., Davenport J., Jeffrey D. and Watt S. (2002). According to Abramowitz and Stegun. SIGSAM Bull. 34(2): 58–65
Corless R. and Jeffrey D. (1996). The unwinding number. SIGSAM Bull. 30(2 issue 116): 28–35
Davenport J. and Heintz J. (1988). Real quantifier elimination is doubly exponential. J. Symb. Comput. 5: 29–35
Dolzmann, A, Seidl, A, Sturm, T.: Efficient projection orders for CAD. In: Guttierez, J. (ed.) Proceedings of ISSAC, Santander, 4–7 July, pp. 111–118. ACM, New York (2004)
Fateman, R.J., Dingle, A.: Branch cuts in computer algebra. In: Giesbrecht, M. (ed.) Proceedings of ISSAC, Oxford, 20–22 July, pp. 250–257. ACM Press, New York (1994)
Grigoryev D.Yu. and Vorobjov N. (1992). Counting connected components of a semi-algebraic set in subexponential time. Comput. Complex. 2: 133–184
Jeffrey D.J. and Norman A.C. (2004). Not seeing the roots for the branches: multivalued functions in computer algebra. SIGSAM Bull. 38(3 issue 149): 57–66
Kahan W. (1987). Branch cuts for complex elementary functions. In: Iserles, A. and Powell, M. (eds) The State of Art in Numerical Analysis: Proc. Joint IMA/SIAM, U.N., pp 165–211. Clarendon Press, New York
Patton C.M. (1996). A representation of branch-cut information. SIGSAM Bull. 116: 21–24
Hong, H. et al.: Quantifier Elimination by Partial Cylindrical Algebraic Decomposition. Available at: http://www.cs.usna.edu/∼qepcad/B/QEPCAD.html
Richardson D. (1968). Some unsolvable problems involving elementary functions of a real variable. J. Symb. Logic 33: 514–520
Rich A. and Jeffrey D. (1996). Function evaluation on branch cuts. SIGSAM Bull. 116: 25–27
Author information
Authors and Affiliations
Corresponding author
Additional information
The authors gratefully acknowledge the support of EPSRC, under grant number GR/R84139/01.
Rights and permissions
About this article
Cite this article
Beaumont, J.C., Bradford, R.J., Davenport, J.H. et al. Testing elementary function identities using CAD. AAECC 18, 513–543 (2007). https://doi.org/10.1007/s00200-007-0052-y
Received:
Revised:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00200-007-0052-y