author | Walther Neuper <neuper@ist.tugraz.at> |
Sun, 14 Oct 2012 20:00:27 +0200 | |
changeset 48763 | 9b9936d79dbe |
parent 48762 | 3a8f672472a8 |
child 48764 | fd9145fbe471 |
permissions | -rw-r--r-- |
neuper@38070 | 1 |
(* Title: build and test isac |
neuper@38057 | 2 |
Author: Walther Neuper, TU Graz, 100808 |
neuper@38051 | 3 |
(c) due to copyright terms |
neuper@38051 | 4 |
|
neuper@38057 | 5 |
create a new Isac heap (via ~~/ROOT.ML) with |
neuper@38057 | 6 |
$ /usr/local/isabisac/bin/isabelle usedir -b HOL Isac |
neuper@38057 | 7 |
|
neuper@37924 | 8 |
12345678901234567890123456789012345678901234567890123456789012345678901234567890 |
neuper@37924 | 9 |
10 20 30 40 50 60 70 80 |
neuper@37906 | 10 |
*) |
neuper@37906 | 11 |
|
neuper@37906 | 12 |
header {* Loading the isac mathengine *} |
neuper@37906 | 13 |
|
neuper@48761 | 14 |
theory Build_Isac |
neuper@48760 | 15 |
imports Complex_Main |
neuper@48761 | 16 |
(* use "library.sml" |
neuper@48761 | 17 |
use "calcelems.sml" |
neuper@41905 | 18 |
|
neuper@48761 | 19 |
use "ProgLang/termC.sml" |
neuper@41905 | 20 |
use "ProgLang/calculate.sml" |
neuper@41905 | 21 |
use "ProgLang/rewrite.sml" |
neuper@41905 | 22 |
"use_thy ProgLang/ListC" |
neuper@41905 | 23 |
"use_thy ProgLang/Tools" |
neuper@41905 | 24 |
"use_thy ProgLang/Script" |
neuper@41905 | 25 |
use "ProgLang/scrtools.sml" |
neuper@48761 | 26 |
*) "ProgLang/ProgLang" |
neuper@48761 | 27 |
|
neuper@48763 | 28 |
(* use "Interpret/mstools.sml" |
neuper@48763 | 29 |
use "Interpret/ctree.sml" |
neuper@48763 | 30 |
use "Interpret/ptyps.sml" |
neuper@48763 | 31 |
use "Interpret/generate.sml" |
neuper@48763 | 32 |
use "Interpret/calchead.sml" |
neuper@48763 | 33 |
use "Interpret/appl.sml" |
neuper@48763 | 34 |
use "Interpret/rewtools.sml" |
neuper@48763 | 35 |
use "Interpret/script.sml" |
neuper@48763 | 36 |
use "Interpret/solve.sml" |
neuper@48763 | 37 |
use "Interpret/inform.sml" |
neuper@48763 | 38 |
use "Interpret/mathengine.sml" |
neuper@48763 | 39 |
*) "Interpret/Interpret" |
neuper@48761 | 40 |
|
neuper@48763 | 41 |
(* use "xmlsrc/mathml.sml" |
neuper@48762 | 42 |
use "xmlsrc/datatypes.sml" |
neuper@41905 | 43 |
use "xmlsrc/pbl-met-hierarchy.sml" |
neuper@41905 | 44 |
use "xmlsrc/thy-hierarchy.sml" |
neuper@41905 | 45 |
use "xmlsrc/interface-xml.sml" |
neuper@48763 | 46 |
*) "xmlsrc/xmlsrc" |
neuper@41905 | 47 |
|
neuper@48763 | 48 |
(* use "Frontend/messages.sml" |
neuper@41905 | 49 |
use "Frontend/states.sml" |
neuper@41905 | 50 |
use "Frontend/interface.sml" |
neuper@41905 | 51 |
|
neuper@41905 | 52 |
use "print_exn_G.sml" |
neuper@48763 | 53 |
*) "Frontend/Frontend" |
bonzai@41918 | 54 |
|
neuper@48763 | 55 |
begin |
neuper@48760 | 56 |
|
neuper@48763 | 57 |
(* "Knowledge/Isac" |
neuper@48763 | 58 |
*) (*"Knowledge/Build_Thydata"*) |
neuper@48763 | 59 |
|
neuper@48763 | 60 |
(*use_thy "Knowledge/Atools"*) |
neuper@48763 | 61 |
|
neuper@48763 | 62 |
|
neuper@41931 | 63 |
|
neuper@41931 | 64 |
text {*check presence of definitions from directories*} |
neuper@48763 | 65 |
|
neuper@41905 | 66 |
ML {* is_reall_dsc; (*from "ProgLang/scrtools.sml" *) *} |
neuper@41905 | 67 |
ML {* me; (*from "Interpret/mathengine.sml"*) *} |
neuper@41905 | 68 |
ML {* contextthyOK2xml; (*"xmlsrc/interface-xml.sml"*) *} |
neuper@41905 | 69 |
ML {* print_exn_unit *} |
neuper@41905 | 70 |
ML {* list_rls (*from Atools.thy*) *} |
neuper@48763 | 71 |
|
neuper@48763 | 72 |
(* |
neuper@41905 | 73 |
ML {* eval_occurs_in (*from Atools.thy*) *} |
neuper@41905 | 74 |
ML {* @{thm last_thmI} (*from Atools.thy*) *} |
neuper@41931 | 75 |
ML {*@{thm Querkraft_Belastung}*} |
neuper@41905 | 76 |
|
neuper@38009 | 77 |
ML {* check_guhs_unique := false; *} |
neuper@38015 | 78 |
ML {* tracing "**** isac kernel = math-engine + Knowledge complete ******" *} |
neuper@41943 | 79 |
ML {* @{theory "Isac"} *} |
neuper@42407 | 80 |
ML {* ! isab_thm_thy *} |
neuper@48760 | 81 |
*) |
neuper@42412 | 82 |
|
neuper@37906 | 83 |
end |