equal
deleted
inserted
replaced
1986 end |
1986 end |
1987 |
1987 |
1988 val thy1 = foldr (fn(name,thy)=> |
1988 val thy1 = foldr (fn(name,thy)=> |
1989 snd (get_defname thyname name thy)) thy1 names |
1989 snd (get_defname thyname name thy)) thy1 names |
1990 fun new_name name = fst (get_defname thyname name thy1) |
1990 fun new_name name = fst (get_defname thyname name thy1) |
1991 val (thy',res) = SpecificationPackage.add_specification_i NONE |
1991 val (thy',res) = SpecificationPackage.add_specification NONE |
1992 (map (fn name => (new_name name,name,false)) names) |
1992 (map (fn name => (new_name name,name,false)) names) |
1993 (thy1,th) |
1993 (thy1,th) |
1994 val res' = Drule.freeze_all res |
1994 val res' = Drule.freeze_all res |
1995 val hth = HOLThm(rens,res') |
1995 val hth = HOLThm(rens,res') |
1996 val rew = rewrite_hol4_term (concl_of res') thy' |
1996 val rew = rewrite_hol4_term (concl_of res') thy' |