test/Tools/isac/ProgLang/listC.sml
changeset 60203 eb278178c278
parent 60121 e6cd6dd07d7a
child 60230 0ca0f9363ad3
     1.1 --- a/test/Tools/isac/ProgLang/listC.sml	Sat Apr 17 20:44:57 2021 +0200
     1.2 +++ b/test/Tools/isac/ProgLang/listC.sml	Sat Apr 17 21:10:27 2021 +0200
     1.3 @@ -43,7 +43,7 @@
     1.4  
     1.5  val t = str2term "NTH 1 [a,b,c,d,e]";
     1.6  atomty t;
     1.7 -val thm = (#prop o Thm.rep_thm o ThmC.numerals_to_Free) @{thm NTH_NIL};
     1.8 +val thm = (Thm.prop_of o ThmC.numerals_to_Free) @{thm NTH_NIL};
     1.9  atomty thm;
    1.10  val SOME (t', _) = rewrite_ thy dummy_ord prog_expr false (ThmC.numerals_to_Free @{thm NTH_NIL}) t;
    1.11  if UnparseC.term t' = "a" then () 
    1.12 @@ -54,7 +54,7 @@
    1.13    (Const ("List.list.Cons", _) $ Free ("b", _) $ 
    1.14      (Const _ $ Free _ $ (Const _ $ Free _ $ (Const _ $ Free _ $ Const _))))) = t;
    1.15  atomty t;
    1.16 -val thm = (#prop o Thm.rep_thm o ThmC.numerals_to_Free) @{thm NTH_CONS};
    1.17 +val thm = (Thm.prop_of o ThmC.numerals_to_Free) @{thm NTH_CONS};
    1.18  atomty thm;
    1.19  val SOME (t', _) = rewrite_ thy dummy_ord prog_expr false (ThmC.numerals_to_Free @{thm NTH_CONS}) t;
    1.20  if UnparseC.term t' = "NTH (3 + -1) [b, c, d, e]" then ()