| author | blanchet | 
| Sun, 22 Aug 2010 08:30:19 +0200 | |
| changeset 38630 | 2479d541bc61 | 
| parent 37917 | 67ccea8a4761 | 
| child 39155 | 3e94ebe282f1 | 
| permissions | -rw-r--r-- | 
| 12115 | 1 | (* Title: HOL/ex/ROOT.ML | 
| 11586 | 2 | |
| 12115 | 3 | Miscellaneous examples for Higher-Order Logic. | 
| 4 | *) | |
| 5 | ||
| 24528 | 6 | no_document use_thys [ | 
| 24740 | 7 | "State_Monad", | 
| 25963 | 8 | "Efficient_Nat_examples", | 
| 9 | "FuncSet", | |
| 10 | "Eval_Examples", | |
| 35953 
0460ff79bb52
moved further predicate compile files to HOL-Library
 bulwahn parents: 
35950diff
changeset | 11 | "NormalForm" | 
| 25963 | 12 | ]; | 
| 13 | ||
| 24478 | 14 | use_thys [ | 
| 28021 | 15 | "Numeral", | 
| 24478 | 16 | "Higher_Order_Logic", | 
| 17 | "Abstract_NAT", | |
| 18 | "Guess", | |
| 19 | "Binary", | |
| 20 | "Recdefs", | |
| 21 | "Fundefs", | |
| 33471 | 22 | "Induction_Schema", | 
| 24478 | 23 | "InductiveInvariant_examples", | 
| 24 | "LocaleTest2", | |
| 25 | "Records", | |
| 37760 | 26 | "While_Combinator_Example", | 
| 24478 | 27 | "MonoidGroup", | 
| 28 | "BinEx", | |
| 29 | "Hex_Bin_Examples", | |
| 30 | "Antiquote", | |
| 31 | "Multiquote", | |
| 32 | "PER", | |
| 33 | "NatSum", | |
| 34 | "ThreeDivides", | |
| 35 | "Intuitionistic", | |
| 36 | "CTL", | |
| 37 | "Arith_Examples", | |
| 38 | "BT", | |
| 33436 | 39 | "Tree23", | 
| 24478 | 40 | "MergeSort", | 
| 41 | "Lagrange", | |
| 42 | "Groebner_Examples", | |
| 43 | "MT", | |
| 44 | "Unification", | |
| 24740 | 45 | "Primrec", | 
| 46 | "Tarski", | |
| 25738 
b091cbae3e2a
included meson/metis tests in simultaneous use_thys;
 wenzelm parents: 
25568diff
changeset | 47 | "Classical", | 
| 
b091cbae3e2a
included meson/metis tests in simultaneous use_thys;
 wenzelm parents: 
25568diff
changeset | 48 | "set", | 
| 27436 | 49 | "Meson_Test", | 
| 29181 
cc177742e607
renamed LexOrds.thy to Termination.thy; examples for sizechange method
 krauss parents: 
28952diff
changeset | 50 | "Termination", | 
| 29376 | 51 | "Coherent", | 
| 52 | "PresburgerEx", | |
| 29377 | 53 | "ReflectionEx", | 
| 54 | "BinEx", | |
| 55 | "Sqrt", | |
| 56 | "Sqrt_Script", | |
| 32560 | 57 | "Transfer_Ex", | 
| 29377 | 58 | "Arithmetic_Series_Complex", | 
| 59 | "HarmonicSeries", | |
| 60 | "Refute_Examples", | |
| 29697 
e8785144719d
Added Formal_Power_Series_Examples to HOL-ex image
 chaieb parents: 
29650diff
changeset | 61 | "Quickcheck_Examples", | 
| 37917 | 62 | "Quickcheck_Lattice_Examples", | 
| 35160 
6eb2b6c1d2d5
a draft for an example how to turn specifications involving choice executable
 haftmann parents: 
33651diff
changeset | 63 | "Landau", | 
| 35163 | 64 | "Execute_Choice", | 
| 35328 | 65 | "Summation", | 
| 36793 
27da0a27b76f
put construction of reals using Dedekind cuts in HOL/ex
 huffman parents: 
35953diff
changeset | 66 | "Gauge_Integration", | 
| 
27da0a27b76f
put construction of reals using Dedekind cuts in HOL/ex
 huffman parents: 
35953diff
changeset | 67 | "Dedekind_Real" | 
| 24478 | 68 | ]; | 
| 21256 | 69 | |
| 33546 
5e2d381b0695
try SAT_Examples last, to minimize impact of global side-effects;
 wenzelm parents: 
33471diff
changeset | 70 | HTML.with_charset "utf-8" (no_document use_thys) | 
| 
5e2d381b0695
try SAT_Examples last, to minimize impact of global side-effects;
 wenzelm parents: 
33471diff
changeset | 71 | ["Hebrew", "Chinese", "Serbian"]; | 
| 
5e2d381b0695
try SAT_Examples last, to minimize impact of global side-effects;
 wenzelm parents: 
33471diff
changeset | 72 | |
| 37280 
0fb011773adc
Hilbert_Classical: disable multithreading altogether, otherwise proof normalization will fork futures independently of Goal.parallel_proofs;
 wenzelm parents: 
36962diff
changeset | 73 | (setmp_noncritical proofs 2 (setmp_noncritical Multithreading.max_threads 1 use_thy)) | 
| 32256 
8721c74c5382
Hilbert_Classical: sequential loading due to @{prf}, which joins within a critical section (via options);
 wenzelm parents: 
32254diff
changeset | 74 | "Hilbert_Classical"; | 
| 24478 | 75 | |
| 29376 | 76 | use_thy "SVC_Oracle"; | 
| 32428 
700ed1f4c576
SAT_Examples: removed obsolete Future.shutdown() workaround -- internal exception propagation should now work reliably;
 wenzelm parents: 
32259diff
changeset | 77 | if getenv "SVC_HOME" = "" then () | 
| 
700ed1f4c576
SAT_Examples: removed obsolete Future.shutdown() workaround -- internal exception propagation should now work reliably;
 wenzelm parents: 
32259diff
changeset | 78 | else use_thy "svc_test"; | 
| 29376 | 79 | |
| 32428 
700ed1f4c576
SAT_Examples: removed obsolete Future.shutdown() workaround -- internal exception propagation should now work reliably;
 wenzelm parents: 
32259diff
changeset | 80 | (*requires zChaff (or some other reasonably fast SAT solver)*) | 
| 
700ed1f4c576
SAT_Examples: removed obsolete Future.shutdown() workaround -- internal exception propagation should now work reliably;
 wenzelm parents: 
32259diff
changeset | 81 | if getenv "ZCHAFF_HOME" = "" then () | 
| 
700ed1f4c576
SAT_Examples: removed obsolete Future.shutdown() workaround -- internal exception propagation should now work reliably;
 wenzelm parents: 
32259diff
changeset | 82 | else use_thy "Sudoku"; | 
| 18408 | 83 | |
| 33546 
5e2d381b0695
try SAT_Examples last, to minimize impact of global side-effects;
 wenzelm parents: 
33471diff
changeset | 84 | (*requires a proof-generating SAT solver (zChaff or MiniSAT)*) | 
| 
5e2d381b0695
try SAT_Examples last, to minimize impact of global side-effects;
 wenzelm parents: 
33471diff
changeset | 85 | (*global side-effects ahead!*) | 
| 
5e2d381b0695
try SAT_Examples last, to minimize impact of global side-effects;
 wenzelm parents: 
33471diff
changeset | 86 | try use_thy "SAT_Examples"; (* FIXME try!? (not really a proper test) *) |