src/HOL/SPARK/Manual/document/Gcd.ads
author paulson <lp15@cam.ac.uk>
Mon, 24 Mar 2014 14:22:29 +0000
changeset 56261 918432e3fcfa
parent 45044 2fae15f8984d
permissions -rw-r--r--
rearranging some deriv theorems

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;