prep. separation of check Applicable between specify-phase and solve-phase
1 theory Test_Some_meld imports Isac.Build_Thydata
4 (*/-------------------------------------------------------- ! aktivate for Test_Isac BEGIN ---\*)
5 (* these vvv test, if funs are intermediately opened in structure
6 in case of errors here consider ~~/xtest-to-coding.sh *)
8 open Math_Engine; CalcTreeTEST;
9 open LItool.; arguments_from_model;
14 open Inform; cas_input;
15 open Rtools; .trtas2str;
16 open Chead; pt_extract;
17 open Generate; (* NONE *)
18 open Ctree; append_problem;
23 open Auto_Prog; rule2stac;
25 open Specify; show_ptyps;
26 open ApplicableOLD; mk_set;
27 open Solve; (* NONE *)
29 open Stool; (* NONE *)
30 open ContextC; transfer_asms_from_to;
31 open Tactic; (* NONE *)
32 open Model; (* NONE *)
37 open Rule; ThmC.string_of_thm;
38 (*\--- ! aktivate for Test_Isac END ----------------------------------------------------------/*)
40 ML_file "Calcelements/libraryC.sml"
42 section \<open>code for copy & paste ===============================================================\<close>
44 "~~~~~ fun xxx , args:"; val () = ();
45 "~~~~~ and xxx , args:"; val () = ();
46 "~~~~~ from fun xxx\<longrightarrow>fun yyy\<longrightarrow>fun zzz, return val:"; val () = ();
47 (*if*) (*then*); (*else*); (*case*) (*of*); (*return value*);
49 ^ "xxx" (*+*) (*!for return!*) (*isa*) (*REP*)
57 declare [[show_types]]
58 declare [[show_sorts]]
59 find_theorems "?a <= ?a"
65 ML_command \<open>Pretty.writeln prt\<close>
66 declare [[ML_print_depth = 999]]
67 declare [[ML_exception_trace]]
70 (*========== inhibit exn WN130909 TODO =========================================================
71 ============ inhibit exn WN130909 TODO ========================================================*)
72 (*-.-.-.-.-.-isolate response.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
73 -.-.-.-.-.-.-isolate response.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-*)
76 section \<open>===================================================================================\<close>
78 "~~~~~ fun xxx, args:"; val () = ();
82 "~~~~~ fun xxx, args:"; val () = ();
85 section \<open>===================================================================================\<close>
87 "~~~~~ fun xxx , args:"; val () = ();
91 "~~~~~ fun xxx , args:"; val () = ();
94 section \<open>===================================================================================\<close>
96 "~~~~~ fun xxx , args:"; val () = ();
100 "~~~~~ fun xxx , args:"; val () = ();
103 section \<open>code for copy & paste ===============================================================\<close>
105 "~~~~~ fun xxx , args:"; val () = ();
106 "~~~~~ and xxx , args:"; val () = ();
108 "~~~~~ from xxx to yyy return val:"; val ((*yyy*)) = ((*xxx*));