This paper addresses the issue of specifying, simulating, and verifying reactive systems in rewriting logic. It presents an executable semantics for probabilistic, timed, and spatial concurrent constraint programming -- here called stochastic and spatial concurrent constraint systems (SSCC) -- in the rewriting logic semantic framework. The approach is based on an enhanced and generalized model of concurrent constraint programming (CCP) where computational hierarchical spaces can be assigned to belong to agents. The executable semantics faithfully represents and operationally captures the highly concurrent nature, uncertain behavior, and spatial and epistemic characteristics of reactive systems with flow of information. In SSCC, timing attributes -- represented by stochastic duration -- can be associated to processes, and exclusive and independent probabilistic choice is also supported. SMT solving technology, available from the Maude system, is used to realize the underlying constraint system of SSCC with quantifier-free formulas over integers and reals. This results in a fully executable real-time symbolic specification that can be used for quantitative analysis in the form of statistical model checking. The main features and capabilities of SSCC are illustrated with examples throughout the paper. This contribution is part of a larger research effort aimed at making available formal analysis techniques and tools, mathematically founded on the CCP approach, to the research community.
翻译:本文论述在重写逻辑中指定、模拟和核查反应系统的问题。 它展示了在重写逻辑语义框架中用于概率、 时间和空间同时约束性程序的可执行的语义, 这里称为随机和空间同时制约系统( SSCC) -- -- 此处称为随机和空间同时制约系统(SSCC) -- -- 在重写逻辑语义框架中。 这种方法基于一个强化和通用的并行制约程序(CCP)模式, 计算等级空间可以分配给代理人。 可执行语义忠实地代表并实际地捕捉反应系统与信息流动高度同时的性质、不确定的行为以及空间和缩影性特征。 在SSCC中, 时间属性 -- -- 以随机性持续时间为代表 -- -- 可以与进程相联系, 以及独有和独立的概率性约束性选择也得到了支持。 SMT 解算技术(从Maude 系统获得的) 用于实现SSCC 基本约束性体系的制约系统, 其配置的公式可以超越整数级和真实性。 其结果是完全可执行的实时符号性规范性规范性规格, 可用于统计模型形式的定量分析, 和数学分析工具中的主要功能和数学分析工具。