Formally Analyzing Expected Time Complexity of Algorithms Using Theorem Proving

来源 :计算机科学技术学报(英文版) | 被引量 : 0次 | 上传用户:birchwoods2010
下载到本地 , 更方便阅读
声明 : 本文档内容版权归属内容提供方 , 如果您对本文有版权争议 , 可与客服联系进行内容授权或下架
论文部分内容阅读
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.
其他文献
本文从三个方面探讨了如何激发学生学习英语的主动性,即:一,更新观念,建立新型、和谐的师生关系:二、充分调动情感因素,提高学生学习兴趣,创设宽松有序学习氛围:三、充分利用
用抗青枯病花生品种远杂9102与感病品种Chico杂交,从F2起用单粒传法构建了花生重组近交系群体(RIL)F6和F7。采用354对SSR引物对重组近交系F6群体的基因组DNA鉴定,获得多态性
本文从词块的定义入手,回顾了国内外近年来词块理论的发展以及应用到教学的研究。建议在听力教学中尝试运用词块知识,并以事例说明其对听力教学的帮助和加强。 This article
英语翻译成汉语时,四字格为我们所广泛使用。运用四字格不仅可以使语言简练,而且读起来非常顺口,如运用得体,可使语言更加生动活泼,增强修辞效果。本文主要介绍了汉语四字格
以乙醇作为厌氧呼吸的指标,评估气调包装贮藏茶树菇时厌氧呼吸产生的条件,探讨硅窗对茶树菇的呼吸特性与贮藏品质变化的影响.结果表明:与普通气调相比较,硅窗气调能明显改善
把计算机、互联网技术应用到语言教学和测试中是当前大学英语教学发展的趋势.北京市经济管理干部学院的"蓝鸽网络化考试平台"可满足与外语考试相关的各个环节的各项需求,有效
利用RT-PCR技术扩增获得了长度约640 bp的口蹄疫病毒目的基因,回收片段后与pMD18-T载体进行连接,测序结果表明获得了口蹄疫病毒3C基因。将重组质粒pMD18-3C与表达载体pEGFP-N
以25个超甜玉米品种为试验材料,研究授粉后15~27 d不同采收期百粒鲜重、籽粒可溶性糖含量、含水率与鲜穗蒸煮品评分的关系.结果表明:4个指标均值在不同品种和采收期间差异极显
开放式英语教学是有效提高成人英语教学质量的最佳选择。但是,由于教学过程中的教学互动存在问题,致使成人英语教学中存在开放不足的问题。解决这个问题就要从在教法上要因材
作为一位杰出的作家、文艺评论家,爱伦.坡的短篇小说和文艺理论对后世产生了深远的影响,本文试图通过解读其短篇小说《故弄玄虚》,进一步了解他的叙事艺术及他文学理论在其作