Hasan, Osman and Tahar, Sofiène (2010) Formally Analyzing Expected Time Complexity of Algorithms Using Theorem Proving. Journal of Computer Science and Technology, 25 (6). pp. 1305-1320. ISSN 1000-9000
Preview |
Text (application/pdf)
361kBformally_analyzing_expected_time.pdf - Accepted Version |
Official URL: http://dx.doi.org/10.1007/s11390-010-9407-0
Abstract
Probabilistic techniques are widely used in the analysis of algorithms to estimate the computational complexity of algorithms or a computational problem. Traditionally, such analyses are performed using paper-and-pencil proofs and the results are sometimes validated using simulation techniques. These techniques are informal and thus may result in an inaccurate analysis. In this paper, we propose a formal technique for analyzing the expected time complexity of algorithms using higher-order-logic theorem proving. The approach calls for mathematically modeling the algorithm along with its inputs, using indicator random variables, in higher-order logic. This model is then used to formally reason about the expected time complexity of the underlying algorithm in a theorem prover. The paper includes the higher-order-logic formalization of indicator random variables, which are fundamental to the proposed infrastructure. In order to illustrate the practical effectiveness and utilization of the proposed infrastructure, the paper also includes the analysis of algorithms for three well-known problems, i.e., the hat-check problem, the birthday paradox and the hiring problem.
Divisions: | Concordia University > Gina Cody School of Engineering and Computer Science > Electrical and Computer Engineering |
---|---|
Item Type: | Article |
Refereed: | Yes |
Authors: | Hasan, Osman and Tahar, Sofiène |
Journal or Publication: | Journal of Computer Science and Technology |
Date: | 2010 |
Digital Object Identifier (DOI): | 10.1007/s11390-010-9407-0 |
ID Code: | 974502 |
Deposited By: | ANDREA MURRAY |
Deposited On: | 31 Jul 2012 20:11 |
Last Modified: | 18 Jan 2018 17:38 |
Repository Staff Only: item control page