Proof Purger Interface: Difference between revisions

From Event-B
Jump to navigationJump to search
imported>Nicolas
m Purging Unused Proofs moved to Proof Purger Interface: Clarify the intended aim of the document.
imported>Mathieu
Line 22: Line 22:


[[Category:User documentation]]
[[Category:User documentation]]
[[Category:Proof]]

Revision as of 12:54, 12 August 2009

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.