src/HOL/Library/Predicate_Compile_Quickcheck.thy
author haftmann
Fri Aug 27 19:34:23 2010 +0200 (2010-08-27 ago)
changeset 38857 97775f3e8722
parent 36026 276ebec72082
child 39252 8f176e575a49
permissions -rw-r--r--
renamed class/constant eq to equal; tuned some instantiations
bulwahn@35953
     1
(* Author: Lukas Bulwahn, TU Muenchen *)
bulwahn@35953
     2
bulwahn@35953
     3
header {* A Prototype of Quickcheck based on the Predicate Compiler *}
bulwahn@35953
     4
bulwahn@35953
     5
theory Predicate_Compile_Quickcheck
bulwahn@35953
     6
imports Main Predicate_Compile_Alternative_Defs
bulwahn@35953
     7
uses "../Tools/Predicate_Compile/predicate_compile_quickcheck.ML"
bulwahn@35953
     8
begin
bulwahn@35953
     9
bulwahn@36026
    10
setup {* Quickcheck.add_generator ("predicate_compile_wo_ff", Predicate_Compile_Quickcheck.quickcheck_compile_term
bulwahn@36026
    11
  Predicate_Compile_Aux.New_Pos_Random_DSeq false true 4) *}
bulwahn@36026
    12
setup {* Quickcheck.add_generator ("predicate_compile_ff_fs",
bulwahn@36026
    13
  Predicate_Compile_Quickcheck.quickcheck_compile_term Predicate_Compile_Aux.New_Pos_Random_DSeq true true 4) *}
bulwahn@36026
    14
setup {* Quickcheck.add_generator ("predicate_compile_ff_nofs",
bulwahn@36026
    15
  Predicate_Compile_Quickcheck.quickcheck_compile_term Predicate_Compile_Aux.New_Pos_Random_DSeq true false 4) *}
bulwahn@35953
    16
bulwahn@35953
    17
end