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