计算机科学 > 计算复杂性
[提交于 2022年5月24日]
标题:Modeling Asymptotic Complexity Using ACL2
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:The theory of asymptotic complexity provides an approach to characterizing the behavior of programs in terms of bounds on the number of computational steps executed or use of computational resources. We describe work using ACL2 to prove complexity properties of programs implemented in a simple imperative programming language embedding via an operational semantics in ACL2. We simultaneously prove functional properties of a program and its complexity. We illustrate our approach by describing proofs about a binary search algorithm, proving both that it implements binary search on a sorted list and that it is O(log(n)), where n is the length of the list.
提交历史
来自:EPTCS[v1] 2022年5月24日 星期二 01:17:07 UTC