author | Walther Neuper <neuper@ist.tugraz.at> |
Wed, 17 Jul 2013 07:32:53 +0200 | |
changeset 52062 | b3f18f0d55d9 |
parent 52061 | 4ecea2fcdc2c |
child 55276 | ce872d7781d2 |
permissions | -rw-r--r-- |
neuper@52061 | 1 |
(* Title: build and test isac on Isabelle2013 |
neuper@38057 | 2 |
Author: Walther Neuper, TU Graz, 100808 |
neuper@38051 | 3 |
(c) due to copyright terms |
neuper@38051 | 4 |
|
neuper@52062 | 5 |
For creating a heap image of isac see ~~/ROOT. |
neuper@52062 | 6 |
|
neuper@52062 | 7 |
ATTENTION: no errors in this theory do not mean that there are no errors in Isac; |
neuper@52062 | 8 |
errors are rigorously detected when creating a heap. |
neuper@37906 | 9 |
*) |
neuper@37906 | 10 |
|
neuper@37906 | 11 |
header {* Loading the isac mathengine *} |
neuper@37906 | 12 |
|
neuper@48761 | 13 |
theory Build_Isac |
neuper@48760 | 14 |
imports Complex_Main |
neuper@48761 | 15 |
(* use "library.sml" |
neuper@48761 | 16 |
use "calcelems.sml" |
neuper@41905 | 17 |
|
neuper@48761 | 18 |
use "ProgLang/termC.sml" |
neuper@41905 | 19 |
use "ProgLang/calculate.sml" |
neuper@41905 | 20 |
use "ProgLang/rewrite.sml" |
neuper@41905 | 21 |
"use_thy ProgLang/ListC" |
neuper@48880 | 22 |
"use_thy ProgLang/Tools" |
neuper@41905 | 23 |
"use_thy ProgLang/Script" |
neuper@41905 | 24 |
use "ProgLang/scrtools.sml" |
neuper@52062 | 25 |
*) "ProgLang/ProgLang" |
neuper@48761 | 26 |
|
neuper@48763 | 27 |
(* use "Interpret/mstools.sml" |
neuper@48763 | 28 |
use "Interpret/ctree.sml" |
neuper@48763 | 29 |
use "Interpret/ptyps.sml" |
neuper@48763 | 30 |
use "Interpret/generate.sml" |
neuper@48763 | 31 |
use "Interpret/calchead.sml" |
neuper@48763 | 32 |
use "Interpret/appl.sml" |
neuper@48763 | 33 |
use "Interpret/rewtools.sml" |
neuper@48763 | 34 |
use "Interpret/script.sml" |
neuper@48763 | 35 |
use "Interpret/solve.sml" |
neuper@48763 | 36 |
use "Interpret/inform.sml" |
neuper@48763 | 37 |
use "Interpret/mathengine.sml" |
neuper@52062 | 38 |
*) "Interpret/Interpret" |
neuper@48761 | 39 |
|
neuper@52062 | 40 |
(* use "xmlsrc/mathml.sml" |
neuper@48762 | 41 |
use "xmlsrc/datatypes.sml" |
neuper@41905 | 42 |
use "xmlsrc/pbl-met-hierarchy.sml" |
neuper@48895 | 43 |
use "xmlsrc/thy-hierarchy.sml" |
neuper@41905 | 44 |
use "xmlsrc/interface-xml.sml" |
neuper@52062 | 45 |
*) "xmlsrc/xmlsrc" |
neuper@41905 | 46 |
|
neuper@48763 | 47 |
(* use "Frontend/messages.sml" |
neuper@41905 | 48 |
use "Frontend/states.sml" |
neuper@41905 | 49 |
use "Frontend/interface.sml" |
neuper@41905 | 50 |
|
neuper@41905 | 51 |
use "print_exn_G.sml" |
neuper@52062 | 52 |
*) "Frontend/Frontend" |
bonzai@41918 | 53 |
|
neuper@52062 | 54 |
"Knowledge/Build_Thydata" (*imports Isac.thy etc*) |
neuper@48764 | 55 |
|
neuper@48763 | 56 |
begin |
neuper@48760 | 57 |
|
neuper@41931 | 58 |
text {*check presence of definitions from directories*} |
neuper@48763 | 59 |
|
neuper@41905 | 60 |
ML {* is_reall_dsc; (*from "ProgLang/scrtools.sml" *) *} |
neuper@41905 | 61 |
ML {* me; (*from "Interpret/mathengine.sml"*) *} |
neuper@41905 | 62 |
ML {* contextthyOK2xml; (*"xmlsrc/interface-xml.sml"*) *} |
neuper@41905 | 63 |
ML {* print_exn_unit *} |
neuper@48880 | 64 |
ML {* list_rls (*from Atools.thy WN130615??? or ProgLang???*) *} |
neuper@48763 | 65 |
|
neuper@41905 | 66 |
ML {* eval_occurs_in (*from Atools.thy*) *} |
neuper@41905 | 67 |
ML {* @{thm last_thmI} (*from Atools.thy*) *} |
neuper@41931 | 68 |
ML {*@{thm Querkraft_Belastung}*} |
neuper@41905 | 69 |
|
neuper@38009 | 70 |
ML {* check_guhs_unique := false; *} |
neuper@48880 | 71 |
ML {* writeln "**** isac kernel = math-engine + Knowledge complete ******" *} |
neuper@41943 | 72 |
ML {* @{theory "Isac"} *} |
neuper@42407 | 73 |
ML {* ! isab_thm_thy *} |
neuper@42412 | 74 |
|
neuper@37906 | 75 |
end |