equal
deleted
inserted
replaced
109 val simple_fact: 'a -> ('a * 'b list) list |
109 val simple_fact: 'a -> ('a * 'b list) list |
110 val tag: string * string -> attribute |
110 val tag: string * string -> attribute |
111 val untag: string -> attribute |
111 val untag: string -> attribute |
112 val kind: string -> attribute |
112 val kind: string -> attribute |
113 val register_proofs: thm list -> theory -> theory |
113 val register_proofs: thm list -> theory -> theory |
114 val join_theory_proofs: theory -> unit |
114 val consolidate_theory: theory -> unit |
115 val show_consts_raw: Config.raw |
115 val show_consts_raw: Config.raw |
116 val show_consts: bool Config.T |
116 val show_consts: bool Config.T |
117 val show_hyps_raw: Config.raw |
117 val show_hyps_raw: Config.raw |
118 val show_hyps: bool Config.T |
118 val show_hyps: bool Config.T |
119 val show_tags_raw: Config.raw |
119 val show_tags_raw: Config.raw |
642 ); |
642 ); |
643 |
643 |
644 fun register_proofs more_thms = |
644 fun register_proofs more_thms = |
645 Proofs.map (fold (cons o Thm.trim_context) more_thms); |
645 Proofs.map (fold (cons o Thm.trim_context) more_thms); |
646 |
646 |
647 fun join_theory_proofs thy = |
647 fun consolidate_theory thy = |
648 Thm.join_proofs (map (Thm.transfer thy) (rev (Proofs.get thy))); |
648 List.app (Thm.consolidate o Thm.transfer thy) (rev (Proofs.get thy)); |
649 |
649 |
650 |
650 |
651 |
651 |
652 (** print theorems **) |
652 (** print theorems **) |
653 |
653 |