diff -r b2ff1902420f -r 06ec8abfd3bc test/Tools/isac/ProgLang/listC.sml --- a/test/Tools/isac/ProgLang/listC.sml Wed Jan 11 09:23:18 2023 +0100 +++ b/test/Tools/isac/ProgLang/listC.sml Wed Jan 11 11:38:01 2023 +0100 @@ -48,9 +48,9 @@ val prog_expr = get_rls @{context} "prog_expr" val t = TermC.parse_test @{context} "NTH 1 [a,b,c,d,e]"; -TermC.atomty t; +TermC.atom_trace_detail @{context} t; val thm = Thm.prop_of @{thm NTH_NIL}; -TermC.atomty thm; +TermC.atom_trace_detail @{context} thm; val SOME (t', _) = rewrite_ ctxt Rewrite_Ord.function_empty prog_expr false @{thm NTH_NIL} t; if UnparseC.term t' = "a" then () else error "NTH 1 [a,b,c,d,e] = a ..changed"; @@ -65,14 +65,14 @@ (Const (\<^const_name>\Cons\, _) $ Free ("e", _) $ Const (\<^const_name>\Nil\, _)))))) => () | _ => error "ListC.NTH changed"; val thm = Thm.prop_of @{thm NTH_CONS}; -TermC.atomty thm; +TermC.atom_trace_detail @{context} thm; val SOME (t', _) = rewrite_ ctxt Rewrite_Ord.function_empty prog_expr false @{thm NTH_CONS} t; if UnparseC.term t' = "NTH (3 + - 1) [b, c, d, e]" then () else error "NTH 3 [a,b,c,d,e] = NTH (3 + - 1) [b, c, d, e] ..changed"; (* now the argument "(3 + - 1)" etc needs to be evaluated in the assumption of NTH_CONS *) val t = TermC.parse_test @{context} "NTH 3 [a,b,c,d,e]"; -TermC.atomty t; +TermC.atom_trace_detail @{context} t; val SOME (t', _) = rewrite_set_ ctxt false prog_expr t; if UnparseC.term t' = "c" then ()