equal
deleted
inserted
replaced
553 (name, Ty, S.list_mk_abs (args,rhs)) |
553 (name, Ty, S.list_mk_abs (args,rhs)) |
554 val ([def0], theory) = |
554 val ([def0], theory) = |
555 thy |
555 thy |
556 |> PureThy.add_defs_i false |
556 |> PureThy.add_defs_i false |
557 [Thm.no_attributes (fid ^ "_def", defn)] |
557 [Thm.no_attributes (fid ^ "_def", defn)] |
558 val def = freezeT def0; |
558 val def = Thm.freezeT def0; |
559 val dummy = if !trace then writeln ("DEF = " ^ string_of_thm def) |
559 val dummy = if !trace then writeln ("DEF = " ^ string_of_thm def) |
560 else () |
560 else () |
561 (* val fconst = #lhs(S.dest_eq(concl def)) *) |
561 (* val fconst = #lhs(S.dest_eq(concl def)) *) |
562 val tych = Thry.typecheck theory |
562 val tych = Thry.typecheck theory |
563 val full_rqt_prop = map (Dcterm.mk_prop o tych) full_rqt |
563 val full_rqt_prop = map (Dcterm.mk_prop o tych) full_rqt |