| author | blanchet | 
| Wed, 18 Dec 2013 16:50:14 +0100 | |
| changeset 54800 | 78515a298e36 | 
| parent 45610 | 11095c312709 | 
| child 56798 | 939e88e79724 | 
| permissions | -rw-r--r-- | 
(* Title: HOL/SPARK/Manual/Simple_Greatest_Common_Divisor.thy Author: Stefan Berghofer Copyright: secunet Security Networks AG *) theory Simple_Greatest_Common_Divisor imports SPARK GCD begin spark_proof_functions gcd = "gcd :: int \<Rightarrow> int \<Rightarrow> int" spark_open "simple_greatest_common_divisor/g_c_d.siv" spark_vc procedure_g_c_d_4 using `0 < d` `gcd c d = gcd m n` by (simp add: gcd_non_0_int) spark_vc procedure_g_c_d_9 using `0 \<le> c` `gcd c 0 = gcd m n` by simp spark_end end