4.8 CurrentGoal

Display the current goal

Syntax

  cg

Use

This command displays the current proof goal. It thus corresponds to the “Current Goal” window of the Motif interface.

Example

Given the following goal to demonstrate:


 
        foo = plus(nn)  
 


The user then searches the hypotheses refering to foo, using sh(foo):


 
        ...  
        foo: INTEGER &  
        foo: dom(ff) &  
        ...  
 


To display the current goal, the user has two possibilities: use the GUI or use the CurrentGoal. It makes the following information be displayed:


 
   Goal  
      foo = plus(nn)