Questions tagged [event-b]

A formal method for system-level modelling and analysis. Its key features 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.

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.

Event-B is an evolution of B-Method developed by Jean-Raymond Abrial. Wikipedia contains useful information and links on the B-Method.

13 questions
5
votes
2 answers

event-b: is it possible generate sequence from ... to ... of prime numbers via lambda in one expression?

I wonder if it's possible to generate a sequence of prime numbers with just one lambda expression in event-b. This is what I have so far: @axm1 primeSet = {x∣ x ∈ 1‥100 ∧ ¬(∃y·y < x ∧ y > 1 ∧ x mod y = 0)} ∧ finite(primeSet) @axm2 primeSeq ∈…
xmoex
  • 2,602
  • 22
  • 36
2
votes
1 answer

How to populate a relation with an axiom in event b

So, I have a Rodin event-b project and would like to define a known static relation. For examples sake, lets say I have a set {a,b,c} and would like to specify the relation constant which is equal to {(a,1),(a,2),(b,3)} in an context axiom. (May be…
call-me
  • 686
  • 9
  • 18
2
votes
1 answer

Modelling Relation in Event-B

I have a question as follows: A primary school class contains a number of children and a variety of books. Write a model which keeps track of the books that the children have read. It should maintain a relation hasread between children and books. So…
dunika
  • 220
  • 2
  • 13
1
vote
1 answer

Rodin tool prover - transitivity

So I'm getting to know the event-b specification language and the Rodin tool. While doing that, I came across some weird behavior of the Rodin tool, and I'd love to get some help here. I'm on the proving perspective, and I have two hypotheses: 1 <=…
yehon
  • 11
  • 1
1
vote
1 answer

How to fix the unknown Configuration org.animb.valuation.valBase in my Rodin Platform Event-B project?

I have import a fully Refined model in my latest version of Rodin Platform and I am trying to use a IUMLB with ProB animator in this project. But since the project already had a preconfigured AnimB animator which the latest Rodin Software does not…
Master Q
  • 41
  • 6
1
vote
1 answer

Event-B Proof Obligations

I have a problem in Event-B to discharge proof obligations. In my work, I want to formalize the specification of memory protection requirements to check the consistency between them. In order to do that, I used Event-B Context to formalize the…
1
vote
0 answers

How to Visualise large number of code in Pro-B

I have a problem with visualising large number of code in ProB. This graph shows the login section of a server with (using Graphviz' dotty) of ProB, but there is no solution for large number of code to get the graph. Please let me know your…
jo di
  • 41
  • 2
1
vote
2 answers

Getting the prime/next state of a variable

Given some condition, I want to check that a variables next state holds for some proposition. I have not been able to create something that rodin has accepted. My exact case is the following invariant. I want to make sure that the variable door…
NoClueBlue
  • 451
  • 4
  • 17
1
vote
1 answer

Event B Total Function

I have a question as follows: A primary school class contains a number of children and a variety of books. Write a model which keeps track of the books that the children have read. It should maintain a relation hasread between children and books. It…
dunika
  • 220
  • 2
  • 13
0
votes
0 answers

How to model an OIL_TANK

I have this problem below: That i'am trying to model an Oil-Tank deterministic and i'am using Rodin to simulate this. The thing is that we have an oil-Tank that is level is going to be between 20 and 40 units. And we have an valve that is going to…
Jonte YH
  • 101
  • 2
0
votes
1 answer

Event-B total function proof obligation

I have question as follows: A set A is defined and total function X with invariant type X ∈ A --> BOOL and an event A_setSate: A_setSate = WHEN X(A) = TRUE THEN X(A) := FALSE the problem is that the proof obligation event preservation (INV) of…
Abeer
  • 1
  • 1
0
votes
1 answer

Event-B, formal modelling : How to affect all the elements of a set to a relation

I'm having quite a lot of troubles with Event-B.. I'd like to make a relation from a group of client to a client number each I have a relation of that type : cli(PERSON) = NAT1 (Person is a finite set) and in an event I have a subset of…
Dr.L
  • 3
  • 2
0
votes
1 answer

Event-B Rodin platform, Modelling Sub-Sets relation

I'm a beginner on Event-B and I'm trying to model a machine where the set PERSONNE includes the set CLIENT which includes the set RESIDENT... I've searched on Rodin's documentation but I haven't found anything... Here is the context context…
Dr.L
  • 3
  • 2