src/Pure/Isar/proof_display.ML
changeset 36610 bafd82950e24
parent 33643 b275f26a638b
child 39284 3aefd3342978
equal deleted inserted replaced
36609:6ed6112f0a95 36610:bafd82950e24
    46 
    46 
    47 (* theorems and theory *)
    47 (* theorems and theory *)
    48 
    48 
    49 fun pretty_theorems_diff verbose prev_thys thy =
    49 fun pretty_theorems_diff verbose prev_thys thy =
    50   let
    50   let
    51     val pretty_fact = ProofContext.pretty_fact (ProofContext.init thy);
    51     val pretty_fact = ProofContext.pretty_fact (ProofContext.init_global thy);
    52     val facts = PureThy.facts_of thy;
    52     val facts = PureThy.facts_of thy;
    53     val thmss =
    53     val thmss =
    54       Facts.dest_static (map PureThy.facts_of prev_thys) facts
    54       Facts.dest_static (map PureThy.facts_of prev_thys) facts
    55       |> not verbose ? filter_out (Facts.is_concealed facts o #1);
    55       |> not verbose ? filter_out (Facts.is_concealed facts o #1);
    56   in Pretty.big_list "theorems:" (map #1 (sort_wrt (#1 o #2) (map (`pretty_fact) thmss))) end;
    56   in Pretty.big_list "theorems:" (map #1 (sort_wrt (#1 o #2) (map (`pretty_fact) thmss))) end;