• DocumentCode
    119899
  • Title

    Semi-automatic analysis of algorithm complexity (Case study: Square-root computation)

  • Author

    Erascu, Madalina

  • Author_Institution
    HPC Center, West Univ. of Timisoara, Timişoara, Romania
  • fYear
    2014
  • fDate
    11-13 Sept. 2014
  • Firstpage
    67
  • Lastpage
    72
  • Abstract
    We report on our on-going efforts to apply real quantifier elimination to the (semi-)automatic complexity analysis of numerical algorithms. In particular, we describe a case study on the square root problem: given a real number x and an error bound, find a real interval such that it contains √x and its width is less than or equal to ε. A typical numerical algorithm starts with an initial interval and repeatedly updates it by applying a “refinement map” on it until it becomes narrow enough. In this paper, the complexity analysis amounts to find the smallest maximum number of loop iterations of the algorithm. Hence, the algorithm must be correct, terminating and optimal. It can be formulated as a quantifier elimination problem over real numbers. Hence, in principle, the complexity analysis can be carried out automatically. However, the computational requirement is huge, making the automatic analysis practically impossible with the current general real quantifier elimination software. We overcame the difficulty by (1) carefully reducing a complicated quantified formula into several simpler ones and (2) automatically eliminating the quantifiers from the resulting ones using the state-of-the-art quantifier elimination software. As the result, we were able to compute semi-automatically the complexity of a class of optimal contracting maps.
  • Keywords
    computational complexity; computational requirement; error bound; numerical algorithms; optimal contracting maps; real numbers; real quantifier elimination problem; real quantifier elimination software; refinement map; semiautomatic algorithm complexity analysis; square-root computation; Algorithm design and analysis; Complexity theory; Intelligent systems; Linear programming; Optimization; Software; Software algorithms; Complexity Optimal algorithm; Real quantifier elimination; Square root;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Intelligent Systems and Informatics (SISY), 2014 IEEE 12th International Symposium on
  • Conference_Location
    Subotica
  • Type

    conf

  • DOI
    10.1109/SISY.2014.6923559
  • Filename
    6923559