<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">AM</journal-id><journal-title-group><journal-title>Applied Mathematics</journal-title></journal-title-group><issn pub-type="epub">2152-7385</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/am.2016.75039</article-id><article-id pub-id-type="publisher-id">AM-64735</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  Fuzzy Semantics of Contract Language
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>engyang</surname><given-names>Wu</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Yixiang</surname><given-names>Chen</given-names></name><xref ref-type="aff" rid="aff2"><sup>2</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>Information Engineer College, Hangzhou Dianzi University, Hangzhou, China</addr-line></aff><aff id="aff2"><addr-line>MoE Engineering Center for Software/Hardware Co-Design Technology and Application,</addr-line></aff><author-notes><corresp id="cor1">* E-mail:<email>wuhengy_1974@aliyun.com(EW)</email>;<email>yxchen@sei.ecnu.edu.cn(YC)</email>;</corresp></author-notes><pub-date pub-type="epub"><day>18</day><month>03</month><year>2016</year></pub-date><volume>07</volume><issue>05</issue><fpage>422</fpage><lpage>439</lpage><history><date date-type="received"><day>5</day>	<month>November</month>	<year>2015</year></date><date date-type="rev-recd"><day>accepted</day>	<month>15</month>	<year>March</year>	</date><date date-type="accepted"><day>18</day>	<month>March</month>	<year>2016</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p><html>
 <head></head>
 
  In this paper, we focus on investigation of the predicate transformer semantics of the contract language introduced by Back and von Wright in their book titled as “Refinement Calculus: A Systematic Introduction” (Springer-Verlag, New York, 1998) in the framework of fuzziness. In order to define fuzzy operations, i.e., fuzzy logic connectives, we take into account implicator 
  → and its associated 
  <img src="Edit_9e0d83cc-d57a-48ec-b4cb-bec7cd9acfa9.jpg" alt="" /> based on residuated lattice theory. Based on these basic fuzzy operations, we introduce the angelic and demonic updates of fuzzy relations. They are the basis of fuzzy predicate transformers in the sense of that any strongly monotone fuzzy predicate transformer can be represented as the sequential composition of the angelic and demonic updates. Together with the standard strong negation 
  <img src="Edit_7fe76f9d-5dd9-4af8-acc1-661bcd8aa93a.jpg" alt="" />, we set up the duality between the angel and demon. The fuzzy predicate transformers semantics of contract statements is established and a simple example of contract statements is given.
 
