首页> 外文OA文献 >Formally Analyzing Expected Time Complexity of Algorithms Using Theorem Proving
【2h】

Formally Analyzing Expected Time Complexity of Algorithms Using Theorem Proving

机译:用定理证明形式正式分析算法的预期时间复杂度

摘要

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.
机译:概率技术被广泛地用于算法分析中,以估计算法的计算复杂性或计算问题。传统上,此类分析是使用纸和铅笔证明进行的,有时会使用模拟技术来验证结果。这些技术是非正式的,因此可能导致分析不准确。在本文中,我们提出了一种形式化技术,可以使用高阶逻辑定理证明来分析算法的预期时间复杂度。该方法要求使用指示符随机变量在高阶逻辑中对算法及其输入进行数学建模。然后,使用该模型来正式推理定理证明器中底层算法的预期时间复杂度。本文包括指标随机变量的高阶逻辑形式化,这对于所建议的基础结构是至关重要的。为了说明所提出的基础结构的实际有效性和利用率,本文还包括对三个众所周知的问题的算法分析,即帽子检查问题,生日悖论和雇用问题。

著录项

  • 作者

    Hasan Osman; Tahar Sofiène;

  • 作者单位
  • 年度 2010
  • 总页数
  • 原文格式 PDF
  • 正文语种 en
  • 中图分类

相似文献

  • 外文文献
  • 中文文献
  • 专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号