1 * MW: check uses of Unsynchronized.ref vs. Synchronized.var;
3 * MW: clarify/eliminate Isabelle/Scala add-ons (presently unused)
5 diff -r /home/makarius/isabelle/repos-Isabelle2021/src/Pure/build-jars ./src/Pure/build-jars
7 > src/Tools/isac/BridgeJEdit/isac.scala
9 diff -r /home/makarius/isabelle/repos-Isabelle2021/src/Pure/Tools/scala_project.scala ./src/Pure/Tools/scala_project.scala
11 > "src/Tools/isac/etc" -> Path.explode("isabelle.isac"),
14 * Eliminate Thy_Info.get_theory eventually: should take theory from ancestory
15 within current context.
17 * Clarify symmetric rule: Thm.apply_attribute Calculation.symmetric thm context (!?);
19 * KEStore_Elems: Should we eliminate union_overwrite and use standard namespace merge?
20 (Exception: rlss with its special cross-theory merge.)
22 * What is the purpose of "#numeral" instead of plain numeral?
24 * Check/clarify Context.theory_name vs. Context.theory_long_name.
26 * Eliminate mutable Rewrite_Ord.rew_ord' (!?);
28 * What is the idea behind KEStore_Elems.add_thes? How to do it properly in current Isabelle?
31 * WN: clarify add_calcs with non-existant constant "Integrate.add_new_c";
33 * WN: proper ML antiquotations for "Tactical.Try" etc. --- be careful about unclear situations,
34 e.g. "Tactical.Try" vs. "Lucas_Interpreter.Try";
36 * WN: check remaining MethodC.prep_input that use a different theory (e.g. "Diff"):
37 Is this really required, or can we just use the 'method' command?
39 * WN: eliminate global flags like "trace_on", replace Unsynchronized.ref by
40 ML \<open>val rewrite_trace = Attrib.setup_config_bool \<^binding>\<open>rewrite_trace\<close> (K false);\<close>
42 * WN: Avoid Thm.get_name_hint --- somewhat fragile.
44 * WN: more direct logical foundations wrt. Isabelle/HOL, eliminate many axiomatizations
45 - quite often "axiomatization ..." can be turned into "lemma ... by auto"
47 - sometimes this requires to use more specific types / type classes;
48 - sometimes this requires to use proper definitional mechanisms (e.g. 'primrec', 'fun');
49 - a few "hard" cases will remain, to be reconsidered eventually (e.g. differentiation);
51 * WN: eliminate ThmC.numerals_to_Free, done except 1 error:
52 + exception TYPE raised by Skip_Proof.make_thm, several inherited errors in tests marked TOODOO.1
53 + ? how do algebraic operations on numerals ? Presburger ? simplifier ? hack see
54 https://hg.risc.uni-linz.ac.at/wneuper/isa/file/a14022b99b92/src/Tools/isac/ProgLang/evaluate.sml#l210
56 * WN: DONE cleanup remaining ^^^ in comments (but sometimes it is just ASCII art), partially;
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};
63 * WN: reduce the number of TermC.parse*;
64 + 0d22a6bf1fc6 was too much for 1 changeset
65 + first parse with ctxt in Specify (O_Model.init shall return a context,..) etc
67 * WN: push suggestions of MW through the whole code
68 + e1da148725ed : \<^ML>\<open>...\<close> instead of parentheses