193 research outputs found
An Architectural Approach to the Design and Analysis of Cyber-Physical Systems
This paper presents an extension of existing software architecture tools to model physical systems, their interconnections, and the interactions between physical and cyber components. A new CPS architectural style is introduced to support the principled design and evaluation of alternative architectures for cyber-physical systems (CPSs). The implementation of the CPS architectural style in AcmeStudio includes behavioral annotations on components and connectors using either finite state processes (FSP) or linear hybrid automata (LHA) with plug-ins to perform behavior analysis using the Labeled Transition System Analyzer (LTSA) or Polyhedral Hybrid Automata Verifier (PHAVer), respectively. The CPS architectural
style and analysis plug-ins are illustrated with an example
Computational Adequacy for Substructural Lambda Calculi
Substructural type systems, such as affine (and linear) type systems, are
type systems which impose restrictions on copying (and discarding) of
variables, and they have found many applications in computer science, including
quantum programming. We describe one linear and one affine type systems and we
formulate abstract categorical models for both of them which are sound and
computationally adequate. We also show, under basic assumptions, that
interpreting lambda abstractions via a monoidal closed structure (a popular
method for linear type systems) necessarily leads to degenerate and inadequate
models for call-by-value affine type systems with recursion. In our categorical
treatment, a solution to this problem is clearly presented. Our categorical
models are more general than linear/non-linear models used to study linear
logic and we present a homogeneous categorical account of both linear and
affine type systems in a call-by-value setting. We also give examples with many
concrete models, including classical and quantum ones.Comment: In Proceedings ACT 2020, arXiv:2101.0788
From Normal Functors to Logarithmic Space Queries
We introduce a new approach to implicit complexity in linear logic, inspired by functional database query languages and using recent developments in effective denotational semantics of polymorphism. We give the first sub-polynomial upper bound in a type system with impredicative polymorphism; adding restrictions on quantifiers yields a characterization of logarithmic space, for which extensional completeness is established via descriptive complexity
On Deciding Local Theory Extensions via E-matching
Satisfiability Modulo Theories (SMT) solvers incorporate decision procedures
for theories of data types that commonly occur in software. This makes them
important tools for automating verification problems. A limitation frequently
encountered is that verification problems are often not fully expressible in
the theories supported natively by the solvers. Many solvers allow the
specification of application-specific theories as quantified axioms, but their
handling is incomplete outside of narrow special cases.
In this work, we show how SMT solvers can be used to obtain complete decision
procedures for local theory extensions, an important class of theories that are
decidable using finite instantiation of axioms. We present an algorithm that
uses E-matching to generate instances incrementally during the search,
significantly reducing the number of generated instances compared to eager
instantiation strategies. We have used two SMT solvers to implement this
algorithm and conducted an extensive experimental evaluation on benchmarks
derived from verification conditions for heap-manipulating programs. We believe
that our results are of interest to both the users of SMT solvers as well as
their developers
Output Without Delay: A ?-Calculus Compatible with Categorical Semantics
The quest for logical or categorical foundations of the ?-calculus (not limited to session-typed variants) remains an important challenge. A categorical type theory correspondence for a variant of the i/o-typed ?-calculus was recently revealed by Sakayori and Tsukada, but, at the same time, they exposed that this categorical semantics contradicts with most of the behavioural equivalences. This paper diagnoses the nature of this problem and attempts to fill the gap between categorical and operational semantics. We first identify the source of the problem to be the mismatch between the operational and categorical interpretation of a process called the forwarder. From the operational viewpoint, a forwarder may add an arbitrary delay when forwarding a message, whereas, from the categorical viewpoint, a forwarder must not add any delay when forwarding a message. Led by this observation, we introduce a calculus that can express forwarders that do not introduce delay. More specifically, the calculus we introduce is a variant of the ?-calculus with a new operational semantics in which output actions are forced to happen as soon as they get unguarded. We show that this calculus (i) is compatible with the categorical semantics and (ii) can encode the standard ?-calculus
Concurrent Stochastic Lossy Channel Games
Concurrent stochastic games are an important formalism for the rational
verification of probabilistic multi-agent systems, which involves verifying
whether a temporal logic property is satisfied in some or all game-theoretic
equilibria of such systems. In this work, we study the rational verification of
probabilistic multi-agent systems where agents can cooperate by communicating
over unbounded lossy channels. To model such systems, we present concurrent
stochastic lossy channel games (CSLCG) and employ an equilibrium concept from
cooperative game theory known as the core, which is the most fundamental and
widely studied cooperative equilibrium concept. Our main contribution is
twofold. First, we show that the rational verification problem is undecidable
for systems whose agents have almost-sure LTL objectives. Second, we provide a
decidable fragment of such a class of objectives that subsumes almost-sure
reachability and safety. Our techniques involve reductions to solving
infinite-state zero-sum games with conjunctions of qualitative objectives. To
the best of our knowledge, our result represents the first decidability result
on the rational verification of stochastic multi-agent systems on infinite
arenas.Comment: To appear at CSL 2024. Extended versio
- …