321,821 research outputs found

    Static Trace-Based Deadlock Analysis for Synchronous Mini-Go

    Full text link
    We consider the problem of static deadlock detection for programs in the Go programming language which make use of synchronous channel communications. In our analysis, regular expressions extended with a fork operator capture the communication behavior of a program. Starting from a simple criterion that characterizes traces of deadlock-free programs, we develop automata-based methods to check for deadlock-freedom. The approach is implemented and evaluated with a series of examples

    POSIX lexing with derivatives of regular expressions (proof pearl)

    Get PDF
    Brzozowski introduced the notion of derivatives for regular expressions. They can be used for a very simple regular expression matching algorithm. Sulzmann and Lu cleverly extended this algorithm in order to deal with POSIX matching, which is the underlying disambiguation strategy for regular expressions needed in lexers. Sulzmann and Lu have made available on-line what they call a “rigorous proof” of the correctness of their algorithm w.r.t. their specification; regrettably, it appears to us to have unfillable gaps. In the first part of this paper we give our inductive definition of what a POSIX value is and show (i) that such a value is unique (for given regular expression and string being matched) and (ii) that Sulzmann and Lu’s algorithm always generates such a value (provided that the regular expression matches the string). We also prove the correctness of an optimised version of the POSIX matching algorithm. Our definitions and proof are much simpler than those by Sulzmann and Lu and can be easily formalised in Isabelle/HOL. In the second part we analyse the correctness argument by Sulzmann and Lu and explain why the gaps in this argument cannot be filled easily.Postprin

    Dynamic Coefficients of Finite Length Journal Bearing. Evaluation Using a Regular Perturbation Method

    Get PDF
    A set of simple expressions is deduced for static and dynamic parameters associated to hydrodynamic journal bearings (JB). The behavior of this system is governed by two dimensionless numbers, the aspect ratio, L/D, and the eccentricity ratio, η. In a previous work, we presented a regular perturbation method that extended the Ocvirk solution and successfully described isothermal JBs up to L/D and η of ∌1/2. Presently, we extend that methodology, modified using a smaller perturbation parameter, to obtain analytical expressions of the dynamic coefficients, as well as static variables like friction factor, load carrying capacity, lubricant flow rate and phase angle. The deduced expressions successfully describe the static and dynamic behavior of JBs up to L/D and η of ∌3/4.Fil: Merelli, Claudio Ernesto. Universidad Nacional de la Patagonia "San Juan Bosco"; Argentina. Consejo Nacional de Investigaciones CientĂ­ficas y TĂ©cnicas. Centro CientĂ­fico TecnolĂłgico Conicet - BahĂ­a Blanca. Planta Piloto de IngenierĂ­a QuĂ­mica. Universidad Nacional del Sur. Planta Piloto de IngenierĂ­a QuĂ­mica; Argentina. Universidad Nacional del Sur. Departamento de IngenierĂ­a QuĂ­mica; ArgentinaFil: BarilĂĄ, Daniel Oscar. Universidad Nacional de la Patagonia "San Juan Bosco"; ArgentinaFil: Vignolo, Gustavo Gabriel. Universidad Nacional de la Patagonia "San Juan Bosco"; ArgentinaFil: Quinzani, Lidia Maria. Consejo Nacional de Investigaciones CientĂ­ficas y TĂ©cnicas. Centro CientĂ­fico TecnolĂłgico Conicet - BahĂ­a Blanca. Planta Piloto de IngenierĂ­a QuĂ­mica. Universidad Nacional del Sur. Planta Piloto de IngenierĂ­a QuĂ­mica; Argentin

    McRunjob: A High Energy Physics Workflow Planner for Grid Production Processing

    Full text link
    McRunjob is a powerful grid workflow manager used to manage the generation of large numbers of production processing jobs in High Energy Physics. In use at both the DZero and CMS experiments, McRunjob has been used to manage large Monte Carlo production processing since 1999 and is being extended to uses in regular production processing for analysis and reconstruction. Described at CHEP 2001, McRunjob converts core metadata into jobs submittable in a variety of environments. The powerful core metadata description language includes methods for converting the metadata into persistent forms, job descriptions, multi-step workflows, and data provenance information. The language features allow for structure in the metadata by including full expressions, namespaces, functional dependencies, site specific parameters in a grid environment, and ontological definitions. It also has simple control structures for parallelization of large jobs. McRunjob features a modular design which allows for easy expansion to new job description languages or new application level tasks.Comment: CHEP 2003 serial number TUCT00

    An Efficient Normalisation Procedure for Linear Temporal Logic and Very Weak Alternating Automata

    Full text link
    In the mid 80s, Lichtenstein, Pnueli, and Zuck proved a classical theorem stating that every formula of Past LTL (the extension of LTL with past operators) is equivalent to a formula of the form ⋀i=1nGFφi√FGψi\bigwedge_{i=1}^n \mathbf{G}\mathbf{F} \varphi_i \vee \mathbf{F}\mathbf{G} \psi_i, where φi\varphi_i and ψi\psi_i contain only past operators. Some years later, Chang, Manna, and Pnueli built on this result to derive a similar normal form for LTL. Both normalisation procedures have a non-elementary worst-case blow-up, and follow an involved path from formulas to counter-free automata to star-free regular expressions and back to formulas. We improve on both points. We present a direct and purely syntactic normalisation procedure for LTL yielding a normal form, comparable to the one by Chang, Manna, and Pnueli, that has only a single exponential blow-up. As an application, we derive a simple algorithm to translate LTL into deterministic Rabin automata. The algorithm normalises the formula, translates it into a special very weak alternating automaton, and applies a simple determinisation procedure, valid only for these special automata.Comment: This is the extended version of the referenced conference paper and contains an appendix with additional materia

    Counterexample Generation in Probabilistic Model Checking

    Get PDF
    Providing evidence for the refutation of a property is an essential, if not the most important, feature of model checking. This paper considers algorithms for counterexample generation for probabilistic CTL formulae in discrete-time Markov chains. Finding the strongest evidence (i.e., the most probable path) violating a (bounded) until-formula is shown to be reducible to a single-source (hop-constrained) shortest path problem. Counterexamples of smallest size that deviate most from the required probability bound can be obtained by applying (small amendments to) k-shortest (hop-constrained) paths algorithms. These results can be extended to Markov chains with rewards, to LTL model checking, and are useful for Markov decision processes. Experimental results show that typically the size of a counterexample is excessive. To obtain much more compact representations, we present a simple algorithm to generate (minimal) regular expressions that can act as counterexamples. The feasibility of our approach is illustrated by means of two communication protocols: leader election in an anonymous ring network and the Crowds protocol

    Inverting a matrix function around a singularity via local rank factorization

    Get PDF
    This paper proposes a recursive procedure, called the extended local rank factorization (elrf), that characterizes the order of the pole and the coefficients of the Laurent series representation of the inverse of a regular analytic matrix function around a given point. The elrf consists in performing a finite sequence of rank factorizations of matrices of nonincreasing dimension, at most equal to the dimension of the original matrix function. Each step of the sequence is associated with a reduced rank condition, while the termination of the elrf corresponds to a full rank condition; this last step reveals the order of the pole. The Laurent coefficients B n are calculated recursively as B_n = C n + sum_{k=1}^n D_k B_{n−k} , where C_n , D_k have simple closed form expressions in terms of the quantities generated by the elrf. It is also shown that the elrf characterizes the structure of Jordan pairs, Jordan chains, and the local Smith form. The procedure is easily cast in an algorithmic form, and a MATLAB implementation script is provided. It is further found that the elrf coincides with the complete reduction process (crp) in Avrachenkov, Haviv, and Howlett [SIAM J. Matrix Anal. Appl., 22 (2001), pp. 1175–1189]. Using this connection, the results on the elrf provide both an explicit recursive formula for B n implied by the crp, and the link between the crp and the structure of the local Smith form

    Shades of Iteration: from Elgot to Kleene

    Full text link
    Notions of iteration range from the arguably most general Elgot iteration to a very specific Kleene iteration. The fundamental nature of Elgot iteration has been extensively explored by Bloom and Esik in the form of iteration theories, while Kleene iteration became extremely popular as an integral part of (untyped) formalisms, such as automata theory, regular expressions and Kleene algebra. Here, we establish a formal connection between Elgot iteration and Kleene iteration in the form of Elgot monads and Kleene monads, respectively. We also introduce a novel class of while-monads, which like Kleene monads admit a relatively simple description in algebraic terms. Like Elgot monads, while-monads cover a large variety of models that meaningfully support while-loops, but may fail the Kleene algebra laws, or even fail to support a Kleen iteration operator altogether.Comment: Extended version of the accepted one for "Recent Trends in Algebraic Development Techniques - 26th IFIP WG 1.3 International Workshop, WADT 2022

    A General Framework for the Derivation of Regular Expressions

    Full text link
    The aim of this paper is to design a theoretical framework that allows us to perform the computation of regular expression derivatives through a space of generic structures. Thanks to this formalism, the main properties of regular expression derivation, such as the finiteness of the set of derivatives, need only be stated and proved one time, at the top level. Moreover, it is shown how to construct an alternating automaton associated with the derivation of a regular expression in this general framework. Finally, Brzozowski's derivation and Antimirov's derivation turn out to be a particular case of this general scheme and it is shown how to construct a DFA, a NFA and an AFA for both of these derivations.Comment: 22 page
    • 

    corecore