equal
deleted
inserted
replaced
190 end |
190 end |
191 |
191 |
192 fun substs_of (Instances (_,_,_,substs)) = Substtab.keys substs |
192 fun substs_of (Instances (_,_,_,substs)) = Substtab.keys substs |
193 |
193 |
194 local |
194 local |
195 fun get_thm thmname = PureThy.get_thm (theory "Main") (Name thmname) |
195 fun get_thm thmname = PureThy.get_thm (theory "Main") (Facts.Named (thmname, NONE)) |
196 val eq_th = get_thm "HOL.eq_reflection" |
196 val eq_th = get_thm "HOL.eq_reflection" |
197 in |
197 in |
198 fun eq_to_meta th = (eq_th OF [th] handle _ => th) |
198 fun eq_to_meta th = (eq_th OF [th] handle THM _ => th) |
199 end |
199 end |
200 |
200 |
201 |
201 |
202 local |
202 local |
203 |
203 |