English

Certified binary search tree on W-types

Software Engineering 2024-11-04 v1 Data Structures and Algorithms Category Theory

Abstract

Software bugs have caused enormous economic and human loss in recent years. Certified programming seeks to solve this problem by developing languages where we can make demonstrations that guarantee that our programs work properly. However, the rapid evolution of modern algorithms constantly forces us to develop new tools for this task. In this article we explore the possibility of defining new types using well-founded types. In particular, we developed a new elimination rule on the terms of the type. We apply these ideas to binary search trees to illustrate the power of the method.

Keywords

Cite

@article{arxiv.2411.00242,
  title  = {Certified binary search tree on W-types},
  author = {Gustavo Arengas},
  journal= {arXiv preprint arXiv:2411.00242},
  year   = {2024}
}
R2 v1 2026-06-28T19:43:41.942Z