 Research
 Bags Digital Handbags Creative Lovelife' Multiple Pattern Print 20 Casual Fashion Shoulder Open Access
Bags Handbags Shoulder Digital Pattern Casual Lovelife' 20 Multiple Print Creative Fashion 0q8R16x
 Hong Anh Le^{1}Email author,
 Shin Nakajima^{2} and
 Ninh Thuan Truong^{3}
 Received: 11 September 2015
 Accepted: 23 June 2016
 Published: 7 July 2016
Maple Alternative Wallet Wallet Men's Alternative Men's Maple Alternative 0wF8Tq0H
Formal analysis of functional properties of system requirements needs precise descriptions. However, the stakeholders sometimes describe the system with ambiguous, vague or fuzzy terms, hence formal frameworks for modeling and verifying such requirements are desirable. The Fuzzy If–Then rules have been used for imprecise requirements representation, but verifying their functional properties still needs new methods. In this paper, we propose a refinementbased modeling approach for specification and verification of such requirements. First, we introduce a representation of imprecise requirements in the set theory. Then we make use of EventB refinement providing a set of translation rules from Fuzzy If–Then rules to EventB notations. After that, we show how to verify both safety and eventuality properties with RODIN/EventB. Finally, we illustrate the proposed method on the example of Crane Controller.
Keywords
 Imprecise requirements
 EventB
 Analysis
Introduction
Requirement engineering is a process of specifying, analyzing, and checking provided services and constraints of a system. It is one of the most significant steps in software development. System requirements aim to take into account various demands of all the stakeholders, where detecting and resolving conflicts is important. The requirements sometimes include imprecise descriptions where ambiguous, vague or fuzzy terms, such as “very good”, “far”, or “less important”, are used. This is because the stakeholders do not care much about describing the system precisely or imprecise requirements are more suitable in some contexts. In software development, imprecision in the requirement specification also causes many problems. Formal specification methodologies, however, require the requirements to be described precisely. Hence, there is a gap between imprecise requirements and formal specification methods. Therefore, frameworks which are formal enough to be used for analyzing as well as representing imprecise requirements are desirable.
The method with Fuzzy sets, proposed by Zadeh (1965), is one such formal framework, where the Fuzzy If–Then rules are sometimes employed to represent imprecise system requirements. Informal statements expressed in natural languages such as “very far” or “too close” can be naturally captured using Fuzzy sets, which enables further analysis on the specifications. The analysis involves continuous numerical reasoning since the Fuzzy set is essentially based on the idea of representing the fuzziness degree in terms of Real numbers between 0 and 1.
In general, system requirements include functional specifications, whose various properties are checked at this same level of abstraction before starting further development steps. The requirements written in terms of Fuzzy If–Then rules can be an adequate representation, but require further techniques for checking properties formally, which may elucidate perspectives different from those for detecting and resolving conflicts of the requirements. The Fuzzy If–Then rules have been translated into other formal frameworks such as PetriNet (Intrigila et al. 2005; Yang et al. 2003) or Z notation (Chris and Paul 2003). Unfortunately, these existing approaches have disadvantage in that they do not provide adequate verification methods for temporal properties such as safety or eventuality. The existing approaches are discussed in more detail in “Related work” section.
This paper employs EventB and its refinementbased modeling approach for specification and verification of both safety and eventuality properties when the requirements are represented by the Fuzzy If–Then rules. In particular, we apply the proof methods proposed in Hoang and Abrial (2011) to verify the eventuality properties. Our prior work (Le et al. 2014) initially proposed to use EventB to formalize imprecise requirement. It provided the basic result of checking safety property of imprecise requirement using EventB. This paper reports the concrete results of formal checking of both safety and eventuality properties for imprecise system requirements. The contributions of the paper are as follows: (1) providing a presentation of fuzzy terms in classical set theory, (2) providing a set of translation rules from Fuzzy If–Then rules to EventB language constructs, which makes use of the refinement modeling approach that EventB supports, and (3) demonstrating how both safety and eventuality properties of a set of the Fuzzy If–Then rules can be verified using RODIN (Abrial et al. 2010), a supporting tool for EventB.
The rest of the paper is structured as follows. Section “Backgrounds” provides some background of fuzzy sets, fuzzy If–Then rules, and EventB. In “Imprecise requirements analysis with EventB” section, we give a representation of fuzzy sets in classical sets. Using such representation, we first introduce a set of translation rules to model fuzzy If–Then rules by EventB. Then, we propose a refinementbased modeling method to specify and check eventuality properties. In fourth section presents the example of a crane controller to illustrate the proposed method in detail. We summarize “Related work” in fifth section. “Conclusions” are given in final section.
Backgrounds
In this section, we briefly introduce an overview of fuzzy logics (in the broad sense) that mainly serve for describing and analyzing impreciseness. We also summarize basic knowledge of EventB.
Fuzzy sets and fuzzy If–Then rules
In order to deal with systems which are too complex or too illdefined to admit of precise descriptions, Zadeh (1965) introduces a logical framework which is not traditional twovalued, but multivalued logics whose values are interpreted by Fuzzy sets.
Fuzzy sets are actually functions that map a value that might be a member of a set to a number between zero and one indicating its actual degree of membership. A fuzzy set F defined on a universal set X is a set, each element of which is a pair of values (x,\mu _F(x)), where x \in X and \mu _F(x): X \rightarrow [0,1].

