The complexity space of partial functions: a connection between complexity analysis and denotational semantics

  • Authors:
  • S. Romaguera;M. P. Schellekens;O. Valero

  • Affiliations:
  • Instituto Universitario de Matematica Pura y Aplicada, Universidad Politecnica de Valencia, Valencia, Spain;Department of Computer Science, Center of Efficiency-Oriented Languages, University College Cork, Cork, Ireland;Departamento de Ciencias Matematicas e Informatica, Universidad de las Islas Baleares, Palma de Mallorca, Spain

  • Venue:
  • International Journal of Computer Mathematics - APPLICATIONS OF COMPUTATIONAL MATHEMATICS IN SCIENCE AND ENGINEERING
  • Year:
  • 2011

Quantified Score

Hi-index 0.01

Visualization

Abstract

The study of the dual complexity space, introduced by S. Romaguera and M.P. Schellekens [Quasi-metric properties of complexity spaces, Topol. Appl. 98 (1999), pp. 311-322], constitutes a part of the interdisciplinary research on Computer Science and Topology. The relevance of this theory is given by the fact that it allows one to apply fixed point techniques of denotational semantics to complexity analysis. Motivated by this fact and with the intention of obtaining a mixed framework valid for both disciplines, a new complexity space formed by partial functions was recently introduced and studied by S. Romaguera and O. Valero [On the structure of the space of complexity partial functions, Int. J. Comput. Math. 85 (2008), pp. 631-640]. An application of the complexity space of partial functions to model certain processes that arise, in a natural way, in symbolic computation was given in the aforementioned reference. In this paper, we enter more deeply into the relationship between semantics and complexity analysis of programs. We construct an extension of the complexity space of partial functions and show that it is, at the same time, an appropriate mathematical tool for the complexity analysis of algorithms and for the validation of recursive definitions of programs. As applications of our complexity framework, we show the correctness of the denotational specification of the factorial function and give an alternative formal proof of the asymptotic upper bound for the average case analysis of Quicksort.