src/HOL/Predicate_Compile.thy
author haftmann
Thu Feb 14 15:27:10 2013 +0100 (2013-02-14)
changeset 51126 df86080de4cb
parent 50055 94041d602ecb
child 52023 b477be38a7bb
permissions -rw-r--r--
reform of predicate compiler / quickcheck theories:
implement yieldn operations uniformly on the ML level -- predicate compiler uses negative integers as parameter to yieldn, whereas code_numeral represents natural numbers!
avoid odd New_ prefix by joining related theories;
avoid overcompact name DSequence;
separated predicate inside random monad into separate theory;
consolidated name of theory Quickcheck
wenzelm@33265
     1
(*  Title:      HOL/Predicate_Compile.thy
wenzelm@33265
     2
    Author:     Stefan Berghofer, Lukas Bulwahn, Florian Haftmann, TU Muenchen
wenzelm@33265
     3
*)
bulwahn@33250
     4
bulwahn@33250
     5
header {* A compiler for predicates defined by introduction rules *}
bulwahn@33250
     6
bulwahn@33250
     7
theory Predicate_Compile
haftmann@51126
     8
imports Random_Sequence Quickcheck_Exhaustive
wenzelm@46950
     9
keywords "code_pred" :: thy_goal and "values" :: diag
bulwahn@33250
    10
begin
bulwahn@33250
    11
wenzelm@48891
    12
ML_file "Tools/Predicate_Compile/predicate_compile_aux.ML"
wenzelm@48891
    13
ML_file "Tools/Predicate_Compile/predicate_compile_compilations.ML"
wenzelm@48891
    14
ML_file "Tools/Predicate_Compile/core_data.ML"
wenzelm@48891
    15
ML_file "Tools/Predicate_Compile/mode_inference.ML"
wenzelm@48891
    16
ML_file "Tools/Predicate_Compile/predicate_compile_proof.ML"
wenzelm@48891
    17
ML_file "Tools/Predicate_Compile/predicate_compile_core.ML"
wenzelm@48891
    18
ML_file "Tools/Predicate_Compile/predicate_compile_data.ML"
wenzelm@48891
    19
ML_file "Tools/Predicate_Compile/predicate_compile_fun.ML"
wenzelm@48891
    20
ML_file "Tools/Predicate_Compile/predicate_compile_pred.ML"
wenzelm@48891
    21
ML_file "Tools/Predicate_Compile/predicate_compile_specialisation.ML"
wenzelm@48891
    22
ML_file "Tools/Predicate_Compile/predicate_compile.ML"
wenzelm@48891
    23
wenzelm@33265
    24
setup Predicate_Compile.setup
bulwahn@33250
    25
bulwahn@34948
    26
end