src/HOL/SPARK/Examples/Gcd/Gcd.ads
author Andreas Lochbihler
Wed, 11 Feb 2015 14:12:30 +0100
changeset 59519 2fb0c0fc62a3
parent 41561 d1318f3c86ba
permissions -rw-r--r--
add more general version of finite_vimageD

package Greatest_Common_Divisor
is

   --# function Gcd(A, B: Natural) return Natural;

   procedure G_C_D(M, N: in Natural; G: out Natural);
     --# derives G from M, N;
     --# pre M >= 0 and N > 0;
     --# post G = Gcd(M,N);

end Greatest_Common_Divisor;