2 imports Isac.Build_Isac
5 ML \<open>open ML_System\<close>
7 (*/-------------------------------------------------------- ! aktivate for Test_Isac BEGIN ---\*)
8 (* these vvv test, if funs are intermediately opened in structure
9 in case of errors here consider ~~/xtest-to-coding.sh *)
12 open Test_Code; CalcTreeTEST;
13 open LItool; arguments_from_model;
20 open Error_Fill_Pattern;
23 open Rtools; trtas2str;
24 open Chead; pt_extract;
25 open Generate; (* NONE *)
26 open Ctree; append_problem;
32 open Auto_Prog; rule2stac;
34 open Specify; show_ptyps;
36 open Applicable; mk_set;
40 open Solve; (* NONE *)
42 open Stool; (* NONE *)
43 open ContextC; transfer_asms_from_to;
44 open Tactic; (* NONE *)
45 open Model; (* NONE *)
58 (*\--- ! aktivate for Test_Isac END ----------------------------------------------------------/*)
60 ML_file "BaseDefinitions/libraryC.sml"
62 section \<open>code for copy & paste ===============================================================\<close>
64 "~~~~~ fun xxx , args:"; val () = ();
65 "~~~~~ and xxx , args:"; val () = ();
66 "~~~~~ from fun xxx \<longrightarrow>fun yyy \<longrightarrow>fun zzz , return:"; val () = ();
67 (*if*) (*then*); (*else*); (*case*) (*of*); (*return from xxx*);
69 ^ "xxx" (*+*) (*!for return!*) (*isa*) (*REP*) (**)
77 declare [[show_types]]
78 declare [[show_sorts]]
79 find_theorems "?a <= ?a"
85 ML_command \<open>Pretty.writeln prt\<close>
86 declare [[ML_print_depth = 999]]
87 declare [[ML_exception_trace]]
90 section \<open>===================================================================================\<close>
96 section \<open>===================================================================================\<close>
103 section \<open>===================================================================================\<close>
109 section \<open>===================================================================================\<close>
115 section \<open>code for copy & paste ===============================================================\<close>
117 "~~~~~ fun xxx , args:"; val () = ();
118 "~~~~~ and xxx , args:"; val () = ();
119 "~~~~~ from xxx to yyy return val:"; val ((*yyy*)) = ((*xxx*));
120 (*if*) (*then*); (*else*); (*case*) (*of*); (*return value*);