【24h】

From Boolean to Quantitative Notions of Correctness

机译:从布尔值到定量概念正确性

获取原文

摘要

Classical formalizations of systems and properties are boolean: given a system and a property, the property is either true or false of the system. Correspondingly, classical methods for system analysis determine the truth value of a property, preferably giving a proof if the property is true, and a counterexample if the property is false; classical methods for system synthesis construct a system for which a property is true; classical methods for system transformation, composition, and abstraction aim to preserve the truth of properties. The boolean view is prevalent even if the system, the property, or both refer to numerical quantities, such as the times or probabilities of events. For example, a timed automaton either satisfies or violates a formula of a real-time logic; a stochastic process either satisfies or violates a formula of a probabilistic logic. The classical black-and-white view partitions the world into "correct" and "incorrect" systems, offering few nuances. In reality, of several systems that satisfy a property in the boolean sense, often some are more desirable than others, and of the many systems that violate a property, usually some are less objectionable than others. For instance, among the systems that satisfy the response property that every request be granted, we may prefer systems that grant requests quickly (the quicker, the better), or we may prefer systems that issue few unnecessary grants (the fewer, the better); and among the systems that violate the response property, we may prefer systems that serve many initial requests (the more, the better), or we may prefer systems that serve many requests in the long run (the greater the fraction of served to unserved requests, the better). Formally, while a boolean notion of correctness is given by a preorder on systems and properties, a quantitative notion of correctness is defined by a directed metric on systems and properties, where the distance between a system and a property provides a measure of "fit" or "desirability." There are many ways how such distances can be defined. In a linear-time framework, one assigns numerical values to individual behaviors before assigning values to systems and properties, which are sets of behaviors. For example, the value of a single behavior may be a discounted value, which is largely determined by a prefix of the behavior, e.g., by the number of requests that are granted before the first request that is not granted; or a limit value, which is independent of any finite prefix. A limit value may be an average, such as the average response time over an infinite sequence of requests and grants, or a supremum, such as the worst-case response time. Similarly, the value of a set of behaviors may be an extremum or an average across the values of all behaviors in the set: in this way one can measure the worst of all possible average-case response times, or the average of all possible worst-case response times, etc. Accordingly, the distance between two sets of behaviors may be defined as the worst or average difference between the values of corresponding behaviors. In summary, we propagate replacing boolean specifications for the correctness of systems with quantitative measures for the desirability of systems. In quantitative analysis, the aim is to compute the distance between a system and a property (or between two systems, or two properties); in quantitative synthesis, the objective is to construct a system that has minimal distance from a given property. Multiple quantitative measures can be prioritized (e.g., combined lexicographically into a single measure) or studied along the Pareto curve. Quantitative transformations, compositions, and abstractions of systems are useful if they allow us to bound the induced change in distance from a property. We present some initial results in some of these directions. We also give some potential applications, which not only generalize tradiditional correctness concerns in the func
机译:系统和性能的古典形式化是布尔:给出一个系统和一个属性,属性是真或假的制度。相应地,对于系统的分析的经典方法确定的特性的真值,优选给出证明,如果该属性是真的,一个反,如果该属性为false;经典方法用于系统合成构建体的系统针对其属性为true;对于系统改造,组合物,和抽象目的经典方法保存特性的事实。布尔视图是普遍即使系统,属性,或两者指数值量,如事件的时间或概率。例如,定时自动机或者满足或违反实时逻辑的公式;一个随机过程或者满足或违反概率逻辑的一个公式。经典的黑与白的观点分区天地之中“正确”和“不正确”的系统,提供一些细微差别。在现实中满足布尔意义上的财产几个系统,往往有些人比其他更加希望的,违反物业的许多系统中,通常是一些比别人少反感。例如,满足响应特性,每一个请求被授予系统中,我们可能更迅速准予接收系统(越快越好),或者我们可能更喜欢发出一些不必要的补助金系统(越少,越好) ;和违反响应特性的系统中,我们可能更希望服务于许多初始请求系统(越多,越好),或者我们可能更愿意服务于从长远来看,许多请求(越大分数提供给未服务请求系统, 更好)。形式上,而正确性的布尔概念是通过在系统和属性前序给出,正确性的定量概念是由定向度量上的系统和属性,其中系统和属性之间的距离提供了“配合”的措施所限定的或“愿望”。有很多种方法,例如距离可如何界定。在一个线性时间框架的系统和特性,这是一组行为的分配值之前一个受让人数值到个人行为。例如,一个单一的行为的值可以是打折的值,这在很大程度上是由行为,例如,由未授予所述第一请求之前被授予请求的数目的前缀来确定;或限制值,这是独立于任何有限前缀。限制值可以是平均,如平均响应时间超过请求和准予或确界,如最坏情况下的响应时间的无限序列。类似地,一组行为的值可以是一个极值或跨集合中的所有行为的值的平均值:以这种方式可以测量最差的所有可能的平均情况的响应时间,或平均的所有可能的最坏 - 案例的响应时间等。因此,两套行为之间的距离可以被定义为相应行为的值之间的最坏或平均差。综上所述,我们传播替换布尔规格为与系统的可取定量测量系统的正确性。在定量分析中,目的是计算系统和属性之间的距离(或两个系统,或者两个属性之间);定量合成中,目的是构造具有从给定的属性的最小距离的系统。多个定量测量可以优先(例如,字典顺序组合成单个测量)或沿着曲线帕累托研究。如果他们允许我们从属性的距离约束引起的变化定量转变,组合物和系统抽象是有用的。我们提出了一些初步成果在一些方向。我们也给一些潜在的应用,不仅在FUNC概括tradiditional正确性关注

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号