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