increasing the number of iterations to ensure to find a counterexample by random generation
authorbulwahn
Thu Sep 09 11:10:44 2010 +0200 (2010-09-09)
changeset 392499c866b248cb1
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
     1.1 --- a/src/HOL/Predicate_Compile_Examples/IMP_1.thy	Thu Sep 09 09:11:13 2010 +0200
     1.2 +++ b/src/HOL/Predicate_Compile_Examples/IMP_1.thy	Thu Sep 09 11:10:44 2010 +0200
     1.3 @@ -27,7 +27,7 @@
     1.4  
     1.5  lemma
     1.6    "exec c s s' ==> exec (Seq c c) s s'"
     1.7 -quickcheck[generator = predicate_compile_wo_ff, size = 2, iterations = 1, expect = counterexample]
     1.8 +quickcheck[generator = predicate_compile_wo_ff, size = 2, iterations = 10, expect = counterexample]
     1.9  oops
    1.10  
    1.11  
     2.1 --- a/src/HOL/Predicate_Compile_Examples/IMP_2.thy	Thu Sep 09 09:11:13 2010 +0200
     2.2 +++ b/src/HOL/Predicate_Compile_Examples/IMP_2.thy	Thu Sep 09 11:10:44 2010 +0200
     2.3 @@ -30,7 +30,7 @@
     2.4  
     2.5  lemma
     2.6    "exec c s s' ==> exec (Seq c c) s s'"
     2.7 -quickcheck[generator = predicate_compile_wo_ff, size = 2, iterations = 1]
     2.8 +quickcheck[generator = predicate_compile_wo_ff, size = 2, iterations = 10]
     2.9  oops
    2.10  
    2.11  
     3.1 --- a/src/HOL/Predicate_Compile_Examples/IMP_3.thy	Thu Sep 09 09:11:13 2010 +0200
     3.2 +++ b/src/HOL/Predicate_Compile_Examples/IMP_3.thy	Thu Sep 09 11:10:44 2010 +0200
     3.3 @@ -30,7 +30,7 @@
     3.4  
     3.5  lemma
     3.6    "exec c s s' ==> exec (Seq c c) s s'"
     3.7 -  quickcheck[generator = predicate_compile_ff_nofs, size=2, iterations=3, quiet = false, expect = counterexample]
     3.8 +  quickcheck[generator = predicate_compile_ff_nofs, size=2, iterations=10, quiet = false, expect = counterexample]
     3.9  oops
    3.10  
    3.11