equal
deleted
inserted
replaced
91 val thm = Thm.unconstrainT (Drule.implies_intr_hyps (lookup name)); |
91 val thm = Thm.unconstrainT (Drule.implies_intr_hyps (lookup name)); |
92 val prop = Thm.prop_of thm; |
92 val prop = Thm.prop_of thm; |
93 val _ = |
93 val _ = |
94 if is_equal prop prop' then () |
94 if is_equal prop prop' then () |
95 else |
95 else |
96 error ("Duplicate use of theorem name " ^ quote name ^ "\n" ^ |
96 error ("Duplicate use of theorem name " ^ |
|
97 quote (Global_Theory.print_thm_name thy thm_name) ^ "\n" ^ |
97 Syntax.string_of_term_global thy prop ^ "\n\n" ^ |
98 Syntax.string_of_term_global thy prop ^ "\n\n" ^ |
98 Syntax.string_of_term_global thy prop'); |
99 Syntax.string_of_term_global thy prop'); |
99 in thm_of_atom thm Ts end |
100 in thm_of_atom thm Ts end |
100 |
101 |
101 | thm_of _ _ (PAxm (name, _, SOME Ts)) = |
102 | thm_of _ _ (PAxm (name, _, SOME Ts)) = |