test/Tools/isac/ProgLang/listC.sml
changeset 59188 c477d0f79ab9
parent 52148 aabc6c8e930a
child 59234 d12736878a81
     1.1 --- a/test/Tools/isac/ProgLang/listC.sml	Mon Dec 07 11:32:12 2015 +0100
     1.2 +++ b/test/Tools/isac/ProgLang/listC.sml	Mon Dec 07 14:10:59 2015 +0100
     1.3 @@ -21,7 +21,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 rep_thm o num_str) @{thm NTH_NIL};
     1.8 +val thm = (#prop o Thm.rep_thm o num_str) @{thm NTH_NIL};
     1.9  atomty thm;
    1.10  val SOME (t', _) = rewrite_ thy dummy_ord list_rls false (num_str @{thm NTH_NIL}) t;
    1.11  if term2str t' = "a" then () 
    1.12 @@ -32,7 +32,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 rep_thm o num_str) @{thm NTH_CONS};
    1.17 +val thm = (#prop o Thm.rep_thm o num_str) @{thm NTH_CONS};
    1.18  atomty thm;
    1.19  val SOME (t', _) = rewrite_ thy dummy_ord list_rls false (num_str @{thm NTH_CONS}) t;
    1.20  if term2str t' = "NTH (3 + -1) [b, c, d, e]" then ()