author | bulwahn |
Mon, 22 Nov 2010 10:41:52 +0100 | |
changeset 40632 | dc55e6752046 |
parent 40349 | 131cf8790a1c |
child 40946 | 3f697c636fa1 |
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", |
|
39395 | 11 |
"Normalization_by_Evaluation" |
25963 | 12 |
]; |
13 |
||
24478 | 14 |
use_thys [ |
40239
c4336e45f199
moved FOL/ex/Iff_Oracle.thy to HOL/ex where it is more accessible to most readers of isar-ref;
wenzelm
parents:
39395
diff
changeset
|
15 |
"Iff_Oracle", |
40281
3c6198fd0937
Coercive subtyping via subtype constraints, by Dmitriy Traytel (21-Oct-2010).
wenzelm
parents:
40239
diff
changeset
|
16 |
"Coercion_Examples", |
28021 | 17 |
"Numeral", |
24478 | 18 |
"Higher_Order_Logic", |
19 |
"Abstract_NAT", |
|
20 |
"Guess", |
|
21 |
"Binary", |
|
22 |
"Recdefs", |
|
23 |
"Fundefs", |
|
33471 | 24 |
"Induction_Schema", |
24478 | 25 |
"InductiveInvariant_examples", |
26 |
"LocaleTest2", |
|
27 |
"Records", |
|
37760 | 28 |
"While_Combinator_Example", |
24478 | 29 |
"MonoidGroup", |
30 |
"BinEx", |
|
31 |
"Hex_Bin_Examples", |
|
32 |
"Antiquote", |
|
33 |
"Multiquote", |
|
34 |
"PER", |
|
35 |
"NatSum", |
|
36 |
"ThreeDivides", |
|
37 |
"Intuitionistic", |
|
38 |
"CTL", |
|
39 |
"Arith_Examples", |
|
40 |
"BT", |
|
33436 | 41 |
"Tree23", |
24478 | 42 |
"MergeSort", |
43 |
"Lagrange", |
|
44 |
"Groebner_Examples", |
|
45 |
"MT", |
|
46 |
"Unification", |
|
24740 | 47 |
"Primrec", |
48 |
"Tarski", |
|
25738
b091cbae3e2a
included meson/metis tests in simultaneous use_thys;
wenzelm
parents:
25568
diff
changeset
|
49 |
"Classical", |
b091cbae3e2a
included meson/metis tests in simultaneous use_thys;
wenzelm
parents:
25568
diff
changeset
|
50 |
"set", |
27436 | 51 |
"Meson_Test", |
29181
cc177742e607
renamed LexOrds.thy to Termination.thy; examples for sizechange method
krauss
parents:
28952
diff
changeset
|
52 |
"Termination", |
29376 | 53 |
"Coherent", |
54 |
"PresburgerEx", |
|
29377 | 55 |
"ReflectionEx", |
56 |
"BinEx", |
|
57 |
"Sqrt", |
|
58 |
"Sqrt_Script", |
|
32560 | 59 |
"Transfer_Ex", |
29377 | 60 |
"Arithmetic_Series_Complex", |
61 |
"HarmonicSeries", |
|
62 |
"Refute_Examples", |
|
29697
e8785144719d
Added Formal_Power_Series_Examples to HOL-ex image
chaieb
parents:
29650
diff
changeset
|
63 |
"Quickcheck_Examples", |
37917 | 64 |
"Quickcheck_Lattice_Examples", |
35160
6eb2b6c1d2d5
a draft for an example how to turn specifications involving choice executable
haftmann
parents:
33651
diff
changeset
|
65 |
"Landau", |
35163 | 66 |
"Execute_Choice", |
35328 | 67 |
"Summation", |
36793
27da0a27b76f
put construction of reals using Dedekind cuts in HOL/ex
huffman
parents:
35953
diff
changeset
|
68 |
"Gauge_Integration", |
40349 | 69 |
"Dedekind_Real", |
40632
dc55e6752046
adding birthday paradoxon from some abandoned drawer
bulwahn
parents:
40349
diff
changeset
|
70 |
"Quicksort", |
dc55e6752046
adding birthday paradoxon from some abandoned drawer
bulwahn
parents:
40349
diff
changeset
|
71 |
"Birthday_Paradoxon" |
24478 | 72 |
]; |
21256 | 73 |
|
33546
5e2d381b0695
try SAT_Examples last, to minimize impact of global side-effects;
wenzelm
parents:
33471
diff
changeset
|
74 |
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
|
75 |
["Hebrew", "Chinese", "Serbian"]; |
5e2d381b0695
try SAT_Examples last, to minimize impact of global side-effects;
wenzelm
parents:
33471
diff
changeset
|
76 |
|
29376 | 77 |
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
|
78 |
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
|
79 |
else use_thy "svc_test"; |
29376 | 80 |
|
32428
700ed1f4c576
SAT_Examples: removed obsolete Future.shutdown() workaround -- internal exception propagation should now work reliably;
wenzelm
parents:
32259
diff
changeset
|
81 |
(*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
|
82 |
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
|
83 |
else use_thy "Sudoku"; |
18408 | 84 |
|
33546
5e2d381b0695
try SAT_Examples last, to minimize impact of global side-effects;
wenzelm
parents:
33471
diff
changeset
|
85 |
(*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
|
86 |
(*global side-effects ahead!*) |
5e2d381b0695
try SAT_Examples last, to minimize impact of global side-effects;
wenzelm
parents:
33471
diff
changeset
|
87 |
try use_thy "SAT_Examples"; (* FIXME try!? (not really a proper test) *) |