4.49 Save with question

Save with question

Syntax

  sq

Use

This command allows to save a proof task (command line) made upon current proof obligations, if necessary.

If there is a risk of loss or regression, the user is asked to confirm. The user who has been working for a long time on the same proof obligation should use the sq command so as not to lose his work in case of a power cut.

Example

The current proof obligation is Initialisation.1. The user has completed a proof task and wishes to save it, if it is necessary.


 
PRI> sq  
 


The previous line and the new command line do not allow to prove the current obligation. A confirmation of saving is asked:


 
Last PO does not have a saved demo. Your new demo does not Prove.  
Do you want to save the new demo (will replace the old one)?  
  Answer No to continue without saving (any other word to save):  
 


The user wishes to save his work.


 
  Yes  
 


The proof obligation is saved:


 
PO Initialisation.1 saved  
Current PO : Initialisation.1