TODO.md
author wenzelm
Mon, 21 Jun 2021 15:50:58 +0200
changeset 60311 26273adbf565
parent 60304 a56ac28081a9
child 60315 352f02b89e67
permissions -rw-r--r--
updated TODO;
     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, 
     4 
     5 * MW: check uses of Unsynchronized.ref vs. Synchronized.var;
     6 
     7 * MW: clarify/eliminate Isabelle/Scala add-ons (presently unused)
     8 
     9     diff -r /home/makarius/isabelle/repos-Isabelle2021/src/Pure/build-jars ./src/Pure/build-jars
    10     11a12
    11     >   src/Tools/isac/BridgeJEdit/isac.scala
    12 
    13     diff -r /home/makarius/isabelle/repos-Isabelle2021/src/Pure/Tools/scala_project.scala ./src/Pure/Tools/scala_project.scala
    14     76a77
    15     >       "src/Tools/isac/etc" -> Path.explode("isabelle.isac"),
    16 
    17 
    18 * Clarify symmetric rule: Thm.apply_attribute Calculation.symmetric thm context (!?);
    19 
    20 * Is it possible to eliminate union_overwrite, in favour of more standard data
    21   add/merge discipline?
    22 
    23 * What is the purpose of "#numeral" instead of plain numeral?
    24 
    25 * Check/clarify Context.theory_name vs. Context.theory_long_name.
    26 
    27 * Eliminate mutable Rewrite_Ord.rew_ord' (!?);
    28 
    29 
    30 * WN: proper ML antiquotations for "Tactical.Try" etc. --- be careful about unclear situations,
    31   e.g. "Tactical.Try" vs. "Lucas_Interpreter.Try";
    32 
    33 * WN: eliminate ThmC.numerals_to_Free, use existing Isabelle/HOL representation
    34     - clarify role of type "real" vs. "float" (see theory "HOL-Library.Float");
    35 
    36 * WN: proper formal context with theory HOL-Library.Float, proper antiquotation @{const_name Float};
    37 
    38 * WN: clarify Rule.Thm ("minus_divide_left", ...): Should this be @{rule_thm_sym} antiquotation?
    39 
    40 * WN: check remaining MethodC.prep_input that use a different theory (e.g. "Diff"):
    41   Is this really required, or can we just use the 'method' command?
    42 
    43 * WN: trim-down MethodC.prep_input and Problem.prep_input to what is really needed;
    44   improve errors via parse_term_strict;
    45 
    46 * WN: eliminate global flags like "trace_on", replace Unsynchronized.ref by
    47 
    48     ML \<open>val rewrite_trace = Attrib.setup_config_bool \<^binding>\<open>rewrite_trace\<close> (K false);\<close>
    49 
    50 * WN: Avoid Thm.get_name_hint --- somewhat fragile.
    51 
    52 * WN: eliminate ThyC.to_ctxt, use Proof_Context.init_global inline to make more
    53   clear where the normal Isabelle context-discipline is bypassed;
    54 
    55 * WN: more direct logical foundations wrt. Isabelle/HOL, eliminate many axiomatizations
    56     - quite often "axiomatization ..." can be turned into "lemma ... by auto"
    57       without further ado;
    58     - sometimes this requires to use more specific types / type classes;
    59     - sometimes this requires to use proper definitional mechanisms (e.g. 'primrec', 'fun');
    60     - a few "hard" cases will remain, to be reconsidered eventually (e.g. differentiation);
    61 
    62 * WN: "fun pr_ord" is not required if used with @{make_string}, @{print}, @{print tracing};