test/Tools/isac/Knowledge/diffapp.sml
changeset 52101 c3f399ce32af
parent 52065 41f6e90abf36
child 55445 33b0f6db720c
equal deleted inserted replaced
52100:0831a4a6ec8a 52101:c3f399ce32af
   669 val t = str2term "(hd o (filterVar (f_f::real))) (eqs::bool list)";
   669 val t = str2term "(hd o (filterVar (f_f::real))) (eqs::bool list)";
   670 val s = subst_atomic env t;
   670 val s = subst_atomic env t;
   671 term2str s;
   671 term2str s;
   672 val t = str2term 
   672 val t = str2term 
   673 "(hd o filterVar A) [A = a * b, a / 2 = r * sin alpha, b / 2 = r * cos alpha]";
   673 "(hd o filterVar A) [A = a * b, a / 2 = r * sin alpha, b / 2 = r * cos alpha]";
   674 trace_rewrite:=true;
   674 trace_rewrite := false;
   675 val SOME (t',_) = rewrite_set_ thy false list_rls t;
   675 val SOME (t',_) = rewrite_set_ thy false list_rls t;
   676 trace_rewrite:=false;
   676 trace_rewrite:=false;
   677 val s' = term2str t';
   677 val s' = term2str t';
   678 (*=== inhibit exn 110726=============================================================
   678 (*=== inhibit exn 110726=============================================================
   679 if s' = "A = a * b" then() else error "new behaviour with list_rls 3.1.";
   679 if s' = "A = a * b" then() else error "new behaviour with list_rls 3.1.";