Changes between Version 16 and Version 17 of ContractReduction


Ignore:
Timestamp:
07/21/14 16:02:43 (12 years ago)
Author:
siegel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ContractReduction

    v16 v17  
    7777Claim: for any process p, if AMPLE(s,p) contains a process with at least one enabled transition in s,
    7878then it defines an ample set, i.e., from any execution departing from s, no transition dependent
    79 on a transition from a proc in AMPLE(s,p) can occur without a transition from a proc in AMPLE(s,p) occurring first.
     79on a transition from a proc in AMPLE(s,p) can occur without a transition from a proc in
     80AMPLE(s,p) occurring first.
    8081
    81 Proof:  Let AMPLE=AMPLE(s,p).
     82=== Proof of Claim ===
     83
     84Let AMPLE=AMPLE(s,p).
     85
    8286Let
    8387
     
    98102from a proc in A(s,S0,q0) occurring first.  Hence for some i, t_i is from a proc in A(s,S0,q0), and therefore t_i is in AMPLE,
    99103contradicting the ASSUMPTION.  QED.
     104
     105=== Use of `$depends` ===
     106
     107In the case where S is a function call, the `$depends` clause in the function contract specifies the
     108set A(s,S,p) as follows: first the depends clause specifies a predicate d(s,q) where s is a state and
     109q is a proc.  Then
     110
     111A(s,S,p) = {p} U {q|d(s,q)}
     112
     113
    100114
    101115