1 * reconsider use of Thy_Info.get_theory: only works with batch-build, not within PIDE session;
2 + consider in Build_Thydata: Thy_Hierarchy.insert_errpatIDs
3 + consider in Biegelinie.thy: KEStore_Elems.add_thes,
5 * MW: check uses of Unsynchronized.ref vs. Synchronized.var;
7 * MW: clarify/eliminate Isabelle/Scala add-ons (presently unused)
9 diff -r /home/makarius/isabelle/repos-Isabelle2021/src/Pure/build-jars ./src/Pure/build-jars
11 > src/Tools/isac/BridgeJEdit/isac.scala
13 diff -r /home/makarius/isabelle/repos-Isabelle2021/src/Pure/Tools/scala_project.scala ./src/Pure/Tools/scala_project.scala
15 > "src/Tools/isac/etc" -> Path.explode("isabelle.isac"),
18 * Clarify symmetric rule: Thm.apply_attribute Calculation.symmetric thm context (!?);
20 * Is it possible to eliminate union_overwrite, in favour of more standard data
23 * What is the purpose of "#numeral" instead of plain numeral?
25 * Check/clarify Context.theory_name vs. Context.theory_long_name.
27 * Eliminate mutable Rewrite_Ord.rew_ord' (!?);
30 * WN: Avoid Thm.get_name_hint --- somewhat fragile.
32 * WN: clarify Rule.Thm ("minus_divide_left", ...): Should this be @{rule_thm_sym} antiquotation?
34 * WN: remove always empty arguments in MethodC.prep_input and Problem.prep_input
35 (following the "TODO" comment);
37 * WN: trim-down MethodC.prep_input and Problem.prep_input to what is really needed.
39 * WN: eliminate ThyC.to_ctxt, use Proof_Context.init_global inline to make more
40 clear where the normal Isabelle context-discipline is bypassed;
42 * WN: standardize theory for KEStore_Elems.add_rlss, KEStore_Elems.add_mets, KEStore_Elems.add_pbts
43 - should be always the current @{theory} of the enclosing "setup" command;
44 - avoid old-style "val thy = @{theory}" somewhere in a theory file;
46 * WN: more direct logical foundations wrt. Isabelle/HOL, eliminate many axiomatizations
47 - quite often "axiomatization ..." can be turned into "lemma ... by auto"
49 - sometimes this requires to use more specific types / type classes;
50 - sometimes this requires to use proper definitional mechanisms (e.g. 'primrec', 'fun');
51 - a few "hard" cases will remain, to be reconsidered eventually (e.g. differentiation);
53 * WN: eliminate ThmC.numerals_to_Free, use existing Isabelle/HOL representation
54 - clarify role of type "real" vs. "float" (see theory "HOL-Library.Float");
56 * WN: Part.DONE cleanup remaining ^^^ in comments (but sometimes it is just ASCII art);
57 Left ^^^ in doc-isac (old master-theses, etc: "x^^^#2 + #8" ... # are left, too)
58 Left "ASCII art" in case of indicating comments pointing at facts ABOVE.
60 * WN: "fun pr_ord" is not required if used with @{make_string}, @{print}, @{print tracing};
62 * WN: eliminate global flags like "trace_on", replace Unsynchronized.ref by
65 val rewrite_trace = Attrib.setup_config_bool \<^binding>\<open>rewrite_trace\<close> (K false);