1.1 --- a/test/Tools/isac/Knowledge/polyeq-2.sml Wed Aug 03 18:17:27 2022 +0200
1.2 +++ b/test/Tools/isac/Knowledge/polyeq-2.sml Thu Aug 04 12:48:37 2022 +0200
1.3 @@ -287,14 +287,14 @@
1.4 t |> UnparseC.term; t |> TermC.atomty;
1.5 val thm = @{thm d2_prescind1};
1.6 thm |> Thm.prop_of |> UnparseC.term; thm |> Thm.prop_of |> TermC.atomty;
1.7 -val SOME (t', _) = rewrite_inst_ ctxt e_rew_ord Rule_Set.empty true subst thm t; UnparseC.term t';
1.8 +val SOME (t', _) = rewrite_inst_ ctxt Rewrite_Ord.function_empty Rule_Set.empty true subst thm t; UnparseC.term t';
1.9
1.10 (*x * (-6 + 5 * x) = 0 : Rewrite_Inst (["(''bdv'',x)"],("d2_reduce_equation1", ""))
1.11 --> x = 0 | -6 + 5 * x = 0*)
1.12 t' |> UnparseC.term; t' |> TermC.atomty;
1.13 val thm = @{thm d2_reduce_equation1};
1.14 thm |> Thm.prop_of |> UnparseC.term; thm |> Thm.prop_of |> TermC.atomty;
1.15 -val SOME (t'', _) = rewrite_inst_ ctxt e_rew_ord Rule_Set.empty true subst thm t'; UnparseC.term t'';
1.16 +val SOME (t'', _) = rewrite_inst_ ctxt Rewrite_Ord.function_empty Rule_Set.empty true subst thm t'; UnparseC.term t'';
1.17 (* NONE with d2_reduce_equation1: "(bdv*(a +b*bdv)=0) = ((bdv=0)|(a+b*bdv=0))"
1.18 instead d2_reduce_equation1: "(bdv*(a +b*bdv)=0) = ((bdv=0)|(a+b*bdv=(0::real)))"
1.19 *)