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
then a simple
command is interpreted as a rule whose conclusion is
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
associated to the simple command
if
the current goal is
is
defined by