src/Tools/isac/TODO.thy
author Walther Neuper <wneuper@ist.tugraz.at>
Sat, 22 Jun 2019 13:15:52 +0200
changeset 59550 2e7631381921
parent 59549 e0e3d41ef86c
child 59558 0422e662c304
permissions -rw-r--r--
funpack: repair remaining test/../partial_fractions.sml, inverse_z_transform.sml
neuper@42314
     1
(* Title:  todo's for isac core
neuper@42314
     2
   Author: Walther Neuper 111013
neuper@42314
     3
   (c) copyright due to lincense terms.
neuper@42314
     4
*)
wneuper@59504
     5
theory TODO
wneuper@59504
     6
imports "~~/src/Doc/Prog_Prove/LaTeXsugar"
wneuper@59504
     7
begin
neuper@42314
     8
wneuper@59504
     9
section \<open>TODOs from current development\<close>
wneuper@59504
    10
wneuper@59504
    11
subsection \<open>Shift programs for Lucas-Interpretation from strings to partial_function\<close>
wneuper@59504
    12
text\<open>
wneuper@59504
    13
String constants have already bee introduced to old string-programs.
wneuper@59504
    14
Shifting this program code into partial_function reveals further issues:
wneuper@59504
    15
\begin{itemize}
wneuper@59549
    16
\item Biegelinie.thy was already broken after isabisac15, but never noticed.
wneuper@59549
    17
  Switch from script to partial_function has it broken further,
wneuper@59549
    18
  mostly due to generalisation of handling of meths which extend the model of a probl.
wneuper@59549
    19
  !Check if (*CURRENT*) error is due to "switch from Script to partial_function" 4035ec339062 ? 
wneuper@59549
    20
                             OR ?due to "failed trial to generalise handling of meths
wneuper@59549
    21
                                 which extend the model of a probl " 98298342fb6d
wneuper@59549
    22
\item
wneuper@59550
    23
\item lucin: test/../partial_fractions: repair different behaviour of
wneuper@59550
    24
  --- isolate SubProblem [simplification, of_rationals, to_partial_fraction] me ----
wneuper@59550
    25
  --- isolate SubProblem [simplification, of_rationals, to_partial_fraction] me ----
wneuper@59550
    26
\item lucin: finish output of trace_script with Check_Postcond (useful for SubProblem)
wneuper@59550
    27
\item lucin: extract common code from assod .. stac2tac_
wneuper@59550
    28
\item prep_met: check match between args of partial_function and model-pattern of meth;
wneuper@59550
    29
  provide error message.
wneuper@59504
    30
\item Diff.thy
wneuper@59504
    31
  \begin{itemize}
wneuper@59504
    32
  \item differentiateX --> differentiate after removal of script-constant
wneuper@59504
    33
  \end{itemize}
wneuper@59538
    34
\item Inverse_Z_Transform.thy:
wneuper@59538
    35
  \begin{itemize}
wneuper@59550
    36
  \item\label{new-var-rhs} rule1..6, ruleZY introduce new variables on the rhs of the rewrite-rule.
wneuper@59550
    37
  ? replace rewriting with substitution ?!?
wneuper@59537
    38
  The problem is related to the decision of typing for "d_d" and making bound variables free (while
wneuper@59550
    39
  shifting specific handling in equation solving etc. to the meta-logic). 
wneuper@59550
    40
  \item Find "stepResponse (x[n::real]::bool)" is superfluous, because immediately used by
wneuper@59550
    41
    rewrite-rules; see \ref{new-var-rhs}.
wneuper@59538
    42
  \item Reconsider whole problem:
wneuper@59538
    43
    input only the polynomial as argument of partial_function, in ([1], Frm) compile lhs "X z" ?
wneuper@59538
    44
  \end{itemize}
wneuper@59504
    45
\item Test.thy: met_test_sqrt2: deleted?!
wneuper@59541
    46
\item learn to use unknown tools for investigating Test_Some in child of changeset 
wneuper@59541
    47
  "funpack: failed trial to generalise handling of meths which extend the model of a probl"
wneuper@59540
    48
\item re-consideration whole of modelling- + specification-phase
wneuper@59540
    49
  \begin{itemize}
wneuper@59540
    50
  \item introduction of y, dy as arguments in IntegrierenUndKonstanteBestimmen2
wneuper@59540
    51
    caused major problems:
wneuper@59540
    52
    \begin{itemize}
wneuper@59540
    53
    \item required "--- hack for funpack: generalise handling of meths which extend problem items"
wneuper@59540
    54
      in order to make Test_Isac run again.
wneuper@59540
    55
      \begin{itemize}
