𝔖 Bobbio Scriptorium
✦   LIBER   ✦

Type inference and strong static type checking for Promela

✍ Scribed by Alastair F. Donaldson; Simon J. Gay


Publisher
Elsevier Science
Year
2010
Tongue
English
Weight
750 KB
Volume
75
Category
Article
ISSN
0167-6423

No coin nor oath required. For personal study only.

✦ Synopsis


The Spin model checker and its specification language Promela have been used extensively in industry and academia to check the logical properties of distributed algorithms and protocols. Model checking with Spin involves reasoning about a system via an abstract Promela specification, thus the technique depends critically on the soundness of this specification. Promela includes a rich set of data types including first-class channels, but the language syntax restricts the declaration of channel types so that it is not generally possible to deduce the complete type of a channel directly from its declaration. We present the design and implementation of Etch, an enhanced type checker for Promela, which uses constraint-based type inference to perform strong type checking of Promela specifications, allowing static detection of errors that Spin would not detect until simulation/verification time, or that Spin may miss completely. We discuss theoretical and practical problems associated with designing a type system and type checker for an existing language, and formalise our approach using a Promela-like calculus. To handle subtyping between base types, we present an extension to a standard unification algorithm to solve a system of equality and subtyping constraints, based on bounded substitutions.


πŸ“œ SIMILAR VOLUMES


A type system for static and dynamic che
✍ Giuseppe Della Penna πŸ“‚ Article πŸ“… 2005 πŸ› Elsevier Science 🌐 English βš– 617 KB

Object-oriented programming is the most used programming paradigm when dealing with large-scale, modular software. In this ΓΏeld, the two leading languages are Java and C++. The former has superior qualities in terms of safety and ease of programming, whereas the latter is often considered an "old" l

Statistical inference for aggregates of
✍ LΓ©opold Simar; Valentin Zelenyuk πŸ“‚ Article πŸ“… 2007 πŸ› John Wiley and Sons 🌐 English βš– 481 KB

## Abstract In this study, we merge results of two recent directions in efficiency analysis researchβ€”aggregation and bootstrapβ€”applied, as an example, to one of the most popular point estimators of individual efficiency: the data envelopment analysis (DEA) estimator. A natural context of the method

Exact likelihood inference for the expon
✍ B. Chandrasekar; A. Childs; N. Balakrishnan πŸ“‚ Article πŸ“… 2004 πŸ› John Wiley and Sons 🌐 English βš– 100 KB

## Abstract Chen and Bhattacharyya [Exact confidence bounds for an exponential parameter under hybrid censoring, Commun Statist Theory Methods 17 (1988), 1857–1870] considered a hybrid censoring scheme and obtained the exact distribution of the maximum likelihood estimator of the mean of an exponen