src/Doc/isac/jrocnik/final/jrocnik_bakk.tex
changeset 52107 f8845fc8f38d
parent 52106 7f3760f39bdc
child 52108 9aaf0d0f0ce4
     1.1 --- a/src/Doc/isac/jrocnik/final/jrocnik_bakk.tex	Mon Sep 16 12:27:20 2013 +0200
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,688 +0,0 @@
     1.4 -%   Title:  bakkarbeit_jrocnik.tex
     1.5 -%   Author: Jan Rocnik
     1.6 -%   (c) copyright due to lincense terms.
     1.7 -%2345678901234567890123456789012345678901234567890123456789012345678901234567890
     1.8 -%       10        20        30        40        50        60        70        80
     1.9 -
    1.10 -%define document class
    1.11 -\documentclass[a4paper, 12pt]{article}
    1.12 -
    1.13 -%packages for language and input
    1.14 -\usepackage[english]{babel} 
    1.15 -\usepackage[T1]{fontenc}
    1.16 -\usepackage[latin1]{inputenc}
    1.17 -
    1.18 -%generel packages
    1.19 -\usepackage{url}
    1.20 -\usepackage{endnotes}
    1.21 -\usepackage{trfsigns}
    1.22 -\usepackage{setspace}
    1.23 -\usepackage[pdfpagelabels]{hyperref}
    1.24 -\usepackage{longtable}
    1.25 -
    1.26 -\usepackage{float} %For restylefloat
    1.27 -\newfloat{example}{ht}{} %self made floats
    1.28 -\floatname{example}{Example} %name for float
    1.29 -\restylefloat{table} %float tables
    1.30 -\floatstyle{ruled} %boxes around floats
    1.31 -\restylefloat{example} %float examples --> boxes
    1.32 -\restylefloat{figure}
    1.33 -
    1.34 -%colors and graphics
    1.35 -\usepackage{graphicx}
    1.36 -\usepackage{color}
    1.37 -\definecolor{lgray}{RGB}{238,238,238}
    1.38 -
    1.39 -%isabelle relevant packages
    1.40 -\usepackage{isabelle,isabellesym}
    1.41 -%\isabellestyle{it}
    1.42 -
    1.43 -%define isac logos
    1.44 -\def\isac{${\cal I}\mkern-2mu{\cal S}\mkern-5mu{\cal AC}$}
    1.45 -\def\sisac{\footnotesize${\cal I}\mkern-2mu{\cal S}\mkern-5mu{\cal AC}$}
    1.46 -
    1.47 -\newcommand{\HRule}{\rule{\linewidth}{0.2mm}}
    1.48 -
    1.49 -%start new even page
    1.50 -\usepackage{ifthen}
    1.51 -\newcommand{\newevenside}{
    1.52 -        \ifthenelse{\isodd{\thepage}}{\newpage}{
    1.53 -        \newpage
    1.54 -        \phantom{placeholder} % doesn't appear on page
    1.55 -        \thispagestyle{empty} % if want no header/footer
    1.56 -        \newpage
    1.57 -        }
    1.58 -}
    1.59 -
    1.60 -%this should be the last package used
    1.61 -%\usepackage{pdfsetup}
    1.62 -
    1.63 -%----------// BEGIN DOCUMENT \\----------%
    1.64 -
    1.65 -\begin{document}
    1.66 -
    1.67 -%----------// TITLE PAGE \\----------%1
    1.68 -
    1.69 -\input{./bakkarbeit_titlepage.tex}
    1.70 -\newpage
    1.71 -
    1.72 -%----------// EMPTY PAGE \\----------%2
    1.73 -
    1.74 -\setcounter{page}{2}
    1.75 -\thispagestyle{empty}\mbox{}\newpage
    1.76 -
    1.77 -%----------// THANKS \\----------%3
    1.78 -
    1.79 -\setcounter{page}{3}
    1.80 -\begin{center}
    1.81 -	Special Thanks to\\
    1.82 -	\hfill \\
    1.83 -	\emph{Dr.techn. Walther Neuper}\\
    1.84 -	\emph{Dipl.-Ing. Bernhard Geiger}
    1.85 -\end{center}
    1.86 -\thispagestyle{empty}
    1.87 -\newpage
    1.88 -
    1.89 -%----------// EMPTY PAGE \\----------%4
    1.90 -
    1.91 -%the following command was replaced by \newevenside
    1.92 -%\thispagestyle{empty}\mbox{}\newpage
    1.93 -
    1.94 -%----------// ABSTRACT \\----------%5
    1.95 -
    1.96 -\newevenside
    1.97 -\begin{abstract}
    1.98 -The Baccalaureate Thesis creates interactivee course material for Signal Processing (SP) based on the experimental educational math assistant Isabelle/{\sisac} ({\em Isa}belle for Transparent {\em C}alculations in Applied Mathematics).
    1.99 -\par The content of the course material is defined together with the Institute for Signal Processing and Speech Communication (SPSC) of Graz University of Technology (TUG). The content is planned to be used in specific lectures and labs of the SPSC and thus is thoroughly concerned with underlying mathematical and physical theory.
   1.100 -One challenge of this thesis is, that much theory required for SPSC is not yet mechanized in Computer Theorem Provers (TP); so this thesis will provide preliminary definitions  and theorems (without proofs~!) implemented in Isabelle \emph{theories}.
   1.101 -\par Another challenge is the implementation of interactivee courses: this is done within the educational math assistant Isabelle/{\sisac}, which is under development at Austrian Universities, one of them TU Graz. The present state of {\sisac{}} happens to provide the {\em first} occasion for authoring by a non-member of the {\sisac}-developer team. So this challenge involves  alpha-testing of the underlying \emph{TP-based programing language}, because error messages are still not user-friendly and need frequent contact with {\sisac}-developers.
   1.102 -So the practical outcome of this thesis is twofold:
   1.103 -\begin{enumerate}
   1.104 -\item Interactive course material hopefully useful in education within the SPSC and within \emph{STEOP}\footnote{German: "`Studieneingangs- und Orientierungsphase"'}, the introductory orientation phase at TUG, as a preview for students in Telematics on later application of math knowledge introduced in the first semester and
   1.105 -\item A detailed description of technicalities in programing implemented as an interactivee Isabelle/Isar theory, providing future programers with guidelines and {\sisac}-developers with feedback in usability of the CTP-based program language. 
   1.106 -\end{enumerate}
   1.107 -\end{abstract}
   1.108 -\clearpage
   1.109 -
   1.110 -%----------// EMPTY PAGE \\----------%6
   1.111 -
   1.112 -%the following command was replaced by \newevenside
   1.113 -%\thispagestyle{empty}\mbox{}\newpage
   1.114 -
   1.115 -%----------// T O C \\----------%7-9
   1.116 -
   1.117 -\newevenside
   1.118 -
   1.119 -\pagenumbering{Roman}
   1.120 -%This thesis is structured into a fundamental part introducing the motivation, the basic notions concerning the thesis aswell as the {\sisac{}} project and describing the mathematic base. Further a automatically generated practical part representing the work on {\sisac{}} which can be extended.
   1.121 -\tableofcontents
   1.122 -\clearpage
   1.123 -\pagenumbering{arabic}
   1.124 -\setcounter{page}{10}
   1.125 -
   1.126 -%----------// PART-1 \\----------%
   1.127 -
   1.128 -\newevenside
   1.129 -
   1.130 -\part{Project Fundamentals}
   1.131 -
   1.132 -\section{Introduction}
   1.133 -Didactics of mathematics faces a specific issue, a gap between (1) introduction of math concepts and skills and (2) application of these concepts and skills, which usually are separated into different units in curricula (for good reasons). For instance, (1) teaching partial fraction decomposition is separated from (2) application for inverse Z-transform in signal processing.
   1.134 -
   1.135 -This gap is an obstacle for applying math as an fundamental thinking technology in engineering: In (1) motivation is lacking because the question ``What is this stuff good for~?'' cannot be treated sufficiently, and in (2) the ``stuff'' is not available to students in higher semesters as widespread experience shows.
   1.136 -
   1.137 -\medskip
   1.138 -Motivated by this didactical issue on the one hand, and ongoing R\&D on a novel kind of educational mathematics assistant at Graz University of Technology~\footnote{http://www.ist.tugraz.at/isac/} promising to cope with this issue on the other hand, several institutes are planning to join their expertise: the Institutes for Institute for Information Systems and Computer Media (IICM), the Institute for Software Technology (IST), the Institutes for Mathematics, the Signal Processing and Speech Communication Institute (SPSC), the Institute for Structural Analysis and the Institute of Electrical Measurement and Measurement Signal Processing.
   1.139 -\par This thesis is the first attempt to tackle the above mentioned issue, it focuses on Telematics, because these specific studies focus on mathematics in \emph{STEOP}, the introductory orientation phase. \emph{STEOP} is considered an opportunity to investigate the impact of {\sisac}'s prototype on the issue and others.
   1.140 -
   1.141 -\medskip
   1.142 -The thesis is structured as follows: Part~I concerns theory and project controlling, Part~II the implementation work, where the latter is the main work, Part~III the resume including summary, open questions and conclusion and the appendixes in Part~IV.
   1.143 -\par In part I, Section~\ref{isabisac} gives a brief description of the state-of-the-art for educational math assistants (Section~\ref{emas}) and introduces the notions required for the implementation work (Section~\ref{math-auth}). In particular, Section~\ref{user-guid} explains, why math authoring in {\sisac{}} is {\em not} concerned with interaction (and thus not with user guidance etc at all~!). So a concise description of the thesis' goals needs to be postponed to Section~\ref{sec:goals}.
   1.144 -\par Section~\ref{sp} analyzes a problems defined by the SPSC for the knowledge already provided (Section~\ref{know-isab}, Section~\ref{know-isac}), discusses the selection of problems for implementation (Section~\ref{know-missing}) TODO: further structure ?
   1.145 -%(\S\ref{})
   1.146 -
   1.147 -\section{Mechanization of Math in Isabelle/ISAC\label{isabisac}}
   1.148 -
   1.149 -%\subsubsection*{Notes on Mechanization of Mathematics}
   1.150 -%This thesis tries to \emph{connect} these two worlds and is one of the first guidelines to implement problem classes in {\sisac}. As we are still in a eary part of development, this is the first thesis dealing within this topic and there is \emph{no} related work to guid through. A more detailed description about this fact can be found in Section \ref{sec:related}.
   1.151 -%The major challenge of the practical part, of this thesis, is, that "connecting the two worlds" involves programing in a CTP-based programing language which is in a very early state of prototyping. There is no concrete experience data ready to grep.
   1.152 -%
   1.153 -As mentioned in the introduction, a prototype of an educational math assistant called {\sisac}\footnote{{\sisac}=\textbf{Isa}belle \cite{Nipkow-Paulson-Wenzel:2002} for \textbf{C}alculations, see http://www.ist.tugraz.at/isac/.} bridges the gap between (1) introducation and (2) application of mathematics: {\sisac} is based on Computer Theorem Proving (TP), a technology which requires each fact and each action justified by formal logic, so {{\sisac{}}} makes justifications transparent to students in interactivee step-wise problem solving. By that way {\sisac} already can serve both:
   1.154 -\begin{enumerate}
   1.155 -\item Introduction of math stuff (in e.g. partial fraction decomposition) by stepwise explaining and exercising respective symbolic calculations with ``next step guidance (NSG)'' and rigorously checking steps freely input by students  --- this also in context with advanced applications (where the stuff to be taught in higher semesters can be skimmed through by NSG), and
   1.156 -\item Application of math stuff in advanced engineering courses (e.g. problems to be solved by inverse Z-transform in a Signal Processing Lab) --- and now without much ado about basic math techniques (like partial fraction decomposition): ``next step guidance'' supports students in independently (re-)adopting such techniques.
   1.157 -\end{enumerate}
   1.158 -Before the question is answers, how {\sisac} accomplishes this task from a technical point of view, some remarks on the state-of-the-art is given, therefor follow up Section~\ref{emas}.
   1.159 -
   1.160 -\subsection{Educational Mathematics Assistants (EMAs)}\label{emas}
   1.161 -Educational software in mathematics is, if at all, based on Computer Algebra Systems (CAS, for instance \cite{progr-mathematica,prog-maple06}), Dynamic Geometry Systems (DGS, for instance \footnote{GeoGebra http://www.geogebra.org, Cinderella http://www.cinderella.de/, GCLC http://poincare.matf.bg.ac.rs/~janicic/gclc/}) or spread-sheets. These base technologies are used to program math lessons and sometimes even exercises. The latter are cumbersome: the steps towards a solution of such an interactivee exercise need to be provided with feedback, where at each step a wide variety of possible input has to be foreseen by the programer --- so such interactivee exercises either require high development efforts or the exercises constrain possible inputs.
   1.162 -
   1.163 -A new generation of educational math assistants (EMAs) is emerging presently, which is based on Theorem Proving (TP). TP, for instance Isabelle \cite{Nipkow-Paulson-Wenzel:2002} and Coq \cite{Huet_all:94}, is a technology which requires each fact and each action justified by formal logic. Pushed by demands for \textit{proven} correctness of safety-critical software TP advances into software engineering; from these advancements computer mathematics benefits in general, and math education in particular. Two features of TP are immediately beneficial for learning:
   1.164 -
   1.165 -\paragraph{TP have knowledge in human readable format,} that is in standard predicate calculus. TP following the LCF-tradition have that knowledge down to the basic definitions of set, equality, etc~\footnote{http://isabelle.in.tum.de/dist/library/HOL/HOL.html}; following the typical deductive development of math, natural numbers are defined and their properties proven~\footnote{http://isabelle.in.tum.de/dist/library/HOL/Number\_Theory/Primes.html}, etc. Present knowledge mechanized in TP exceeds high-school mathematics by far, however by knowledge required in software technology, and not in other engineering sciences.
   1.166 -
   1.167 -\paragraph{TP can model the whole problem solving process} in mathematical problem solving {\em within} a coherent logical framework. This is already being done by three projects, by Ralph-Johan Back \cite{Back-SD09}, by ActiveMath \cite{ActiveMath-MAIN11} and by Carnegie Mellon Tutor \cite{mat-tutor-cmu-MAIN11}.
   1.168 -
   1.169 -Having the whole problem solving process within a logical coherent system, such a design guarantees correctness of intermediate steps and of the result (which seems essential for math software); and the second advantage is that TP provides a wealth of theories which can be exploited for mechanizing other features essential for educational software.
   1.170 -
   1.171 -\subsection{Generation of User Guidance in EMAs}\label{user-guid}
   1.172 -One essential feature for educational software is feedback to user input and assistance in coming to a solution.
   1.173 -
   1.174 -\paragraph{Checking user input} by ATP during stepwise problem solving is being accomplished by the three projects mentioned above \cite{Back-SD09,ActiveMath-MAIN11,mat-tutor-cmu-MAIN11} exclusively. They model the whole problem solving process as mentioned above, so all what happens between formalized assumptions (or formal specification) and goal (or fulfilled postcondition) can be mechanized. Such mechanization promises to greatly extend the scope of educational software in stepwise problem solving.
   1.175 -
   1.176 -\paragraph{Next step guidance (NSG)} comprises the system's ability to propose a next step; this is a challenge for TP: either a radical restriction of the search space by restriction to very specific problem classes is required, or much care and effort is required in designing possible variants in the process of problem solving \cite{proof-strategies-11}.
   1.177 -
   1.178 -Another approach is restricted to problem solving in engineering domains, where a problem is specified by input, precondition, output and postcondition, and where the postcondition is proven by ATP behind the scenes \cite{wn:lucas-interp-12}: Here the possible variants in the process of problem solving are provided with feedback {\em automatically}, if the problem is described in a TP-based programing language~\cite{plmms10}: the programer only describes the math algorithm without caring about interaction (the respective program is functional and even has no in/output statements~!); interaction is generated as a side-effect by the interpreter --- an efficient separation of concern between math programers and dialog designers promising application all over engineering disciplines.
   1.179 -
   1.180 -
   1.181 -\subsection{Math Authoring in Isabelle/ISAC\label{math-auth}}
   1.182 -Authoring new mathematics knowledge in {\sisac} can be compared with ``application programing'' of engineering problems; most of such programing uses CAS-based programing languages (CAS = Computer Algebra Systems; e.g. Mathematica's \cite{progr-mathematica} or Maple's programing language \cite{prog-maple06}).
   1.183 -
   1.184 -{\sisac}, however, uses a novel type of TP-based language \cite{plmms10} for describing how to construct a solution to an engineering problem and for calling equation solvers, integration, etc~\footnote{Implementation of CAS-like functionality in TP is not primarily concerned with efficiency, but with a didactic question: What to decide for: for high-brow algorithms at the state-of-the-art or for elementary algorithms comprehensible for students~?} within TP; TP can ensure ``systems that never make a mistake'' \cite{casproto} --- are impossible for CAS which have no logics underlying.
   1.185 -
   1.186 -With writing such TP-based programs authoring is perfect, the application programer is not concerned with interaction or with user guidance: this is concern of a novel kind of program interpreter called Lucas-Interpreter \cite{wn:lucas-interp-12}. This interpreter hands over control to a dialog component at each step of calculation (like a debugger at breakpoints) and calls automated TP to check user input following personalized strategies according to a feedback module.
   1.187 -
   1.188 -\medskip
   1.189 -However ``application programing with TP'' is not done with writing a program: according to the principles of TP, each step must be justified. Such justifications are given by theorems. So all steps must be related to some theorem, if there is no such theorem it must be added to the existing knowledge, which is organized in so-called \textbf{theories} in  Isabelle. A theorem must be proven; fortunately Isabelle comprises a mechanism (called ``axiomatization''), which allows to omit proofs. Such a theorem is shown in Example~\ref{eg:neuper1}.
   1.190 -
   1.191 -\begin{example}
   1.192 -{\small\begin{tabbing}
   1.193 -123\=123\=123\=123\=\kill
   1.194 -\hfill \\
   1.195 -\>axiomatization where \\
   1.196 -\>\>  rule1: "1 = $\delta$ [n]" and\\
   1.197 -\>\>  rule2: "|| z || > 1 ==> z / (z - 1) = u [n]" and\\
   1.198 -\>\>  rule3: "|| z || < 1 ==> z / (z - 1) = -u [-n - 1]" and \\
   1.199 -\>\>  rule4: "|| z || > || $\alpha$ || ==> z / (z - $\alpha$) = $\alpha^n$ * u [n]" and\\
   1.200 -\>\>  rule5: "|| z || < || $\alpha$ || ==> z / (z - $\alpha$) = -($\alpha^n$) * u [-n - 1]" and\\
   1.201 -\>\>  rule6: "|| z || > 1 ==> z/(z - 1)$^2$ = n $\cdot$ u [n]"
   1.202 -\end{tabbing}
   1.203 -}
   1.204 -\caption{Axiomatization in Isabelle\label{eg:neuper1}}
   1.205 -\end{example}
   1.206 -
   1.207 -In order to provide TP with logical facts for checking user input, the Lucas-Interpreter requires a \textbf{specification}. Such a specification is shown in Example~\ref{eg:neuper2}.
   1.208 -
   1.209 -\begin{example}
   1.210 -{\small\begin{tabbing}
   1.211 -123,\=postcond \=: \= $\forall \,A^\prime\, u^\prime \,v^\prime.\,$\=\kill
   1.212 -\hfill \\
   1.213 -Specification no.1:\\
   1.214 -%\>input\>: $\{\;r={\it arbitraryFix}\;\}$  \\
   1.215 -\>input    \>: $\{\;r\;\}$  \\
   1.216 -\>precond  \>: $0 < r$   \\
   1.217 -\>output   \>: $\{\;A,\; u,v\;\}$ \\
   1.218 -\>postcond \>:{\small  $\;A=2uv-u^2 \;\land\; (\frac{u}{2})^2+(\frac{v}{2})^2=r^2 \;\land$}\\
   1.219 -\>     \>\>{\small $\;\forall \;A^\prime\; u^\prime \;v^\prime.\;(A^\prime=2u^\prime v^\prime-(u^\prime)^2 \land
   1.220 -(\frac{u^\prime}{2})^2+(\frac{v^\prime}{2})^2=r^2) \Longrightarrow A^\prime \leq A$} \\
   1.221 -\>props\>: $\{\;A=2uv-u^2,\;(\frac{u}{2})^2+(\frac{v}{2})^2=r^2\;\}$
   1.222 -\end{tabbing}
   1.223 -}
   1.224 -\caption{Specification for the Lucas-Interpreter\label{eg:neuper2}}
   1.225 -\end{example}
   1.226 -
   1.227 -Such a specification is checked before the execution of a program is started, the same applies for sub-programs. In the following example program (Example~\ref{eg:subprob}) the sub-programs are designated by \ttfamily SubProblem \normalfont:
   1.228 -
   1.229 -\begin{example}
   1.230 -\hfill \\
   1.231 -{\ttfamily \begin{tabbing}
   1.232 -``(L\_L::bool list) = (\=SubProblem (\=Test','' \\
   1.233 -``\>\>[linear,univariate,equation,test],'' \\
   1.234 -``\>\>[Test,solve\_linear])'' \\
   1.235 -``\>[BOOL equ, REAL z])'' \\
   1.236 -\end{tabbing}
   1.237 -}
   1.238 -{\small\textit{
   1.239 -	\noindent If a program requires a result which has to be calculated first we can use a subproblem to do so. In our specific case we wanted to calculate the zeros of a fraction and used a subproblem to calculate the zeros of the denominator polynom.
   1.240 -	}}
   1.241 -\caption{Usage of Subproblems in Programs\label{eg:subprob}}
   1.242 -\end{example}
   1.243 -
   1.244 -
   1.245 -\subsection{Goals of the Thesis}\label{sec:goals}
   1.246 -Imagine a piece of software would be able to support you by understanding every problem class, upcoming in the first years attending university - wouldn't it be great?
   1.247 -\par {{\sisac{}}} tries to do that, but the current state of the art is miles away from this goal and a single implementation of a problem is not enough to change this circumstance. Through this fact it is all the more essential to try, test, research and document the implementation of problem classes from "`real world"' applications. Responding to the abstract at the begin of this document the thesis has two folds; on the one hand certainly to provide interactivee course material for Signal Processing (which means to implement a single problem provided by the Institute of Signal Processing and Speech Communication (SPSC); follow up Calulcations), and to extract experience data respectively help the {{\sisac{}}}-team by setting up a detailed description of technicalities hacking {\sisac{}} on the other hand.
   1.248 -
   1.249 -All the notions are in place to describe the task ``Interactive Course Material for Signal Processing based on Isabelle/{\sisac}'', the main task of this thesis, appropriately by the following points:
   1.250 -\begin{enumerate}
   1.251 -\item Analyze the problems given by the SPSC Lab for mathematics \textbf{knowledge required}, search the knowledge already available in Isabelle/{\sisac}, estimate efforts required to fill the gap between knowledge required and knowledge available, and finally select problems for implementation accordingly.
   1.252 -\item Implement the selected problems in Isabelle/{\sisac}, which means, in appropriate Isabelle theories \textbf{for each problem} implement:
   1.253 -  \begin{enumerate}
   1.254 -  \item \textbf{Definitions and theorems} required within the specification (including ``descriptions'' for input variables and output variables) and the program (proofs omitted via ``axiomatization'')
   1.255 -  \item \textbf{A specification} which describes the input variables, the preconditions on the input (a challenge for rigorously exact mathematics~!), the output variables and the postcondition, which relates input to output such that the problem is characterized formally (another challenge for rigorously exact mathematics~!)
   1.256 -  \item \textbf{A program} describing the algorithm which solves the problem, i.e. which constructs output meeting the postcondition. Programming involves identifying the steps (tactics~!) which create the calculation and calling CAS-functions (simplification, equation solvers, etc) appropriately. Modularization of programs into {\tt SubProblems} has to prepare for re-use of code.
   1.257 -  \end{enumerate}
   1.258 -\item Add \textbf{multimedia explanations} to each problem (i.e. to specific definitions, theorems, the specification and the program) such that non-expert students (e.g. within \emph{STEOP}, the introductory orientation phase at TUG) get an idea the problem is about.
   1.259 -\item \textbf{Document the implementation} such that
   1.260 -  \begin{enumerate}
   1.261 -  \item Interactive course material hopefully useful in education within the SPSC and within \emph{STEOP}, the introductory orientation phase at TUG, as a preview for students in Telematics on later application of math knowledge introduced in the first semester and
   1.262 -  \item A detailed description of technicalities in programing implemented as an interactivee Isabelle/Isar theory, providing future programers with guidelines and {\sisac}-developers with feedback in usability of the TP-based program language. 
   1.263 -  \item subsequent application programers have guidelines for further implementation of interactivee course material in SPSC and other engineering sciences
   1.264 -  \item {\sisac{}} developers get feedback for ongoing improvement of the TP-based programing language, the respective development environment and the respective program interpreter (called Lucas-Interpreter)
   1.265 -  \item development of knowledge for engineering sciences is being motivated in the Isabelle community.
   1.266 -  \end{enumerate}
   1.267 -\end{enumerate}
   1.268 -
   1.269 -
   1.270 -\section{Mechanization of Signal Processing Problems}\label{sp}
   1.271 -\subsection{Relevant Knowledge available in Isabelle}\label{know-isab}
   1.272 -Isabelle is developed now for a long time and so we are able to access a huge range of theories and useful snippets. The main problem according this snip sets is that isabelle still is a theorem proofer and not an algebra system. But due the work of the {\sisac}-development team there are already also many calculation examples provided.
   1.273 -\par The SPSC provided a list of problems which are often done wrong or are misunderstood by students in term of the problem classes. Out of these tasks we tried to extract the core operations and looked up which parts are already implemented or useful. The provided problem classes are:
   1.274 -\begin{itemize}
   1.275 -	\item Fourier-Transformation
   1.276 -	\item Convolution
   1.277 -	\item Inverse Z-Transformation and partial fraction decomposition
   1.278 -	\item Index transformation
   1.279 -\end{itemize}
   1.280 -
   1.281 -A survey of these selected Problems on their "`correct"' solution can be found in Appendix~\ref{app:calc}. After manually solving this problems we started checking which of them are able to realizable. As already remarked above, isabelle is just a theorem proover due this fact isabelle only provides some theories which are useful for the provided problem classes.
   1.282 -\par Yet, isabelle also has some problems on traditional notation. For example a theory called FFT is already implemented this theory does not provide methods for solving fourier transformation tasks, it only defines the basic condition a fast Fourier transformed expression has to fulfill.
   1.283 -\par For the problems we had a look-on isabelle did not provide specific theories which can be implemented one by one, so a look at the mechanized knowledge in {\sisac} is the next step, therefore follow up Section~\ref{know-isac}.
   1.284 -
   1.285 -\subsection{Relevant Knowledge available in ISAC}\label{know-isac}
   1.286 -{\sisac} already provides a small registry of useful programs and surveys on using isabelle as for solving problems. These snip sets are things like norming rational numbers, solving variate and univariate equations, substitutions, some simple integrals and so on. For a detailed review on the currently implemented theories a look at the {\sisac} project web-page\footnote{http://www.ist.tugraz.at/projects/isac/www/kbase/pbl/index\_pbl.html} is strongly recommended, as the appreciation for this thesis is no describing all parts of {\sisac} in detail. This would also not be possible as {\sisac} is permanently growing.
   1.287 -\par After we differenced {\sisac} and isabelle we are able to introduce two axes in the project. This axes are the specifications (``application axis'' represented as isabelle) and methods (``algorithmic axis'' represented as {\sisac}).
   1.288 -\par During the first weeks of work on this thesis we decided on implementing the Z-Transformation and particullary the included partial fraction decomposion first. The algoritmix axis therefor already provides the knowledge for the following parts:
   1.289 -\begin{description}
   1.290 -\item[Partial Fractions] We now how to handle them and we are able to illustrate them.
   1.291 -\item[Cancellation of multivariate rational terms] Simplification is possible.
   1.292 -\item[Equations] The possibility of solving linear and second order equations is provided, also the possibility to get the left or right hand side of an equation.
   1.293 -\item[Substitution] We are able to substitute given variables in terms, we are also able to subsitude a list of variables in terms.
   1.294 -\end{description}
   1.295 -
   1.296 -\subsection{Survey on Required Knowledge}\label{know-missing}
   1.297 -Following tables (Table~\ref{tab:eff-four},~\ref{tab:eff-conv},~\ref{tab:eff-ztrans}) are showing the expected development effort for specific problems. The values are only very inaccurately approximations of the real work, but needed as a basis for descieding with which problem to start:
   1.298 -
   1.299 -\begin{table}
   1.300 -	\centering
   1.301 -	\begin{tabular}{p{4cm}|p{5cm}|rp{2.5cm}}
   1.302 -		\textbf{Requirements}   & \textbf{Comments}    &\textbf{Effort}\\ \hline\hline
   1.303 -		solving Integrals		    & simple via properties table     &     20\\
   1.304 -		                        & \emph{real}          &    MT\\ \hline
   1.305 -		transformation table    & simple transform     &    20\\ \hline
   1.306 -		visualisation						& backend							 &    10\\ \hline
   1.307 -		example collection      & with explanations    &    20\\ \hline\hline
   1.308 -		\multicolumn{2}{c|}{}                          & 70-80\\
   1.309 -	\end{tabular}
   1.310 -	
   1.311 -	\caption{Fourier-Transformation development effort\label{tab:eff-four}}
   1.312 -\end{table}
   1.313 -	
   1.314 -
   1.315 -\begin{table}
   1.316 -	\centering
   1.317 -	\begin{tabular}{p{4cm}|p{5cm}|rp{2.5cm}}
   1.318 -		\textbf{Requirements}   & \textbf{Comments}    &\textbf{Effort}\\ \hline\hline
   1.319 -		simplify rationals      & {\sisac}             &     0\\ \hline
   1.320 -		define $\sum\limits_{i=0}^{n}i$ & partly {\sisac}  &    10\\ \hline
   1.321 -		simplify sum			      & termorder            &    10\\
   1.322 -		                        & simplify rules       &    20\\
   1.323 -		                        & use simplify rationals&     0\\ \hline
   1.324 -		index adjustments       & with unit step       &      10\\ \hline
   1.325 -		example collection      & with explanations    &    20\\ \hline\hline
   1.326 -		\multicolumn{2}{c|}{}                      & 70-90\\
   1.327 -	\end{tabular}
   1.328 -
   1.329 -	\caption{Convolution Operations development effort\label{tab:eff-conv}}
   1.330 -\end{table}
   1.331 -
   1.332 -\begin{table}
   1.333 -	\centering
   1.334 -	\begin{tabular}{p{4cm}|p{5cm}|rp{2.5cm}}
   1.335 -		\textbf{Requirements}   & \textbf{Comments}    &\textbf{Effort}\\ \hline\hline
   1.336 -		solve for part.fract.   & {\sisac}: degree 2   &     0\\
   1.337 -		                        & complex nomminators  &    30\\
   1.338 -		                        & degree > 2           &    MT\\ \hline
   1.339 -		simplify polynomial     & {\sisac}             &     0\\
   1.340 -		simplify rational       & {\sisac}             &     0\\ \hline
   1.341 -		partial fraction        & degree 2,            &    20\\
   1.342 -		decomposition           & specification, method&    30\\ \hline
   1.343 -		${\cal Z}^{-1}$ table   & explanations, figures&    20\\ \hline
   1.344 -		example collection      & with explanations    &    20\\ \hline\hline
   1.345 -		\multicolumn{2}{c|}{}                          & 90-120\\
   1.346 -	\end{tabular}
   1.347 -
   1.348 -\caption{Z-Transformation development effort\label{tab:eff-ztrans}}
   1.349 -\end{table}
   1.350 -
   1.351 -As conclusion of the summarized efforts it is evident that only one topic can be tried to realized as a baccalaureate thesis. In accord with Dr. Neuper we decided after some practical tests to start with the implementation of the (Inverse) Z-Transformation. The Reason is that this topic can mostly be done with knowledge which was already tried to be mechanized in {\sisac}.
   1.352 -
   1.353 -\subsection{Formalization of missing knowledge in Isabelle}
   1.354 -
   1.355 -A problem behind is the mechanization of mathematic theories in TP-bases languages. There is still a huge gap between these algorithms and this what we want as a solution - in Example Signal Processing. 
   1.356 -\begin{example}
   1.357 -	\[
   1.358 -		X\cdot(a+b)+Y\cdot(c+d)=aX+bX+cY+dY
   1.359 -  \]
   1.360 -	{\small\textit{
   1.361 -		\noindent A very simple example on this what we call gap is the simplification above. It is needles to say that it is correct and also Isabelle for fills it correct - \emph{always}. But sometimes we don't want expand such terms, sometimes we want another structure of them. Think of a problem were we now would need only the coefficients of $X$ and $Y$. This is what we call the gap between mechanical simplification and the solution.
   1.362 -	}}
   1.363 -	\caption{Correct but not useful}\label{eg:gap}
   1.364 -\end{example}
   1.365 -Until we are not able to fill this gap we have to live with it but first have a look on the meaning of this statement:
   1.366 -\par Mechanized math starts from mathematical models and \emph{hopefully} proceeds to match physics. Academic engineering starts from physics (experimentation, measurement) and then proceeds to mathematical modeling and formalization. The process from a physical observance to a mathematical theory is unavoidable bound of setting up a big collection of standards, rules, definition but also exceptions. These are the things making mechanization that difficult.
   1.367 -\begin{example}
   1.368 -	\[
   1.369 -		m,\ kg,\ s,\ldots
   1.370 -  \]
   1.371 -	{\small\textit{
   1.372 -		\noindent Think about some units like that one's above. Behind each unit there is a discerning and very accurate definition: One Meter is the distance the light travels, in a vacuum, through the time of 1 / 299.792.458 second; one kilogram is the weight of a platinum-iridium cylinder in paris; and so on. But are these definitions usable in a computer mechanized world?!
   1.373 -	}}
   1.374 -	\caption{Units in measurement}\label{eg:units}
   1.375 -\end{example}
   1.376 -\par A computer or a TP-System builds on programs with predefined logical rules and does not know any mathematical trick (follow up example \ref{eg:trick}) or recipe to walk around difficult expressions. 
   1.377 -\begin{example}
   1.378 -\[ \frac{1}{j\omega}\cdot\left(e^{-j\omega}-e^{j3\omega}\right)= \]
   1.379 -\[ \frac{1}{j\omega}\cdot e^{-j2\omega}\cdot\left(e^{j\omega}-e^{-j\omega}\right)=
   1.380 -	 \frac{1}{\omega}\, e^{-j2\omega}\cdot\colorbox{lgray}{$\frac{1}{j}\,\left(e^{j\omega}-e^{-j\omega}\right)$}= \]
   1.381 -\[ \frac{1}{\omega}\, e^{-j2\omega}\cdot\colorbox{lgray}{$2\, sin(\omega)$} \]
   1.382 -	{\small\textit{
   1.383 -		\noindent Sometimes it is also useful to be able to apply some \emph{tricks} to get a beautiful and particularly meaningful result, which we are able to interpret. But as seen in this example it can be hard to find out what operations have to be done to transform a result into a meaningful one.
   1.384 -	}}
   1.385 -	\caption{Mathematic tricks}\label{eg:trick}
   1.386 -\end{example}
   1.387 -For such a system the only possibility is to work through its known definitions and stops if none of these fits. Specified on Signal Processing or any other application it is often possible to walk through by doing simple creases. This creases are in generell based on simple math operatiopms but the challenge is to teach the machine \emph{all}\footnote{Its pride to call it \emph{all}.} of them. Unfortunately the goal of TP Isabelle is to reach a high level of \emph{all} but it in real it will still be a survey of knowledge which links to other knowledge and {\sisac{}} a trainer and helper but no human compensating calculator. 
   1.388 -\par {{\sisac{}}} itself aims to adds an \emph{application} axis (formal specifications of problems out of topics from Signal Processing, etc.) and an \emph{algorithmic} axis to the \emph{deductive} axis of physical knowledge. The result is a three-dimensional universe of mathematics seen in Figure~\ref{fig:mathuni}.
   1.389 -
   1.390 -\begin{figure}
   1.391 -\hfill \\
   1.392 -  \begin{center}
   1.393 -    \includegraphics[scale=0.7]{math-universe}
   1.394 -  \end{center}
   1.395 -  \caption{Three-dimensional universe of mathematics\label{fig:mathuni}}
   1.396 -\end{figure}
   1.397 -
   1.398 -\subsection{Notes on Problems with Traditional Notation}
   1.399 -Due the thesis work we discovers sever ell problems of traditional notations. Some of them have been known in computer science for many years now and are still unsolved, one of them aggregates with the so called \emph{Lambda Calculus}, Example~\ref{eg:lamda} provides a look on the problem that embarrassed us.
   1.400 -
   1.401 -\begin{example}
   1.402 -
   1.403 -\[ f(x)=\ldots\;	\quad R \rightarrow \quad R \]
   1.404 -
   1.405 -
   1.406 -\[ f(p)=\ldots\;	p \in \quad R \]
   1.407 -
   1.408 -	{\small\textit{
   1.409 -		\noindent Above we see two equations. The first equation aims to be a mapping of an function from the reell range to the reell one, but when we change only one letter we get the second equation which usually aims to insert a reel point $p$ into the reell function. In computer science now we have the problem to tell the machine (TP) the difference between this two notations. This Problem is called Lambda Calculus.
   1.410 -	}}
   1.411 -	\caption{Towards the Lambda Calculus\label{eg:lamda}}
   1.412 -\end{example}
   1.413 -
   1.414 -An other problem is that terms are not full simplified in traditional notations, in {\sisac} we have to simplify them complete to check weather results are compatible or not. in e.g. the solutions of an second order linear equation is an rational in {\sisac} but in tradition we keep fractions as long as possible and as long as they aim to be 'beautiful' (1/8, 5/16,...).
   1.415 -
   1.416 -The math which should be mechanized in Computer Theorem Provers (\emph{TP}) has (almost) a problem with traditional notations (predicate calculus) for axioms, definitions, lemmas, theorems as a computer program or script is not able to interpret every Greek or Latin letter and every Greek, Latin or whatever calculations symbol. Also if we would be able to handle these symbols we still have a problem to interpret them at all. (Follow up \hbox{Example \ref{eg:symbint1}})
   1.417 -
   1.418 -\begin{example}
   1.419 -	\[
   1.420 -		u\left[n\right] \ \ldots \ unitstep
   1.421 -	\]
   1.422 -	{\small\textit{
   1.423 -		\noindent The unitstep is something we need to solve Signal Processing problem classes. But in {{\sisac{}}} the 	rectangular brackets have a different meaning. So we abuse them for our requirements. We get something which is not defined, but usable. The Result is syntax only without semantic.
   1.424 -	}}
   1.425 -	\caption{Expression Interpretation}\label{eg:symbint1}
   1.426 -\end{example}
   1.427 -
   1.428 -\noindent In different problems, symbols and letters have different meanings and ask for different ways to get through. (Follow up \hbox{Example \ref{eg:symbint2}}) 
   1.429 -\begin{example}
   1.430 -	\[
   1.431 -		\widehat{\ }\ \widehat{\ }\ \widehat{\ } \  \ldots \  exponent
   1.432 -	\]
   1.433 -	{\small\textit{
   1.434 -	\noindent For using exponents the three widehat symbols are required. The reason for that is due the development of {{\sisac{}}} the single widehat and also the double were already in use for different operations.
   1.435 -	}}
   1.436 -	\caption{Symbol Interpretation}\label{eg:symbint2}
   1.437 -\end{example}
   1.438 -Exclusive from the input, also the output can be a problem. We are familiar with a specified notations and style taught in university but a computer program has no knowledge of the form proved by a professor and the machines themselves also have not yet the possibilities to print every symbol (correct) Recent developments provide proofs in a human readable format but according to the fact that there is no money for good working formel editors yet, the style is one thing we have to live with.
   1.439 -
   1.440 -\section{Project Controlling}
   1.441 -We decided to split the thesis into five Iteration defined in Section~\ref{sec:milesurv}. As there is also a lot of work to do outer the thesis we accord on an increased contact by mail. For the coordination of the whole  {\sisac} files i got access to the mercurial repository. We also appointed on periodic team meetings.
   1.442 -
   1.443 -\subsection{Survey on Milestones\label{sec:milesurv}}
   1.444 -Doing something completely new requires a good controlling, the thesis itself also needs it. After the first meetings and the definition of the intrinsic work we decided on splitting the thesis into the following iterations.
   1.445 -\begin{description}
   1.446 -	\item[1st Iteration] Information Collection
   1.447 -	\item[2nd Iteration] Problem Selection
   1.448 -	\item[3rd Iteration] Implementation
   1.449 -	\item[4th Iteration] Thesis Writing
   1.450 -	\item[5th Iteration] Finalization
   1.451 -\end{description}
   1.452 -A more detailed description of this milestones can be found in Section~\ref{sec:detmile}.
   1.453 -
   1.454 -\subsection{Milestone Details\label{sec:detmile}}
   1.455 -\begin{description}
   1.456 -	\item[Information Collection] The first iteration starts by an introduction to the {\sisac} System and ends up with the first presentation. Listeners of the first presentation were \em Dr. Walther Neuper \normalfont and \em DI Bernhard Geiger\normalfont. We talked about common SPSC problems and the possibilities of realize them in the {\sisac} System. In preparation of the Presentation \em DI Geiger \normalfont sent us a few example problems and we had a experimental survey about the realization effort.
   1.457 -	\item[Problem Selection] In the second iteration we collected informations about the knowledge mechanized in {\sisac} (cf. Section~\ref{know-isab}). After the first iteration it was clear that implementing of problems in {\sisac} requires a higher effort than originally expected due this fact the second iteration ends up on the decision which of the provided problems is going to be implemented. We wrote and collected a handful of experimental scripts regarding sums, Fourier transformation and partial fraction decomposition.
   1.458 -	\item[Implementation] Unfortunately the biggest and most important part is the implementation. The iteration started with the decision on the problem and ends up by finishing the test Script (seen in Part~\ref{part:impl}) as well as the integration of this work into the {\sisac}-Knowledge. For a better controlling and result of this iteration we had severe ll regular meetings (\em Dr. Neuper \normalfont and \em Jan Ro\v{c}nik\normalfont) and contact over e-mail to assess the state of the {\sisac}-developers work.
   1.459 -	\item[Thesis Writing] One part of this thesis is generated automatically out of \ttfamily Build\_Inverse\_Z\_Transform\normalfont. Maybe this part well be the most important result of the thesis as it will be used as a documentation for the upcoming developers. Due this fact this iteration started also contemporaneous with the implementation but ends up separate after finishing the implementation with describing the needed theory and background.
   1.460 -	\item[Finalization] The work ends up with the last iteration - finalization. It is started by completing the written thesis and the preparation of the second presentation which concludes this project. In the second presentation we will have demonstrated our realized problem embedded in the new {\sisac}-frontend as well as the work, hiding behind. We will also want to give a clear view about the power of {\sisac} and animate the attending agents to go on working within this project.
   1.461 -\end{description}
   1.462 -
   1.463 -%\clearpage
   1.464 -
   1.465 -%----------// PART 2 \\----------%
   1.466 -
   1.467 -\newevenside
   1.468 -
   1.469 -\part{Implementation\label{part:impl}}
   1.470 -\input{./preambleForGeneratedDocuments.tex}
   1.471 -\par Please be aware that this is only a part of the thesis output, also follow up the theories and according tests that have been improved or created by me and are involved to the work on this thesis:
   1.472 -\begin{itemize}
   1.473 -\item \ttfamily Partial\_Fractions.thy \normalfont - \ttfamily partial\_fractions.sml \normalfont
   1.474 -\item \ttfamily Inverse\_Z\_Transformation.thy \normalfont - \ttfamily inverse\_z\_transformation.sml \normalfont
   1.475 -\item \ttfamily Rational.thy \normalfont - \ttfamily rational.sml \normalfont
   1.476 -\end{itemize}
   1.477 -\HRule
   1.478 -%\setcounter{section}{0}
   1.479 -\input{../../../test/Tools/isac/ADDTESTS/course/SignalProcess/document/Build_Inverse_Z_Transform}
   1.480 -
   1.481 -\clearpage
   1.482 -
   1.483 -%----------// PART 3 \\----------%
   1.484 -
   1.485 -\newevenside
   1.486 -\part{Thesis Summary and Review}
   1.487 -\section{Related Work}\label{sec:related}
   1.488 -Unusual for a Baccalaureate Thesis, there is {\em no} related work; this requires explanation.
   1.489 -Of course, this thesis relies on front-of-the wave computer mathematics, on TP. But {{\sisac{}}} uses TP in a very specific way, which is too weakly related to other work: programing in the TP-based language and rigorous formal specification of problems in Signal Processing where the main tasks in the practical part of this thesis. The major challenge for the practical work was given by the fact, that the work concerned alpha-testing of the TP-based programing environment.
   1.490 -\par Another  area of work could be considered as related work: authoring of e-learning content. However, {{\sisac{}}} provides division of concern such that the practical part of this thesis could focus on computer mathematics; this work was not concerned with interaction (the TP-based programing language has neither input statements nor output statements), nor with dialog guidance nor with any kind of learning theory.
   1.491 -\par These two reasons are given for the unusual statement, that there is no related work to be discussed in this thesis. 
   1.492 -
   1.493 -\section{Issues and Open Questions}
   1.494 -At the end of the first Iteration we agreed on a view issues that might have to be accomplished during the thesis. This Issues were:
   1.495 -\begin{itemize}
   1.496 -	\item What knowledge is already mechanized in \emph{Isabelle}?
   1.497 -	\item How can missing theorems and definitions be mechanized?
   1.498 -	\item What is the effort for such mechanization?
   1.499 -	\item How do calculations look like, by using mechanized knowledge?
   1.500 -	\item What problems and subproblems have to be solved?
   1.501 -	\item Which problems are already implemented in {\sisac}?
   1.502 -	\item How are the new problems specified ({\sisac})?
   1.503 -	\item Which variants of programs in {\sisac} solve the problems?
   1.504 -	\item What is the contents of the interactive course material (Figures, etc.)?
   1.505 -\end{itemize}
   1.506 -The significant part of this list was declared during the thesis. Next sections will review the most important items, regardless they where accomplished or not.
   1.507 -
   1.508 -\subsection{Accomplished}
   1.509 -We discovered the process how missing theorems and definitions can be mechanized and used this knowledge to implement new material. Now we ware able to solve partial fractions, we built theorems, specification and program. We completed the background work for interactive solving them. The same thing applies to the inverse Z-transformation with partial fractions; we built theorems, specification and program to step through an amount of exercises. But the most important accomplished part is the Isabelle theory (\ttfamily Build\_Inverse\_Z\_Transform.thy\normalfont) indicating issues for the coming {\sisac}-developers. Until we were not able to fulfill all the things we wanted, this is the most recent work and will be the headstone for the further work on {\sisac}.
   1.510 -\par Expect the necessary theories for solving the mentioned part and the guideline we also put tests for the new theories to the system and added some new methods to existing theories with their according tests. Also we were able to answer the questions about the mechanized knowledge in \emph{isabelle} and {\sisac}. We checked the required effort to add new material to the system and we walked through the question what subproblems have to be solved and how they are declared, when adding new material. Now we also know how problems are declared and which variants exist to solve them. All this can be found in this thesis.
   1.511 -\subsection{Partially Accomplished}
   1.512 -As already told upwards, we accomplished a guideline for upcoming {\sisac}-developers this was a very important and necessary task; but through upcoming changes in the development environment and programing language there is a need for more descriptions and informations. This changes are not yet fulfilled and so it was not possible to include a correct guideline fot them in our example theory or this thesis.
   1.513 -\par Also we were not able to provide a representative count of example problems for partial fractions or the inverse Z-Transformation. We are able to say that our accomplished material can handle one problem each, exactly as we wanted and it is toughed but due to less time we have no more experience data.
   1.514 -\subsection{Not Accomplished}
   1.515 -The properly longest item is the list with the not accomplished issues, but there is no need to count this as a negative aspect due the fact that we collected experience data for following needs:
   1.516 -\par We were not able to put explanations, figures to examples, theorem descriptions and problem description to our course material. The reason for that was the time at one side and the ongoing restructuration of the system on the other side.
   1.517 -\par Only a sufficient number of topics was implemented. There were more problems to solve than we expected. We were only able to implement one from the SPSC given tasks m entered in Appendix~\ref{app:calc}. Due this fact the material we got as an output of the thesis will be no support for labs or lectures at the SPSC and also no material for the STEOP, which also was a big wish at the beginning.
   1.518 -\subsection{Open Questions and Work}
   1.519 -At the end of this thesis there is now part left unattended, but many parts that require beauty corrections and many parts that require a few more manpower. This upcoming open tasks are:
   1.520 -\begin{itemize}
   1.521 -	\item What is the contents of the interactive course material (Figures, etc.)?
   1.522 -	\item What are the pre and post conditions of the problems?
   1.523 -	\item How would a correct implementation of the Z-Transformation look like?
   1.524 -	\item What do students expect of this implementation?
   1.525 -\end{itemize}
   1.526 -To complete the task of creating course material describing the needed steps to do a partial fraction or inverse Z-Transformation in {\sisac} the real effort is not conceivable. But for a first usable version only a few steps are left to do this steps would be:
   1.527 -\begin{enumerate}
   1.528 -	\item Cleanup the\ttfamily InverseZTransformation.thy\normalfont file and put it into the {\sisac} knowledge tree like it was done with\ttfamily PartialFractions.thy\normalfont.
   1.529 -	\item Create a good example program and test it.
   1.530 -	\item Describe the used theories with the mathematic definitions and background.
   1.531 -	\item Add figures and small examples.
   1.532 -\end{enumerate}
   1.533 -There are also needs on finishing other parts to get a complete part of course material but this would be the steps to get a first usable version.
   1.534 -
   1.535 -\section{Conclusion and Personal Experience}
   1.536 -After working on {\sisac} for month, it is hard do find the right words about the system. For sure the system itself is a great idea and it would have been a big relaxation if i would have been able to use this system in the last years for sever ell subjects. But for me the biggest disadvantage of {\sisac} is the frontend until there is no mathematical notation and visualisation of simply fractions i don't think that i or other students would be able to use it for learning. I also think that for learning there is no need of complex examples or complex solutions, examples have to be simple but also have to cover all necessary steps of a calculation. Unfortunately there exist different learning types and I'm a visual one, what is also the explanation for my maybe drastic explanation.
   1.537 -\par About the backend, what finally was my main work there is not much left to say. The programing language requires a long time to work in and to find out how decelerations work and how isabelle and {\sisac} is build up, maybe this period of collecting informations is to long for a Bakk. Thesis. Also it is hard to find informations about the theories until there was no related work and no usable documentation wether for {\sisac} nor for isabelle or ML.
   1.538 -\par When working within the {\sisac} sources you often hung up on problems which would be simple to solve but are hard to discover, therefor it was often necessary to make breaks and define concrete steps on problem solving. Also when having a plan of the upcoming implementation I had to break myself out to do not to much step at once. Often its better to implement small parts and test, write tests and wait then hurrying up. An other aspect is that it was necessary to build {\sisac} from scratch after every change; this and the fact that my finally theories had over 1000 lines often made the development process to a stop and go dilemma.
   1.539 -\par Finally I have to say a big \bfseries thank you \normalfont to Dr.~Neuper who invested a lot of his time in my thesis and the {\sisac} project, I remember some hard and long meetings but finally I look back glad.
   1.540 -
   1.541 -\subsection{Anecdotes}
   1.542 -At the very beginning of the thesis i made some calculations and thoughed of every step more than twice. This calculations were the ground stone of my work, we build every step in the calculation following up the real calculations - when doing them by hand. Time went on and after adding the last commands to the programm for applying the transformation ruleset i compared the results - oh wonder there was a mistake in my calculation :)
   1.543 -\begin{center}
   1.544 -Thank you {\sisac}!
   1.545 -\end{center}
   1.546 -
   1.547 -%----------// BIB \\-----------%
   1.548 -
   1.549 -\renewcommand{\refname}{\section{References}}
   1.550 -\bibliographystyle{alpha}
   1.551 -\bibliography{references}
   1.552 -\clearpage
   1.553 -
   1.554 -%----------// APPENDIX \\-----------%
   1.555 -\newevenside
   1.556 -\part{Appendix}
   1.557 -\appendix
   1.558 -%----------// WORK TIME \\-----------%
   1.559 -
   1.560 -
   1.561 -\section{Record of Working Time}
   1.562 -\begin{footnotesize}
   1.563 -\begin{longtable}{l p{6.5cm} c c r}
   1.564 -{\bf Date} & {\bf Description} & {\bf Begin} & {\bf End} & {\bf Dur.}\\
   1.565 -\hline \hline
   1.566 -\endhead
   1.567 -
   1.568 -\hline 
   1.569 -  \multicolumn{5}{r}{{Continued on next page}} \\
   1.570 -\hline
   1.571 -\endfoot
   1.572 -
   1.573 -\hline 
   1.574 -\hline
   1.575 -\endlastfoot
   1.576 -
   1.577 -\multicolumn{5}{l}{Start 1st Iteration} \\
   1.578 -\hline
   1.579 -29.06.2011 & Meeting Dr. Neuper and DI Geiger & 15:00 & 17:30 & 2,50 \\
   1.580 -02.07.2011 & Working on Examples from DI Geiger & 20:00 & 21:30 & 1,50 \\
   1.581 -03.07.2011 & Working on Examples from DI Geiger & 21:00 & 22:45 & 1,75 \\
   1.582 -05.07.2011 & Meeting Dr. Neuper, Information Exchange & 10:00 & 13:00 & 3,00 \\
   1.583 -06.07.2011 & Installing Isabelle & 20:00 & 22:30 & 2,50 \\
   1.584 -07.07.2011 & Meeting Dr. Neuper, present-1 & 14:45 & 16:15 & 1,50 \\
   1.585 -18.07.2011 & Meeting Dr. Neuper, present-1 Structure & 14:15 & 16:00 & 1,75 \\
   1.586 -19.07.2011 & Meeting Dr. Neuper, present-1 Content & 07:20 & 09:20 & 2,00\\
   1.587 -19.07.2011 & Meeting Dr. Neuper & 10:00 & 12:00 & 2,00\\
   1.588 -21.07.2011 & HG Error Correction, Latex for Thesis & 11:10 & 14:00 & 2,83\\
   1.589 -22.07.2011 & Meeting Dr. Neuper & 10:00 & 12:00 & 2,00\\
   1.590 -23.07.2011 & Latex for Calculations & 13:45 & 16:30 & 2,75\\
   1.591 -24.07.2011 & Meeting Dr. Neuper, present-1 & 20:10 & 20:40 & 0,50\\
   1.592 -25.07.2011 & Meeting Dr. Neuper, present-1 & 15:15 & 17:55 & 2,67\\
   1.593 -26.07.2011 & Work on Test\_Complex.thy & 10:45 & 12:10 & 1,42\\
   1.594 -27.07.2011 & present-1 (Dr. Neuper, DI Geiger) & 10:00 & 12:00 & 2,00\\
   1.595 -\hline
   1.596 -\multicolumn{5}{l}{End 1st Iteration} \\
   1.597 -\multicolumn{5}{l}{Start 2nd Iteration} \\
   1.598 -\hline
   1.599 -02.09.2011 & Meeting Dr. Neuper, Latex for Thesis & 08:30 & 10:20 & 1,83\\
   1.600 -05.09.2011 & Meeting Dr. Neuper, Partial\_Frations.thy & 09:30 & 12:45 & 3,25\\
   1.601 -05.09.2011 & Partial\_Fractions.thy & 17:10 & 18:30 & 1,33\\
   1.602 -06.09.2011 & Documentation Partial\_Fractions.thy & 10:00 & 13:15 & 3,25\\
   1.603 -07.09.2011 & Meeting Dr. Neuper, ML Introduction & 10:00 & 12:50 & 2,83\\
   1.604 -08.09.2011 & Preparing Scripts for Latex Output & 19:00 & 22:45 & 3,75\\
   1.605 -09.09.2011 & Preparing Scripts for Latex Output & 11:40 & 15:00 & 3,33\\
   1.606 -10.09.2011 & Meeting Dr. Neuper, Latex Output, HG Errors & 10:00 & 12:00 & 2,00\\
   1.607 -\hline
   1.608 -\multicolumn{5}{l}{End 2nd Iteration} \\
   1.609 -\multicolumn{5}{l}{Start 3rd and 4th Iteration} \\
   1.610 -\hline
   1.611 -14.09.2011 & Start on Inverse\_Z\_Transf. Script & 09:10 & 12:25 & 3,25\\
   1.612 -16.09.2011 & Information Exchange Sums & 13:15 & 16:00 & 2,75\\
   1.613 -19.09.2011 & Programming on Inverse\_Z\_Transf. & 10:00 & 13:10 & 3,17\\
   1.614 -20.09.2011 & Meeting Dr. Neuper, Inverse\_Z\_Transf. Script & 15:30 & 18:10 & 2,67\\
   1.615 -23.09.2011 & New IsaMakefile for Latex generation & 13:00 & 14:30 & 1,50\\
   1.616 -23.09.2011 & Meeting Dr. Neuper, Inverse\_Z\_Transf. Script & 14:30 & 17:30 & 3,00\\
   1.617 -26.09.2011 & Partial\_Fractions.thy, get\_Argument & 13:30 & 16:15 & 2,75\\
   1.618 -27.09.2011 & Meeting Dr. Neuper, HG Error & 09:00 & 12:20 & 3,33\\
   1.619 -28.09.2011 & Meeting Dr. Neuper, Hierarchy Reconstruction & 10:00 & 12:30 & 2,50\\
   1.620 -01.10.2011 & Some Testing & 10:00 & 11:00 & 1,00\\
   1.621 -02.10.2011 & Inverse\_Z\_Transf. Errors & 15:00 & 16:10 & 1,17\\
   1.622 -06.10.2011 & Meeting Dr. Neuper & 15:00 & 17:50 & 2,83\\
   1.623 -07.10.2011 & Meeting Dr. Neuper, Inverse\_Z\_Transf. Script & 15:00 & 16:50 & 1,83\\
   1.624 -09.10.2011 & Work on Thesis & 16:30 & 18:45 & 2,25\\
   1.625 -11.10.2011 & Meeting Dr. Neuper, Abstract & 14:10 & 17:10 & 3,00\\
   1.626 -13.10.2011 & Work on Thesis, Implemention part & 08:30 & 10:00 & 1,50\\
   1.627 -18.10.2011 & Work on Thesis & 20:30 & 22:50 & 2,33\\
   1.628 -19.10.2011 & Work on Thesis & 21:20 & 23:40 & 2,33\\
   1.629 -20.10.2011 & Work on Thesis & 08:45 & 10:45 & 2,00\\
   1.630 -25.10.2011 & Meeting Dr. Neuper: thesis review & 08:00 & 10:00 & 2,00\\
   1.631 -25.10.2011 & Reorganising after meeting & 20:10 & 23:50 & 3,67\\
   1.632 -26.10.2011 & Reorganising after meeting, examples in thesis & 08:30 & 11:10 & 2,67\\
   1.633 -07.11.2011 & Meeting Preparation & 16:30 & 17:15 & 0,75\\
   1.634 -08.11.2011 & Meeting Dr. Neuper: thesis addons & 16:00 & 17:30 & 1,50\\
   1.635 -12.11.2011 & Reorganization after meeting & 21:10 & 22:30 & 1,33\\
   1.636 -20.11.2011 & Review of Inv\_Z\_Trans & 10:15 & 13:30 & 3,25\\
   1.637 -21.11.2011 & get\_numerator & 12:15 & 14:30 & 2,25\\
   1.638 -23.11.2011 & get\_numerator & 20:30 & 21:15 & 0,75\\
   1.639 -24.11.2011 & get\_numerator final & 14:10 & 15:30 & 1,33\\
   1.640 -28.11.2011 & tried to go on in build\_inverse\_ & 11:00 & 13:10 & 2,17\\
   1.641 -01.12.2012 & Tuning Invers\_Z\_Tansf. Script & 16:15 & 19:30 & 3,25\\
   1.642 -04.12.2012 & Moved Some Tests to Knowledge & 15:30 & 18:15 & 2,75\\
   1.643 -05.12.2012 & Tuning Invers\_Z\_Tansf. Script & 13:10 & 14:15 & 1,08\\
   1.644 -08.12.2012 & Inverse\_Z\_Tansf. Script, Factors from Solution & 14:30 & 16:15 & 1,75\\
   1.645 -10.12.2012 & Moved Some Tests to Knowledge & 20:10 & 23:00 & 2,83\\
   1.646 -11.12.2012 & Inverse\_Z\_Tansf. Script, PBZ Ansatz & 10:10 & 12:30 & 2,33\\
   1.647 -12.12.2012 & Inverse\_Z\_Tansf. Script, Subsitution & 09:00 & 11:30 & 2,50\\
   1.648 -16.12.2012 & Tuning Invers\_Z\_Tansf. Script & 17:15 & 18:45 & 1,50\\
   1.649 -19.12.2012 & Tuning Invers\_Z\_Tansf. Script & 19:00 & 20:30 & 1,50\\
   1.650 -14.01.2012 & Inverse\_Z\_Tansf. Script, Substitution & 18:45 & 20:30 & 1,75\\
   1.651 -22.01.2012 & Inverse\_Z\_Transf. Script, Calc Coeff. & 20:10 & 21:45 & 1,58\\
   1.652 -12.02.2012 & Inverse\_Z\_Transf. Script & 17:30 & 19:00 & 1,50\\
   1.653 -13.02.2012 & Finished Work on Inverse\_Z\_Transf. Script & 19:30 & 22:10 & 2,67\\
   1.654 -14.02.2012 & Formatting for Latex output & 09:00 & 14:45 & 5,75\\
   1.655 -15.02.2012 & Formatting for Latex output & 10:00 & 15:30 & 5,50\\
   1.656 -16.02.2012 & Going on Work on Thesis & 14:45 & 18:30 & 3,75\\
   1.657 -17.02.2012 & Tuning Invers\_Z\_Tansf. Script & 18:30 & 19:45 & 1,25\\
   1.658 -19.02.2012 & Meeting Dr. Neuper, present-2 & 09:00 & 13:30 & 4,50\\
   1.659 -19.02.2012 & Meeting Dr. Neuper, Integration of work to Isac & 15:00 & 19:10 & 4,17\\
   1.660 -20.02.2012 & Meeting Dr. Neuper, Integration of work to Isac & 09:00 & 12:45 & 3,75\\
   1.661 -20.02.2012 & Meeting Dr. Neuper, Integration of work to Isac & 14:10 & 18:30 & 4,33\\
   1.662 -\hline
   1.663 -\multicolumn{5}{l}{End 3rd Iteration}\\
   1.664 -\hline
   1.665 -20.02.2012 & Finishing Thesis & 20:30 & 22:50 & 2,33\\
   1.666 -21.02.2012 & Finishing Thesis & 13:30 & 14:45 & 1,25\\
   1.667 -02.03.2012 & Finishing Thesis & 15:45 & 19:00 & 3,25\\
   1.668 -06.03.2012 & Finishing Thesis & 09:15 & 10:30 & 1,25\\
   1.669 -07.03.2012 & Finishing Thesis & 13:15 & 16:00 & 2,75\\
   1.670 -\hline
   1.671 -\multicolumn{5}{l}{End 4th Iteration} \\
   1.672 -\multicolumn{5}{l}{Start 5th Iteration} \\
   1.673 -\hline
   1.674 -26.02.2012 & Preparing present-2 & 09:30 & 13:00 & 3,5 \\
   1.675 -20.03.2012 & Preparing present-2 & 14:00 & 16:30 & 2,5 \\
   1.676 -08.05.2012 & Meeting Dr. Neuper, present-2, work on isac & 08:00 & 12:00 & 4,0 \\
   1.677 -08.05.2012 & present-2 & 14:00 & 15:00 & 1,0 \\
   1.678 -\hline
   1.679 -\multicolumn{5}{l}{End 5th Iteration} \\
   1.680 -\hline
   1.681 -\multicolumn{4}{l}{Total working time:} & 203 \\
   1.682 -\end{longtable}
   1.683 -\end{footnotesize}
   1.684 -
   1.685 -%----------// CALCULATIONS \\-----------%
   1.686 -
   1.687 -\newevenside
   1.688 -\section{Calculations\label{app:calc}}
   1.689 -\input{calulations}
   1.690 -\end{document}
   1.691 -