equal
deleted
inserted
replaced
75 val strip_comb: cterm -> cterm * cterm list |
75 val strip_comb: cterm -> cterm * cterm list |
76 val strip_type: ctyp -> ctyp list * ctyp |
76 val strip_type: ctyp -> ctyp list * ctyp |
77 val beta_conv: cterm -> cterm -> cterm |
77 val beta_conv: cterm -> cterm -> cterm |
78 val types_sorts: thm -> (indexname-> typ option) * (indexname-> sort option) |
78 val types_sorts: thm -> (indexname-> typ option) * (indexname-> sort option) |
79 val flexflex_unique: thm -> thm |
79 val flexflex_unique: thm -> thm |
|
80 val get_def: theory -> xstring -> thm |
80 val store_thm: bstring -> thm -> thm |
81 val store_thm: bstring -> thm -> thm |
81 val store_standard_thm: bstring -> thm -> thm |
82 val store_standard_thm: bstring -> thm -> thm |
82 val store_thm_open: bstring -> thm -> thm |
83 val store_thm_open: bstring -> thm -> thm |
83 val store_standard_thm_open: bstring -> thm -> thm |
84 val store_standard_thm_open: bstring -> thm -> thm |
84 val compose_single: thm * int * thm -> thm |
85 val compose_single: thm * int * thm -> thm |
457 |
458 |
458 (*** Meta-Rewriting Rules ***) |
459 (*** Meta-Rewriting Rules ***) |
459 |
460 |
460 val read_prop = certify o SimpleSyntax.read_prop; |
461 val read_prop = certify o SimpleSyntax.read_prop; |
461 |
462 |
|
463 fun get_def thy = Thm.axiom thy o NameSpace.intern (Theory.axiom_space thy) o Thm.def_name; |
|
464 |
462 fun store_thm name th = |
465 fun store_thm name th = |
463 Context.>>> (Context.map_theory_result (PureThy.store_thm (Binding.name name, th))); |
466 Context.>>> (Context.map_theory_result (PureThy.store_thm (Binding.name name, th))); |
464 |
467 |
465 fun store_thm_open name th = |
468 fun store_thm_open name th = |
466 Context.>>> (Context.map_theory_result (PureThy.store_thm_open (Binding.name name, th))); |
469 Context.>>> (Context.map_theory_result (PureThy.store_thm_open (Binding.name name, th))); |