src/HOL/SPARK/Examples/Sqrt/Sqrt.ads
author wenzelm
Sat, 07 Sep 2013 15:10:33 +0200
changeset 53456 d12be8f62285
parent 41561 d1318f3c86ba
permissions -rw-r--r--
Build_Dialog based on System_Dialog; avoid hopping between threads;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
41561
d1318f3c86ba Added new SPARK verification environment.
berghofe
parents:
diff changeset
     1
package Sqrt is
d1318f3c86ba Added new SPARK verification environment.
berghofe
parents:
diff changeset
     2
d1318f3c86ba Added new SPARK verification environment.
berghofe
parents:
diff changeset
     3
   function Isqrt(N: Natural) return Natural;
d1318f3c86ba Added new SPARK verification environment.
berghofe
parents:
diff changeset
     4
   --# return R => R * R <= N and (R + 1) * (R + 1) > N;
d1318f3c86ba Added new SPARK verification environment.
berghofe
parents:
diff changeset
     5
d1318f3c86ba Added new SPARK verification environment.
berghofe
parents:
diff changeset
     6
end Sqrt;