Proof Purger Interface: Difference between revisions

From Event-B
Jump to navigationJump to search
imported>Nicolas
New page: ==Purpose== Proofs are stored in proof files. But it can happen quite often that proof obligations disappear, leaving unnecessary proofs in files. The purpose of the proof purger is to al...
 
imported>Mathieu
Line 20: Line 20:
Once the selection has been decided, clicking the "Delete" button will actually delete selected proofs from proof files.
Once the selection has been decided, clicking the "Delete" button will actually delete selected proofs from proof files.
Files becoming empty will be deleted as well.
Files becoming empty will be deleted as well.
[[Category:User documentation]]

Revision as of 21:49, 11 December 2008

Purpose

Proofs are stored in proof files. But it can happen quite often that proof obligations disappear, leaving unnecessary proofs in files. The purpose of the proof purger is to allow the user to get rid of these proofs.

Selecting purge input

In any view, right-clicking an Event-B project or file will display a popup menu, containing a "Purge Proofs..." item. If several files or projects (or both) are selected, purging will apply to all of them.

Firstly, the proof purger tries to find unused proofs in the selection. If none are found, a message will appear telling that no proof needs to be purged. Else, a new window will show the result.

Choosing proofs to delete

For the moment, nothing has been erased. The new window shows unused proofs and offers to choose among them which ones should be deleted. One may wish to keep some of them, knowing they might be useful in the future.

Once the selection has been decided, clicking the "Delete" button will actually delete selected proofs from proof files. Files becoming empty will be deleted as well.