45 research outputs found

    Correct-by-construction implementation of runtime monitors using stepwise refinement

    Get PDF
    Runtime verification (RV) is a lightweight technique for verifying traces of computer systems. One challenge in applying RV is to guarantee that the implementation of a runtime monitor correctly detects and signals unexpected events. In this paper, we present a method for deriving correct-by-construction implementations of runtime monitors from high-level specifications using Fiat, a Coq library for stepwise refinement. SMEDL (Scenario-based Meta-Event Definition Language), a domain specific language for event-driven RV, is chosen as the specification language. We propose an operational semantics for SMEDL suitable to be used in Fiat to describe the behavior of a monitor in a relational way. Then, by utilizing Fiat\u27s refinement calculus, we transform a declarative monitor specification into an executable runtime monitor with a proof that the behavior of the implementation is strictly a subset of that provided by the specification. Moreover, we define a predicate on the syntax structure of a monitor definition to ensure termination and determinism. Most of the proof work required to generate monitor code has been automated

    Confluence and Convergence in Probabilistically Terminating Reduction Systems

    Get PDF
    Convergence of an abstract reduction system (ARS) is the property that any derivation from an initial state will end in the same final state, a.k.a. normal form. We generalize this for probabilistic ARS as almost-sure convergence, meaning that the normal form is reached with probability one, even if diverging derivations may exist. We show and exemplify properties that can be used for proving almost-sure convergence of probabilistic ARS, generalizing known results from ARS.Comment: Pre-proceedings paper presented at the 27th International Symposium on Logic-Based Program Synthesis and Transformation (LOPSTR 2017), Namur, Belgium, 10-12 October 2017 (arXiv:1708.07854

    Observations on circumcenters in normed planes

    No full text

    Symmetrization based completion

    No full text
    We argue that most completion procedures for finitely presented algebras can be simulated by term completion procedures based on a generalized symmetrization process. Therefore we present three different constructive definitions of symmetrization procedures that can take the role of the orientation step in a symmetrization based completion procedure. We investigate confluence and compatibility properties of the symmetrized rules computed by the different symmetrization procedures. Based on semicompatibility properties we can present a generic version of the critical pair theorem that specializes to the critical pair theorems of Knuth-Bendix completion procedures and algebraic completion procedures like Buchberger's algorithm respectively. This critical pair theorem also applies to symmetrization based completion procedures using a normalized reduction relation if the result of the symmetrization is both semi-compatible and semi-stable. We conclude our paper showing how a generic Buchberger algorithm for polynomials over arbitrary finitely presented rings can be formulated as a symmetrization based completion procedure
    corecore