test/Tools/isac/Test_Some.thy
author Walther Neuper <wneuper@ist.tugraz.at>
Wed, 21 Dec 2016 08:57:47 +0100
changeset 59272 1d3ef477d9c8
parent 59269 1da53d1540fe
child 59273 2ba35efb07b7
permissions -rw-r--r--
added structure Applicable INTERMEDIATELY

Note: introduction of structure Ctree : CALC_TREE is in the works,
but this is persuasive such, that "open Ctree" seems useful,
but the latter seems to require a structure to localise it.
wneuper@59265
     1
theory Test_Some imports Build_Thydata
wneuper@59265
     2
begin 
wneuper@59265
     3
ML {*
wneuper@59265
     4
(*/-------------------------------------------------------- ! aktivate for Test_Isac BEGIN ---\*)
wneuper@59265
     5
                      (* these vvv test, if additional funs intermediately added to structure *)
wneuper@59265
     6
  open Kernel;
wneuper@59265
     7
  open Math_Engine;            CalcTreeTEST;
wneuper@59265
     8
  open Lucin;                  appy;
wneuper@59265
     9
  open Inform;                 cas_input;
wneuper@59265
    10
  open Rtools;                 trtas2str;
wneuper@59265
    11
  open Chead;                  pt_extract;
wneuper@59269
    12
  open Ctree;                  (*//*)
wneuper@59269
    13
  open Specify;                show_ptyps;
wneuper@59272
    14
  open Applicable.             (*TODO*)
wneuper@59265
    15
(*\--- ! aktivate for Test_Isac END ----------------------------------------------------------/*)
wneuper@59265
    16
*}
neuper@55490
    17
ML_file "~~/test/Tools/isac/ADDTESTS/accumulate-val/lucas_interpreter.sml"
wneuper@59265
    18
ML_file "Interpret/calchead.sml"
neuper@48765
    19
neuper@52101
    20
section {* code for copy & paste ===============================================================*}
neuper@48895
    21
ML {*
neuper@42129
    22
"~~~~~ fun , args:"; val () = ();
neuper@52101
    23
"~~~~~ and , args:"; val () = ();
neuper@48891
    24
neuper@42394
    25
"~~~~~ to  return val:"; val () = ();
neuper@42398
    26
neuper@42398
    27
*}
neuper@52101
    28
text {*
neuper@52101
    29
  declare [[show_types]] 
neuper@55405
    30
  declare [[show_sorts]]            
neuper@52101
    31
  find_theorems "?a <= ?a"
neuper@52101
    32
  
wneuper@59230
    33
  print_theorems
neuper@52101
    34
  print_facts
neuper@52101
    35
  print_statement ""
neuper@52101
    36
  print_theory
wneuper@59230
    37
  ML_command \<open>Pretty.writeln prt\<close>
wneuper@59230
    38
  declare [[ML_print_depth = 999]]
wneuper@59252
    39
  declare [[ML_exception_trace]]
neuper@52101
    40
*}
neuper@52101
    41
ML {*
neuper@52105
    42
(*========== inhibit exn WN130909 TODO =========================================================
neuper@52105
    43
============ inhibit exn WN130909 TODO ========================================================*)
neuper@52101
    44
(*-.-.-.-.-.-isolate response.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
neuper@52101
    45
-.-.-.-.-.-.-isolate response.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-*)
neuper@52101
    46
*}
neuper@52101
    47
neuper@55482
    48
section {* ===================================================================================*}
neuper@55410
    49
ML {*
neuper@55410
    50
*} ML {*
neuper@52105
    51
*} ML {*
neuper@52105
    52
*} ML {*
neuper@52101
    53
*}
neuper@52101
    54
neuper@52101
    55
section {* ===================================================================================*}
neuper@52101
    56
ML {*
neuper@52101
    57
*} ML {*
neuper@52101
    58
*} ML {*
neuper@52105
    59
*} ML {*
neuper@52101
    60
*}
neuper@52105
    61
neuper@55279
    62
section {* ===================================================================================*}
neuper@55279
    63
ML {*
neuper@55279
    64
*} ML {*
neuper@55279
    65
*} ML {*
neuper@55279
    66
*} ML {*
neuper@55279
    67
*}
neuper@55279
    68
neuper@55410
    69
section {* code for copy & paste ===============================================================*}
neuper@55410
    70
ML {*
neuper@55410
    71
"~~~~~ fun , args:"; val () = ();
neuper@55410
    72
"~~~~~ and , args:"; val () = ();
neuper@55410
    73
neuper@55410
    74
"~~~~~ to  return val:"; val () = ();
neuper@55410
    75
*}
neuper@41943
    76
end