4.28 Match Hypothesis

Match with a hypothesis

Syntax

  Mhyp(p)
avec:

Use

This command is replaced by an hypothesis that matches the given pattern. If no hypothesis matches the pattern, the command fails. If several hypothesis match the pattern, Mhyp is replaced by the most recent hypothesis.

This command is used as parameter to other commands so that a manual proof can be reused for other proof obligations.

Exemple

Let us consider the following hypothesis:


 
    Hypothesis  
        var1 : function[ens1]  
 


The command Mhyp(x : e[y]) can be used to reference this hypothesis.

Thus, the command ah(Mhyp(x : e[y])) will add the hypothesis var1 : function[ens1] to the current goal.