4.9 CreateHyp

Creation of hypotheses

Syntax

  ch

Use

This mechanism initiates the creation of hypotheses in relation to the form of the goal. After its application, the goal is presented in the form of an implication, the generated hypotheses are added as antecedents of the implication.

Example

Let us consider a proof obligation whose current goal is:


 
        foo = plus(nn)  
 


The application of the command ch


 
PRI> ch  
 


gives the following goal:


 
        btrue &  
        plus(nn): ran(plus) &  
        plus(nn): INTEGER +-> INTEGER  
        =>  
        foo  = plus(nn)  
 


The antecedent of this implication contains the hypotheses generated by the command.

The user can then process these hypotheses as he wants to.