author | haftmann |
Fri, 02 Jul 2010 14:23:18 +0200 | |
changeset 37695 | 71e84a203c19 |
parent 37280 | 0fb011773adc |
child 37760 | 8380686be5cd |
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:
35950
diff
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", |
|
26 |
"MonoidGroup", |
|
27 |
"BinEx", |
|
28 |
"Hex_Bin_Examples", |
|
29 |
"Antiquote", |
|
30 |
"Multiquote", |
|
31 |
"PER", |
|
32 |
"NatSum", |
|
33 |
"ThreeDivides", |
|
34 |
"Intuitionistic", |
|
35 |
"CTL", |
|
36 |
"Arith_Examples", |
|
37 |
"BT", |
|
33436 | 38 |
"Tree23", |
24478 | 39 |
"MergeSort", |
40 |
"Lagrange", |
|
41 |
"Groebner_Examples", |
|
42 |
"MT", |
|
43 |
"Unification", |
|
24740 | 44 |
"Primrec", |
45 |
"Tarski", |
|
25738
b091cbae3e2a
included meson/metis tests in simultaneous use_thys;
wenzelm
parents:
25568
diff
changeset
|
46 |
"Classical", |
b091cbae3e2a
included meson/metis tests in simultaneous use_thys;
wenzelm
parents:
25568
diff
changeset
|
47 |
"set", |
27436 | 48 |
"Meson_Test", |
29181
cc177742e607
renamed LexOrds.thy to Termination.thy; examples for sizechange method
krauss
parents:
28952
diff
changeset
|
49 |
"Termination", |
29376 | 50 |
"Coherent", |
51 |
"PresburgerEx", |
|
29377 | 52 |
"ReflectionEx", |
53 |
"BinEx", |
|
54 |
"Sqrt", |
|
55 |
"Sqrt_Script", |
|
32560 | 56 |
"Transfer_Ex", |
29377 | 57 |
"Arithmetic_Series_Complex", |
58 |
"HarmonicSeries", |
|
59 |
"Refute_Examples", |
|
29697
e8785144719d
Added Formal_Power_Series_Examples to HOL-ex image
chaieb
parents:
29650
diff
changeset
|
60 |
"Quickcheck_Examples", |
35160
6eb2b6c1d2d5
a draft for an example how to turn specifications involving choice executable
haftmann
parents:
33651
diff
changeset
|
61 |
"Landau", |
35163 | 62 |
"Execute_Choice", |
35328 | 63 |
"Summation", |
36793
27da0a27b76f
put construction of reals using Dedekind cuts in HOL/ex
huffman
parents:
35953
diff
changeset
|
64 |
"Gauge_Integration", |
27da0a27b76f
put construction of reals using Dedekind cuts in HOL/ex
huffman
parents:
35953
diff
changeset
|
65 |
"Dedekind_Real" |
24478 | 66 |
]; |
21256 | 67 |
|
33546
5e2d381b0695
try SAT_Examples last, to minimize impact of global side-effects;
wenzelm
parents:
33471
diff
changeset
|
68 |
HTML.with_charset "utf-8" (no_document use_thys) |
5e2d381b0695
try SAT_Examples last, to minimize impact of global side-effects;
wenzelm
parents:
33471
diff
changeset
|
69 |
["Hebrew", "Chinese", "Serbian"]; |
5e2d381b0695
try SAT_Examples last, to minimize impact of global side-effects;
wenzelm
parents:
33471
diff
changeset
|
70 |
|
37280
0fb011773adc
Hilbert_Classical: disable multithreading altogether, otherwise proof normalization will fork futures independently of Goal.parallel_proofs;
wenzelm
parents:
36962
diff
changeset
|
71 |
(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:
32254
diff
changeset
|
72 |
"Hilbert_Classical"; |
24478 | 73 |
|
29376 | 74 |
use_thy "SVC_Oracle"; |
32428
700ed1f4c576
SAT_Examples: removed obsolete Future.shutdown() workaround -- internal exception propagation should now work reliably;
wenzelm
parents:
32259
diff
changeset
|
75 |
if getenv "SVC_HOME" = "" then () |
700ed1f4c576
SAT_Examples: removed obsolete Future.shutdown() workaround -- internal exception propagation should now work reliably;
wenzelm
parents:
32259
diff
changeset
|
76 |
else use_thy "svc_test"; |
29376 | 77 |
|
32428
700ed1f4c576
SAT_Examples: removed obsolete Future.shutdown() workaround -- internal exception propagation should now work reliably;
wenzelm
parents:
32259
diff
changeset
|
78 |
(*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:
32259
diff
changeset
|
79 |
if getenv "ZCHAFF_HOME" = "" then () |
700ed1f4c576
SAT_Examples: removed obsolete Future.shutdown() workaround -- internal exception propagation should now work reliably;
wenzelm
parents:
32259
diff
changeset
|
80 |
else use_thy "Sudoku"; |
18408 | 81 |
|
33546
5e2d381b0695
try SAT_Examples last, to minimize impact of global side-effects;
wenzelm
parents:
33471
diff
changeset
|
82 |
(*requires a proof-generating SAT solver (zChaff or MiniSAT)*) |
5e2d381b0695
try SAT_Examples last, to minimize impact of global side-effects;
wenzelm
parents:
33471
diff
changeset
|
83 |
(*global side-effects ahead!*) |
5e2d381b0695
try SAT_Examples last, to minimize impact of global side-effects;
wenzelm
parents:
33471
diff
changeset
|
84 |
try use_thy "SAT_Examples"; (* FIXME try!? (not really a proper test) *) |