nextuppreviouscontents
Next:The module system Up:Natural Commands Previous:The syntax of the   Contents

Semantics


\begin{definition}A natural command is simple if {\tt show} is
followed by the empty command.
\end{definition}

A simple command in a goal is interpreted as a rule that needs to be proved derivable automatically by PhoX. A natural command can be seen as a tree of simple command and is therefore interpreted as a tree of derivable rule, that is a derivable rule itself.

We will just describe the interpretation of a simple command: let us assume the current goal is $\Gamma \vdash A$ then a simple command is interpreted as a rule whose conclusion is $\Gamma \vdash A$ and whose premises are defined by induction on the structure of the command. Thus, we only need to prove the premises to prove the current goal.

First some syntactic sugar can be elliminated:

Then the set of premises $\vert C\vert$ associated to the simple command $C$ if the current goal is $\Gamma \vdash A$ is defined by

\begin{displaymath}
\begin{array}{lcl}
\vert\hbox{\tt let } x \; C\vert &=& \ver...
...\tt begin } C \hbox{\tt end }\vert &=& \vert C\vert
\end{array}\end{displaymath}


nextuppreviouscontents
Next:The module system Up:Natural Commands Previous:The syntax of the   Contents
Christophe Raffalli 2005-03-02