equal
deleted
inserted
replaced
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; |