TODO.md
author wneuper <walther.neuper@jku.at>
Tue, 10 Aug 2021 11:54:12 +0200
changeset 60362 de670839362e
parent 60361 e587c45cae0f
child 60363 66aa856ccf45
permissions -rw-r--r--
relate note on planned improvements (cf.03dea0a179d0) to TODO.md
wenzelm@60234
     1
* MW: check uses of Unsynchronized.ref vs. Synchronized.var;
wenzelm@60234
     2
wenzelm@60216
     3
* MW: clarify/eliminate Isabelle/Scala add-ons (presently unused)
wenzelm@60216
     4
wenzelm@60216
     5
    diff -r /home/makarius/isabelle/repos-Isabelle2021/src/Pure/build-jars ./src/Pure/build-jars
wenzelm@60216
     6
    11a12
wenzelm@60216
     7
    >   src/Tools/isac/BridgeJEdit/isac.scala
wenzelm@60216
     8
wenzelm@60216
     9
    diff -r /home/makarius/isabelle/repos-Isabelle2021/src/Pure/Tools/scala_project.scala ./src/Pure/Tools/scala_project.scala
wenzelm@60216
    10
    76a77
wenzelm@60216
    11
    >       "src/Tools/isac/etc" -> Path.explode("isabelle.isac"),
wenzelm@60225
    12
wenzelm@60229
    13
wenzelm@60316
    14
* Eliminate Thy_Info.get_theory eventually: should take theory from ancestory
walther@60362
    15
  within current context. cf. e587c45cae0f note in Build_Thydata.thy
walther@60362
    16
    cf. e587c45cae0f note in Build_Thydata.thy
wenzelm@60316
    17
wenzelm@60295
    18
* Clarify symmetric rule: Thm.apply_attribute Calculation.symmetric thm context (!?);
wenzelm@60295
    19
wenzelm@60316
    20
* KEStore_Elems: Should we eliminate union_overwrite and use standard namespace merge?
wenzelm@60316
    21
  (Exception: rlss with its special cross-theory merge.)
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' (!?);
walther@60362
    28
    shall be done in connection with cf. e587c45cae0f note in Build_Thydata.thy
wenzelm@60292
    29
wenzelm@60315
    30
* What is the idea behind KEStore_Elems.add_thes? How to do it properly in current Isabelle?
walther@60362
    31
    cf. e587c45cae0f note in Build_Thydata.thy
wenzelm@60315
    32
wenzelm@60315
    33
* WN: clarify add_calcs with non-existant constant "Integrate.add_new_c";
walther@60278
    34
wenzelm@60311
    35
* WN: proper ML antiquotations for "Tactical.Try" etc. --- be careful about unclear situations,
wenzelm@60311
    36
  e.g. "Tactical.Try" vs. "Lucas_Interpreter.Try";
wenzelm@60311
    37
wenzelm@60304
    38
* WN: check remaining MethodC.prep_input that use a different theory (e.g. "Diff"):
wenzelm@60304
    39
  Is this really required, or can we just use the 'method' command?
wenzelm@60304
    40
wenzelm@60304
    41
* WN: eliminate global flags like "trace_on", replace Unsynchronized.ref by
wenzelm@60304
    42
    ML \<open>val rewrite_trace = Attrib.setup_config_bool \<^binding>\<open>rewrite_trace\<close> (K false);\<close>
wenzelm@60304
    43
wenzelm@60304
    44
* WN: Avoid Thm.get_name_hint --- somewhat fragile.
wenzelm@60304
    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
walther@60357
    53
* WN: eliminate ThmC.numerals_to_Free, done except 1 error:
walther@60357
    54
  + exception TYPE raised by Skip_Proof.make_thm, several inherited errors in tests marked TOODOO.1
walther@60357
    55
  + ? how do algebraic operations on numerals ? Presburger ? simplifier ? hack see
walther@60357
    56
    https://hg.risc.uni-linz.ac.at/wneuper/isa/file/a14022b99b92/src/Tools/isac/ProgLang/evaluate.sml#l210
walther@60245
    57
walther@60317
    58
* WN: DONE cleanup remaining ^^^ in comments (but sometimes it is just ASCII art), partially;
walther@60260
    59
      Left ^^^ in doc-isac (old master-theses, etc: "x^^^#2 + #8" ... # are left, too)
walther@60260
    60
      Left "ASCII art" in case of indicating comments pointing at facts ABOVE.
wenzelm@60247
    61
wenzelm@60247
    62
* WN: "fun pr_ord" is not required if used with @{make_string}, @{print}, @{print tracing};
walther@60317
    63
      ???
walther@60317
    64
walther@60317
    65
* WN: reduce the number of TermC.parse*;
walther@60340
    66
  + 0d22a6bf1fc6 was too much for 1 changeset
walther@60340
    67
  + first parse with ctxt in Specify (O_Model.init shall return a context,..) etc
walther@60359
    68
walther@60360
    69
* WN: push suggestions of MW through the whole code
walther@60360
    70
  + e1da148725ed : \<^ML>\<open>...\<close> instead of parentheses
walther@60359
    71
  +