equal
deleted
inserted
replaced
109 [take_def, finite_def]) |
109 [take_def, finite_def]) |
110 end; (* let *) |
110 end; (* let *) |
111 |
111 |
112 fun infer_props thy = map (apsnd (FixrecPackage.legacy_infer_prop thy)); |
112 fun infer_props thy = map (apsnd (FixrecPackage.legacy_infer_prop thy)); |
113 |
113 |
114 fun add_axioms_i x = snd o PureThy.add_axioms (map Thm.no_attributes x); |
114 fun add_axioms_i x = snd o PureThy.add_axioms (map (Thm.no_attributes o apfst Binding.name) x); |
115 fun add_axioms_infer axms thy = add_axioms_i (infer_props thy axms) thy; |
115 fun add_axioms_infer axms thy = add_axioms_i (infer_props thy axms) thy; |
116 |
116 |
117 fun add_defs_i x = snd o (PureThy.add_defs false) (map Thm.no_attributes x); |
117 fun add_defs_i x = snd o (PureThy.add_defs false) (map (Thm.no_attributes o apfst Binding.name) x); |
118 fun add_defs_infer defs thy = add_defs_i (infer_props thy defs) thy; |
118 fun add_defs_infer defs thy = add_defs_i (infer_props thy defs) thy; |
119 |
119 |
120 in (* local *) |
120 in (* local *) |
121 |
121 |
122 fun add_axioms (comp_dnam, eqs : eq list) thy' = let |
122 fun add_axioms (comp_dnam, eqs : eq list) thy' = let |