| author | huffman |
| Tue, 23 Aug 2011 14:11:02 -0700 | |
| changeset 44457 | d366fa5551ef |
| parent 44276 | fe769a0fcc96 |
| child 44962 | 5554ed48b13f |
| 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", |
|
43804
eb9be23db2b7
cleanly separate TPTP related files from other examples
blanchet
parents:
43242
diff
changeset
|
14 |
"Serbian" |
| 25963 | 15 |
]; |
16 |
||
| 24478 | 17 |
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
|
18 |
"Iff_Oracle", |
|
40281
3c6198fd0937
Coercive subtyping via subtype constraints, by Dmitriy Traytel (21-Oct-2010).
wenzelm
parents:
40239
diff
changeset
|
19 |
"Coercion_Examples", |
| 28021 | 20 |
"Numeral", |
| 24478 | 21 |
"Higher_Order_Logic", |
22 |
"Abstract_NAT", |
|
23 |
"Guess", |
|
24 |
"Binary", |
|
25 |
"Fundefs", |
|
| 33471 | 26 |
"Induction_Schema", |
| 24478 | 27 |
"LocaleTest2", |
28 |
"Records", |
|
| 37760 | 29 |
"While_Combinator_Example", |
| 24478 | 30 |
"MonoidGroup", |
31 |
"BinEx", |
|
32 |
"Hex_Bin_Examples", |
|
33 |
"Antiquote", |
|
34 |
"Multiquote", |
|
35 |
"PER", |
|
36 |
"NatSum", |
|
37 |
"ThreeDivides", |
|
38 |
"Intuitionistic", |
|
39 |
"CTL", |
|
40 |
"Arith_Examples", |
|
41 |
"BT", |
|
| 33436 | 42 |
"Tree23", |
| 24478 | 43 |
"MergeSort", |
44 |
"Lagrange", |
|
45 |
"Groebner_Examples", |
|
46 |
"MT", |
|
47 |
"Unification", |
|
| 24740 | 48 |
"Primrec", |
49 |
"Tarski", |
|
|
25738
b091cbae3e2a
included meson/metis tests in simultaneous use_thys;
wenzelm
parents:
25568
diff
changeset
|
50 |
"Classical", |
| 44276 | 51 |
"Set_Theory", |
| 27436 | 52 |
"Meson_Test", |
|
29181
cc177742e607
renamed LexOrds.thy to Termination.thy; examples for sizechange method
krauss
parents:
28952
diff
changeset
|
53 |
"Termination", |
| 29376 | 54 |
"Coherent", |
55 |
"PresburgerEx", |
|
| 29377 | 56 |
"ReflectionEx", |
57 |
"BinEx", |
|
58 |
"Sqrt", |
|
59 |
"Sqrt_Script", |
|
| 32560 | 60 |
"Transfer_Ex", |
| 29377 | 61 |
"Arithmetic_Series_Complex", |
62 |
"HarmonicSeries", |
|
63 |
"Refute_Examples", |
|
|
29697
e8785144719d
Added Formal_Power_Series_Examples to HOL-ex image
chaieb
parents:
29650
diff
changeset
|
64 |
"Quickcheck_Examples", |
| 37917 | 65 |
"Quickcheck_Lattice_Examples", |
|
35160
6eb2b6c1d2d5
a draft for an example how to turn specifications involving choice executable
haftmann
parents:
33651
diff
changeset
|
66 |
"Landau", |
| 35163 | 67 |
"Execute_Choice", |
| 35328 | 68 |
"Summation", |
|
36793
27da0a27b76f
put construction of reals using Dedekind cuts in HOL/ex
huffman
parents:
35953
diff
changeset
|
69 |
"Gauge_Integration", |
| 40349 | 70 |
"Dedekind_Real", |
|
40632
dc55e6752046
adding birthday paradoxon from some abandoned drawer
bulwahn
parents:
40349
diff
changeset
|
71 |
"Quicksort", |
|
43238
04c886a1d1a5
renaming the formalisation of the birthday problem to a proper English name
bulwahn
parents:
42607
diff
changeset
|
72 |
"Birthday_Paradox", |
|
41582
c34415351b6d
experimental variant of interpretation with simultaneous definitions, plus example
haftmann
parents:
41465
diff
changeset
|
73 |
"List_to_Set_Comprehension_Examples", |
|
42078
d5bf0ce40bd7
isolate change of Proofterm.proofs in TPTP.thy from rest of session;
wenzelm
parents:
42071
diff
changeset
|
74 |
"Set_Algebras" |
| 24478 | 75 |
]; |
| 21256 | 76 |
|
|
41952
c7297638599b
cleanup of former settings GHC_PATH, EXEC_GHC, EXEC_OCAML, EXEC_SWIPL, EXEC_YAP -- discontinued implicit detection;
wenzelm
parents:
41932
diff
changeset
|
77 |
if getenv "ISABELLE_GHC" = "" then () |
|
41932
e8f113ce8a94
adapting Quickcheck_Narrowing and example file to new names
bulwahn
parents:
41914
diff
changeset
|
78 |
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
|
79 |
|
| 29376 | 80 |
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
|
81 |
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
|
82 |
else use_thy "svc_test"; |
| 29376 | 83 |
|
|
32428
700ed1f4c576
SAT_Examples: removed obsolete Future.shutdown() workaround -- internal exception propagation should now work reliably;
wenzelm
parents:
32259
diff
changeset
|
84 |
(*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
|
85 |
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
|
86 |
else use_thy "Sudoku"; |
| 18408 | 87 |
|
|
33546
5e2d381b0695
try SAT_Examples last, to minimize impact of global side-effects;
wenzelm
parents:
33471
diff
changeset
|
88 |
(*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
|
89 |
(*global side-effects ahead!*) |
|
5e2d381b0695
try SAT_Examples last, to minimize impact of global side-effects;
wenzelm
parents:
33471
diff
changeset
|
90 |
try use_thy "SAT_Examples"; (* FIXME try!? (not really a proper test) *) |