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 条
  • [31] Proof theory for Kleene algebra
    Hardin, C
    LICS 2005: 20TH ANNUAL IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE - PROCEEDINGS, 2005, : 290 - 299
  • [32] Probabilistic Concurrent Kleene Algebra
    McIver, Annabelle
    Rabehaja, Tahiry
    Struth, Georg
    ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2013, (117): : 97 - 115
  • [33] Kleene Algebra Modulo Theories
    Greenberg, Michael
    Beckett, Ryan
    Campbell, Eric
    PROCEEDINGS OF THE 43RD ACM SIGPLAN INTERNATIONAL CONFERENCE ON PROGRAMMING LANGUAGE DESIGN AND IMPLEMENTATION (PLDI '22), 2022, : 594 - 608
  • [34] TOWARDS KLEENE ALGEBRA WITH RECURSION
    LEISS, H
    LECTURE NOTES IN COMPUTER SCIENCE, 1992, 626 : 242 - 256
  • [35] Termination in modal Kleene algebra
    Desharnais, J
    Möller, B
    Struth, G
    EXPLORING NEW FRONTIERS OF THEORETICAL INFORMATICS, 2004, 155 : 647 - 660
  • [36] On the complexity of reasoning in Kleene algebra
    Kozen, D
    12TH ANNUAL IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE, PROCEEDINGS, 1997, : 195 - 202
  • [37] Adaptation of Connectionist Weighted Fuzzy Logic Programs with Kripke-Kleene Semantics
    Chortaras, Alexandros
    Stamou, Giorgos
    Stafylopatis, Andreas
    Kollias, Stefanos
    ARTIFICIAL NEURAL NETWORKS - ICANN 2008, PT I, 2008, 5163 : 492 - 502
  • [38] Completeness and Incompleteness in Nominal Kleene Algebra
    Kozen, Dexter
    Mamouras, Konstantinos
    Silva, Alexandra
    RELATIONAL AND ALGEBRAIC METHODS IN COMPUTER SCIENCE (RAMICS 2015), 2015, 9348 : 51 - 66
  • [39] A Quest for Kleene Algebra in 2 Dimensions
    Stefanescu, Gheorghe
    RELATIONAL AND ALGEBRAIC METHODS IN COMPUTER SCIENCE (RAMICS 2015), 2015, 9348 : 3 - 26
  • [40] Concurrent Kleene Algebra and its Foundations
    Hoare, Tony
    Moeller, Bernhard
    Struth, Georg
    Wehrman, Ian
    JOURNAL OF LOGIC AND ALGEBRAIC PROGRAMMING, 2011, 80 (06): : 266 - 296