TODO.md
author wneuper <walther.neuper@jku.at>
Wed, 21 Apr 2021 10:09:14 +0200
changeset 60249 e23a1e79b892
parent 60247 8b209bda5de5
parent 60248 2022f88eee80
child 60250 18a90cd37392
child 60251 eb9be9ce654e
permissions -rw-r--r--
merged
wenzelm@60219
     1
* WN: eliminate "handle _ => ..." (essential for PIDE interaction):
wenzelm@60219
     2
    - either use \<^try>CARTOUCHE / \<^can>CARTOUCHE antiquotation
wenzelm@60219
     3
    - or more basic try/can combinators;
wenzelm@60234
     4
    - or more direct ML of intention;
wenzelm@60216
     5
wenzelm@60234
     6
* WN: check remaining "for tests only" wrt. \<^isac_test>CARTOUCHE;
wenzelm@60219
     7
wenzelm@60234
     8
* WN: purge BridgeLibisabelle: eliminate unused code;
wenzelm@60234
     9
wenzelm@60234
    10
wenzelm@60234
    11
* reconsider use of Thy_Info.get_theory: only works with batch-build, not within PIDE session;
wenzelm@60234
    12
wenzelm@60234
    13
wenzelm@60247
    14
* MW: ML antiqutation @{rule_thm NAME} to produce (Rule.Thm ("NAME", ThmC.numerals_to_Free "NAME"));
wenzelm@60247
    15
wenzelm@60247
    16
* MW: more concise "setup KEStore_Elems.add_rlss" etc.;
wenzelm@60247
    17
wenzelm@60247
    18
* MW: eliminate low-level TextIO (not portable);
wenzelm@60234
    19
wenzelm@60234
    20
* MW: check uses of Unsynchronized.ref vs. Synchronized.var;
wenzelm@60234
    21
wenzelm@60234
    22
* MW: proper formal name space for rule set, model patterns, methods;
wenzelm@60234
    23
  proper setup command;
wenzelm@60216
    24
wenzelm@60216
    25
* MW: clarify/eliminate Isabelle/Scala add-ons (presently unused)
wenzelm@60216
    26
wenzelm@60216
    27
    diff -r /home/makarius/isabelle/repos-Isabelle2021/src/Pure/build-jars ./src/Pure/build-jars
wenzelm@60216
    28
    11a12
wenzelm@60216
    29
    >   src/Tools/isac/BridgeJEdit/isac.scala
wenzelm@60216
    30
wenzelm@60216
    31
    diff -r /home/makarius/isabelle/repos-Isabelle2021/src/Pure/Tools/scala_project.scala ./src/Pure/Tools/scala_project.scala
wenzelm@60216
    32
    76a77
wenzelm@60216
    33
    >       "src/Tools/isac/etc" -> Path.explode("isabelle.isac"),
wenzelm@60225
    34
wenzelm@60229
    35
wenzelm@60241
    36
* WN: more direct logical foundations wrt. Isabelle/HOL, eliminate many axiomatizations
wenzelm@60241
    37
    - quite often "axiomatization ..." can be turned into "lemma ... by auto"
wenzelm@60241
    38
      without further ado;
wenzelm@60241
    39
    - sometimes this requires to use more specific types / type classes;
wenzelm@60241
    40
    - sometimes this requires to use proper definitional mechanisms (e.g. 'primrec', 'fun');
wenzelm@60241
    41
    - a few "hard" cases will remain, to be reconsidered eventually (e.g. differentiation);
walther@60248
    42
    - abbreviation real_powr :: "real \<Rightarrow> real \<Rightarrow> real"  (infixr "\<up>" 80)
walther@60248
    43
      where "x \<up> a \<equiv> x powr a"
wenzelm@60234
    44
wenzelm@60241
    45
* WN: eliminate ThmC.numerals_to_Free, use existing Isabelle/HOL representation
wenzelm@60241
    46
    - clarify role of type "real" vs. "float" (see theory "HOL-Library.Float");
walther@60245
    47
walther@60245
    48
* WN: investigate errors further which popped up in rewriting when replacing ^^^ by \<up> in ac7426ab0491.
wenzelm@60247
    49
      The errors occur with examples in test/../poly.sml, which do not work properly in isabisac20 either.
wenzelm@60247
    50
wenzelm@60247
    51
* WN: cleanup remaining ^^^ in comments (but sometimes it is just ASCII art);
wenzelm@60247
    52
wenzelm@60247
    53
* WN: simplify const names like "is'_expanded": no need to imitate the escape of mixfix syntax;
wenzelm@60247
    54
wenzelm@60247
    55
* WN: proper statement for rcancel_den ("not" is a free variable!?!!):
wenzelm@60247
    56
    rcancel_den:             "not(a=0) ==> a * (b / a) = b" and
wenzelm@60247
    57
wenzelm@60247
    58
* WN: "fun pr_ord" is not required if used with @{make_string}, @{print}, @{print tracing};
wenzelm@60247
    59