| author | haftmann | 
| Fri, 24 Oct 2008 17:48:34 +0200 | |
| changeset 28682 | 5de9fc98ad96 | 
| parent 28630 | 3a4ed60b6b7e | 
| child 28866 | 30cd9d89a0fb | 
| permissions | -rw-r--r-- | 
| 12115 | 1 | (* Title: HOL/ex/ROOT.ML | 
| 2 | ID: $Id$ | |
| 11586 | 3 | |
| 12115 | 4 | Miscellaneous examples for Higher-Order Logic. | 
| 5 | *) | |
| 6 | ||
| 24528 | 7 | no_document use_thys [ | 
| 24478 | 8 | "Parity", | 
| 28228 | 9 | "Code_Eval", | 
| 24740 | 10 | "State_Monad", | 
| 25963 | 11 | "Efficient_Nat_examples", | 
| 12 | "ExecutableContent", | |
| 13 | "FuncSet", | |
| 14 | "Word", | |
| 15 | "Eval_Examples", | |
| 28243 | 16 | "Quickcheck", | 
| 17 | "Term_Of_Syntax" | |
| 25963 | 18 | ]; | 
| 19 | ||
| 25975 
bcb1e9b7644b
Codegenerator vs. Codegenerator_Pretty: loaded sequentially, due to hazardous ML sections;
 wenzelm parents: 
25963diff
changeset | 20 | no_document use_thy "Codegenerator"; | 
| 28353 | 21 | no_document use_thy "Codegenerator_Pretty"; | 
| 24478 | 22 | |
| 23 | use_thys [ | |
| 28021 | 24 | "Numeral", | 
| 27679 | 25 | "ImperativeQuicksort", | 
| 24478 | 26 | "Higher_Order_Logic", | 
| 27 | "Abstract_NAT", | |
| 28 | "Guess", | |
| 29 | "Binary", | |
| 30 | "Recdefs", | |
| 31 | "Fundefs", | |
| 25568 | 32 | "Induction_Scheme", | 
| 24478 | 33 | "InductiveInvariant_examples", | 
| 34 | "LocaleTest2", | |
| 35 | "Records", | |
| 36 | "MonoidGroup", | |
| 37 | "BinEx", | |
| 38 | "Hex_Bin_Examples", | |
| 39 | "Antiquote", | |
| 40 | "Multiquote", | |
| 41 | "PER", | |
| 42 | "NatSum", | |
| 43 | "ThreeDivides", | |
| 44 | "Intuitionistic", | |
| 45 | "CTL", | |
| 46 | "Arith_Examples", | |
| 47 | "BT", | |
| 48 | "MergeSort", | |
| 49 | "Lagrange", | |
| 50 | "Groebner_Examples", | |
| 51 | "MT", | |
| 52 | "Unification", | |
| 53 | "Commutative_RingEx", | |
| 24740 | 54 | "Commutative_Ring_Complete", | 
| 55 | "Primrec", | |
| 56 | "Tarski", | |
| 25738 
b091cbae3e2a
included meson/metis tests in simultaneous use_thys;
 wenzelm parents: 
25568diff
changeset | 57 | "Adder", | 
| 
b091cbae3e2a
included meson/metis tests in simultaneous use_thys;
 wenzelm parents: 
25568diff
changeset | 58 | "Classical", | 
| 
b091cbae3e2a
included meson/metis tests in simultaneous use_thys;
 wenzelm parents: 
25568diff
changeset | 59 | "set", | 
| 27436 | 60 | "Meson_Test", | 
| 27742 | 61 | "Code_Antiq", | 
| 28324 | 62 | "LexOrds", | 
| 63 | "Coherent" | |
| 24478 | 64 | ]; | 
| 21256 | 65 | |
| 25374 | 66 | setmp Proofterm.proofs 2 time_use_thy "Hilbert_Classical"; | 
| 24478 | 67 | |
| 23454 
c54975167be9
replaced Real/Ferrante-Rackoff tool by generic version in Main HOL;
 wenzelm parents: 
23302diff
changeset | 68 | time_use_thy "Dense_Linear_Order_Ex"; | 
| 13880 | 69 | time_use_thy "PresburgerEx"; | 
| 23808 | 70 | time_use_thy "Reflected_Presburger"; | 
| 12115 | 71 | |
| 20325 | 72 | time_use_thy "Reflection"; | 
| 12115 | 73 | |
| 12869 | 74 | time_use_thy "SVC_Oracle"; | 
| 28263 | 75 | |
| 76 | (*check if user has SVC installed*) | |
| 77 | fun svc_enabled () = getenv "SVC_HOME" <> ""; | |
| 78 | fun if_svc_enabled f x = if svc_enabled () then f x else (); | |
| 79 | ||
| 12115 | 80 | if_svc_enabled time_use_thy "svc_test"; | 
| 14459 | 81 | |
| 23191 | 82 | (* requires a proof-generating SAT solver (zChaff or MiniSAT) to be *) | 
| 83 | (* installed: *) | |
| 18678 | 84 | try time_use_thy "SAT_Examples"; | 
| 17618 
1330157e156a
new sat tactic imports resolution proofs from zChaff
 webertj parents: 
17505diff
changeset | 85 | |
| 23191 | 86 | (* requires zChaff (or some other reasonably fast SAT solver) to be *) | 
| 87 | (* installed: *) | |
| 18408 | 88 | if getenv "ZCHAFF_HOME" <> "" then | 
| 89 | time_use_thy "Sudoku" | |
| 23191 | 90 | else (); | 
| 18408 | 91 | |
| 14462 | 92 | time_use_thy "Refute_Examples"; | 
| 14592 
dd1a2905ea73
Added theory with examples for quickcheck command.
 berghofe parents: 
14569diff
changeset | 93 | time_use_thy "Quickcheck_Examples"; | 
| 19832 | 94 | no_document time_use_thy "NormalForm"; | 
| 14494 
48ae8d678d88
Added bitvector library (Word) to HOL/Library and a theory using it (Adder)
 skalberg parents: 
14482diff
changeset | 95 | |
| 25975 
bcb1e9b7644b
Codegenerator vs. Codegenerator_Pretty: loaded sequentially, due to hazardous ML sections;
 wenzelm parents: 
25963diff
changeset | 96 | HTML.with_charset "utf-8" (no_document use_thys) ["Hebrew", "Chinese"]; | 
| 
bcb1e9b7644b
Codegenerator vs. Codegenerator_Pretty: loaded sequentially, due to hazardous ML sections;
 wenzelm parents: 
25963diff
changeset | 97 | |
| 27421 | 98 | no_document use_thys [ | 
| 99 | "../NumberTheory/Factorization", | |
| 28098 | 100 | "../Library/BigO" | 
| 27421 | 101 | ]; | 
| 102 | ||
| 103 | use_thys [ | |
| 104 | "../Complex/ex/BinEx", | |
| 105 | "../Complex/ex/Sqrt", | |
| 106 | "../Complex/ex/Sqrt_Script", | |
| 107 | "../Complex/ex/BigO_Complex", | |
| 108 | ||
| 109 | "../Complex/ex/Arithmetic_Series_Complex", | |
| 110 | "../Complex/ex/HarmonicSeries", | |
| 111 | ||
| 112 | "../Complex/ex/MIR", | |
| 113 | "../Complex/ex/ReflectedFerrack" | |
| 114 | ]; | |
| 115 |