src/Pure/more_thm.ML
changeset 64574 1134e4d5e5b7
parent 64568 a504a3dec35a
child 65458 cf504b7a7aa7
equal deleted inserted replaced
64573:e6aee01da22d 64574:1134e4d5e5b7
   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