Algorithms And Data Structures

Get Verification of Sequential and Concurrent Programs PDF

By Krzysztof R. Apt

ISBN-10: 184882744X

ISBN-13: 9781848827448

ISBN-10: 1848827458

ISBN-13: 9781848827455

Computer courses are an integral a part of a number of the structures we depend upon in our day-by-day lives, and the right kind functioning and security of those platforms is of paramount significance. the improvement of equipment that be certain software correctness is for that reason a key problem for computing device scientists.

This generally expected 3rd variation of Verification of Sequential and Concurrent Programs offers a scientific exploration of 1 of the most typical techniques to application verification, referred to as the "assertional" method. Following the profitable formulation of prior variants, this strategy is utilized to deterministic and nondeterministic sequential courses of various complexity, including either parallel and disbursed concurrent courses. The increased content material of this thorough re-creation additionally contains assurance of the verification of object-oriented courses. for every category of courses, the authors introduce an operational semantics and facts platforms for the verification of partial and overall correctness, justified officially in corresponding soundness theorems. Case experiences provided through the publication show using the evidence platforms to officially ascertain options to classical difficulties, similar to sorting, manipulation of lists, producer/consumer and mutual exclusion.

Topics and Features:

  • Includes a radical introductory part, familiarizing the reader with the fundamental recommendations and notation utilized in the booklet, in addition to the book’s structure
  • Explains Hoare’s method of software verification for while courses, offering a correctness facts of a software for partitioning an array (NEW)
  • Concludes every one bankruptcy with routines and bibliographic feedback for additional reading
  • Discusses recursive courses that reach deterministic courses via parameterless tactics and approaches with the call-by-value parameter mechanism, and gives a correctness evidence of the quicksort application (NEW)
  • Explores nondeterministic and allotted courses, offering a verification approach to allotted courses in keeping with a change into nondeterministic ones
  • Presents object-oriented courses, with a spotlight at the major features of items (NEW)
  • Investigates parallel courses with shared variables and with synchronization
  • Studies the problem of equity within the framework of nondeterministic courses, utilizing an technique in accordance with the tactic of particular schedulers
  • Includes a Foreword through Professor Amir Pnueli

This glossy replace of a vintage, reader-friendly textbook is ideal for an introductory path on application verification for complex undergraduate or graduate scholars, and should even be used as an creation to operational semantics. Outlines for attainable classes are instructed within the Preface to the ebook. This e-book is exclusive in addressing assertional verification of all crucial sessions of critical courses: while courses, recursive courses, object-oriented courses, nondeterministic courses, parallel courses, and dispensed programs.

Show description

Read Online or Download Verification of Sequential and Concurrent Programs PDF

Similar algorithms and data structures books

Read e-book online Selected works. - Information theory and the theory of PDF

This quantity is the final of 3 volumes dedicated to the paintings of 1 of the main well known twentieth century mathematicians. all through his mathematical paintings, A. N. Kolmogorov (1903-1987) confirmed nice creativity and flexibility and his wide-ranging experiences in lots of varied parts, ended in the answer of conceptual and basic difficulties and the posing of latest, vital questions.

New PDF release: Algorithmen und Datenstrukturen (German Edition)

In diesem Buch werden alle Themen ausführlich behandelt, die üblicherweise den Kern des Curriculums zur Standardvorlesung "Algorithmen und Datenstrukturen" bilden. Daher hat sich dieses Buch einen festen Platz im Vorlesungsbetrieb erobert. Das Themenspektrum reicht von Algorithmen zum Suchen und Sortieren über Adreßberechnungsmethoden und Listenstrukturen (Bäume aller artwork) bis zu Geometrischen Algorithmen und Graphenalgorithmen.

New PDF release: Syntax-Directed Semantics: Formal Models Based on Tree

The topic of this ebook is the research of tree transducers. Tree trans­ ducers have been brought in theoretical computing device technological know-how with a purpose to research the overall homes of formal types which offer semantics to context-free languages in a syntax-directed manner. Such formal versions comprise characteristic grammars with synthesized attributes merely, denotational semantics, and at­ tribute grammars (with synthesized and inherited attributes).

Extra resources for Verification of Sequential and Concurrent Programs

Example text

We extend here Dijkstra’s approach to program development to the guarded commands language, the class of programs for which this method was originally proposed. Finally, we explain how parallel programs can be transformed into equivalent nondeterministic ones although at the price of introducing additional control variables. In Chapter 11 we study a class of distributed programs that is a subset of Communicating Sequential Processes (CSP) of Hoare [1978,1985]. CSP is the kernel of the programming language OCCAM, see INMOS [1984], developed for programming distributed transputer systems.

In other words, A ⊆ B if a ∈ B for every a ∈ A, 22 2 Preliminaries A ∩ B = {a | a ∈ A and b ∈ B}, A ∪ B = {a | a ∈ A or b ∈ B}, A − B = {a | a ∈ A and b ∈ B}. Note that A = B if both A ⊆ B and A ⊇ B. A and B are disjoint if they have no element in common, that is, if A ∩ B = ∅. The definitions of intersection and union can be generalized to the case of more than two sets. Let Ai be a set for every element i of some other set I. Then i∈I i∈I Ai = {a | a ∈ Ai for all i ∈ I}, Ai = {a | a ∈ Ai for some i ∈ I}.

R is called transitive if for all a, b, c ∈ A whenever (a, b) ∈ R and (b, c) ∈ R then also (a, c) ∈ R. The transitive, reflexive closure R∗ of a relation R on a set A is the smallest transitive and reflexive relation on A that contains R as a subset. The relational composition R1 ◦ R2 of relations R1 and R2 on a set A is defined as follows: R1 ◦ R2 = {(a, c) | there exists b ∈ A with (a, b) ∈ R1 and (b, c) ∈ R2 }. For any natural number n the n-fold relational composition Rn of a relation R on a set A is defined inductively as follows: R0 = {(a, a) | a ∈ A}, Rn+1 = Rn ◦ R.

Download PDF sample

Verification of Sequential and Concurrent Programs by Krzysztof R. Apt


by Mark
4.2

Rated 4.00 of 5 – based on 4 votes