Difference between revisions of "FAQ"

From Event-B
Jump to navigationJump to search
imported>Mathieu
imported>Ladenberger
(Replacing page with '[http://handbook.event-b.org/current/html/faq.html Rodin Handbook (FAQ)]')
 
(68 intermediate revisions by 6 users not shown)
Line 1: Line 1:
== General ==
+
[http://handbook.event-b.org/current/html/faq.html Rodin Handbook (FAQ)]
=== What is Event-B ===
 
'''Event-B''' is a formal method for system-level modelling and analysis. Key features of Event-B are the use of set theory as a modelling notation, the use of refinement to represent systems at different abstraction levels and the use of mathematical proof to verify consistency between refinement levels. More details are available in http://www.event-b.org/
 
 
 
=== What is Rodin ===
 
The '''Rodin Platform''' is an Eclipse-based IDE for Event-B that provides effective support for refinement and mathematical proof. The platform is open source, contributes to the Eclipse framework and is further extendable with plugins.
 
 
 
=== Where does the ''Rodin'' name come from ===
 
 
 
== General Tool Usage ==
 
 
 
=== How do I install external plug-ins without using Eclipse Update Manager ===
 
Although it is preferred to install additional plug-ins into the Rodin platform using the Update Manager of Eclipse, this might not always be practical. In this case, a manner to install these plug-ins is to emulate either manually or using ad-hoc scripts the operations normally performed by the Update Manager.
 
 
 
This manual installation of plug-ins is described in ''[[Installing external plug-ins manually]]''.
 
 
 
=== The builder takes too long ===
 
Generally, the builder spends most of its time attempting to prove POs.  There are basically two ways to get it out of the way:
 
* the first one is to disable the automated prover in the Preferences panel.
 
* the second one is to mark some PO as reviewed when you don't want the auto-prover to attempt them anymore.
 
Note that if you disable the automated prover, you always can run it later on some files by using the contextual menu in the Obligation Explorer.
 
 
 
{{TODO|explicit how to achieve actions described here before}}
 
 
 
== Modeling and Proving==
 
=== Witness for {{Ident|Xyz}} missing. Default witness generated ===
 
A parameter as disappeared during a refinement. If this is intentional, you have to add a [[Witnesses (Modelling Language)|witness]] telling how the abstract parameter is refined.
 
 
 
=== I've added a witness for {{ident|Xyz}} but it keeps saying ''"Identifier {{ident|Xyz}} has not been defined"'' ===
 
As specified in the [[Witnesses (Modelling Language)|modelling language manual]], the witness must be labelled by the name {{Ident|Xyz}} of the concrete variable being concerned.
 
 
 
=== How can I do a Proof by Induction? ===
 
[[Induction proof]] will give you some tips about it.
 
 
 
== Developer FAQ ==
 
=== Using Rodin-CVS from eclipse consumes too much memory ===
 
You can [[#How do I generate a Rodin product from CVS|generate a product]] and use it as if it was a normal release.
 
 
 
=== How do I generate a ''Rodin'' product from CVS ===
 
In the project ''org.rodinp.platform'', right-click on ''Rodin.platform'' and select {{menu|export}}. Choose {{menu|Plug-in Development > Eclipse product}} and click on {{button|Next >}} type <tt>Rodin</tt> for the ''Root directory'', and choose the ''Destination directory''. Then click on {{button|Finish}}.
 
 
 
=== How do I collect debug informations from the Rodin plateform ===
 
You may see the log in the console by appending <tt>-consoleLog</tt> to the rodin executable: <code>rodin -consoleLog</code>
 
 
 
You may add specific debug informations by setting specific options: <code>rodin --debug options.file -consoleLog</code> where {{file|options.file}} contains something like:
 
<pre>
 
org.pluginname/debug = true
 
org.pluginname/debug/optionaldebug = true
 
</pre>
 
where'' optionaldebug'' may be found in the {{file|org.pluginname/.options}} file in the [http://rodin-b-sharp.cvs.sourceforge.net/rodin-b-sharp/ rodin source repository].
 
 
 
=== How do I submit a patch ===
 
Good practises for patch submission are described [[How to Submit Patches|here]].
 
 
 
[[Category:User documentation]]
 

Latest revision as of 10:49, 27 October 2011