increasing the number of iterations to ensure to find a counterexample by random generation
authorbulwahn
Thu, 09 Sep 2010 11:10:44 +0200
changeset 39249 9c866b248cb1
parent 39248 4a3747517552
child 39250 548a3e5521ab
increasing the number of iterations to ensure to find a counterexample by random generation
src/HOL/Predicate_Compile_Examples/IMP_1.thy
src/HOL/Predicate_Compile_Examples/IMP_2.thy
src/HOL/Predicate_Compile_Examples/IMP_3.thy
--- a/src/HOL/Predicate_Compile_Examples/IMP_1.thy	Thu Sep 09 09:11:13 2010 +0200
+++ b/src/HOL/Predicate_Compile_Examples/IMP_1.thy	Thu Sep 09 11:10:44 2010 +0200
@@ -27,7 +27,7 @@
 
 lemma
   "exec c s s' ==> exec (Seq c c) s s'"
-quickcheck[generator = predicate_compile_wo_ff, size = 2, iterations = 1, expect = counterexample]
+quickcheck[generator = predicate_compile_wo_ff, size = 2, iterations = 10, expect = counterexample]
 oops
 
 
--- a/src/HOL/Predicate_Compile_Examples/IMP_2.thy	Thu Sep 09 09:11:13 2010 +0200
+++ b/src/HOL/Predicate_Compile_Examples/IMP_2.thy	Thu Sep 09 11:10:44 2010 +0200
@@ -30,7 +30,7 @@
 
 lemma
   "exec c s s' ==> exec (Seq c c) s s'"
-quickcheck[generator = predicate_compile_wo_ff, size = 2, iterations = 1]
+quickcheck[generator = predicate_compile_wo_ff, size = 2, iterations = 10]
 oops
 
 
--- a/src/HOL/Predicate_Compile_Examples/IMP_3.thy	Thu Sep 09 09:11:13 2010 +0200
+++ b/src/HOL/Predicate_Compile_Examples/IMP_3.thy	Thu Sep 09 11:10:44 2010 +0200
@@ -30,7 +30,7 @@
 
 lemma
   "exec c s s' ==> exec (Seq c c) s s'"
-  quickcheck[generator = predicate_compile_ff_nofs, size=2, iterations=3, quiet = false, expect = counterexample]
+  quickcheck[generator = predicate_compile_ff_nofs, size=2, iterations=10, quiet = false, expect = counterexample]
 oops