equal
deleted
inserted
replaced
22 let |
22 let |
23 val ty_str = case ty of |
23 val ty_str = case ty of |
24 Type(ty_str, _) => ty_str |
24 Type(ty_str, _) => ty_str |
25 | TFree(s,_) => error ("Free type: " ^ s) |
25 | TFree(s,_) => error ("Free type: " ^ s) |
26 | TVar((s,i),_) => error ("Free variable: " ^ s) |
26 | TVar((s,i),_) => error ("Free variable: " ^ s) |
27 val {induct, ...} = Datatype.the_info thy ty_str |
27 val {induct, ...} = Datatype_Data.the_info thy ty_str |
28 in |
28 in |
29 cases_thm_of_induct_thm induct |
29 cases_thm_of_induct_thm induct |
30 end; |
30 end; |
31 |
31 |
32 |
32 |