ϵ">]>
Literature.
[1] J. Komara. Specification and Verification of Programs. Online.
[2] Ján Kľuka. Úvod do deklaratívneho programovania. Online.
[CL] Remark. Note that the square function
is defined in the included module Standard.
Integer Square Root (case study). Specification:
Chapter. Numeric Programs.
Section. Primitive Recursion.
Square root function.
Square root with assignments.
Section. Course of Values Recursion.
Subsection. Course of Values Recursion with Measure.
Bottom up program for the square root function.
Invariant
Section. Recursion on Notation.
Subsection. p -ary arithmetic.
A fast program for the square root function. (1 point)