diff -r 4b47d8aaf5af -r 5eebea8f359f doc-src/TutorialI/Ifexpr/document/Ifexpr.tex --- a/doc-src/TutorialI/Ifexpr/document/Ifexpr.tex Thu Jan 25 11:59:52 2001 +0100 +++ b/doc-src/TutorialI/Ifexpr/document/Ifexpr.tex Thu Jan 25 15:31:31 2001 +0100 @@ -12,7 +12,7 @@ the constructs introduced above.% \end{isamarkuptext}% % -\isamarkupsubsubsection{How Can We Model Boolean Expressions?% +\isamarkupsubsubsection{Modelling Boolean Expressions% } % \begin{isamarkuptext}% @@ -30,7 +30,7 @@ For example, the formula $P@0 \land \neg P@1$ is represented by the term \isa{And\ {\isacharparenleft}Var\ {\isadigit{0}}{\isacharparenright}\ {\isacharparenleft}Neg\ {\isacharparenleft}Var\ {\isadigit{1}}{\isacharparenright}{\isacharparenright}}. -\subsubsection{What is the Value of a Boolean Expression?} +\subsubsection{The Value of a Boolean Expression} The value of a boolean expression depends on the value of its variables. Hence the function \isa{value} takes an additional parameter, an @@ -64,9 +64,8 @@ {\isachardoublequote}valif\ {\isacharparenleft}IF\ b\ t\ e{\isacharparenright}\ env\ {\isacharequal}\ {\isacharparenleft}if\ valif\ b\ env\ then\ valif\ t\ env\isanewline \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ else\ valif\ e\ env{\isacharparenright}{\isachardoublequote}% \begin{isamarkuptext}% -\subsubsection{Transformation Into and of If-Expressions} +\subsubsection{Converting Boolean and If-Expressions} -\REMARK{is this the title you wanted?} The type \isa{boolex} is close to the customary representation of logical formulae, whereas \isa{ifex} is designed for efficiency. It is easy to translate from \isa{boolex} into \isa{ifex}:%