</html></p></abstract><kwd-group><kwd>Contract Language</kwd><kwd> Formal Semantics</kwd><kwd> Residuated Lattice</kwd><kwd> Fuzzy Predicate Transformers</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>There are four main approaches to describe the semantics of some language, i.e., the denotational [<xref ref-type="bibr" rid="scirp.64735-ref1">1</xref>] , the opera- tional [<xref ref-type="bibr" rid="scirp.64735-ref2">2</xref>] , the axiomatic [<xref ref-type="bibr" rid="scirp.64735-ref3">3</xref>] and the algebraic [<xref ref-type="bibr" rid="scirp.64735-ref4">4</xref>] approaches. Predicate transformers semantics [<xref ref-type="bibr" rid="scirp.64735-ref5">5</xref>] [<xref ref-type="bibr" rid="scirp.64735-ref6">6</xref>] is a kind of axiomatic approach to describe semantics of languages. Each statement in a language is characterized by the way it transforms postconditions to preconditions.</p><p>Back and von Wright in [<xref ref-type="bibr" rid="scirp.64735-ref7">7</xref>] introduce a contract language ( a detailed introduction in Section 2) describing games that are played between two opponents, called the angel and the demon. The syntax of a contract state- ment S is given by (in BNF-form)</p><disp-formula id="scirp.64735-formula452"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x8.png"  xlink:type="simple"/></disp-formula><p>Here P is a relation term and I is a set of higher-order logic which is simply thought of as an index set.</p><p>Back and von Wright investigate the transformer semantics of contract language in the Boolean case that the relation P is a classical relation P from X to Y. The angelic update <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x9.png" xlink:type="simple"/></inline-formula> in an initial state x establishes the</p><p>postcondition <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x10.png" xlink:type="simple"/></inline-formula> if there is at least one final state y with <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x11.png" xlink:type="simple"/></inline-formula> satisfying q. The state y satisfying q means <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x12.png" xlink:type="simple"/></inline-formula> or<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x13.png" xlink:type="simple"/></inline-formula>. Therefore,</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x14.png" xlink:type="simple"/></inline-formula>.</p><p>Similarly, the demonic update <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x15.png" xlink:type="simple"/></inline-formula> in an initial state x establishes postcondition q if all final state y with <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x16.png" xlink:type="simple"/></inline-formula> satisfy q, described by</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x17.png" xlink:type="simple"/></inline-formula>.</p><p>For a given postcondition q, both angelic and demonic updates define preconditions over initial states, describing if initial states satisfy those updates (preconditions), then their outputs of program at these initial states will satisfy the postcondition q. Therefore, both updates define predicate transformers.</p><p>Ying in [<xref ref-type="bibr" rid="scirp.64735-ref8">8</xref>] investigates the probabilistic case of Back-Wright contract language. He generalizes the boolean relation to the probabilistic one. Ying sets up the probabilistic semantics of the contract statements based on the probabilistic logic through probabilistic predicate transformers [<xref ref-type="bibr" rid="scirp.64735-ref6">6</xref>] [<xref ref-type="bibr" rid="scirp.64735-ref9">9</xref>] . The probabilistic model for the guarded language is also studied in [<xref ref-type="bibr" rid="scirp.64735-ref10">10</xref>] .</p><p>This paper focuses on the establishment of fuzzy semantics of contract language based on fuzzy predicate transformers [<xref ref-type="bibr" rid="scirp.64735-ref11">11</xref>] . Here, the relation P is a fuzzy relation [<xref ref-type="bibr" rid="scirp.64735-ref12">12</xref>] from initial states to final states. For initial state x and final state y, the value<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x18.png" xlink:type="simple"/></inline-formula>, the membership degree of state <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x19.png" xlink:type="simple"/></inline-formula> belonging to the fuzzy set P, describes indeed the possibility degree of the y to be the output of this program that fuzzy relation P defines from the x. Our goal is twofold: (1) We set up the fuzzy predicate transformer semantics of contract statement S,</p><p>which maps a postcondition a over final states, i.e., a fuzzy predicate, into a precondition<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x20.png" xlink:type="simple"/></inline-formula>, a fuzzy predicate over initial states. For a given initial state x, the value <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x21.png" xlink:type="simple"/></inline-formula> is the possibility degree of that</p><p>contract statement S establishes the postcondition a from the x. (2) We study the basis of contract languages such as the duality between angel and demon and the Normal Form Theorem that describes which contract statements are represented as the composition of the angelic and demonic updates.</p><p>In our investigation, the residuated lattice theory, which plays an extremely important role in modern fuzzy logic theory, is a foundation [<xref ref-type="bibr" rid="scirp.64735-ref13">13</xref>] . In a residuated lattice<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x22.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x22.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x23.png" xlink:type="simple"/></inline-formula>are used to model the fuzzy connectives: disjunction, conjunction, production and implication, respectively, as well as strong negation <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x22.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x23.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x24.png" xlink:type="simple"/></inline-formula> to model fuzzy not.</p><p>The organization is as follows. In Section 2, we introduce the contract language in detail. We give an example to explain the contract language and explain why we need to deal with contract language in the framework of fuzziness. In Section 3, we recall some basic notions of residuated lattice. In Section 4, we recall the notion of fuzzy relations and introduce ones of fuzzy predicates and fuzzy predicate transformers. A decomposition of fuzzy predicate is given. In Section 5, we introduce two kinds of basic predicate transformers through updates: the angelic and demonic updates. The angelic update is defined via &#196; and the demonic update is defined via &#174;. Moreover, we analysis why it is better to use Wang’s adjoint pair in defining the angelic and demonic update. In Section 6, we set up the fuzzy semantics of contract statements based on the fuzzy predicate transformers. An example is also given in this section. In Section 7, we introduce the duality and give the Duality Theorem which shows the duality between the angel and demon. In Section 8, we consider the monotonicity of fuzzy predicate transformers. We introduce the notion of strongly monotone fuzzy predicate transformers, and prove the Normal Form Theorem which shows that strongly monotone fuzzy predicate transformers can be represented as the sequential composition of the angelic and demonic updates. The followed is the section of conclusion and future work.</p></sec><sec id="s2"><title>2. Contract Language</title><p>Back and von Wright introduce a contract language describing games that are played between two opponents, called the angel and the demon, in their book titled as “Refinement Calculus: A Systematic Introduction” (Springer-Verlag, New York, 1998) [<xref ref-type="bibr" rid="scirp.64735-ref7">7</xref>] . The syntax of a contract statement S is given by (in BNF-form)</p><disp-formula id="scirp.64735-formula453"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x25.png"  xlink:type="simple"/></disp-formula><p>Here P is a relation term and I a set of higher-order logic which is simply thought of as an index set. We assume that there is a rule that associates a contract statement <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x26.png" xlink:type="simple"/></inline-formula> with each index <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x26.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x27.png" xlink:type="simple"/></inline-formula> in a meet <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x26.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x27.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x28.png" xlink:type="simple"/></inline-formula> (and similarly for a join).</p><p>We will interpret contract statements in terms of a game that is played between two opponents, called the angel and the demon. The game semantics describes how a contract statement S encodes the rules of a game. For a play (or execution) of the game (statement S, we also give the initial position (initial statement) <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x29.png" xlink:type="simple"/></inline-formula>of the game and a goal (a postcondition) <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x29.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x30.png" xlink:type="simple"/></inline-formula>that describes the set of final states that are winning positions.</p><p>For a given postcondition q, the angel tries to reach a final state that satisfies q starting from the initial state x. The demon tries to prevent this. Both follow the rules of the game, as described by the statement S. The statement determines the turns of the game, as well as the moves, where each move either leads to a new state or forces the player that is to make the move to quit (and hence lose the game). Each move is carried out by either the angel or the demon.</p><p>There are two basic moves, described by the demonic and the angelic update statements. The angelic update statement <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x31.png" xlink:type="simple"/></inline-formula> is executed by the angel in state x by choosing some state y such that <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x31.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x32.png" xlink:type="simple"/></inline-formula> holds, i.e.,<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x31.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x32.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x33.png" xlink:type="simple"/></inline-formula>. If no such state exists, then the angel can not carry out this move and quits (loses). The demonic</p><p>update statement <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x34.png" xlink:type="simple"/></inline-formula> is similar, except that it is carried by the demon. It chooses some state y such that <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x34.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x35.png" xlink:type="simple"/></inline-formula> holds. If no such state exists, then the demon can not carry out the move and quits.</p><p>The sequential composition <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x36.png" xlink:type="simple"/></inline-formula> is executed in initial state x by the first playing the game <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x36.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x37.png" xlink:type="simple"/></inline-formula> in initial state x. If this game leads to a final state y, then the game <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x36.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x37.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x38.png" xlink:type="simple"/></inline-formula> is played from this state. The final state of this game is the final state of the whole game<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x36.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x37.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x38.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x39.png" xlink:type="simple"/></inline-formula>.</p><p>The demonic <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x40.png" xlink:type="simple"/></inline-formula> is executed in initial state x by the demon choosing some game<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x40.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x41.png" xlink:type="simple"/></inline-formula>, to be played in initial state x. If<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x40.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x41.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x42.png" xlink:type="simple"/></inline-formula>, then there is no game that can be played in initial state x, and the demon has to quit. The angelic choice <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x40.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x41.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x42.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x43.png" xlink:type="simple"/></inline-formula> is executed similarly, but by the angel.</p><p>In the remaining of this section, we will give an example describing contract language and explain why we need to deal with contract language in the framework of fuzziness.</p><p>An example in [<xref ref-type="bibr" rid="scirp.64735-ref7">7</xref>] , two opponents are components of a computer system, one could be a client, and the other could be server. The client issues requests to the server, who carries out the requests according to the specification that has been given for the possible requests. The server procedures that are invoked by the client’s requests have conditions associated with them that restrict the input parameters and the global system state. These conditions are assertions for the client, who has to satisfy them when calling a server procedure. The same conditions are assumptions for the server, who may assume that they hold when starting to comply with a request. The server has to achieve some final state (possibly returning some output values) when the assum- ptions are satisfied. This constitutes the contract between the client and the server.</p><p>There is an interesting form of duality between the client and the server. When we are programming the client, then any internal choices that the server can make increase our uncertainty about what can happen when a request is invoked. To achieve some desired effect, we have to guard ourselves against any possible choice that the server can make. Thus, the client is the angel and the server is the demon. On the other hand, when we are programming the server, then any choices that the client makes, e.g., in choosing values for the input parameters, increases our uncertainty about the initial state in which the request is made, and all possibilities need to considered when complying with the request. Now, the server is the angel and the client is the demon.</p><p>In order to formalize this contract, R.-J. Back and J. von Wright introduce the notion of angelic and demonic update. Let P be a relation from X to Y, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x44.png" xlink:type="simple"/></inline-formula>a predicate and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x44.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x45.png" xlink:type="simple"/></inline-formula>. Then the angelic and demonic update are defined respectively,</p><disp-formula id="scirp.64735-formula454"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x46.png"  xlink:type="simple"/></disp-formula><p>and</p><disp-formula id="scirp.64735-formula455"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x47.png"  xlink:type="simple"/></disp-formula><p>Example. Let <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x48.png" xlink:type="simple"/></inline-formula> be the set of clients and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x48.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x49.png" xlink:type="simple"/></inline-formula> the set of servers. The relation P is defined as follows:</p><disp-formula id="scirp.64735-formula456"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x50.png"  xlink:type="simple"/></disp-formula><p>Assume P is given in <xref ref-type="table" rid="table1">Table 1</xref>.</p><p>Let q is a predicate which means the servers that can be free to download the film “Gone with the wind”. We assume<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x51.png" xlink:type="simple"/></inline-formula>. In fact, p can be seen as a Boolean predicate</p><disp-formula id="scirp.64735-formula457"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x52.png"  xlink:type="simple"/></disp-formula><p>In the sense of this, we call the set to predicate. It is easy to get <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x53.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x53.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x54.png" xlink:type="simple"/></inline-formula>. Hence <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x53.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x54.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x55.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x53.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x54.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x55.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x56.png" xlink:type="simple"/></inline-formula> transform the postcondition (goal) p to some precondition, i.e., they are predicate transformers. <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x53.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x54.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x55.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x56.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x57.png" xlink:type="simple"/></inline-formula>means that the client <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x53.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x54.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x55.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x56.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x57.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x58.png" xlink:type="simple"/></inline-formula> connects some server y and can be free to download</p><p>the film “Gone with the wind” from y by adopting angelic approach. At this time, we call the initial state <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x59.png" xlink:type="simple"/></inline-formula> can establish the postcondition p by the angelic approach. Thus, initial state <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x59.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x60.png" xlink:type="simple"/></inline-formula> can not establish the postcondition p by the demonic approach.</p><p>We can see that the underlying logic of this example is two-valued since starting from an initial state, the game reaches a final state or not and final state satisfies given condition (predicate) or not.</p><p>However, we can usually say how many possibilities a client connects a server since the tolerated connection time which is caused by the network; how many possibilities the servers can be free to download the film “Gone with the wind” since the properties of servers; thus how many possibilities a client can establish the postcondition(i.e. how many possibilities this client can be free to download this film). That is, it is reasonable to generalize the classical relation into fuzzy relation and the classical predicate into fuzzy predicate. Thus, we generalize the underlying two-valued logic of contract language into fuzzy logic.</p></sec><sec id="s3"><title>3. Residuated Lattice Theory</title><p>We note, in the classical two-valued logic, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x61.png" xlink:type="simple"/></inline-formula>and &#174; in the angelic and demonic update of Back and von Wright, are an adjoint pair. This also motivates us to consider the angelic and demonic update in the framework of residuated lattice. Residuated lattices, introduced by Dilworth and Ward in [<xref ref-type="bibr" rid="scirp.64735-ref13">13</xref>] , are a common structure among algebras associated with logical systems. As an important and ideal structure, residuated lattices play an extremely important role in modern fuzzy logic theory.</p><p>Definition 3.1 [<xref ref-type="bibr" rid="scirp.64735-ref14">14</xref>] A residuated lattice on L is an algebra</p><disp-formula id="scirp.64735-formula458"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x62.png"  xlink:type="simple"/></disp-formula><p>with four binary operations and two constants such that</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Relation between clients and servers</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >x\y</th><th align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x63.png" xlink:type="simple"/></inline-formula></th><th align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x64.png" xlink:type="simple"/></inline-formula></th><th align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x65.png" xlink:type="simple"/></inline-formula></th><th align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x66.png" xlink:type="simple"/></inline-formula></th><th align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x67.png" xlink:type="simple"/></inline-formula></th></tr></thead><tr><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x68.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >1</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >1</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >1</td></tr><tr><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x69.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >1</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >1</td><td align="center" valign="middle" >0</td></tr><tr><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x70.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >1</td><td align="center" valign="middle" >1</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >1</td></tr><tr><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x71.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >1</td><td align="center" valign="middle" >1</td><td align="center" valign="middle" >0</td></tr><tr><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x72.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >1</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >1</td><td align="center" valign="middle" >0</td></tr></tbody></table></table-wrap><p>• <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x73.png" xlink:type="simple"/></inline-formula> is a lattice with the largest element <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x73.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x74.png" xlink:type="simple"/></inline-formula> and the least element <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x73.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x74.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x75.png" xlink:type="simple"/></inline-formula> w.r.t. the lattice ordering<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x73.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x74.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x75.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x76.png" xlink:type="simple"/></inline-formula>,</p><p>• <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x77.png" xlink:type="simple"/></inline-formula> is a commutative semigroup with the unit element<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x77.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x78.png" xlink:type="simple"/></inline-formula>, i.e. &#196; is commutative, associative, and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x77.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x78.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x79.png" xlink:type="simple"/></inline-formula> for all<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x77.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x78.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x79.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x80.png" xlink:type="simple"/></inline-formula>,</p><p>• &#196; and &#174; form an adjoint pair, i.e.</p><disp-formula id="scirp.64735-formula459"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x81.png"  xlink:type="simple"/></disp-formula><p>Given a residuated lattice<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x82.png" xlink:type="simple"/></inline-formula>, let us define a unary operator<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x82.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x83.png" xlink:type="simple"/></inline-formula>, referred to as the precomplement operator, by <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x82.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x83.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x84.png" xlink:type="simple"/></inline-formula> [<xref ref-type="bibr" rid="scirp.64735-ref15">15</xref>] .</p><p>In what follows, &#196; is sometimes called generalized triangular norm (some literature also call it product) and &#174; is called the residuum of &#196;. We denote <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x85.png" xlink:type="simple"/></inline-formula> by<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x85.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x86.png" xlink:type="simple"/></inline-formula>, an implicator I is called left monotonic (resp. right monotonic) iff for every<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x85.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x86.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x87.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x85.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x86.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x87.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x88.png" xlink:type="simple"/></inline-formula>is decreasing (resp. <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x85.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x86.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x87.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x88.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x89.png" xlink:type="simple"/></inline-formula>is increasing). If I is both left monotonic and right monotonic, then it is called hybrid monotonic [<xref ref-type="bibr" rid="scirp.64735-ref15">15</xref>] . Clearly, when implicator I is hybrid monotonic, the corresponding adjoint &#196; is monotonic, i.e., <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x85.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x86.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x87.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x88.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x89.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x90.png" xlink:type="simple"/></inline-formula>if<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x85.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x86.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x87.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x88.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x89.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x90.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x91.png" xlink:type="simple"/></inline-formula>, at this time, &#196; is called triangular norm.</p><p>Definition 3.2 [<xref ref-type="bibr" rid="scirp.64735-ref15">15</xref>] Let <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x92.png" xlink:type="simple"/></inline-formula> be a residuated lattice, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x92.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x93.png" xlink:type="simple"/></inline-formula>be defined as above. If <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x92.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x93.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x94.png" xlink:type="simple"/></inline-formula> holds for all<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x92.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x93.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x94.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x95.png" xlink:type="simple"/></inline-formula>, then <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x92.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x93.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x94.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x95.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x96.png" xlink:type="simple"/></inline-formula> is called a regular residuated lattice.</p><p>Example. Taking<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x97.png" xlink:type="simple"/></inline-formula>, for any<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x97.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x98.png" xlink:type="simple"/></inline-formula>, the implication operator &#174; and the generalized triangular norm &#196; are defined as follows:</p><p>• Łukasiewicz’s adjoint pair:</p><disp-formula id="scirp.64735-formula460"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x99.png"  xlink:type="simple"/></disp-formula><p>• G&#246;del’s adjoint pair:</p><disp-formula id="scirp.64735-formula461"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x100.png"  xlink:type="simple"/></disp-formula><p>• Goguen’s adjoint pair:</p><disp-formula id="scirp.64735-formula462"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x101.png"  xlink:type="simple"/></disp-formula><p>• Wang’s adjoint pair:</p><disp-formula id="scirp.64735-formula463"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x102.png"  xlink:type="simple"/></disp-formula><p>For the above four situations, one can verify that <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x103.png" xlink:type="simple"/></inline-formula> are residuated lattices. However, residuated lattices based on G&#246;del and Goguen implication operators and the corresponding adjoint are not regular since <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x103.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x104.png" xlink:type="simple"/></inline-formula> for any<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x103.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x104.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x105.png" xlink:type="simple"/></inline-formula>, the others are regular.</p><p>Remark. Ying in [<xref ref-type="bibr" rid="scirp.64735-ref8">8</xref>] investigates the probabilistic game semantics of contracts in Section 8. He uses the probabilistic logic based on Goguen implicator and the corresponding adjoint. Hence, Ying can not get the duality theorem in Section 8( Theorem 8.4).</p><p>The following properties are useful for our discussion. Their proofs are straightforward and can be found in, e.g., [<xref ref-type="bibr" rid="scirp.64735-ref16">16</xref>] [<xref ref-type="bibr" rid="scirp.64735-ref17">17</xref>] .</p><p>Proposition 3.3 Let <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x106.png" xlink:type="simple"/></inline-formula> be a regular residuated lattice. Then for any<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x106.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x107.png" xlink:type="simple"/></inline-formula>,</p><p>(1) <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x108.png" xlink:type="simple"/></inline-formula>if and only if <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x108.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x109.png" xlink:type="simple"/></inline-formula></p><p>(2)<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x110.png" xlink:type="simple"/></inline-formula>;</p><disp-formula id="scirp.64735-formula464"><label>(3)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/4-7402969x111.png"  xlink:type="simple"/></disp-formula><p>(4) <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x112.png" xlink:type="simple"/></inline-formula>and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x112.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x113.png" xlink:type="simple"/></inline-formula></p><disp-formula id="scirp.64735-formula465"><label>(5)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/4-7402969x114.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.64735-formula466"><label>(6)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/4-7402969x115.png"  xlink:type="simple"/></disp-formula><p>(7) <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x116.png" xlink:type="simple"/></inline-formula>and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x116.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x117.png" xlink:type="simple"/></inline-formula>;</p><disp-formula id="scirp.64735-formula467"><label>(8)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/4-7402969x118.png"  xlink:type="simple"/></disp-formula><p>(9)<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x119.png" xlink:type="simple"/></inline-formula> ,</p><p>Note that, in this paper, we use a regular residuated lattice with the hybrid monotonic implicator.</p></sec><sec id="s4"><title>4. Fuzzy Relation and Predicate Transformers</title><p>This section will recall three basic notions of fuzzy predicates, fuzzy relations and fuzzy predicate transformers, on which we define some operations.</p><sec id="s4_1"><title>4.1. Fuzzy Predicates</title><p>This paper focuses on the establishment of fuzzy semantics of contract statements based on the fuzzy predicate transformers. Now we will recall these notions of fuzzy predicate and fuzzy predicate transformers.</p><p>Definition 4.1 A fuzzy predicate on a state space X is any mapping from X to the unit interval [0,1]. We denote the set of fuzzy predicates on X by<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x120.png" xlink:type="simple"/></inline-formula>. The partial order <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x120.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x121.png" xlink:type="simple"/></inline-formula> on <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x120.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x121.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x122.png" xlink:type="simple"/></inline-formula> is defined pointwise: For<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x120.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x121.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x122.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x123.png" xlink:type="simple"/></inline-formula>,</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x124.png" xlink:type="simple"/></inline-formula>.</p><p>Remark. Indeed, fuzzy predicate on X in this paper is in fact fuzzy set on X, we call it fuzzy predicate in order to coincide with the notion in the computer science. On the other hand, usually the notion fuzzy predicate is different from that of fuzzy set. For example, in [<xref ref-type="bibr" rid="scirp.64735-ref11">11</xref>] [<xref ref-type="bibr" rid="scirp.64735-ref18">18</xref>] fuzzy predicate over a dcpo X, a directed complete poset, is Scott continuous function from this dcpo to the unit interval <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x125.png" xlink:type="simple"/></inline-formula> where Scott-continuous function f refers that f preserves the order (i.e.,<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x125.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x126.png" xlink:type="simple"/></inline-formula>) and suprema of directed sets (i.e., <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x125.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x126.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x127.png" xlink:type="simple"/></inline-formula>for every directed family <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x125.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x126.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x127.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x128.png" xlink:type="simple"/></inline-formula> in X) (see, Definition 3.1, [<xref ref-type="bibr" rid="scirp.64735-ref18">18</xref>] ). When we only consider discrete state spaces X (i.e., a dcpo such that <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x125.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x126.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x127.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x128.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x129.png" xlink:type="simple"/></inline-formula> if and only if <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x125.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x126.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x127.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x128.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x129.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x130.png" xlink:type="simple"/></inline-formula> for all<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x125.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x126.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x127.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x128.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x129.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x130.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x131.png" xlink:type="simple"/></inline-formula>), fuzzy predicate is just fuzzy set.</p><p>The join <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x132.png" xlink:type="simple"/></inline-formula> and meet <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x132.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x133.png" xlink:type="simple"/></inline-formula> of a family <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x132.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x133.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x134.png" xlink:type="simple"/></inline-formula> of fuzzy predicates are given by</p><disp-formula id="scirp.64735-formula468"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x135.png"  xlink:type="simple"/></disp-formula><p>The fuzzy predicate space <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x136.png" xlink:type="simple"/></inline-formula> is a completely distributive lattice. The bottom element is false, where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x136.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x137.png" xlink:type="simple"/></inline-formula> and its top element is true, where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x136.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x137.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x138.png" xlink:type="simple"/></inline-formula> for any<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x136.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x137.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x138.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x139.png" xlink:type="simple"/></inline-formula>.</p><p>For any<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x140.png" xlink:type="simple"/></inline-formula>, we define the constant fuzzy predicate <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x140.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x141.png" xlink:type="simple"/></inline-formula> as the constant function <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x140.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x141.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x142.png" xlink:type="simple"/></inline-formula> from X to [0,1], i.e., <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x140.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x141.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x142.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x143.png" xlink:type="simple"/></inline-formula>, for all <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x140.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x141.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x142.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x143.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x144.png" xlink:type="simple"/></inline-formula> For any<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x140.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x141.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x142.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x143.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x144.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x145.png" xlink:type="simple"/></inline-formula>, we define a point fuzzy predicate <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x140.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x141.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x142.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x143.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x144.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x145.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x146.png" xlink:type="simple"/></inline-formula> as <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x140.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x141.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x142.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x143.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x144.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x145.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x146.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x147.png" xlink:type="simple"/></inline-formula> if <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x140.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x141.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x142.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x143.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x144.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x145.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x146.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x147.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x148.png" xlink:type="simple"/></inline-formula> and 0 otherwise.</p><p>In addition to the greatest lower bound and the least upper bound, we introduce the logical connectives: negation<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x149.png" xlink:type="simple"/></inline-formula>, the product &#196; and the corresponding adjoint &#174; on fuzzy predicates <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x149.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x150.png" xlink:type="simple"/></inline-formula> pointwise as follows:</p><p>For all <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x151.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x151.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x152.png" xlink:type="simple"/></inline-formula></p><disp-formula id="scirp.64735-formula469"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x153.png"  xlink:type="simple"/></disp-formula><p>In particular, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x154.png" xlink:type="simple"/></inline-formula>, where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x154.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x155.png" xlink:type="simple"/></inline-formula></p><p>It is easily verified that <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x156.png" xlink:type="simple"/></inline-formula> is a regular residuated lattice.</p><p>Proposition 4.2 (Decomposition of fuzzy predicates) For any<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x157.png" xlink:type="simple"/></inline-formula>, we have</p><disp-formula id="scirp.64735-formula470"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x158.png"  xlink:type="simple"/></disp-formula><p>and</p><disp-formula id="scirp.64735-formula471"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x159.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x160.png" xlink:type="simple"/></inline-formula> is an adjoint pair.</p><p>Proof. We have <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x161.png" xlink:type="simple"/></inline-formula> by the definition of residuated lattice for every<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x161.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x162.png" xlink:type="simple"/></inline-formula>.</p><p>Since<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x163.png" xlink:type="simple"/></inline-formula>, we have that <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x163.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x164.png" xlink:type="simple"/></inline-formula> which proves the second equality. □</p></sec><sec id="s4_2"><title>4.2. Fuzzy Predicates Transformers</title><p>The notion of fuzzy predicate transformers comes from [<xref ref-type="bibr" rid="scirp.64735-ref18">18</xref>] , the authors use it to set up the logical semantics of possibility computation.</p><p>Definition 4.3 (1) A fuzzy predicate transformer (FPT, for short) from the state space X to Y is any mapping from <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x165.png" xlink:type="simple"/></inline-formula> to<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x165.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x166.png" xlink:type="simple"/></inline-formula>, denoted by<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x165.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x166.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x167.png" xlink:type="simple"/></inline-formula>.</p><p>(2) The refinement order <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x168.png" xlink:type="simple"/></inline-formula> between fuzzy predicate transformers is pointwise defined, i.e., for two fuzzy predicate transformers t and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x168.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x169.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x168.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x169.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x170.png" xlink:type="simple"/></inline-formula>if and only if <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x168.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x169.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x170.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x171.png" xlink:type="simple"/></inline-formula> for any fuzzy predicate <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x168.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x169.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x170.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x171.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x172.png" xlink:type="simple"/></inline-formula></p><p>(3) A fuzzy predicate transformer <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x173.png" xlink:type="simple"/></inline-formula> is monotonic if for any<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x173.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x174.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x173.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x174.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x175.png" xlink:type="simple"/></inline-formula>implies that <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x173.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x174.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x175.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x176.png" xlink:type="simple"/></inline-formula> holds.</p><p>For any<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x177.png" xlink:type="simple"/></inline-formula>, we define a constant FPT <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x177.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x178.png" xlink:type="simple"/></inline-formula> by setting <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x177.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x178.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x179.png" xlink:type="simple"/></inline-formula> for any fuzzy predicate<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x177.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x178.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x179.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x180.png" xlink:type="simple"/></inline-formula>. And we denote the identity FPT by skip over state space X, defined as <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x177.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x178.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x179.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x180.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x181.png" xlink:type="simple"/></inline-formula> for any fuzzy predicate<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x177.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x178.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x179.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x180.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x181.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x182.png" xlink:type="simple"/></inline-formula>.</p><p>All operations on fuzzy predicates may be pointwise extended to fuzzy predicate transformers:</p><disp-formula id="scirp.64735-formula472"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x183.png"  xlink:type="simple"/></disp-formula><p>in particular,</p><disp-formula id="scirp.64735-formula473"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x184.png"  xlink:type="simple"/></disp-formula><p>for all<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x185.png" xlink:type="simple"/></inline-formula>,<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x185.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x186.png" xlink:type="simple"/></inline-formula>.</p><p>Moreover, we define the sequential composition of fuzzy predicate transformers. For <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x187.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x187.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x188.png" xlink:type="simple"/></inline-formula> the sequential composition <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x187.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x188.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x189.png" xlink:type="simple"/></inline-formula> of t and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x187.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x188.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x189.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x190.png" xlink:type="simple"/></inline-formula> is defined by <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x187.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x188.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x189.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x190.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x191.png" xlink:type="simple"/></inline-formula> for all<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x187.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x188.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x189.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x190.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x191.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x192.png" xlink:type="simple"/></inline-formula>.</p></sec><sec id="s4_3"><title>4.3. Fuzzy Relations</title><p>Relations appear in many fields of mathematics and computer science. In classical mathematics these relations are usually crisp, i.e., two objects are related or they are not. However, many relations in real-word applications are intrinsically fuzzy, i.e., objects can be related to each other to a certain degree [<xref ref-type="bibr" rid="scirp.64735-ref19">19</xref>] .</p><p>Definition 4.4 For given two state spaces X and Y, a fuzzy relation P from X to Y is a fuzzy set on the product<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x193.png" xlink:type="simple"/></inline-formula>. We write <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x193.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x194.png" xlink:type="simple"/></inline-formula> for the space of fuzzy relations from X to Y. The order between fuzzy relations is defined as <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x193.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x194.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x195.png" xlink:type="simple"/></inline-formula> if and only if <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x193.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x194.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x195.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x196.png" xlink:type="simple"/></inline-formula> for all <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x193.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x194.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x195.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x196.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x197.png" xlink:type="simple"/></inline-formula> for given two fuzzy relations P and Q.</p><p>The join <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x198.png" xlink:type="simple"/></inline-formula> and meet <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x198.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x199.png" xlink:type="simple"/></inline-formula> of a family <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x198.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x199.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x200.png" xlink:type="simple"/></inline-formula> of fuzzy relations on <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x198.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x199.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x200.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x201.png" xlink:type="simple"/></inline-formula> are given by</p><disp-formula id="scirp.64735-formula474"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x202.png"  xlink:type="simple"/></disp-formula><p>For the algebraic structure of<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x203.png" xlink:type="simple"/></inline-formula>, we have that <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x203.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x204.png" xlink:type="simple"/></inline-formula> is a completely distributive lattice. Its bottom (the empty relation), denoted by False, and top (the complete relation), denoted by True are defined by</p><disp-formula id="scirp.64735-formula475"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x205.png"  xlink:type="simple"/></disp-formula><p>for <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x206.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x206.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x207.png" xlink:type="simple"/></inline-formula>. The identity function over the state space X is represented by the relation <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x206.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x207.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x208.png" xlink:type="simple"/></inline-formula> defined as <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x206.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x207.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x208.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x209.png" xlink:type="simple"/></inline-formula> if <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x206.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x207.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x208.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x209.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x210.png" xlink:type="simple"/></inline-formula> and 0 otherwise. We often omit the subscript X.</p><p>Definition 4.5 [<xref ref-type="bibr" rid="scirp.64735-ref12">12</xref>] [<xref ref-type="bibr" rid="scirp.64735-ref20">20</xref>] For fuzzy relations <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x211.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x211.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x212.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x211.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x212.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x213.png" xlink:type="simple"/></inline-formula>composition where T is a triangular norm: <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x211.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x212.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x213.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x214.png" xlink:type="simple"/></inline-formula>is defined by</p><disp-formula id="scirp.64735-formula476"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x215.png"  xlink:type="simple"/></disp-formula><p>for all <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x216.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x216.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x217.png" xlink:type="simple"/></inline-formula>.</p><p>Some basic properties of composition are collected in the next proposition. We omit the straightforward proofs.</p><p>Proposition 4.6 Let <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x218.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x218.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x219.png" xlink:type="simple"/></inline-formula> Then</p><p>(1)<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x220.png" xlink:type="simple"/></inline-formula>;</p><p>(2)<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x221.png" xlink:type="simple"/></inline-formula>;</p><p>(3)<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x222.png" xlink:type="simple"/></inline-formula>; and</p><p>(4)<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x223.png" xlink:type="simple"/></inline-formula>. ,</p><p>Remark 2. <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x224.png" xlink:type="simple"/></inline-formula>holds, but <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x224.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x225.png" xlink:type="simple"/></inline-formula> does not hold in general. The following is an example.</p><p>Let <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x226.png" xlink:type="simple"/></inline-formula> for all <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x226.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x227.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x226.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x227.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x228.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x226.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x227.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x228.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x229.png" xlink:type="simple"/></inline-formula> for all <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x226.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x227.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x228.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x229.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x230.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x226.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x227.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x228.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x229.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x230.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x231.png" xlink:type="simple"/></inline-formula>. And let &#196; be the corresponding adjoint of implicator of Wang’s. Then</p><disp-formula id="scirp.64735-formula477"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x232.png"  xlink:type="simple"/></disp-formula><p>However,</p><disp-formula id="scirp.64735-formula478"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x233.png"  xlink:type="simple"/></disp-formula><p>This shows that <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x234.png" xlink:type="simple"/></inline-formula> does not hold.</p><p>Further, the following proposition is easily gotten.</p><p>Proposition 4.7 Let<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x235.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x235.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x236.png" xlink:type="simple"/></inline-formula>and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x235.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x236.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x237.png" xlink:type="simple"/></inline-formula>, then<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x235.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x236.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x237.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x238.png" xlink:type="simple"/></inline-formula>. ,</p></sec></sec><sec id="s5"><title>5. Basic Predicate Transformers</title><p>This section will introduce two basic fuzzy predicate transformers through an update method applied to fuzzy relations and analysis them through adjoint pairs.</p><sec id="s5_1"><title>5.1. Angelic and Demonic Update</title><p>As documented in [<xref ref-type="bibr" rid="scirp.64735-ref7">7</xref>] , for a given Boolean relation P from X to Y and a Boolean predicate<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x239.png" xlink:type="simple"/></inline-formula>. The angelic update <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x239.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x240.png" xlink:type="simple"/></inline-formula> and the demonic update <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x239.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x240.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x241.png" xlink:type="simple"/></inline-formula> are formally defined as follows:</p><disp-formula id="scirp.64735-formula479"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x242.png"  xlink:type="simple"/></disp-formula><p>Ying in [<xref ref-type="bibr" rid="scirp.64735-ref8">8</xref>] defines the notions of angelic and demonic updates in the probabilistic case by translating the two logical formulae above into probabilistic logic (see Definition 6, page 334).</p><p>Here, we define these updates in the possibility case. Since the existential and universal quantifiers can be interpreted by supremum and infimum, respectively, one arrives at the following definition.</p><p>Definition 5.1 Let X and Y be two state spaces and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x243.png" xlink:type="simple"/></inline-formula>. For all <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x243.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x244.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x243.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x244.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x245.png" xlink:type="simple"/></inline-formula>, the angelic update <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x243.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x244.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x245.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x246.png" xlink:type="simple"/></inline-formula> and the demonic update <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x243.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x244.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x245.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x246.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x247.png" xlink:type="simple"/></inline-formula> are respectively defined by</p><disp-formula id="scirp.64735-formula480"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x248.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x249.png" xlink:type="simple"/></inline-formula> is an adjoint pair.</p><p>Both angelic and demonic updates define fuzzy predicate transformers from state space X to state space Y. That is, for any fuzzy predicate (postcondition)<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x250.png" xlink:type="simple"/></inline-formula>, we get a fuzzy predicate (precondition) <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x250.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x251.png" xlink:type="simple"/></inline-formula>(resp.<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x250.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x251.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x252.png" xlink:type="simple"/></inline-formula>)<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x250.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x251.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x252.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x253.png" xlink:type="simple"/></inline-formula>. We call in initial state x, the angelic update <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x250.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x251.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x252.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x253.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x254.png" xlink:type="simple"/></inline-formula> establishes the postcondition a</p><p>with the degree <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x255.png" xlink:type="simple"/></inline-formula> if the state x satisfies fuzzy predicate <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x255.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x256.png" xlink:type="simple"/></inline-formula> with the degree<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x255.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x256.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x257.png" xlink:type="simple"/></inline-formula>, which is just meaning of membership degree of the state x belonging to fuzzy set<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x255.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x256.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x257.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x258.png" xlink:type="simple"/></inline-formula>.</p><p>Remark. The angelic and demonic updates are similar to the definition of upper and lower fuzzy rough approximation in [<xref ref-type="bibr" rid="scirp.64735-ref19">19</xref>] , but a little difference.</p><disp-formula id="scirp.64735-formula481"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x259.png"  xlink:type="simple"/></disp-formula><p>where A is a fuzzy set in X. We can see that if P is fuzzy relation in<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x260.png" xlink:type="simple"/></inline-formula>, then <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x260.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x261.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x260.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x261.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x262.png" xlink:type="simple"/></inline-formula> are functions from <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x260.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x261.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x262.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x263.png" xlink:type="simple"/></inline-formula> to<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x260.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x261.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x262.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x263.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x264.png" xlink:type="simple"/></inline-formula>. However, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x260.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x261.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x262.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x263.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x264.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x265.png" xlink:type="simple"/></inline-formula>and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x260.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x261.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x262.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x263.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x264.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x265.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x266.png" xlink:type="simple"/></inline-formula> are functions from <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x260.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x261.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x262.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x263.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x264.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x265.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x266.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x267.png" xlink:type="simple"/></inline-formula> to<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x260.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x261.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x262.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x263.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x264.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x265.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x266.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x267.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x268.png" xlink:type="simple"/></inline-formula>.</p><p>In next section, we will establish the fuzzy predicate transformer semantics of contract statements. Here, we discuss some properties of these basic updates.</p><p>Proposition 5.2<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x269.png" xlink:type="simple"/></inline-formula>. □</p><p>Proposition 5.3 Let<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x270.png" xlink:type="simple"/></inline-formula>. Then</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x271.png" xlink:type="simple"/></inline-formula>if and only if <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x271.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x272.png" xlink:type="simple"/></inline-formula> if and only if<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x271.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x272.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x273.png" xlink:type="simple"/></inline-formula>. □</p><p>Proof. We only prove <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x274.png" xlink:type="simple"/></inline-formula> implies<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x274.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x275.png" xlink:type="simple"/></inline-formula>. Let<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x274.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x275.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x276.png" xlink:type="simple"/></inline-formula>. Then for any <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x274.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x275.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x276.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x277.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x274.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x275.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x276.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x277.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x278.png" xlink:type="simple"/></inline-formula>,<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x274.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x275.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x276.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x277.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x278.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x279.png" xlink:type="simple"/></inline-formula>. That is,</p><disp-formula id="scirp.64735-formula482"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x280.png"  xlink:type="simple"/></disp-formula><p>In particular, we take<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x281.png" xlink:type="simple"/></inline-formula>, then we have<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x281.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x282.png" xlink:type="simple"/></inline-formula>. By the arbitrariness of<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x281.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x282.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x283.png" xlink:type="simple"/></inline-formula>, we get<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x281.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x282.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x283.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x284.png" xlink:type="simple"/></inline-formula>. □</p><p>This proposition tells us that the order is preserved by the angelic update and reversed by the demonic update.</p><p>The following two propositions present homomorphic properties of the angelic and demonic update operators on fuzzy relations.</p><p>Proposition 5.4 Let <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x285.png" xlink:type="simple"/></inline-formula> be three state spaces, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x285.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x286.png" xlink:type="simple"/></inline-formula>and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x285.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x286.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x287.png" xlink:type="simple"/></inline-formula>. Then</p><disp-formula id="scirp.64735-formula483"><label>(1)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/4-7402969x288.png"  xlink:type="simple"/></disp-formula><p>(2)<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x289.png" xlink:type="simple"/></inline-formula>.</p><p>Proof. We only prove (2), the proof of (1) being similar. For <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x290.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x290.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x291.png" xlink:type="simple"/></inline-formula>, we have:</p><disp-formula id="scirp.64735-formula484"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x292.png"  xlink:type="simple"/></disp-formula><p>□</p><p>The above proposition shows that the updates and the composition of fuzzy relations commute, whereas the next proposition indicates that the angelic update preserves unions of fuzzy relations, and the demonic update changes a union of fuzzy relations into a meet.</p><p>Proposition 5.5 Let <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x293.png" xlink:type="simple"/></inline-formula> be state spaces and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x293.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x294.png" xlink:type="simple"/></inline-formula>. Then</p><p>(1)<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x295.png" xlink:type="simple"/></inline-formula>;</p><p>(2)<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x296.png" xlink:type="simple"/></inline-formula>.</p><p>Proof. The straightforward proofs use Definition 5.1 and properties of &#196; and &#174;. □</p></sec><sec id="s5_2"><title>5.2. Analysis</title><p>In this subsection, we will analysis angelic and demonic update through different adjoint pairs. We wish to choose more appropriate those to apply contract language.</p><p>Usually, in some game, we always assume “I” am angel and opponent is demon. I always wants to win and prevents opponent to win. For fuzzy situation, I always tries to maximize the possibility of wining and minimize possibility of winning of the opponent. Since, in this paper, we discuss contract language only under regular residuated lattice, we compare Łukasiewicz’s adjoint pair with Wang’s adjoint pair for the sake of familiarity.</p><p>For a given postcondition <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x297.png" xlink:type="simple"/></inline-formula> and a state<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x297.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x298.png" xlink:type="simple"/></inline-formula>, the angelic update <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x297.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x298.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x299.png" xlink:type="simple"/></inline-formula> in state x establishes the postcondition a with the degree of<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x297.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x298.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x299.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x300.png" xlink:type="simple"/></inline-formula>. By the definitions of &#196; in Łukasiewicz’s adjoint pair and Wang’s adjoint pair, this degree is equal to</p><disp-formula id="scirp.64735-formula485"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x301.png"  xlink:type="simple"/></disp-formula><p>and</p><disp-formula id="scirp.64735-formula486"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x302.png"  xlink:type="simple"/></disp-formula><p>respectively.</p><p>It is easy to verify that for any<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x303.png" xlink:type="simple"/></inline-formula>,<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x303.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x304.png" xlink:type="simple"/></inline-formula>. Hence, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x303.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x304.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x305.png" xlink:type="simple"/></inline-formula>, where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x303.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x304.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x305.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x306.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x303.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x304.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x305.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x306.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x307.png" xlink:type="simple"/></inline-formula> refer to, in the definition of angelic update, the product &#196; taken is in Wang’s adjoint pair and Łukasiewicz’s adjoint pair, respectively. That is, for me, the possibility of winning (i.e. satisfying a) when using &#196; in Wang’s adjoint pair is greater than or equal to that when using &#196; in Łukasiewicz’s adjoint pair for initial state x.</p><p>On the other hand, the demonic update <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x308.png" xlink:type="simple"/></inline-formula> in state x establishes the postcondition a with degree of<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x308.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x309.png" xlink:type="simple"/></inline-formula>. By the definitions of &#174; in Łukasiewicz’s adjoint pair and Wang’s adjoint pair, this degree is equal to</p><disp-formula id="scirp.64735-formula487"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x310.png"  xlink:type="simple"/></disp-formula><p>and</p><disp-formula id="scirp.64735-formula488"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x311.png"  xlink:type="simple"/></disp-formula><p>respectively.</p><p>Clearly, for any<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x312.png" xlink:type="simple"/></inline-formula>,<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x312.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x313.png" xlink:type="simple"/></inline-formula>. Hence, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x312.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x313.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x314.png" xlink:type="simple"/></inline-formula>, where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x312.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x313.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x314.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x315.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x312.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x313.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x314.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x315.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x316.png" xlink:type="simple"/></inline-formula> refer to, in the definition of demonic update, the implicator &#174; taken is in Wang’s adjoint pair and Łukasiewicz’s adjoint pair, respectively. That is, for opponent, the possibility of winning (i.e. satisfying a) when using &#174; in Wang’s adjoint pair is smaller than or equal to that when using &#174; in Łukasiewicz’s adjoint pair for initial state x.</p><p>Hence, considering the previous two factors, it seems more appropriate to use Wang’s adjoint pair in contract language.</p></sec></sec><sec id="s6"><title>6. Fuzzy Semantics of Contract Language</title><p>Based on the previous discussion, we propose the fuzzy predicate transformer semantics of the contract language. The syntax of contract statements is given by</p><disp-formula id="scirp.64735-formula489"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x317.png"  xlink:type="simple"/></disp-formula><p>Here P is a fuzzy relation term and I a set of higher-order logic which is simply thought of as an index set.</p><p>Definition 6.1 The fuzzy predicate transformer semantics <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x318.png" xlink:type="simple"/></inline-formula> of a contract statement S from X to Y is defined to be a fuzzy predicate transformer which is inductively defined as follows:</p><disp-formula id="scirp.64735-formula490"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x319.png"  xlink:type="simple"/></disp-formula><p>We are supposed to give a contract statement S which is described by a fuzzy relation P from state space X to state space Y. These semantics of the angelic update <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x320.png" xlink:type="simple"/></inline-formula> and the demonic update <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x320.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x321.png" xlink:type="simple"/></inline-formula> are respectively defined as the angelic update <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x320.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x321.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x322.png" xlink:type="simple"/></inline-formula> and the demonic update<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x320.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x321.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x322.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x323.png" xlink:type="simple"/></inline-formula>. Both map postconditions to preconditions.</p><p>Now, we continue the example in section three. Fuzzy relations from X to Y are given in <xref ref-type="table" rid="table2">Table 2</xref>.</p><table-wrap id="table2" ><label><xref ref-type="table" rid="table2">Table 2</xref></label><caption><title> The fuzzy relation between clients and servers</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >x\y</th><th align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x324.png" xlink:type="simple"/></inline-formula></th><th align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x325.png" xlink:type="simple"/></inline-formula></th><th align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x326.png" xlink:type="simple"/></inline-formula></th><th align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x327.png" xlink:type="simple"/></inline-formula></th><th align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x328.png" xlink:type="simple"/></inline-formula></th></tr></thead><tr><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x329.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >1</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td></tr><tr><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x330.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x331.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >1</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x332.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x333.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x334.png" xlink:type="simple"/></inline-formula></td></tr><tr><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x335.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x336.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x337.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >1</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x338.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x339.png" xlink:type="simple"/></inline-formula></td></tr><tr><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x340.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x341.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x342.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x343.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >1</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x344.png" xlink:type="simple"/></inline-formula></td></tr><tr><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x345.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >1</td></tr></tbody></table></table-wrap><p>R2</p><p>A postcondition a means the possibilities that the servers can be free to download the film “Gone with the wind”, which can be given as a fuzzy predicate as follows.</p><disp-formula id="scirp.64735-formula491"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x368.png"  xlink:type="simple"/></disp-formula><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x369.png" xlink:type="simple"/></inline-formula>means the possibility 0.2 that the server <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x369.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x370.png" xlink:type="simple"/></inline-formula> can be free to download the film `Gone with the wind’.</p><p>If we take &#174; and &#196; in the demonic and angelic update to Wang implicator and its adjoint, then through computing, we can get</p><disp-formula id="scirp.64735-formula492"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x371.png"  xlink:type="simple"/></disp-formula><p>and</p><disp-formula id="scirp.64735-formula493"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x372.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.64735-formula494"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x373.png"  xlink:type="simple"/></disp-formula><p>and</p><disp-formula id="scirp.64735-formula495"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x374.png"  xlink:type="simple"/></disp-formula><p>We can see <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x375.png" xlink:type="simple"/></inline-formula> are all fuzzy predicates on the clients set X, which means the possibilities that the clients download the film `Gone with the wind’ by the angelic and demonic approach, respectively. For example, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x375.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x376.png" xlink:type="simple"/></inline-formula>means the possibility 0.8 that the client <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x375.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x376.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x377.png" xlink:type="simple"/></inline-formula> downloads the film “Gone with the wind” by the angelic approach.</p><p>Suppose the contract statement<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x378.png" xlink:type="simple"/></inline-formula>. This statement describes these rules: firstly taking the demon to R1 and then taking the angel to R2 or the demon to R1. Now we get that</p><disp-formula id="scirp.64735-formula496"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x379.png"  xlink:type="simple"/></disp-formula><p>If we have the contract statement<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x380.png" xlink:type="simple"/></inline-formula>, then</p><disp-formula id="scirp.64735-formula497"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x381.png"  xlink:type="simple"/></disp-formula><p>From these two formulae above, we can get that the contract statement S1 will establish the postcondition a (i.e. downloads the film “Gone with the wind”) from the initial state <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x382.png" xlink:type="simple"/></inline-formula> with the possibility degree of 0.75 However, S2 has this degree of 0.83.</p></sec><sec id="s7"><title>7. The Duality</title><p>The angelic and demonic updates are basic strategies of contract language. The angel always wants to win, however, the demon always tries to prevent this winning. Of course, the angel also prevents the demon to win. Therefore, the angel and demon are a pair of opponents which present a duality between them.</p><p>In this section we introduce a duality for fuzzy predicate transformers through negation to confirm this duality. The specification language of Back and von Wright [<xref ref-type="bibr" rid="scirp.64735-ref21">21</xref>] was based on the fundamental dualities between demonic and angelic nondeterminism and between nontermination and miracles. Dijkstra and Scholten [<xref ref-type="bibr" rid="scirp.64735-ref5">5</xref>] introduced a notion of converse predicates that is closely related to duals.</p><p>Definition 7.1 The dual <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x383.png" xlink:type="simple"/></inline-formula> of a fuzzy predicate transformer <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x383.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x384.png" xlink:type="simple"/></inline-formula> is defined by<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x383.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x384.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x385.png" xlink:type="simple"/></inline-formula>, where<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x383.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x384.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x385.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x386.png" xlink:type="simple"/></inline-formula>.</p><p>As<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x387.png" xlink:type="simple"/></inline-formula>, it follows that <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x387.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x388.png" xlink:type="simple"/></inline-formula> and that <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x387.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x388.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x389.png" xlink:type="simple"/></inline-formula> implies <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x387.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x388.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x389.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x390.png" xlink:type="simple"/></inline-formula> If t is monotone, then so is<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x387.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x388.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x389.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x390.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x391.png" xlink:type="simple"/></inline-formula>.</p><p>Definition 7.2 Let<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x392.png" xlink:type="simple"/></inline-formula>. Then</p><p>(1) t has the scaling property, if <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x393.png" xlink:type="simple"/></inline-formula> for all <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x393.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x394.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x393.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x394.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x395.png" xlink:type="simple"/></inline-formula>.</p><p>(2) t has the implication property, if <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x396.png" xlink:type="simple"/></inline-formula> for all <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x396.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x397.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x396.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x397.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x398.png" xlink:type="simple"/></inline-formula>.</p><p>The following proposition shows that the scaling property and the implication property are dual in the sense that an FPT t has the scaling property if and only if <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x399.png" xlink:type="simple"/></inline-formula> has the implication property.</p><p>Proposition 7.3 Let t be an FPT from X to Y. Then, t has the scaling property if and only if its dual <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x400.png" xlink:type="simple"/></inline-formula> has the implication property, where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x400.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x401.png" xlink:type="simple"/></inline-formula> is an adjoint pair.</p><p>Proof. Assume that t has the scaling property, i.e., <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x402.png" xlink:type="simple"/></inline-formula>for any <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x402.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x403.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x402.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x403.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x404.png" xlink:type="simple"/></inline-formula> Then,</p><disp-formula id="scirp.64735-formula498"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x405.png"  xlink:type="simple"/></disp-formula><p>So, the dual <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x406.png" xlink:type="simple"/></inline-formula> has the implication property.</p><p>Conversely, let t have the implication property. Then</p><disp-formula id="scirp.64735-formula499"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x407.png"  xlink:type="simple"/></disp-formula><p>Therefore, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x408.png" xlink:type="simple"/></inline-formula>has the scaling property. □</p><p>Theorem 7.4 (Duality Theorem) The following dualities hold for fuzzy predicate transformers:</p><disp-formula id="scirp.64735-formula500"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x409.png"  xlink:type="simple"/></disp-formula><p>Proof. We only prove <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x410.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x410.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x411.png" xlink:type="simple"/></inline-formula>. Let<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x410.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x411.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x412.png" xlink:type="simple"/></inline-formula>. For any <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x410.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x411.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x412.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x413.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x410.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x411.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x412.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x413.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x414.png" xlink:type="simple"/></inline-formula>,</p><disp-formula id="scirp.64735-formula501"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x415.png"  xlink:type="simple"/></disp-formula><p>Hence<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x416.png" xlink:type="simple"/></inline-formula>.</p><p>Now, let<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x417.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x417.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x418.png" xlink:type="simple"/></inline-formula>and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x417.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x418.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x419.png" xlink:type="simple"/></inline-formula> Then,</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x420.png" xlink:type="simple"/></inline-formula> ,</p><p>Proposition 7.5 Let<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x421.png" xlink:type="simple"/></inline-formula>, then <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x421.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x422.png" xlink:type="simple"/></inline-formula> has the scaling property and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x421.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x422.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x423.png" xlink:type="simple"/></inline-formula> has the implication property.</p><p>Proof. Due to the duality, we only need to prove that <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x424.png" xlink:type="simple"/></inline-formula> has the scaling property. Let <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x424.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x425.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x424.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x425.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x426.png" xlink:type="simple"/></inline-formula>. Then:</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x427.png" xlink:type="simple"/></inline-formula> ,</p></sec><sec id="s8"><title>8. Monotonicity</title><p>In the previous section, we set up the fuzzy predicate transformer semantics of contract statements. It is well- known that not all predicate transformers are interpretations of programming statements. Dijkstra [<xref ref-type="bibr" rid="scirp.64735-ref22">22</xref>] stated that predicate transformers accepted as semantic functions of programming statements are required to satisfy certain healthiness conditions. The basic conditions, that he imposed originally, were strictness, monotonicity, conjunc- tivity and disjunctivity. With respect to possibility computations, we proposed healthiness conditions in [<xref ref-type="bibr" rid="scirp.64735-ref18">18</xref>] (Definition 3.4, p. 2666).</p><p>R. J. Back and J. von Wright in [<xref ref-type="bibr" rid="scirp.64735-ref7">7</xref>] discovered a very interesting theorem, called the Normal Form Theorem, which says that all monotone predicate transformers can be represented in terms of angelic and demonic updates. In this section, we will introduce the notion of strong monotonicity and establish the Normal Form Theorem for fuzzy predicate transformers. which answers what fuzzy predicate transformers can be represented by angelic and demonic updates of fuzzy relations (see, Theorem 8.6 below).</p><p>Definition 8.1 [<xref ref-type="bibr" rid="scirp.64735-ref23">23</xref>] Let X be a state space. For two fuzzy predicates a and b in X, the degree of I-inclusion of a in b is given by</p><disp-formula id="scirp.64735-formula502"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x428.png"  xlink:type="simple"/></disp-formula><p>Note that this notion is also called strength of implication by Ying in [<xref ref-type="bibr" rid="scirp.64735-ref8">8</xref>] .</p><p>For instance, let X be the set of non-negative integers and let<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x429.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x429.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x430.png" xlink:type="simple"/></inline-formula>for all<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x429.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x430.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x431.png" xlink:type="simple"/></inline-formula>, and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x429.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x430.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x431.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x432.png" xlink:type="simple"/></inline-formula> for all<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x429.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x430.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x431.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x432.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x433.png" xlink:type="simple"/></inline-formula>. Then, both a and b are fuzzy predicates on X. We first notice that</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x434.png" xlink:type="simple"/></inline-formula>for <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x434.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x435.png" xlink:type="simple"/></inline-formula> although <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x434.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x435.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x436.png" xlink:type="simple"/></inline-formula> holds for all<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x434.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x435.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x436.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x437.png" xlink:type="simple"/></inline-formula>. But, it is reasonable to say that a implies b with a very high degree <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x434.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x435.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x436.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x437.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x438.png" xlink:type="simple"/></inline-formula> very close to 1.</p><p>Definition 8.2 Let X and Y be two state spaces, and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x439.png" xlink:type="simple"/></inline-formula>. Then t is said to be strongly monotone if and only if for all<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x439.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x440.png" xlink:type="simple"/></inline-formula>, we have<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x439.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x440.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x441.png" xlink:type="simple"/></inline-formula>.</p><p>It is easy to see that strong monotonicity implies (weak) monotonicity, but the converse does not hold.</p><p>Proposition 8.3 If FPT t is strongly monotone then so is<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x442.png" xlink:type="simple"/></inline-formula>.</p><p>Proof. Assume that t is a strongly monotone FPT from X to Y. We need to show that the dual FPT <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x443.png" xlink:type="simple"/></inline-formula> is strongly monotone, too. Now, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x443.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x444.png" xlink:type="simple"/></inline-formula>, due to the strong monotonicity of t, we have <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x443.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x444.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x445.png" xlink:type="simple"/></inline-formula> and</p><disp-formula id="scirp.64735-formula503"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x446.png"  xlink:type="simple"/></disp-formula><p>Therefore, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x447.png" xlink:type="simple"/></inline-formula>is a strongly monotone FPT. □</p><p>We will show that strong monotonicity can be derived from (weak) monotonicity and the scaling property.</p><p>Proposition 8.4 Assume that an FPT <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x448.png" xlink:type="simple"/></inline-formula> is monotone. Then, if t has the scaling property or the implication property, then t is strongly monotone.</p><p>Proof. We have to show:<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x449.png" xlink:type="simple"/></inline-formula>. For this, it suffices to show: whenever<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x449.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x450.png" xlink:type="simple"/></inline-formula>, then <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x449.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x450.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x451.png" xlink:type="simple"/></inline-formula> We need to verify it for the case of t being the scaling property. For another case, We can also verify it using the adjoint between &#196; and &#174; in the following induction. But, we like to get this verification by using the duality between scaling and implication (Proposition 7.3 and 8.3).</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x452.png" xlink:type="simple"/></inline-formula> ,</p><p>We now establish the normal form theorem for fuzzy predicate transformers. We first give a theorem which says that updates of all basic statements are strongly monotone and that operations for constructing compound statements also preserve strong monotonicity.</p><p>Theorem 8.5 Strong monotonicity is closed under composition, meet, and join of fuzzy predicate transformers.</p><p>Proof. (1) We prove that meet of fuzzy predicate transformers preserves strong monotonicity. Let <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x453.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x453.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x454.png" xlink:type="simple"/></inline-formula>. Then</p><disp-formula id="scirp.64735-formula504"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x455.png"  xlink:type="simple"/></disp-formula><p>Hence, meets preserve strong monotonicity. Similarly, we can prove that joins of fuzzy predicate transformers preserve strong monotonicity.</p><p>(2) We prove that composition preserves strong monotonicity. Let<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x456.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x456.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x457.png" xlink:type="simple"/></inline-formula>and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x456.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x457.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x458.png" xlink:type="simple"/></inline-formula>. Then</p><disp-formula id="scirp.64735-formula505"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x459.png"  xlink:type="simple"/></disp-formula><p>Hence, composition preserves strong monotonicity. □</p><p>Now we present the Normal Form Theorem for strongly monotone fuzzy predicate transformers.</p><p>Theorem 8.6 (Normal Form Theorem) Let X and Y be two state spaces and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x460.png" xlink:type="simple"/></inline-formula>. Then t is strongly monotone if and only if<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x460.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x461.png" xlink:type="simple"/></inline-formula>, for some fuzzy relations P and Q.</p><p>Proof. The “if” part. By Proposition 7.5, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x462.png" xlink:type="simple"/></inline-formula>has the scaling property and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x462.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x463.png" xlink:type="simple"/></inline-formula> the implication property. As <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x462.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x463.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x464.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x462.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x463.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x464.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x465.png" xlink:type="simple"/></inline-formula> are monotone, Proposition 8.4 implies that <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x462.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x463.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x464.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x465.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x466.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x462.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x463.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x464.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x465.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x466.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x467.png" xlink:type="simple"/></inline-formula> are strongly monotone.</p><p>The “only if” part. We define fuzzy relations <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x468.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x468.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x469.png" xlink:type="simple"/></inline-formula> as follows:</p><disp-formula id="scirp.64735-formula506"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x470.png"  xlink:type="simple"/></disp-formula><p>for all <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x471.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x471.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x472.png" xlink:type="simple"/></inline-formula>. Then we have</p><disp-formula id="scirp.64735-formula507"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x473.png"  xlink:type="simple"/></disp-formula><p>On the other hand, for any<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x474.png" xlink:type="simple"/></inline-formula>, since t is strongly monotone,</p><disp-formula id="scirp.64735-formula508"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x475.png"  xlink:type="simple"/></disp-formula><p>Therefore,</p><disp-formula id="scirp.64735-formula509"><graphic  xlink:href="http://html.scirp.org/file/4-7402969x476.png"  xlink:type="simple"/></disp-formula><p>We have gotten that<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x477.png" xlink:type="simple"/></inline-formula>. Hence<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x477.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402969x478.png" xlink:type="simple"/></inline-formula>. □</p></sec><sec id="s9"><title>9. Conclusion and Further Work</title><p>We have given the fuzzy predicate transformer semantics of contract langauge introduced by Back and von Wright in [<xref ref-type="bibr" rid="scirp.64735-ref7">7</xref>] . Adjoint pair of a residuated lattice is used to define the fuzzy logic connectives: implication and production. In terms of these fuzzy operations, we have defined the fuzzy updates of the angelic and demonic statements in contract language. These two updates are the basis of fuzzy predicate transformers in the sense that strongly monotone fuzzy predicate transformers are just the sequential composition of these angelic and demonic updates of two fuzzy relations, which is called as Normal Form Theorem. Together with the standard strong negation, we have set up the duality of fuzzy predicate transformers. The duality describes the duality between the angel and the demon, which says that the angel and demon in games can change their strategies each other. In the future, we need to consider the denotational [<xref ref-type="bibr" rid="scirp.64735-ref1">1</xref>] and operational semantics [<xref ref-type="bibr" rid="scirp.64735-ref2">2</xref>] in the frame- work of fuzziness. Moreover, those semantics of contract language should be considered by taking into count the conditional structure if b then S<sub>1</sub> else S<sub>2</sub> and loop structure while b do S.</p><p>Recently, Wang and Zhou [<xref ref-type="bibr" rid="scirp.64735-ref24">24</xref>] establish the foundation of quantitative logic. Pei [<xref ref-type="bibr" rid="scirp.64735-ref25">25</xref>] investigates the full implication of fuzzy reasoning. Both will promote the research on the quantitative semantics with respect to fuzzy programming language.</p></sec><sec id="s10"><title>Acknowledgements</title><p>The first author was supported by the Zhejiang Provincial Natural Science Foundation of China (LY13F020046) and Zhejiang Provincial Education Department Fund of China (Y201223001). The second author acknowledges support from the Natural Science Foundation of China (No. 61370100) and the Shanghai Leading Academic Discipline Project (B412).</p></sec><sec id="s11"><title>Cite this paper</title><p>HengyangWu,YixiangChen, (2016) Fuzzy Semantics of Contract Language. Applied Mathematics,07,422-439. doi: 10.4236/am.2016.75039</p></sec><sec id="s12"><title>NOTES</title></sec></body><back><ref-list><title>References</title><ref id="scirp.64735-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Stoy, J.E. (1977) Denotational Semantics: The Scott-Strachey Approach to Programming Language Theory. MIT Press, Cambridge, MA.</mixed-citation></ref><ref id="scirp.64735-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Plotkin, G.D. (1981) An Structural Approach to Operational Semantics. Technical Report DAIMI FN-19, Computer Science Department, Aarhus University.</mixed-citation></ref><ref id="scirp.64735-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Hoare, C.A.R. (1969) An Axiomatic Basis for Computer Programming. Communications of the ACM, 12, 576-580. http://dx.doi.org/10.1145/363235.363259</mixed-citation></ref><ref id="scirp.64735-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Van Horebeek, I. and Lewi, J. (1989) Algebraic Specifications in Software Engineering an Introduction. Springer-Verlag, Berlin Heidelberg, New York.</mixed-citation></ref><ref id="scirp.64735-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Dijkstra, E.W. and Scholten, C.S. (1990) Predicate Calculus and Programs Semantics. Springer-Verlag, New York.</mixed-citation></ref><ref id="scirp.64735-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Hoare, C.A.R. (1978) Some Properties of Predicate Transformers. Journal of the Association for Computing Machinery, 25, 461-480. http://dx.doi.org/10.1145/322077.322088</mixed-citation></ref><ref id="scirp.64735-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Back, R.-J. and von Wright, J. (1998) Refinement Calculus: A Systematic Introduction. Springer-Verlag, New York. http://dx.doi.org/10.1007/978-1-4612-1674-2</mixed-citation></ref><ref id="scirp.64735-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Ying, M.S. (2003) Reasoning about Probabilistic Sequential Programs in a Probabilistic Logic. Acta Informatica, 39, 315-389. http://dx.doi.org/10.1007/s00236-003-0113-z</mixed-citation></ref><ref id="scirp.64735-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Morgan, C., McIver, A.K. and Seidel, K. (1996) Probabilistic Predicate Transformers. ACM Transactions on Programming Languages and Systems, 18, 325-353. http://dx.doi.org/10.1145/229542.229547</mixed-citation></ref><ref id="scirp.64735-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">He, J., Seidel, K. and McIver, A.K. (1997) Probabilistic Models for the Guarded Command Language. Science of Computer Programming, 28, 171-192. http://dx.doi.org/10.1016/S0167-6423(96)00019-6</mixed-citation></ref><ref id="scirp.64735-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Chen, Y.X. and Jung, A. (2004) An Introduction to Fuzzy Predicate Transformers. The Third International Symposium on Domain Theory, Xi’an, 10-24 May 2004.</mixed-citation></ref><ref id="scirp.64735-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Zadeh, L.A. (1965) Fuzzy Sets. Information and Control, 8, 338-353. http://dx.doi.org/10.1016/S0019-9958(65)90241-X</mixed-citation></ref><ref id="scirp.64735-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Dilworth, R.P. and Ward, N. (1939) Residuated Lattices. Transactions of the American Mathematical Society, 45, 335-354. http://dx.doi.org/10.1090/S0002-9947-1939-1501995-3</mixed-citation></ref><ref id="scirp.64735-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Daňková, M. (2010) Approximation of Extensional Fuzzy Relations over a Residuated Lattice. Fuzzy Sets and Systems, 161, 1973-1991. http://dx.doi.org/10.1016/j.fss.2010.03.011</mixed-citation></ref><ref id="scirp.64735-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">She, Y.H. and Wang, G.J. (2009) An Axiomatic Approach of Fuzzy Rough Sets Based on Residuated Lattices. Computers and Mathematics with Applications, 58, 189-201. http://dx.doi.org/10.1016/j.camwa.2009.03.100</mixed-citation></ref><ref id="scirp.64735-ref16"><label>16</label><mixed-citation publication-type="other" xlink:type="simple">Wang, G.J. (1999) On the Logic Foundation of Fuzzy Reasoning. Information Sciences, 117, 47-88. http://dx.doi.org/10.1016/S0020-0255(98)10103-2</mixed-citation></ref><ref id="scirp.64735-ref17"><label>17</label><mixed-citation publication-type="other" xlink:type="simple">Wang, G.J. and Wang, H. (2001) Non-Fuzzy Versions of Fuzzy Reasoning in Classical Logics. Information Sciences, 138, 211-236. http://dx.doi.org/10.1016/S0020-0255(01)00131-1</mixed-citation></ref><ref id="scirp.64735-ref18"><label>18</label><mixed-citation publication-type="other" xlink:type="simple">Chen, Y.X. and Wu, H.Y. (2008) Domain Semantics of Possibility Computations. Information Sciences, 178, 2661-2679. http://dx.doi.org/10.1016/j.ins.2008.01.016</mixed-citation></ref><ref id="scirp.64735-ref19"><label>19</label><mixed-citation publication-type="book" xlink:type="simple">Nachtegael, M., De Cock, M., Van der Weken, D. and Kerre, E.E. (2002) Fuzzy Relational Images in Computer Science. In: de Swart, H., Ed., Lecture Notes in Computer Science, Vol. 2561, Springer, Berlin, 134-151. http://dx.doi.org/10.1007/3-540-36280-0_10</mixed-citation></ref><ref id="scirp.64735-ref20"><label>20</label><mixed-citation publication-type="book" xlink:type="simple">Bandler, W. and Kohout, L.J. (1980) Fuzzy Relational Products as a tool for Analysis and Synthesis of the Behaviour of Complex Natural and Artificial Systems. In: Wang, S.K. and Chang, P.P., Eds., Fuzzy Sets: Theory and Application to Policy Analysis and Information Systems, Plenum Press, New York and London, 341-367. http://dx.doi.org/10.1007/978-1-4684-3848-2_26</mixed-citation></ref><ref id="scirp.64735-ref21"><label>21</label><mixed-citation publication-type="other" xlink:type="simple">Back, R.-J. and von Wright, J. (1990) Duality in Specification Languages: A Lattice-Theoretical Approach. Acta Informatica, 27, 583-625. http://dx.doi.org/10.1007/BF00259469</mixed-citation></ref><ref id="scirp.64735-ref22"><label>22</label><mixed-citation publication-type="other" xlink:type="simple">Dijkstra, E.W. (1976) A Discipline of Programming. Prentice Hall, Inc., Englewood Cliffs, 1976.</mixed-citation></ref><ref id="scirp.64735-ref23"><label>23</label><mixed-citation publication-type="other" xlink:type="simple">Bandler, W. and Kohout, L.J. (1980) Fuzzy Power Sets and Fuzzy Implication Operators. Fuzzy Sets and Systems, 4, 13-30. http://dx.doi.org/10.1016/0165-0114(80)90060-3</mixed-citation></ref><ref id="scirp.64735-ref24"><label>24</label><mixed-citation publication-type="other" xlink:type="simple">Wang, G.J. and Zhou, H.J. (2009) Quantitative Logic. Information Sciences, 179, 226-247. http://dx.doi.org/10.1016/j.ins.2008.09.008</mixed-citation></ref><ref id="scirp.64735-ref25"><label>25</label><mixed-citation publication-type="other" xlink:type="simple">Pei, D.W. (2008) Unified Full Implication Algorithms of Fuzzy Reasoning. Information Sciences, 178, 520-530. http://dx.doi.org/10.1016/j.ins.2007.09.003</mixed-citation></ref></ref-list></back></article>