Kleene Algebra of Weighted Programs with Domain

被引:0
|
作者
Sedlar, Igor [1 ]
机构
[1] Czech Acad Sci, Inst Comp Sci, Prague, Czech Republic
关键词
Kleene algebra with domain; Kleene algebra with tests; Program semantics; Weakest precondition calculus; Weighted programs; COMPLETENESS;
D O I
10.1007/978-3-031-51777-8_4
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Weighted programs were recently introduced by Batz et al. (Proc. ACM Program. Lang. 2022) as a generalization of probabilistic programs which can also represent optimization problems and, in general, programs whose execution traces carry some sort of weight. Batz et al. show that a weighted version of Dijkstra's weakest precondition operator can be used to reason about the competitive ratios of weighted programs. In this paper we study a propositional abstraction of weighted programs with three main contributions. First, we formulate a semantics for weighted programs with the weighted weakest precondition operator based on functions from multimonoids to quantales. Second, we show that the weighted weakest precondition operator corresponds to a generalization of the domain operator known from Kleene algebra with domain, and we study the properties of the generalized domain operator. Third, we formulate a weighted version of Kleene algebra with domain as a framework for reasoning about weighted programs with weakest precondition in an abstract setting.
引用
收藏
页码:52 / 67
页数:16
相关论文
共 50 条
  • [21] On the complexity of reasoning in Kleene algebra
    Kozen, D
    INFORMATION AND COMPUTATION, 2002, 179 (02) : 152 - 162
  • [22] Automated reasoning in kleene algebra
    Hoefner, Peter
    Struth, Georg
    AUTOMATED DEDUCTION - CADE-21, PROCEEDINGS, 2007, 4603 : 279 - +
  • [23] Foundations of Concurrent Kleene Algebra
    Hoare, C. A. R.
    Moeller, Bernhard
    Struth, Georg
    Wehrman, Ian
    RELATIONS AND KLEENE ALGEBRA IN COMPUTER SCIENCE, PROCEEDINGS, 2009, 5827 : 166 - +
  • [24] Concurrent Kleene Algebra with Tests
    Jipsen, Peter
    RELATIONAL AND ALGEBRAIC METHODS IN COMPUTER SCIENCE (RAMICS 2014), 2014, 8428 : 37 - 48
  • [25] Kleene Algebra and Bytecode Verification
    Kot, Lucja
    Kozen, Dexter
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2005, 141 (01) : 221 - 236
  • [26] Developments in concurrent Kleene algebra
    Hoare, Tony
    van Staden, Stephan
    Moeller, Bernhard
    Struth, Georg
    Zhu, Huibiao
    JOURNAL OF LOGICAL AND ALGEBRAIC METHODS IN PROGRAMMING, 2016, 85 (04) : 617 - 636
  • [27] Developments in Concurrent Kleene Algebra
    Hoare, Tony
    van Staden, Stephan
    Moeller, Bernhard
    Struth, Georg
    Zhu, Huibiao
    Villard, Jules
    Hearn, Peter O.
    RELATIONAL AND ALGEBRAIC METHODS IN COMPUTER SCIENCE (RAMICS 2014), 2014, 8428 : 1 - 18
  • [28] Visibly Pushdown Kleene Algebra and Its Use in Interprocedural Analysis of (Mutually) Recursive Programs
    Bolduc, Claude
    Ktari, Bechir
    RELATIONS AND KLEENE ALGEBRA IN COMPUTER SCIENCE, PROCEEDINGS, 2009, 5827 : 44 - 58
  • [29] Kleene Algebra of Partial Predicates
    Kornilowicz, Artur
    Ivanov, Ievgen
    Nikitchenko, Mykola
    FORMALIZED MATHEMATICS, 2018, 26 (01): : 11 - 20
  • [30] Monodic tree kleene algebra
    Takai, Toshinori
    Furusawa, Hitoshi
    RELATIONS AND KLEENE ALGEBRA IN COMPUTER SCIENCE, PROCEEDINGS, 2006, 4136 : 402 - 416