A Decision Procedure for Linear “Big O” Equations
Let F be the set of functions from an infinite set, S, to an ordered ring, R. For f, g, and h in F, the assertion f = g + O(h) means that for some constant C, |f(x) − g(x)| ≤C |h(x)| for every x in S. Let L be the first-order language with variables ranging over such functions, symbols for 0, +, −, min , max , and absolute value, and a ternary relation f = g + O(h). We show that the set of quantifier-free formulas in this language that are valid in the intended class of interpretations is decidable and does not depend on the underlying set, S, or the ordered ring, R. If R is a subfield of the real numbers, we can add a constant 1 function, as well as multiplication by constants from any computable subfield. We obtain further decidability results for certain situations in which one adds symbols denoting the elements of a fixed sequence of functions of strictly increasing rates of growth.
KeywordsDecision procedures Asymptotic equations Big O
Unable to display preview. Download preview PDF.
- 1.Apt, K.: Principles of Constraint Programming. Cambridge University Press, Cambridge (2003)Google Scholar
- 2.Avigad, J., Donnelly, K.: Formalizing O notation in Isabelle/HOL. In: Basin, D., Rusinowitch, M. (eds.) Automated Reasoning: Second International Joint Conference, IJCAR 2004, pp. 357–371. Springer, Berlin Heidelberg New York (2004)Google Scholar
- 3.Avigad, J., Donnelly, K., Gray, D., Raff, P.: A formally verified proof of the prime number theorem (to appear in ACM Transactions on Computational Logic)Google Scholar
- 10.Kaufmann, M., Manolios, P., Moore, J.S.: Computer-aided Reasoning: An Approach. Kluwer, Boston (2000)Google Scholar
- 13.Owre, S., Rushby, J.M., Shankar, N.: PVS: A prototype verification system. In: Proceedings of the 11th International Conference on Automated Ceduction (CADE), pp. 748–752. Springer, Berlin Heidelberg New York (1992)Google Scholar
- 16.Weispfenning, V.: Parametric linear and quadratic optimization by elimination. Technical report MIP-9404, Universität Passau (1994)Google Scholar