Formally Analyzing Expected Time Complexity of Algorithms Using Theorem Proving

被引:0
|
作者
Osman Hasan [1 ]
Sofiène Tahar [1 ]
机构
[1] Department of Electrical and Computer Engineering,Concordia University
关键词
formal method; higher-order logic; probability theory; theorem proving; birthday paradox; hat-check problem; hiring problem;
D O I
暂无
中图分类号
TP301.6 [算法理论];
学科分类号
081202 ;
摘要
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 effiectiveness 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.
引用
收藏
页码:1305 / 1320
页数:16
相关论文
共 49 条
  • [1] Formally Analyzing Expected Time Complexity of Algorithms Using Theorem Proving
    Osman Hasan
    Sofiène Tahar
    Journal of Computer Science and Technology, 2010, 25 : 1305 - 1320
  • [2] Formally Analyzing Expected Time Complexity of Algorithms Using Theorem Proving
    Hasan, Osman
    Tahar, Sofiene
    JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY, 2010, 25 (06) : 1305 - 1320
  • [3] Formal reliability analysis of combinational circuits using theorem proving
    Hasan, Osman
    Patel, Jigar
    Tahar, Sofiene
    JOURNAL OF APPLIED LOGIC, 2011, 9 (01) : 41 - 60
  • [4] On the Formal Analysis of HMM Using Theorem Proving
    Liu, Liya
    Aravantinos, Vincent
    Hasan, Osman
    Tahar, Sofiene
    FORMAL METHODS AND SOFTWARE ENGINEERING, ICFEM 2014, 2014, 8829 : 316 - 331
  • [5] Formal Availability Analysis Using Theorem Proving
    Ahmed, Waqar
    Hasan, Osman
    FORMAL METHODS AND SOFTWARE ENGINEERING, ICFEM 2016, 2016, 10009 : 226 - 242
  • [6] Formal Verification of Universal Numbers using Theorem Proving
    Rashid, Adnan
    Gauhar, Ayesha
    Hasan, Osman
    Abed, Sa'ed
    Ahmad, Imtiaz
    JOURNAL OF ELECTRONIC TESTING-THEORY AND APPLICATIONS, 2024, 40 (03): : 329 - 345
  • [7] Probabilistic Analysis of Wireless Systems Using Theorem Proving
    Hasan, Osman
    Tahar, Sofiene
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2009, 242 (02) : 43 - 58
  • [8] On the Formalization of Importance Measures using HOL Theorem Proving
    Ahmad, Waqar
    Murtza, Shahid Ali
    Hasan, Osman
    Tahar, Sofiene
    2019 IEEE/ACM 7TH INTERNATIONAL WORKSHOP ON FORMAL METHODS IN SOFTWARE ENGINEERING (FORMALISE 2019), 2019, : 109 - 118
  • [9] Towards Formal Fault Tree Analysis Using Theorem Proving
    Ahmed, Waqar
    Hasan, Osman
    INTELLIGENT COMPUTER MATHEMATICS, CICM 2015, 2015, 9150 : 39 - 54
  • [10] Formal Analysis of Linear Control Systems Using Theorem Proving
    Rashid, Adnan
    Hasan, Osman
    FORMAL METHODS AND SOFTWARE ENGINEERING, ICFEM 2017, 2017, 10610 : 345 - 361