Skip to main content Accessibility help
×
Hostname: page-component-7bb8b95d7b-lvwk9 Total loading time: 0 Render date: 2024-10-03T04:31:31.799Z Has data issue: false hasContentIssue false

6 - Structuring Specifications

Published online by Cambridge University Press:  04 August 2010

Jim Davies
Affiliation:
University of Oxford
Get access

Summary

ABSTRACTION

If we wish to produce a readable specification of a large system, then we must take care to present our description in a clear, structured fashion. At each level of abstraction, we identify the interfaces between system components and conceal any events which are not of interest. We express our specification as a series of service specifications, each describing the service provided by a particular component of the system. In this way, we may refine a description of the service provided by a system towards a satisfactory implementation.

The hiding operator provides the mechanism for abstraction in timed CSP; the expression P\ A denotes a process that behaves as P, except that

  • events from A occur as soon as they become available

  • only events from outside A are observed

In section 5.2.8 we gave an inference rule for this operator that was easy to derive, but difficult to apply. We can achieve a significant reduction in complexity if we separate the concerns of concealment and scheduling. To this end, we define a predicate actA which holds of any A-active behaviour:

Definition 6.1 actA(s, X) ≙ [0, end(s, X)) × AX

A behaviour (s, X) is A-active if all events from set A occur as soon as they become available. If we wish to establish that P\A satisfies a specification S(s, X), it is sufficient to show that

  • S(s, X) holds for all of the A-active behaviours of P

  • S(s, X) is unaffected by the concealment of events from A

The second condition is satisfied if the truth of the specification is unaffected by the removal of A's events from the trace and refusal.

Type
Chapter
Information
Publisher: Cambridge University Press
Print publication year: 1993

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

  • Structuring Specifications
  • Jim Davies, University of Oxford
  • Book: Specification and Proof in Real Time CSP
  • Online publication: 04 August 2010
  • Chapter DOI: https://doi.org/10.1017/CBO9780511569760.008
Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

  • Structuring Specifications
  • Jim Davies, University of Oxford
  • Book: Specification and Proof in Real Time CSP
  • Online publication: 04 August 2010
  • Chapter DOI: https://doi.org/10.1017/CBO9780511569760.008
Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

  • Structuring Specifications
  • Jim Davies, University of Oxford
  • Book: Specification and Proof in Real Time CSP
  • Online publication: 04 August 2010
  • Chapter DOI: https://doi.org/10.1017/CBO9780511569760.008
Available formats
×