scholarly journals Verifying Visibility-Based Weak Consistency

Author(s):  
Siddharth Krishna ◽  
Michael Emmi ◽  
Constantin Enea ◽  
Dejan Jovanović

AbstractMultithreaded programs generally leverage efficient and thread-safe concurrent objects like sets, key-value maps, and queues. While some concurrent-object operations are designed to behave atomically, each witnessing the atomic effects of predecessors in a linearization order, others forego such strong consistency to avoid complex control and synchronization bottlenecks. For example, contains (value) methods of key-value maps may iterate through key-value entries without blocking concurrent updates, to avoid unwanted performance bottlenecks, and consequently overlook the effects of some linearization-order predecessors. While such weakly-consistent operations may not be atomic, they still offer guarantees, e.g., only observing values that have been present.In this work we develop a methodology for proving that concurrent object implementations adhere to weak-consistency specifications. In particular, we consider (forward) simulation-based proofs of implementations against relaxed-visibility specifications, which allow designated operations to overlook some of their linearization-order predecessors, i.e., behaving as if they never occurred. Besides annotating implementation code to identify linearization points, i.e., points at which operations’ logical effects occur, we also annotate code to identify visible operations, i.e., operations whose effects are observed; in practice this annotation can be done automatically by tracking the writers to each accessed memory location. We formalize our methodology over a general notion of transition systems, agnostic to any particular programming language or memory model, and demonstrate its application, using automated theorem provers, by verifying models of Java concurrent object implementations.


2000 ◽  
Vol 16 (2) ◽  
pp. 262-268 ◽  
Author(s):  
Robert M. de Jong

A strong consistency result for heteroskedasticity and autocorrelation consistent covariance matrix estimators is proven in this paper. In addition, an error in a weak consistency proof for such estimators in the econometrics literature and a correction of that result is provided.



2021 ◽  
Vol 27 (2) ◽  
Author(s):  
Konstantin Avrachenkov ◽  
Andrei Bobu ◽  
Maximilien Dreveton

AbstractThe present paper is devoted to clustering geometric graphs. While the standard spectral clustering is often not effective for geometric graphs, we present an effective generalization, which we call higher-order spectral clustering. It resembles in concept the classical spectral clustering method but uses for partitioning the eigenvector associated with a higher-order eigenvalue. We establish the weak consistency of this algorithm for a wide class of geometric graphs which we call Soft Geometric Block Model. A small adjustment of the algorithm provides strong consistency. We also show that our method is effective in numerical experiments even for graphs of modest size.



2019 ◽  
Vol 26 (1/2) ◽  
pp. 211-225
Author(s):  
Ahmad Younso ◽  
Ziad Kanaya ◽  
Nour Azhari

We consider the kernel-based classifier proposed by Younso (2017). This nonparametric classifier allows for the classification of missing spatially dependent data. The weak consistency of the classifier has been studied by Younso (2017). The purpose of this paper is to establish strong consistency of this classifier under mild conditions. The classifier is discussed in a multi-class case. The results are illustrated with simulation studies and real applications.



This chapter considers algebra-dynamic models of parallel programs, which are based on concepts of transition systems theory and algebra of algorithms. The models of sequential and parallel multithreaded programs for multicore processors and program models for graphics processing units are constructed. The authors describe transformations of programs aimed at transition from sequential to parallel versions (parallelization) and improving performance of parallel programs in respect to execution time (optimization). The transformations are based on using rewriting rules technique. The formal model of program auto-tuning as an evolutional extension of transition systems is proposed, and some properties of programs are considered.



2013 ◽  
Vol 24 (2) ◽  
Author(s):  
JOHN LONGLEY

We generalise the standard construction of realizability models (specifically, of categories of assemblies) to a wide class ofcomputability structures, which is broad enough to embrace models of computation such as labelled transition systems and process algebras. We consider a general notion ofsimulationbetween such computability structures, and show how these simulations correspond precisely to certain functors between the realizability models. Furthermore, we show that our class of computability structures has good closure properties – in particular, it is ‘cartesian closed’ in a slightly relaxed sense. Finally, we investigate some important subclasses of computability structures and of simulations between them. We suggest that our 2-category of computability structures and simulations may offer a useful framework for investigating questions of computational power, abstraction and simulability for a wide range of models.





2020 ◽  
Author(s):  
Ocident Bongomin ◽  
Josphat Igadwa Mwasiagi ◽  
Eric Oyondi Nganyi ◽  
Ildephonse Nibikora


Sign in / Sign up

Export Citation Format

Share Document