test/Tools/isac/MathEngBasic/rewrite.sml
changeset 60594 439f7f3867ec
parent 60586 007ef64dbb08
child 60650 06ec8abfd3bc
     1.1 --- a/test/Tools/isac/MathEngBasic/rewrite.sml	Wed Nov 16 10:30:59 2022 +0100
     1.2 +++ b/test/Tools/isac/MathEngBasic/rewrite.sml	Wed Nov 16 17:42:41 2022 +0100
     1.3 @@ -100,8 +100,8 @@
     1.4  val SOME (r, _) = (rewrite_ ctxt Rewrite_Ord.function_empty Rule_Set.empty false thm tm);
     1.5  
     1.6  "----- ordered rewriting";
     1.7 -fun tord (_:subst) pp = LibraryC.termless pp;
     1.8 -if tord [] (@{term "x + y*z::real"}, @{term "y*z + x::real"}) then ()
     1.9 +fun tord (_:Proof.context) (_:subst) pp = LibraryC.termless pp;
    1.10 +if tord @{context} [] (@{term "x + y*z::real"}, @{term "y*z + x::real"}) then ()
    1.11  else error "rewrite.sml diff.behav. in ord.rewr.";
    1.12  
    1.13  val NONE = (rewrite_ ctxt tord Rule_Set.empty false thm tm);