English

Modeling Asymptotic Complexity Using ACL2

Computational Complexity 2022-05-25 v1 Logic in Computer Science

Abstract

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.

Keywords

Cite

@article{arxiv.2205.11700,
  title  = {Modeling Asymptotic Complexity Using ACL2},
  author = {William D. Young},
  journal= {arXiv preprint arXiv:2205.11700},
  year   = {2022}
}

Comments

In Proceedings ACL2 2022, arXiv:2205.11103

R2 v1 2026-06-24T11:26:23.908Z