76 research outputs found

    Verifying Recursive Active Documents with Positive Data Tree Rewriting

    Get PDF
    This paper proposes a data tree-rewriting framework for modeling evolving documents. The framework is close to Guarded Active XML, a platform used for handling XML repositories evolving through web services. We focus on automatic verification of properties of evolving documents that can contain data from an infinite domain. We establish the boundaries of decidability, and show that verification of a {\em positive} fragment that can handle recursive service calls is decidable. We also consider bounded model-checking in our data tree-rewriting framework and show that it is \nexptime-complete

    Determinacy and Decidability of Reachability Games with Partial Observation on Both Sides

    Get PDF
    We prove two determinacy and decidability results about two-players stochastic reachability games with partial observation on both sides and finitely many states, signals and actions

    Succinct Population Protocols for Presburger Arithmetic

    Get PDF
    International audienceIn [5], Angluin et al. proved that population protocols compute exactly the predicates definable in Presburger arithmetic (PA), the first-order theory of addition. As part of this result, they presented a procedure that translates any formula ϕϕ of quantifier-free PA with remainder predicates (which has the same expressive power as full PA) into a population protocol with 2O(poly(âˆŁÏ•âˆŁ))2 O(poly(|ϕ|)) states that computes ϕϕ. More precisely, the number of states of the protocol is exponential in both the bit length of the largest coefficient in the formula, and the number of nodes of its syntax tree. In this paper, we prove that every formula ϕϕ of quantifier-free PA with remainder predicates is computable by a leaderless population protocol with O(poly(âˆŁÏ•âˆŁ))O(poly(|ϕ|)) states. Our proof is based on several new constructions, which may be of independent interest. Given a formula ϕϕ of quantifier-free PA with remainder predicates, a first construction produces a succinct protocol (with O(âˆŁÏ•âˆŁ3)O(|ϕ| 3) leaders) that computes ϕ; this completes the work initiated in [8], where we constructed such protocols for a fragment of PA. For large enough inputs, we can get rid of these leaders. If the input is not large enough, then it is small, and we design another construction producing a succinct protocol with one leader that computes ϕϕ. Our last construction gets rid of this leader for small inputs

    A Kleene theorem and model checking algorithms for existentially bounded communicating automata

    Get PDF
    AbstractThe behavior of a network of communicating automata is called existentially bounded if communication events can be scheduled in such a way that the number of messages in transit is always bounded by a value that depends only on the machine, not the run itself. We show a Kleene theorem for existentially bounded communicating automata, namely the equivalence between communicating automata, globally cooperative compositional message sequence graphs, and monadic second order logic. Our characterization extends results for universally bounded models, where for each and every possible scheduling of communication events, the number of messages in transit is uniformly bounded. As a consequence, we give solutions in spirit of Madhusudan (2001) for various model checking problems on networks of communicating automata that satisfy our optimistic restriction

    Regular Set of Representatives for Time-Constrained MSC Graphs

    Get PDF
    Systems involving both time and concurrency are notoriously difficult to analyze. Existing decidability results apply in settings where clocks on different processes cannot be compared or where the set of timed executions is regular. We prove new decidability results for timed concurrent systems, requiring neither restriction. We consider the formalism of time-constrained MSC graphs (TC-MSC graphs for short), and study whether the set of timed executions generated by a TC-MSC graph is empty or not. This emptiness problem is known to be undecidable in general. Our approach for obtaining decidability consists of two steps: (i) find a subset R of representative timed executions, that is, for which every timed execution of the system has an equivalent, up to commutation, timed execution in R, and (ii) prove that R is regular. This allows us to solve the emptiness problem under the assumption that the TC-MSC graph G is well-formed. In particular, a well-formed TC-MSC graph is prohibited from forcing any basic scenario to take an arbitrarily long time to complete. Secondly, it is forbidden from enforcing unboundedly many events to occur within a single unit of time. We argue that these restrictions are indeed practically sensible.Il est notoirement difficile d'analyser les comportements de systĂ©mes dĂ©crits par des modĂšles qui comportent Ă  la fois du temps et de la concurrence. Des rĂ©sultats de dĂ©cidabilitĂ© existent pour des modĂšles dans lesquels les valeurs des horloges sur diffĂ©rents processus ne peuvent pas ĂȘtre comparĂ©es, ou lorsque les modĂšles ont des ensembles d'exĂ©cutions temporisĂ©s rĂ©guliers. Dans ce travail, nous montrons de nouveaux rĂ©sultats de dĂ©cidabilitĂ© pour des modĂšles temporisĂ©s et concurrents, qui ne s'appuient sur aucune de ces restrictions. Nous Ă©tudions le formalisme des time-constrained MSC graphs (TC-MSC graphs), initalement proposĂ©s, et le problĂšme qui consiste Ă  savoir si l'ensemble des exĂ©cutions temporisĂ©es d'un modĂšle est vide ou non. Ce problĂšme a Ă©tĂ© prouvĂ© indĂ©cidable en gĂ©nĂ©ral pour les TC-MSC graphs. Notre approche pour obtenir une procĂ©dure de dĂ©cision comporte deux Ă©tapes : (i) trouver un sous-ensemble R d'exĂ©cutions temporisĂ©es appelĂ© ensemble des reprĂ©sentants : pour toute exĂ©cution temporisĂ©e du systĂšme, on doit pouvoir trouver une exĂ©cution Ă©quivalente dans R modulo commutation, (ii) prouver que R est rĂ©gulier. L'existence d'un ensemble de reprĂ©sentants rĂ©gulier permet de rĂ©soudre le problĂšme de la vacuitĂ© de l'ensemble des exĂ©cutions d'un TC-MSC graph. Nous proposons une restriction aux TC-MSC graphs, que nous appelons TC-MSC Graph bien formĂ©s. Dans un TC-MSC graph bien formĂ©, on ne peut forcer le systĂšme Ă  exĂ©cuter un nombre arbitrairement grand d'Ă©vĂ©nements en un laps de temps fini. Il est Ă©galement interdit qu'un MSC prenne obligatoirement un temps arbitrairement long pour ĂȘtre entiĂšrement exĂ©cutĂ©. Les restrictions imposĂ©es aux TC-MSC graph bien formĂ©s rĂ©duisent peu la puissance d'expression du langage, et permettent de garantir l'existence d'un ensemble rĂ©gulier de reprĂ©sentants

    Classification Among Hidden Markov Models

    Get PDF
    An important task in AI is one of classifying an observation as belonging to one class among several (e.g. image classification). We revisit this problem in a verification context: given k partially observable systems modeled as Hidden Markov Models (also called labeled Markov chains), and an execution of one of them, can we eventually classify which system performed this execution, just by looking at its observations? Interestingly, this problem generalizes several problems in verification and control, such as fault diagnosis and opacity. Also, classification has strong connections with different notions of distances between stochastic models. In this paper, we study a general and practical notion of classifiers, namely limit-sure classifiers, which allow misclassification, i.e. errors in classification, as long as the probability of misclassification tends to 0 as the length of the observation grows. To study the complexity of several notions of classification, we develop techniques based on a simple but powerful notion of stationary distributions for HMMs. We prove that one cannot classify among HMMs iff there is a finite separating word from their stationary distributions. This provides a direct proof that classifiability can be checked in PTIME, as an alternative to existing proofs using separating events (i.e. sets of infinite separating words) for the total variation distance. Our approach also allows us to introduce and tackle new notions of classifiability which are applicable in a security context

    On Regularity of Unary Probabilistic Automata

    Get PDF
    The quantitative verification of Probabilistic Automata (PA) is undecidable in general. Unary PA are a simpler model where the choice of action is fixed. Still, the quantitative verification problem is open and known to be as hard as Skolem\u27s problem, a problem on linear recurrence sequences, whose decidability is open for at least 40 years. In this paper, we approach this problem by studying the languages generated by unary PAs (as defined below), whose regularity would entail the decidability of quantitative verification. Given an initial distribution, we represent the trajectory of a unary PA over time as an infinite word over a finite alphabet, where the n-th letter represents a probability range after n steps. We extend this to a language of trajectories (a set of words), one trajectory for each initial distribution from a (possibly infinite) set. We show that if the eigenvalues of the transition matrix associated with the unary PA are all distinct positive real numbers, then the language is effectively regular. Further, we show that this result is at the boundary of regularity, as non-regular languages can be generated when the restrictions are even slightly relaxed. The regular representation of the language allows us to reason about more general properties, e.g., robustness of a regular property in a neighbourhood around a given distribution

    Controlling a Population

    Get PDF
    We introduce a new setting where a population of agents, each modelled by a finite-state system, are controlled uniformly: the controller applies the same action to every agent. The framework is largely inspired by the control of a biological system, namely a population of yeasts, where the controller may only change the environment common to all cells. We study a synchronisation problem for such populations: no matter how individual agents react to the actions of the controller, the controller aims at driving all agents synchronously to a target state. The agents are naturally represented by a non-deterministic finite state automaton (NFA), the same for every agent, and the whole system is encoded as a 2-player game. The first player chooses actions, and the second player resolves non-determinism for each agent. The game with m agents is called the m-population game. This gives rise to a parameterized control problem (where control refers to 2 player games), namely the population control problem: can playerone control the m-population game for all m in N whatever playertwo does? In this paper, we prove that the population control problem is decidable, and it is a EXPTIME-complete problem. As far as we know, this is one of the first results on parameterized control. Our algorithm, not based on cut-off techniques, produces winning strategies which are symbolic, that i they do not need to count precisely how the population is spread between states. We also show that if the is no winning strategy, then there is a population size cutoff such that playerone wins the m-population game if and only if m< cutoff. Surprisingly, cutoff can be doubly exponential in the number of states of the NFA, with tight upper and lower bounds

    Resilience of Timed Systems

    Get PDF
    This paper addresses reliability of timed systems in the setting of resilience, that considers the behaviors of a system when unspecified timing errors such as missed deadlines occur. Given a fault model that allows transitions to fire later than allowed by their guard, a system is universally resilient (or self-resilient) if after a fault, it always returns to a timed behavior of the non-faulty system. It is existentially resilient if after a fault, there exists a way to return to a timed behavior of the non-faulty system, that is, if there exists a controller which can guide the system back to a normal behavior. We show that universal resilience of timed automata is undecidable, while existential resilience is decidable, in EXPSPACE. To obtain better complexity bounds and decidability of universal resilience, we consider untimed resilience, as well as subclasses of timed automata

    On Robustness for the Skolem and Positivity Problems

    Get PDF
    The Skolem problem is a long-standing open problem in linear dynamical systems: can a linear recurrence sequence (LRS) ever reach 0 from a given initial configuration? Similarly, the positivity problem asks whether the LRS stays positive from an initial configuration. Deciding Skolem (or positivity) has been open for half a century: The best known decidability results are for LRS with special properties (e.g., low order recurrences). On the other hand, these problems are much easier for "uninitialized" variants, where the initial configuration is not fixed but can vary arbitrarily: checking if there is an initial configuration from which the LRS stays positive can be decided by polynomial time algorithms (Tiwari in 2004, Braverman in 2006). In this paper, we consider problems that lie between the initialized and uninitialized variant. More precisely, we ask if 0 (resp. negative numbers) can be avoided from every initial configuration in a neighborhood of a given initial configuration. This can be considered as a robust variant of the Skolem (resp. positivity) problem. We show that these problems lie at the frontier of decidability: if the neighborhood is given as part of the input, then robust Skolem and robust positivity are Diophantine-hard, i.e., solving either would entail major breakthrough in Diophantine approximations, as happens for (non-robust) positivity. Interestingly, this is the first Diophantine-hardness result on a variant of the Skolem problem, to the best of our knowledge. On the other hand, if one asks whether such a neighborhood exists, then the problems turn out to be decidable in their full generality, with PSPACE complexity. Our analysis is based on the set of initial configurations such that positivity holds, which leads to new insights into these difficult problems, and interesting geometrical interpretations
    • 

    corecore