Proof Skeleton View: Difference between revisions
imported>Laurent No edit summary |
imported>Ladenberger No edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 21: | Line 21: | ||
The tree can be expanded or collapsed by using [+] and [-] buttons on the upper right corner. | The tree can be expanded or collapsed by using [+] and [-] buttons on the upper right corner. | ||
===Copy/Paste to Proof Tree=== | |||
The copy/paste feature allows to reuse a stored proof into a new proof. Starting from the following configuration: | |||
[[Image:proofSkeleton_copyPaste_Start.png|800px]] | |||
where the proof we are working on (top left) is similar to another proof whose skeleton is displayed on bottom left. | |||
We can then copy/paste the interesting sub tree from the skeleton to the proof: | |||
{| cellspacing="15" | |||
|[[Image:proofSkeleton_copyPaste_Copy.png|400px]] | |||
|[[Image:proofSkeleton_copyPaste_Paste.png|400px]] | |||
|[[Image:proofSkeleton_copyPaste_End.png|400px]] | |||
|} | |||
[[Category:User documentation]] | [[Category:User documentation]] | ||
[[Category:Proof]] | [[Category:Proof]] |
Latest revision as of 12:50, 27 September 2011
Purpose
The Proof Skeleton View allows to quickly browse through a proof built either automatically or interactively with the Rodin prover. This view can be used on any proof, independently of the presence of a corresponding proof obligation.
Furthermore, this view allows user to see together proof rules and corresponding sequents.
The Proof Skeleton View
Showing the View
The Proof Skeleton View is available as other views in the
menu.To watch a proof skeleton, simply select a proof obligation or a proof file in the Event-B Explorer.
View Interpretation
Proof skeletons are displayed in a two-part view. On the left-hand side is the tree structure of rules applied in the proof. On the right-hand side stands the sequent on which the currently selected rule is applied. The proof which is displayed is the one stored in the proof file on disk, never the one which is currently edited through the proof control. This can be very handy as it can allow one to see the previous proof of a proof obligation while working on a new proof of it.
The tree can be expanded or collapsed by using [+] and [-] buttons on the upper right corner.
Copy/Paste to Proof Tree
The copy/paste feature allows to reuse a stored proof into a new proof. Starting from the following configuration:
where the proof we are working on (top left) is similar to another proof whose skeleton is displayed on bottom left. We can then copy/paste the interesting sub tree from the skeleton to the proof: