arXiv · 1812.09411
Correct by construction
Abstract
Matrix code allows one to discover algorithms and to render them in code that is both compilable and is correct by construction. In this way the difficulty of verifying existing code is avoided. The method is especially important for logically dense code and when precision programming is called for. The paper explains both these concepts. Logically dense code is explained by means of the partition stage of the Quicksort algorithm. Precision programming is explained by means of fast exponentiation.
Explore related subjects
Keep this discovery
M. H. van Emden. 2018-12-21. Correct by construction. https://arxiv.org/abs/1812.09411
Cite the original work for its findings. Save a collection to share your selection of sources.