src/HOL/Library/Predicate_Compile_Quickcheck.thy
author haftmann
Wed, 08 Dec 2010 15:05:46 +0100
changeset 41082 9ff94e7cc3b3
parent 39252 8f176e575a49
child 43886 bf068e758783
permissions -rw-r--r--
bot comes before top, inf before sup etc.

(* Author: Lukas Bulwahn, TU Muenchen *)

header {* A Prototype of Quickcheck based on the Predicate Compiler *}

theory Predicate_Compile_Quickcheck
imports Main Predicate_Compile_Alternative_Defs
uses "../Tools/Predicate_Compile/predicate_compile_quickcheck.ML"
begin

setup {* Context.theory_map (Quickcheck.add_generator ("predicate_compile_wo_ff", Predicate_Compile_Quickcheck.quickcheck_compile_term
  Predicate_Compile_Aux.New_Pos_Random_DSeq false true 4)) *}
setup {* Context.theory_map (Quickcheck.add_generator ("predicate_compile_ff_fs",
  Predicate_Compile_Quickcheck.quickcheck_compile_term Predicate_Compile_Aux.New_Pos_Random_DSeq true true 4)) *}
setup {* Context.theory_map (Quickcheck.add_generator ("predicate_compile_ff_nofs",
  Predicate_Compile_Quickcheck.quickcheck_compile_term Predicate_Compile_Aux.New_Pos_Random_DSeq true false 4)) *}

end