Primary terms: which are labels of specified fuzzy subsets of the universal set (for instance: tall in the above example).

Hedges: such as “very”, “slightly”, etc.

Negation and connectives symbols (i.e not, and, Handbags 20 Shoulder Bags Digital Casual Lovelife' Print Creative Multiple Fashion Pattern or).
A more general concept, which plays an important role in the fuzzy sets approach to analyzing imprecise description, is Fuzzy If–Then rules. They are mainly used for specifying behavior of the system. It has a form: IF x is A THEN y is B where A and B are fuzzy sets; x and y are linguistic variables. Here is an example: IF the weather is bad THEN the speed is slow.
EventB and Rodin
EventB
EventB Abrial (2010) is a formal method for systemlevel modeling and analysis. Key features of EventB are the use of set theory as a modeling notation, the use of refinement to represent systems at different abstraction levels and the use of mathematical proofs to verify consistency between refinement levels. A basic structure of an EventB model consists of MACHINE and CONTEXT.
An Event B CONTEXT describes a static part where all the relevant properties and hypotheses are defined. A CONTEXT consists of carrier sets, constants, axioms. Carrier sets, denoted by s, are represented by their names, and are nonempty. Different carrier sets are completely independent. The constants c are defined by means of a number of axioms P(s, c) also depending on the carrier sets s.
A MACHINE is defined by a set of clauses. A machine is composed of variables, invariants, theorems and events. Variables v are representing states of the model. Invariants I(v) yield the laws that state variables v must always satisfy. These laws are formalized by means of predicates expressed within the language of First Order Predicate Calculus with Equality extended by Set Theory. Events E(v) present transitions between states. Each event has the form Creative Lovelife' Casual Handbags Fashion Shoulder Digital Pattern 20 Multiple Bags Print evt = any x where G(x, v) then A(x,v,v') end, where x are local variables of the event, G(x, v) is a guard condition and A(x,v,v') is an action. An event is enabled when its guard condition is satisfied. The event action consists of one or more assignments. We have three kinds of assignments for expressing the actions associated with an event: (1) a deterministic multiple assignment (v:= E(t,v)), (2) an empty assignment (skip), or (3) a nondeterministic multiple assignment (v : P(t,v,x')).
To deal with complexity in modeling systems, EventB provides a refinement mechanism that allows us to build the system gradually by adding more details to get a more precise model. A concrete EventB machine can refine at most one abstract machine. A refined machine usually has more variables than its abstraction as we have new variables to represent more details of the model. In superposition refinement, the abstract variables are retained in the concrete machine, with possibly some additional variables. In data refinement, the abstract variables v are replaced by concrete ones w. Subsequently, the connections between them are represented by the relationship between v and w, i.e. gluing invariants J(v, w).
In order to check if a machine satisfies a collection of specified properties, EventB defines proof obligations (POs) which we must discharge. Some of the proof obligations relevant to discussion here are invariant preservation (INV), convergence (VAR), deadlockfreeness (DLF). INV PO means that we must prove that invariants hold after event’s execution. The proof obligation is as follows: I(v),G(x,v),A(x,v,v') \vdash I(v'), where v' is value of variable v after executing the event. VAR PO means that events cannot take control forever. To prove this, we use a variant V which is mapped to a finite set, then this variant is proved to be decreased in each convergent event. It is described as follows.
I(v),G(x,v),A(x,v,v') \vdash V(v') \subset V(v). Deadlockfreeness for a machine ensures that there are always some enabled events during its execution. Assume that a machine contains a set of n events e_i ( 1 \le i \le n) of the following form: evt = any x where G(x, v) then A(x,v,v') end. The proof obligation rule for deadlockfreeness is as follows: I(v) \vdash \bigvee \nolimits _{i=1}^n (\exists x_i \cdot G(x_i,v)).
EventB provides ways to express safety properties directly by using the invariants. While safety properties guarantee that bad things do not happen, an eventuality property is one of liveness properties assuring that the system will reach a defined good state. EventB does not support to specify liveness properties directly but we can follow the approach (Hoang and Abrial 2011) to verify properties such as existence (\square \lozenge P), progress (\square (P_1 \implies \lozenge P_2)), or persistence (\lozenge \square P), where P is any first order logic formula, \lozenge and \square are standard operators of Linear Temporal Logic (LTL), under weakfairness assumption. We will discuss here in detail existence property. Assume that a given machine M with n events e_i (1 \le i \le n), e_i = any x where G(x, v) then A(x,v,v') end. They claim that if M is convergent in \lnot P and M is deadlockfree in \lnot P, then \square \lozenge P is satisfied in M. This approach uses the variant clause to prove convergence of a machine and we introduce an auxiliary refined machine at the last refinement step to apply this proof method.
Rodin
Imprecise requirements analysis with EventB
First, this section presents an approach to specifying imprecise requirements in classical set theory. This representation is the basis of its formalization in EventB. After that, we introduce a new refinementbased approach to analyzing eventuality properties of imprecise system requirements.
Presentation of imprecise requirements in classical sets
As stated above, fuzzy sets can be used as the foundation for representing imprecise requirements. The behavior of such requirements can be described by Fuzzy If–Then rules. We will show that imprecise requirements, which are described by Fuzzy If–Then rules, can be represented in classical sets.
Definition 1
(Imprecise requirement) An imprecise requirement is defined as a 6tuple FR=\langle x, m, \delta , \gamma , Y_i,P_i \rangle, where x and m are linguistic variables, \delta and \gamma are fuzzy hedges, and Y_i and P_i are fuzzy values.
Recall that, in classical set theory, sets can be combined in a number of different ways to produce another set such as Union, Intersection, Difference, or Cartesian product. Below we recall some definitions related to Cartesian product of multiple sets is also defined using the concept of ntuple.
Definition 2
(ordered ntuple) An ordered ntuple is a set of n objects with an order associated with them. If n objects are represented by x_1, x_2, \ldots, x_n, then we write the ordered ntuple as \langle x_1, x_2, \ldots , x_n \rangle.
Definition 3
(Cartesian product) Let A_1, \ldots , A_n be n sets. Then the set of all ordered ntuples \langle x_1, \ldots , x_n \rangle , where x_i \in A_i, \forall i, 1 \le i \le n, is called the Cartesian product of A_1, \ldots , A_n, and is denoted by A_1 \times \cdots \times A_n.
Proposition 1
A set of welldefined imprecise requirements can be specified by classical sets.
Proof
Suppose that, imprecise requirements of a system are specified by FR = \{FR_i\}, FR_i = \{x_i, m_i, \delta _i, \gamma _i, Y_i, P_i\}, 1 \le i \le n. Clearly that, x_i,m_i are considered as elements of variables sets, Y_i and P_i belong to fuzzy sets. We consider if \delta _i Y_i can be specified by a classical set in which \delta _i is a hedge and Y_i is a value in fuzzy set Y. As mentioned in “Summer Women Drawstring 5 Ribbon Black Bucket Tote 23cm 16 Khaki Beach Crossbody Light Holiday 1 Straw Bags YOUJIA Bag px8qf4f” section, \delta _i transforms fuzzy set Y to another fuzzy set. Moreover, according to the Definition 3, \delta _i Y_i is a membership of the Cartesian product of two sets \delta \times Y. Similarly with the case of specifying \gamma _i P_i. Consequently, every element in FR can be specified by classical sets. \square
Modeling imprecise requirements
Since EventB is a language based on the classical set theory, we propose an approach to modeling the system with EventB method. A system consisting a collection of requirements FR_i, 1 \le i \le n, is modeled by an EventB model FR_B=\langle FR\_C,FR\_M \rangle, where FR\_C and FR\_M are EventB context and machine respectively. We propose below translation rules to map imprecise requirements to EventB’s elements. The important principle of the translation process is that we can preserve the structure and represent all imprecise requirements using the EventB notation. Moreover, safety properties must be preserved by actions of the system.

Rule 1: All hedges \delta _i and \gamma _i, fuzzy values Y_i and P_i in the set of requirements are translated to three sets H, Y, and P respectively. They are stated in the SETS clause of FR\_C.

Rule 2: Linguistic variables x_i and m_i in each FR_i are mapped to variables x_i and m_i of the EventB machine FR\_M.

Rule 3: Each variable x_i is described as a member of a Cartesian product of two sets H \times Y; m_i is described as a member of a Cartesian product of two sets H \times P (Proposition 1).

Rule 4: Each requirement FR_i is modeled by an event ev_i in EventB machine FR\_M. Ifpart of the requirement becomes guard of the event, thenpart is translated to event’s action.

Rule 5: Safety properties of the system are modeled as invariants {\mathcal {I}} of the machine FR\_M.
Let FR_i = \{x_i, m_i, \delta _i, \gamma _i, Y_i, P_i\} be a Fuzzy If–Then rule. According to Rule 1, 2, 3 and 4, it is translated to an event when x_i = \delta _i \mapsto Y_i then m_i := \gamma _i \mapsto P_i, i.e., x_i = \delta _i \mapsto Y_i \implies m_i := \gamma _i \mapsto P_i. As a consequence, the translation rules preserve the semantic of a Fuzzy If–Then rule.
Proposition 2
With the modeling proposed in translation rules, the safety properties are preserved by all actions of imprecise system requirements.
Proof
Suppose that, a collection of imprecise requirements FR = \{FR_i\}, 1 \le i \le n, are translated to n corresponding events evt_i. Safety properties of the system are specified in the invariant {\mathcal{I}}. We have to prove that safety constraints are preserved through all requirements by showing that it remains true before and after firing (executing) each event. This is obviously achieved through proof obligations of the EventB machines which is used to preserve their invariants.
Fashion Bags Handbags Lovelife' Multiple Shoulder Print Pattern Digital Creative 20 Casual Modeling eventuality properties with refinement
Hoang and Abrial (2011) introduced reasoning techniques to prove classes of liveness properties such as existence, progress, persistence. They claims that with a state formula R which is a firstorder logic formula and an EventB machine M that is convergent and deadlockfree in R then \lnot R will always eventually (\square \lozenge \lnot R) hold.
In order to reason about eventuality properties on a set of fuzzy If–Then rules, we initially presented the method (Le et al. 2015) following the techniques introduced in Hoang and Abrial (2011). We first map fuzzy values to Natural numbers. Since fuzzy sets can be represented by classical sets consisting of discrete values (“Presentation of imprecise requirements in classical sets” section), the mapping on Natural numbers instead of a continuous range [0..1] is acceptable. Therefore, we give a new definition of fuzzy sets as follows
Definition 4
(Fuzzy set) A fuzzy set is a pair \langle U,\mu \rangle, where U is a set and \mu is the membership degree function, can be represented as a pair \langle P,\mu _s \rangle, where P is a crisp set, \mu _s is a total function such that \mu _s: P \rightarrow {\mathbb {N}}
Similarly, we also use a total function \mu _H: H \rightarrow {\mathbb {N}} as mapping values of fuzzy hedges.

Rule 6: Fuzzy values of each element in P, Y and hedges \delta are translated to total functions deg_P: P \rightarrow {\mathbb {N}}, deg_Y: Y \rightarrow {\mathbb {N}}, and deg_H: H \rightarrow {\mathbb {N}} respectively.

Rule 7: Adds a variant mapping to linguistic variable x_i that appears in eventuality property expression Q(x_i).

Rule 8: Refines each event representing one Fuzzy If–Then rule by two events: a convergent and an ordinary one.

Rule 9: Adds a clause \lnot Q(x_i) to the guards of each convergent event, and a clause Q(x_i) to the ordinary one.
Before showing that if a collection of requirements satisfy a eventuality property Q(x), we introduce definitions relating to some properties of fuzzy rules.
Definition 5
(Convergence) A set of fuzzy rules are convergent from a state C(x) if each rule decreases value of variable x. It is formally defined as: FR_i,C(x) \vdash x' < x, where x' is value after executing rule FR_i.
Definition 6
(Deadlockfreeness) A set of fuzzy rules are deadlockfree in a state R(x) if IF clause of at least one rule is satisfied. It is formally defined as R(x) \implies \bigvee \nolimits _{i=1}^n (\exists x_i.x_i = \delta Y_i).
Proposition 3
If a collection of Fuzzy If–Then rules \{FR\} are convergent and deadlockfree from a firstorder logic state formula R(x), where x is a linguistic variable, then the state property \lnot R(x) will always eventually holds. Formally, we have \{FR\} \vdash \square \lozenge \lnot R(x).
Proof
Suppose that, a set of fuzzy If–Then rules FR = \{FR_i\}, 1 \le i \le n, is first formalized by an abstract machine M\_0Purse Messenger Handbag Wanfor Crossbody Women Bags Bag Shoulder Tassel Tote Bucket gBZS8ZFW, then is refined by another machine M\_1 containing a set of convergent events evt_i.
Applying Rule 8, each fuzzy rule is represented by a convergent event evt_i with guard G(x). Following Rule 9, a new clause \lnot R(x) is added to the guard condition of each convergent event.
We already state that fuzzy rules are deadlock free in R(x), according to Rule 8, Rule 9 and Definition Money in Clip Justice Pouch Own Scales Engraved Text of Law R8qtwOx we have: R(x) \implies \bigvee \limits _{i=1}^n (\exists i\cdot G(ev_i)). This predicate is the form of DLF proof obligation generated from EventB machine to prove machine M\_1 is deadlockfree in R(x)(**).
From (*) and (**), based on the reasoning technique in Hoang and Abrial (2011), we have a conclusion: \{FR\} \vdash \square \lozenge \lnot R(x). \square
An example: Container Crane Control
In this section, first we introduce an example of Container Crane Control (Fuzzytech 2012), then follow the proposed method in “Imprecise requirements analysis with EventB” section to model and verify the safety and eventualities properties.
Example description
The crane head moves on a horizontal track from a starting position. The speed of the crane head is controlled by a motor power with a speed level. We start the motor with a fast speed. If the crane head is still far away from the container, we adjust the motor power to a medium speed. If the crane head is in a distance nearer to the target, we reduce the speed to slow. When the container is close to the target position, the speed should be very slow. When the container is above the container, we stop the motor. The crane head loads containers and goes back to the start position. The system has a safety property such that the speed of motor can not be high if the target is not far (property {\mathcal {I}}). The system needs to satisfy that the crane head eventually is above the container (property {\mathcal {Q}}).

FR_1: If the crane is at starting position, then power is fast level.

FR_2: If the distance to the container is far, then power is medium level.

FR_3: If the distance to container is medium, then power is adjusted to slow level.

FR_4: If the distance is close, then power is very slow level.

FR_5: If the crane is above the container, then power is stopped.
Modeling Container Crane Control system
Modeling the system with safety property

Apply Rule 1: Fuzzy hedges and fuzzy values in the requirements are translated into the sets HEDGES, DISTANCE, and POWER of the EventB context Crane\_C0.

Apply Rule 2: Linguistic variables in the requirements are translated into EventB constructs such as distance and power. According to Rule 3, types of these two variables are represented by invariants inv1 and Pattern Lovelife' Print Handbags Fashion Multiple Bags 20 Shoulder Digital Creative Casual inv2.

Apply Rule 4: Each imprecise requirement FR_i of the system is translated to an EVENT evt_i, 1 \le i \le 5. More specifically, the imprecise requirement r4 is translated to evt_4 illustrated in the machine Crane\_M0. The other requirements are translated similarly. Moreover, in the initial states, distance is equal to start and power is stopped (modeled in Initialisation event).

Safety property is stated as invariant inv3 (Rule 5).
Refinement: modeling eventuality property
Checking properties
The system has a safety property which is formalized as an invariant clause inv3:prj2(distance)=close \implies \lnot prj2(power)=fast. Its proof obligations are generated and discharged automatically using the Rodin tool under the label evt_i/inv3/INV, 1 \le i \le 5. It ensures that invariant is preserved through events, i.e., the requirements of this system conform to the safety property.
While safety property is maintained in every refinement, eventuality can only be verified in the machine Crane\_M1. Hence, we have to prove that Crane\_M1 \vdash \square \lozenge (d=deg\_DIS(above)). The deadlockfree property of this machine is encoded as the theorem DELF in Crane\_M1. Its proof obligation is generated as DELF / THM. In order to check the convergent property, proof obligations are generated for each convergent events of machine Crane\_M1 (evt_i/NAT and evt_i/VAR). The abstract machine Crane\_M0 generates six INV proof obligations. The refined machine Crane\_M1 generates two proof obligations for deadlock freeness and ten proof obligations for convergence property. All proof obligations are discharged automatically in the Rodin tool.^{Red TIZORAX Jellyfish Octopus Handle And Totes Top Women's Purses Shoulder Handbag Leather Fashion PU Bags tt1pqr5w}
Related work
Casual Handbags Creative Shoulder Digital Lovelife' Pattern 20 Print Fashion Multiple Bags In this section, we classify the related papers into several categories. The first one consists of the research work making use of fuzzy set and fuzzy logic to analyze imprecise requirements. The second one consists of the results that use formal methods to model fuzzy sets and Fuzzy If–Then rules. The papers in third group handle with selfadaptive systems modeling.
Fancy TIZORAX Handbags Llama Tote Women's Vintage Style Bags Shoulder Leather In fqrqZFwdIn early of 90s, Liu and Yen (1996) proposed to use fuzzy sets and fuzzy logics as the foundation for analyzing imprecise requirements. They use fuzzy logic to resolve the conflicts between imprecise requirements. They treated imprecise requirements as a collection of fuzzy sets, i.e., the requirement has the form of “A is B” where A and B are fuzzy sets. Applying this result, a tool named STAR was developed for analyzing imprecise requirements (Yen et al. Gift Female Gift Present Novelty Gifts Gift Bag Birthday Gift Idea Tote Looking Gifts Women Green Good 50th Bag Fuchsia Shopping Gift Ladies Birthday Keepsake Funny Ladies For qPwAaP).
In another research direction, formal methods have been used for specifying fuzzy terms. Matthews introduced a fuzzy logic toolkit for the formal specification language Z (Matthews and Swatman 2000). This toolkit defines the operators, measure and modifiers necessary for the manipulation of fuzzy sets and relations. A series of laws are provided that establish an isomorphism between conventional Z and the extended notation when applied to boolean sets and relation. It can be modeled as a partial rather than total function. The focus is on the specifications of the rule base and the operations necessary for fuzzy inferences. However, they do not incorporate the notion of refinements. It just provides definition and manipulation of fuzzy sets and relations by using Z.
Pavliska et al. (2006) introduced modified Petri Nets as a tool for fuzzy modeling. Basic concepts and relations between Fuzzy Petri Nets and Fuzzy If–Then rules are described and an algorithm for decomposition of fuzzy Petri net into set of linguistic descriptions are presented and its implementation mentioned. Their work just showed how to model the system and does not mention how to verify the system properties.
Intrigila et al. (2005) have introduced a verification method of fuzzy control systems using modelchecking technique with Murphi verifier. The authors eased the modeling phase by using finite precision real numbers and external C functions.
Yang et al. (2003) proposed to use highlevel Petri Net in order to verify fuzzy rulebased systems. This method can detect the system’s errors such as redundancy, inconsistency, incompleteness, and circularity but it has to take extra step to normalize the rules into Horn clauses before transforming these rules to and use incidence matrix as fixedvalue matrix for degree membership.
When modeling uncertain behavior of the selfadaptive software systems, the vague, uncertain, and imprecise requirements also raise issues.
Whittle et al. (2009) proposed a new specification language, named RELAX, for selfadaptive systems. It is expressive language based on fuzzy branching temporal logic to specify the uncertain dynamic behavior of the system. The paper, however, neither shows the verification phase nor provide support tool.
Han et al. (2014) introduced an approach (FAME profile) to modeling fuzzy selfadaptive software systems by extending UML profile. The authors incorporate four kinds of new constructs into UML meta models. With the provided tool, the approach supports for modeling such systems well. In comparison with this paper, our approach aims at not only modeling the Fuzzy If–Then rules but also detecting conflicts. After the modeling process, safety and eventuality properties of the system can be verified. These points are not mentioned in Han et al. (2014).
Conclusions
Although imprecise requirements are often found in software development processes, few work have been addressing the problem of modeling and verifying such descriptions so far. This paper presented a new specification and verification framework, in which the requirements were modeled in the Fuzzy If–Then rules. The rules were translated into a set of EventB descriptions so that the refinementbased modeling method could be applied for the verification. With the proposed method, we can verify the safety and eventuality properties of the system described by imprecise requirements. We proposed to use classical set to represent Fuzzy If–Then rules and this representation is sufficient to analyze such properties in EventB. We showed that the verification was mostly conducted automatically using the current RODIN tool. However, due to some limitation of the reasoning technique, we can only check the eventuality properties at the last refinement. One of the future work is to study a method for verifying eventuality properties at every refinement stage. Analyzing time dependent properties following the approach presented in Abrial et al. (2012) is also one of our future research direction.
Declarations
Authors' contributions
SN revised critically the part of modeling and verifying eventuality properties, while NTT involved in the first draft of the paper and contributed the basic translation rules for imprecise requirement. HAL is the main author involving in all sections of the paper including doing the motivating example in RODIN. All authors read and approved the final manuscript.
Acknowledgements
This work is supported by the Project No. QG.14.07 Granted by Vietnam National University, Ha Noi.
Competing interests
The authors also get supports from their employers.
Open AccessThis article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.
Authors’ Affiliations
References
 Abrial JR (2010) Modeling in EventB: system and software engineering, 1st edn. Cambridge University Press, New YorkView ArticleGoogle Scholar
 Abrial JR, Butler M, Hallerstede S, Hoang TS, Mehta F, Voisin L (2010) Rodin: an open toolset for modelling and reasoning in EventB. Int J Softw Tools Technol Transfer 12(6):447–466View ArticleGoogle Scholar
 Abrial JR, Su W, Zhu H (2012) Formalizing hybrid systems with EventB. In: Proceedings of ABZ 2012, LNCS, vol 7316. pp 178–193Google Scholar
 Chris M, Swatman PA (2003) Fuzzy concepts and formal methods. In: Lee J (ed) Software engineering with computational intelligence. Studies in fuzziness and soft computing, vol 121. Springer, Berlin, pp 9–49Google Scholar
 Fuzzytech home page 2012. http://www.fuzzytech.com
 Han D, Yang Q, Xing J (2014) Extending uml for the modeling of fuzzy selfadaptive software systems. In: Control and decision conference (2014 CCDC), The 26th Chinese, pp 2400–2406, May 2014Wallet Canvas Light Card White Camouflage Unisex Grey Chain Holder Black Grey 1FqSEWw7
 Hoang TS, Abrial JR (2011) Reasoning about liveness properties in EventB. In: Formal methods and software engineering, volume 6991 of LNCS, pp 456–471Google Scholar
 Intrigila B, Magazzeni D, Tofani A, Melatti I, Tronci E (2005) A model checking technique for the verification of fuzzy control systems. In: International conference on intelligent agents, web technologies and internet commerce, international conference on computational intelligence for modelling, control and automation, vol 1, pp 536–542, Nov 2005Google Scholar
 Le HA, Thi LD, Truong NT (2014) Modeling and verifying imprecise requirements of systems using EventB. Proc KSE 2013:313–325Google Scholar
 Le HA, Truong NT, Nakajima S (2015) Verifying eventuality properties of imprecise system requirements using EventB. In: Proceedings of the 30th ACM/SIGAPP symposium on applied computing, pp 1651–1653, Slamanca, Spain, April 2015Google Scholar
 Liu XF, Yen J (1996) An analytic framework for specifying and analyzing imprecise requirements. In: Proceedings of the 18th international conference on software engineering, ICSE’96, IEEE Computer Society, Washington, DC, pp 60–69Google Scholar
 Matthews C, Swatman PA (2000) Fuzzy concepts and formal methods: some illustrative examples. In: Proceedings of APSEC 2000, APSEC’00, IEEE Computer Society, Washington, DC, pp 230–238Sterling Money Ettinger Sterling Orange Black Money Wallet Ettinger Men's Men's Clip CqwB6g
 Pavliska V (2006) Petri nets as fuzzy modeling tool. Technical report, University of Ostrava—Institute for research and applications of fuzzy modelingGoogle Scholar
 Whittle J, Sawyer P, Bencomo N, Cheng BHC, Bruel J (2009) Relax: incorporating uncertainty into the specification of selfadaptive systems. In: 17th IEEE international requirements engineering conference, RE’09, pp 79–88, Aug 2009Google Scholar
 Yang SJH, Tsai JJP, Chen CC (2003) Fuzzy rule base systems verification using highlevel petri nets. IEEE Trans Knowl Data Eng 15(2):457–473View ArticleGoogle Scholar
 Yen J, Yin J, Tiao WA (1998) Star: a case tool for requirement engineering. In: 19998 IEEE workshop on applicationspecific software engineering technology, ASSET98. In: Proceedings, pp 28–33, Mar 1998Google Scholar
 Zadeh LA (1965) Fuzzy sets. Inf Control 8(3):338–353View ArticleGoogle Scholar