TODO.md
author wenzelm
Wed, 26 May 2021 16:19:41 +0200
changeset 60285 ab45c9c73c6e
parent 60284 72cc58deb6ec
child 60287 1c49963adb28
permissions -rw-r--r--
more 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@60247
     5
* MW: ML antiqutation @{rule_thm NAME} to produce (Rule.Thm ("NAME", ThmC.numerals_to_Free "NAME"));
wenzelm@60247
     6
wenzelm@60247
     7
* MW: more concise "setup KEStore_Elems.add_rlss" etc.;
wenzelm@60247
     8
wenzelm@60234
     9
* MW: check uses of Unsynchronized.ref vs. Synchronized.var;
wenzelm@60234
    10
wenzelm@60234
    11
* MW: proper formal name space for rule set, model patterns, methods;
wenzelm@60234
    12
  proper setup command;
wenzelm@60216
    13
wenzelm@60216
    14
* MW: clarify/eliminate Isabelle/Scala add-ons (presently unused)
wenzelm@60216
    15
wenzelm@60216
    16
    diff -r /home/makarius/isabelle/repos-Isabelle2021/src/Pure/build-jars ./src/Pure/build-jars
wenzelm@60216
    17
    11a12
wenzelm@60216
    18
    >   src/Tools/isac/BridgeJEdit/isac.scala
wenzelm@60216
    19
wenzelm@60216
    20
    diff -r /home/makarius/isabelle/repos-Isabelle2021/src/Pure/Tools/scala_project.scala ./src/Pure/Tools/scala_project.scala
wenzelm@60216
    21
    76a77
wenzelm@60216
    22
    >       "src/Tools/isac/etc" -> Path.explode("isabelle.isac"),
wenzelm@60225
    23
wenzelm@60281
    24
* MW: when Isabelle inner syntax is processed literally in Isabelle/ML, prefer formal Input.source
wenzelm@60281
    25
with literal \<open>...\<close> instead of old-fashioned "..."; this will eventually allow automated update of
wenzelm@60281
    26
old ASCII notation (e.g. "EX" vs. "\<exists>"), with the help of PIDE markup;
wenzelm@60281
    27
wenzelm@60281
    28
wenzelm@60285
    29
* Is it possible to eliminate union_overwrite, in favour of more standard data
wenzelm@60285
    30
  add/merge discipline?
wenzelm@60285
    31
wenzelm@60281
    32
* What is the purpose of "#numeral" instead of plain numeral?
wenzelm@60281
    33
wenzelm@60281
    34
* Check/clarify Context.theory_name vs. Context.theory_long_name.
wenzelm@60281
    35
wenzelm@60229
    36
wenzelm@60284
    37
* WN: remove always empty arguments in MethodC.prep_input and Problem.prep_input
wenzelm@60284
    38
  (following the "TODO" comment);
wenzelm@60284
    39
wenzelm@60284
    40
* WN: eliminate ThyC.to_ctxt, use Proof_Context.init_global inline to make more
wenzelm@60284
    41
  clear where the normal Isabelle context-discipline is bypassed;
wenzelm@60284
    42
wenzelm@60284
    43
* WN: standardize theory for KEStore_Elems.add_rlss, KEStore_Elems.add_mets, KEStore_Elems.add_pbts
wenzelm@60284
    44
    - should be always the current @{theory} of the enclosing "setup" command;
wenzelm@60284
    45
    - avoid old-style "val thy = @{theory}" somewhere in a theory file;
wenzelm@60284
    46
wenzelm@60241
    47
* WN: more direct logical foundations wrt. Isabelle/HOL, eliminate many axiomatizations
wenzelm@60241
    48
    - quite often "axiomatization ..." can be turned into "lemma ... by auto"
wenzelm@60241
    49
      without further ado;
wenzelm@60241
    50
    - sometimes this requires to use more specific types / type classes;
wenzelm@60241
    51
    - sometimes this requires to use proper definitional mechanisms (e.g. 'primrec', 'fun');
wenzelm@60241
    52
    - a few "hard" cases will remain, to be reconsidered eventually (e.g. differentiation);
wenzelm@60234
    53
wenzelm@60241
    54
* WN: eliminate ThmC.numerals_to_Free, use existing Isabelle/HOL representation
wenzelm@60241
    55
    - clarify role of type "real" vs. "float" (see theory "HOL-Library.Float");
walther@60245
    56
walther@60260
    57
* WN: Part.DONE cleanup remaining ^^^ in comments (but sometimes it is just ASCII art);
walther@60260
    58
      Left ^^^ in doc-isac (old master-theses, etc: "x^^^#2 + #8" ... # are left, too)
walther@60260
    59
      Left "ASCII art" in case of indicating comments pointing at facts ABOVE.
wenzelm@60247
    60
wenzelm@60247
    61
* WN: "fun pr_ord" is not required if used with @{make_string}, @{print}, @{print tracing};