RUS  ENG
Full version
JOURNALS // Program Systems: Theory and Applications // Archive

Program Systems: Theory and Applications, 2018 Volume 9, Issue 4, Pages 509–560 (Mi ps327)

Mathematical Foundations of Programming

Constructing provable programs for arithmetic of natural numbers in binary representation

S. D. Mechveliani

Ailamazyan Program Systems Institute of Russian Academy of Sciences

Abstract: Support for dependent types in a functional programming language Agda makes it possible to include machine-checked proofs in the program. The problem of provable inclusion of algorithms for arithmetic operations on natural numbers in binary representation is considered.
A library of evidentiary programs for “written calculation” algorithms, acting on bit lists has been built. It contains machine-verifiable proofs of the required properties of the applied algorithms, corrects and substantially supplements the Bin part of the lib-0.16 standard library of the Agda language. (In Russian).

Key words and phrases: computer algebra, binary code arithmetic, provable programming, Agda language.

UDC: 510.252, 004.432.42

MSC: Primary 03B35; Secondary 68T15, 03D60

Received: 03.07.2018
19.12.2018
Accepted: 30.12.2018

DOI: 10.25209/2079-3316-2018-9-4-509-560



© Steklov Math. Inst. of RAS, 2025