Year: 2019
Type: conference-paper
Abstract: We are not experts in circuit design and hence the application is limited to the cases provided in the TTC'2019 call for solutions.• We provide transformation rules written in a formal language which is assisted by automated reasoning tools; and hence we believe that domain experts may be attracted by our solution.Indeed, translating a truth table (TT) into a binary decision diagram (BDD), has several applications in safety critical systems where formal methods became a strong requirement.• Our objective is not to search for the most compact BDD, but to show how a formal method assisted by automated reasoning techniques can be applied for the particular field of model transformation. Summary of MeeduseWe advocate for collaborations between the formal methods (FM) community and the model-driven engineering (MDE) community in order to take benefits of their complementarities.The Meeduse 2 tool favors this communication since it makes possible the use of MDE and FM tools together in one unified framework and supports a pragmatic approach for mixing model-driven engineering with a proof-based formal approach.In practice, the tool brings together two technological spaces: EMF for model driven engineering and the B Method [1] for theorem proving and model-checking.The tool is built on top of three components:(1) Translator: this component automatically translates an Ecore meta-model into an equivalent B specification which represents the structure of the meta-model as well as basic operations like constructors, destructors, getters and setters.The resulting B specification can be manually refined by additional invariants and concrete operational semantics.The proof of correctness of the full specification can be performed by AtelierB which is a theorem prover that assists the B method.(2) Injector: this component takes a model conforming to the Ecore meta-model (which can be designed using EMF-based modeling tools like Sirius, GMF, XText, etc.) and produces a specialized B machine derived from the one generated by the Translator component.This component essentially transforms abstract sets (that represent classes in the meta-model) into enumerations representing the concrete instances of the model, and hence allows model-checking over finite domains.(3) Animator: in Meeduse, animation of B specifications is done using the ProB tool [5] which is an open-source model-checker supporting the B method.The component Animator asks ProB to animate B operations and gets the reached state by means of B variable valuations.Then, the Animator translates back these valuations to the initial EMF model resulting in automatic synchronization of the model.
Source: CEUR Workshop Proceedings
Language: English
Subfield: Software
Field: Computer Science
Domain: Physical Sciences
Open Access status: diamond
OpenAlex ID: W3013196246
