author | bulwahn |
Tue, 07 Jun 2011 11:10:57 +0200 | |
changeset 43238 | 04c886a1d1a5 |
parent 42607 | c8673078f915 |
child 43242 | 3c58977e0911 |
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 [ |
41413
64cd30d6b0b8
explicit file specifications -- avoid secondary load path;
wenzelm
parents:
40946
diff
changeset
|
7 |
"~~/src/HOL/Library/State_Monad", |
25963 | 8 |
"Efficient_Nat_examples", |
41413
64cd30d6b0b8
explicit file specifications -- avoid secondary load path;
wenzelm
parents:
40946
diff
changeset
|
9 |
"~~/src/HOL/Library/FuncSet", |
25963 | 10 |
"Eval_Examples", |
40946
3f697c636fa1
eliminated fragile HTML.with_charset -- always use utf-8;
wenzelm
parents:
40632
diff
changeset
|
11 |
"Normalization_by_Evaluation", |
3f697c636fa1
eliminated fragile HTML.with_charset -- always use utf-8;
wenzelm
parents:
40632
diff
changeset
|
12 |
"Hebrew", |
3f697c636fa1
eliminated fragile HTML.with_charset -- always use utf-8;
wenzelm
parents:
40632
diff
changeset
|
13 |
"Chinese", |
42607
c8673078f915
fix ROOT.ML and handle "readable_names" reference slightly more cleanly
blanchet
parents:
42601
diff
changeset
|
14 |
"Serbian", |
c8673078f915
fix ROOT.ML and handle "readable_names" reference slightly more cleanly
blanchet
parents:
42601
diff
changeset
|
15 |
"TPTP_Export" |
25963 | 16 |
]; |
17 |
||
24478 | 18 |
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
|
19 |
"Iff_Oracle", |
40281
3c6198fd0937
Coercive subtyping via subtype constraints, by Dmitriy Traytel (21-Oct-2010).
wenzelm
parents:
40239
diff
changeset
|
20 |
"Coercion_Examples", |
28021 | 21 |
"Numeral", |
24478 | 22 |
"Higher_Order_Logic", |
23 |
"Abstract_NAT", |
|
24 |
"Guess", |
|
25 |
"Binary", |
|
26 |
"Recdefs", |
|
27 |
"Fundefs", |
|
33471 | 28 |
"Induction_Schema", |
24478 | 29 |
"InductiveInvariant_examples", |
30 |
"LocaleTest2", |
|
31 |
"Records", |
|
37760 | 32 |
"While_Combinator_Example", |
24478 | 33 |
"MonoidGroup", |
34 |
"BinEx", |
|
35 |
"Hex_Bin_Examples", |
|
36 |
"Antiquote", |
|
37 |
"Multiquote", |
|
38 |
"PER", |
|
39 |
"NatSum", |
|
40 |
"ThreeDivides", |
|
41 |
"Intuitionistic", |
|
42 |
"CTL", |
|
43 |
"Arith_Examples", |
|
44 |
"BT", |
|
33436 | 45 |
"Tree23", |
24478 | 46 |
"MergeSort", |
47 |
"Lagrange", |
|
48 |
"Groebner_Examples", |
|
49 |
"MT", |
|
50 |
"Unification", |
|
24740 | 51 |
"Primrec", |
52 |
"Tarski", |
|
25738
b091cbae3e2a
included meson/metis tests in simultaneous use_thys;
wenzelm
parents:
25568
diff
changeset
|
53 |
"Classical", |
b091cbae3e2a
included meson/metis tests in simultaneous use_thys;
wenzelm
parents:
25568
diff
changeset
|
54 |
"set", |
27436 | 55 |
"Meson_Test", |
29181
cc177742e607
renamed LexOrds.thy to Termination.thy; examples for sizechange method
krauss
parents:
28952
diff
changeset
|
56 |
"Termination", |
29376 | 57 |
"Coherent", |
58 |
"PresburgerEx", |
|
29377 | 59 |
"ReflectionEx", |
60 |
"BinEx", |
|
61 |
"Sqrt", |
|
62 |
"Sqrt_Script", |
|
32560 | 63 |
"Transfer_Ex", |
29377 | 64 |
"Arithmetic_Series_Complex", |
65 |
"HarmonicSeries", |
|
66 |
"Refute_Examples", |
|
29697
e8785144719d
Added Formal_Power_Series_Examples to HOL-ex image
chaieb
parents:
29650
diff
changeset
|
67 |
"Quickcheck_Examples", |
42161
d1b39536e1fb
adding a regression test for SML_Quickcheck; putting SML_Quickcheck back in shape
bulwahn
parents:
42078
diff
changeset
|
68 |
"SML_Quickcheck_Examples", |
37917 | 69 |
"Quickcheck_Lattice_Examples", |
35160
6eb2b6c1d2d5
a draft for an example how to turn specifications involving choice executable
haftmann
parents:
33651
diff
changeset
|
70 |
"Landau", |
35163 | 71 |
"Execute_Choice", |
35328 | 72 |
"Summation", |
36793
27da0a27b76f
put construction of reals using Dedekind cuts in HOL/ex
huffman
parents:
35953
diff
changeset
|
73 |
"Gauge_Integration", |
40349 | 74 |
"Dedekind_Real", |
40632
dc55e6752046
adding birthday paradoxon from some abandoned drawer
bulwahn
parents:
40349
diff
changeset
|
75 |
"Quicksort", |
43238
04c886a1d1a5
renaming the formalisation of the birthday problem to a proper English name
bulwahn
parents:
42607
diff
changeset
|
76 |
"Birthday_Paradox", |
41582
c34415351b6d
experimental variant of interpretation with simultaneous definitions, plus example
haftmann
parents:
41465
diff
changeset
|
77 |
"List_to_Set_Comprehension_Examples", |
42078
d5bf0ce40bd7
isolate change of Proofterm.proofs in TPTP.thy from rest of session;
wenzelm
parents:
42071
diff
changeset
|
78 |
"Set_Algebras" |
24478 | 79 |
]; |
21256 | 80 |
|
42078
d5bf0ce40bd7
isolate change of Proofterm.proofs in TPTP.thy from rest of session;
wenzelm
parents:
42071
diff
changeset
|
81 |
Unsynchronized.setmp Proofterm.proofs (! Proofterm.proofs) |
42607
c8673078f915
fix ROOT.ML and handle "readable_names" reference slightly more cleanly
blanchet
parents:
42601
diff
changeset
|
82 |
use_thy "CASC_Setup"; |
42078
d5bf0ce40bd7
isolate change of Proofterm.proofs in TPTP.thy from rest of session;
wenzelm
parents:
42071
diff
changeset
|
83 |
|
41952
c7297638599b
cleanup of former settings GHC_PATH, EXEC_GHC, EXEC_OCAML, EXEC_SWIPL, EXEC_YAP -- discontinued implicit detection;
wenzelm
parents:
41932
diff
changeset
|
84 |
if getenv "ISABELLE_GHC" = "" then () |
41932
e8f113ce8a94
adapting Quickcheck_Narrowing and example file to new names
bulwahn
parents:
41914
diff
changeset
|
85 |
else use_thy "Quickcheck_Narrowing_Examples"; |
41914
4ef7e6e317fa
only testing theory LSC_Examples when GHC is installed on the machine
bulwahn
parents:
41911
diff
changeset
|
86 |
|
29376 | 87 |
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
|
88 |
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
|
89 |
else use_thy "svc_test"; |
29376 | 90 |
|
32428
700ed1f4c576
SAT_Examples: removed obsolete Future.shutdown() workaround -- internal exception propagation should now work reliably;
wenzelm
parents:
32259
diff
changeset
|
91 |
(*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
|
92 |
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
|
93 |
else use_thy "Sudoku"; |
18408 | 94 |
|
33546
5e2d381b0695
try SAT_Examples last, to minimize impact of global side-effects;
wenzelm
parents:
33471
diff
changeset
|
95 |
(*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
|
96 |
(*global side-effects ahead!*) |
5e2d381b0695
try SAT_Examples last, to minimize impact of global side-effects;
wenzelm
parents:
33471
diff
changeset
|
97 |
try use_thy "SAT_Examples"; (* FIXME try!? (not really a proper test) *) |