wneuper@59540
    56
      \item see several locations of hack in code
wneuper@59540
    57
      \item these locations are NOT sufficient, see
wneuper@59540
    58
        test/../biegelinie-3.sml --- IntegrierenUndKonstanteBestimmen2: Bsp.7.70. auto ---
wneuper@59540
    59
      \item "fun assod" "match_ags ..dI" instead "..pI" breaks many tests, however,
wneuper@59540
    60
        this would be according to survey Notes (3) in src/../calchead.sml.
wneuper@59540
    61
      \end{itemize}
wneuper@59540
    62
    \end{itemize}
wneuper@59540
    63
  \item decide, whether to start with hack or with general notes
wneuper@59540
    64
    \begin{itemize}
wneuper@59540
    65
    \item reconsidering Model.max_vt, use problem with meth ["DiffApp","max_by_calculus"]
wneuper@59540
    66
    \item reconsider add_field': where is it used for what? Shift into mk_oris
wneuper@59540
    67
    \item reconsider match_itms_oris: where is it used for what? max_vt ONLY???
wneuper@59540
    68
    \item in Specify_Method search root-oris for items (e.g. "errorBound"), #1# in survey
wneuper@59540
    69
    \item Specify_Problem, Specify_Method: check respective identifiers after re-Specify_
wneuper@59540
    70
      (relevant for pre-condition)
wneuper@59540
    71
    \item unify match_ags to mk_oris1..N with different args (fmz | pat list, pbl | meth
wneuper@59540
    72
    \item 
wneuper@59540
    73
    \end{itemize}
wneuper@59540
    74
  \item other issues
wneuper@59540
    75
    \begin{itemize}
wneuper@59540
    76
    \item type model = itm list ?
wneuper@59540
    77
    \item review survey Notes in src/../calchead.sml: they are questionable
wneuper@59540
    78
    \item review copy-named, probably two issues commingled 
wneuper@59540
    79
      \begin{itemize}
wneuper@59540
    80
      \item special handling of "#Find#, because it is not a formal argument of partial_function
wneuper@59540
    81
      \item special naming for solutions of equation solving: x_1, x_2, ...
wneuper@59540
    82
      \end{itemize}
wneuper@59540
    83
    \end{itemize}
wneuper@59540
    84
  \end{itemize}
wneuper@59540
    85
\item \item abstract specify + nxt_specif to common aux-funs;
wneuper@59540
    86
  see e.g. "--- hack for funpack: generalise handling of meths which extend problem items ---"
wneuper@59549
    87
\item
wneuper@59549
    88
\item
wneuper@59549
    89
\item
wneuper@59504
    90
  \begin{itemize}
wneuper@59504
    91
  \item 
wneuper@59540
    92
    \begin{itemize}
wneuper@59540
    93
    \item 
wneuper@59540
    94
      \begin{itemize}
wneuper@59540
    95
      \item 
wneuper@59540
    96
      \end{itemize}
wneuper@59540
    97
    \end{itemize}
wneuper@59504
    98
  \end{itemize}
wneuper@59504
    99
\end{itemize}
wneuper@59504
   100
\<close>
wneuper@59504
   101
subsubsection \<open>\<close>
wneuper@59504
   102
wneuper@59504
   103
section \<open>TODOs shifted here from above\<close>
wneuper@59504
   104
wneuper@59504
   105
subsection \<open>adopt Isabelle's numerals for Isac\<close>
wneuper@59504
   106
text \<open>WN131021: 
neuper@52150
   107
intermediate states:
neuper@52150
   108
# replace numerals of type "real" by "nat" in some specific functions from ListC.thy
neuper@52150
   109
  and have both representations in parallel for "nat".
wneuper@59504
   110
\<close>subsection \<open>finetunig required for xmldata\<close>
wneuper@59504
   111
text \<open>WN140808: 
neuper@55496
   112
See xmldata https://intra.ist.tugraz.at/hg/isac/rev/5b222a649390
neuper@55496
   113
and in kbase html-representation generated from these xmldata.
neuper@55496
   114
Notes in ~~/xmldata/TODO.txt.
wneuper@59472
   115
\<close>
wneuper@59504
   116
wneuper@59472
   117
section \<open>\<close>
wneuper@59472
   118
subsection \<open>\<close>
wneuper@59504
   119
subsubsection \<open>\<close>
wneuper@59513
   120
text\<open>
wneuper@59513
   121
\begin{itemize}
wneuper@59513
   122
\item 
wneuper@59513
   123
\end{itemize}
wneuper@59513
   124
\<close>
neuper@52150
   125
end