test/Tools/isac/Test_Some.thy
author Walther Neuper <neuper@ist.tugraz.at>
Mon, 02 Sep 2013 16:16:08 +0200
changeset 52101 c3f399ce32af
parent 52077 ab40ffae86a8
child 52105 2786cc9704c8
permissions -rw-r--r--
Test_Isac works again, almost ..

4 files raise errors:
# Interpret/solve.sml: "solve.sml: interSteps on norm_Rational 2"
# Interpret/inform.sml: "inform.sml: [rational,simplification] 2"
# Knowledge/partial_fractions.sml: "autoCalculate for met_partial_fraction changed: final result"
# Knowledge/eqsystem.sml: "eqsystem.sml: exp 7.70 normalize 4x4 by rewrite changed"

The chunk of changes is due to the fact, that Isac's code still is unstable.
The changes are accumulated since e8f46493af82.
neuper@52077
     1
theory Test_Some imports Isac
neuper@52101
     2
begin 
neuper@52101
     3
ML_file "Knowledge/rational.sml"
neuper@48765
     4
neuper@52101
     5
section {* code for copy & paste ===============================================================*}
neuper@48895
     6
ML {*
neuper@42129
     7
"~~~~~ fun , args:"; val () = ();
neuper@52101
     8
"~~~~~ and , args:"; val () = ();
neuper@48891
     9
neuper@42394
    10
"~~~~~ to  return val:"; val () = ();
neuper@42398
    11
neuper@42398
    12
*}
neuper@52101
    13
text {*
neuper@52101
    14
  declare [[show_types]] 
neuper@52101
    15
  declare [[show_sorts]]
neuper@52101
    16
  find_theorems "?a <= ?a"
neuper@52101
    17
  
neuper@52101
    18
  print_facts
neuper@52101
    19
  print_statement ""
neuper@52101
    20
  print_theory
neuper@52101
    21
*}
neuper@52101
    22
ML {*
neuper@52101
    23
(*========== inhibit exn WN130822 only runs with Rational2.thy =================================
neuper@52101
    24
============ inhibit exn WN130822 only runs with Rational2.thy ================================*)
neuper@52101
    25
neuper@52101
    26
(*========== inhibit exn WN130826 TODO =========================================================
neuper@52101
    27
============ inhibit exn WN130826 TODO ========================================================*)
neuper@52101
    28
neuper@52101
    29
(*-.-.-.-.-.-isolate response.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
neuper@52101
    30
-.-.-.-.-.-.-isolate response.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-*)
neuper@52101
    31
neuper@52101
    32
(*=========================^^^ correct until here ^^^==========================================*)
neuper@52101
    33
*}
neuper@52101
    34
neuper@52101
    35
neuper@52101
    36
section {* ====================================================================================*}
neuper@52101
    37
ML {*
neuper@52101
    38
*} ML {*
neuper@52101
    39
*} ML {*
neuper@52101
    40
*} ML {*
neuper@52101
    41
*} ML {*
neuper@52101
    42
*}
neuper@52101
    43
neuper@52101
    44
section {* GREAT CONFUSION -> final hg ci =====================================================*}
neuper@52101
    45
ML {*
neuper@52101
    46
(*in isabisac12/test/../rational.sml*)
neuper@52101
    47
"-------- investigate rls common_nominator_p from OLD gcd --------------------";
neuper@52101
    48
(*ATTENTION:
neuper@52101
    49
val common_nominator_p =
neuper@52101
    50
  Rrls {id = "common_nominator_p", ...
neuper@52101
    51
	  scr = Rfuns {init_state  = init_state thy Atools_erls ro,
neuper@52101
    52
		  normal_form = add_fraction_p_ thy, <<<===================================
neuper@52101
    53
:
neuper@52101
    54
val add_fractions_p = common_nominator_p; (*FIXXXME:eilig f"ur norm_Rational*)
neuper@52101
    55
(*but ^^^ not exported, just ^^^*)
neuper@52101
    56
neuper@52101
    57
i.e. GREAT CONFUSION:
neuper@52101
    58
# normal_form of add_fractions_p is add_fraction_p_,
neuper@52101
    59
# and id of add_fractions_p is common_nominator_p
neuper@52101
    60
*)
neuper@52101
    61
neuper@52101
    62
section {* ===================================================================================*}
neuper@52101
    63
ML {*
neuper@52101
    64
*} ML {*
neuper@52101
    65
*} ML {*
neuper@52101
    66
*}
neuper@52101
    67
neuper@52101
    68
section {* ===================================================================================*}
neuper@52101
    69
ML {*
neuper@52101
    70
*} ML {*
neuper@52101
    71
*} ML {*
neuper@52101
    72
*}
neuper@41943
    73
end