Internal Axioms for Domain Semirings

Internal Axioms for Domain Semirings

Internal Axioms for Domain Semirings Jules Desharnais1, Peter Jipsen2 and Georg Struth3 1 Universit´eLaval, Canada, [email protected] 2 Chapman University, USA, [email protected] 3 University of Sheffield, UK, [email protected] We investigate modal algebras that arise by adding operations of domain and antidomain to semirings and Kleene algebras. Let (S; +; ·; 0; 1) be a non- commutative and additively idempotent semiring with natural order defined as x ≤ y , x + y = x. Such semirings have many computational models, e.g., binary relations under union and relative product, languages, paths in graphs or program traces under union and complex product, actions of a (labelled tran- sition) system under nondeterministic choice and sequential composition. In all these models, a notion of domain can be axiomatised. It charaterises, e.g., those states that a binary relation links to any other state, the starting states in a set of paths or traces, the states from which some action of a system is enabled. We provide a more abstract characterisation in the setting of semirings. Formally, a domain semiring is a semiring S extended by a domain operation d : S ! S which, for all x; y 2 S, satisfies the axioms x ≤ d(x)x; d(xy) = d(xd(y)); d(x) ≤ 1; d(0) = 0; d(x + y) = d(x) + d(y): Domain semirings are automatically idempotent. This justifies the inequality signs in the axioms. The elements of d(S) are called domain elements. The domain axioms hold on all models discussed; their irredundancy can easily be verified with automated tools [8]. A notion of codomain is dual with respect to semiring opposition. It can be obtained from the domain axioms by swapping the order of multiplication. Many natural laws follow from the axioms, e.g., domain is isotone and domain elements are least left invariants, i.e., x = px , d(x) ≤ p holds for all x 2 S and p 2 d(S), hence d(x) = inf(p 2 d(S): x = px). This seems to be a central property: multiplying an element at the left by its domain element has no effect, and the domain element is the least element with that property. Some semirings cannot be extended to domain semirings: The three-element idempotent semiring with addition and multiplication defined by 0 < 2 < 1 and 2 · 2 = 0 is the minimal counterexample. The domain semiring axioms are internal because they impose an algebraic structure on the abstract state space d(S). Proposition 1. The domain elements are the fixpoints of the domain operation. The condition x 2 d(S) , d(x) = x is very helpful for analysing d(S). Proposition 2. (d(S); +; ·; 0; 1) is a bounded distributive lattice. We therefore call d(S) the domain algebra of S. It can be shown that domain algebras need not be unique, that different domain algebras need not include each other and that domain algebras need not be Boolean. Domain algebras can further be characterised as follows. Proposition 3. If d is uniquely defined on the idempotent or the commutative elements of S below 1, then d can be uniquely extended. If d(S) contains either of these sets, then d is unique. Proposition 4. The domain algebra d(S) contains the greatest Boolean subal- gebra of S bounded by 0 and 1. In relation, path and trace semirings, where the elements below 1 form a Boolean algebra, the domain algebra is therefore fixed. By duality, these results immedi- ately translate to codomain semirings. But domain and codomain algebras need not coincide (there is a three-element conterexample). To enforce Boolean domain algebras, we could add an operation of antido- main to the domain semiring. The axioms d(x) + a(x) = 1 and d(x)a(x) = 0 then enforce that domain and antidomain elements are complemented and that domain and antidomain algebras coincide. Intuitively, a(x) models all those ele- ments that are not in the domain of x. But much simpler axioms can be derived from the observation that d(x) should be equal to a2(x). A Boolean domain semiring is a semiring extended by an antidomain oper- ation a : S ! S which, for all x; y 2 S, satisfies the axioms a(x)x = 0; a(xy) ≤ a(xa2(y)); a2(x) + a(x) = 1: Boolean domain semirings are again automatically idempotent, and, by setting d(x) = a2(x), it can be shown that all antidomain element are domain elements and that d(x)a(x) = 0. Moreover, a(x) is the greatest semiring element p below 1 that satisfies px = 0, i.e., a(x) = sup(p ≤ 1 : px = 0). The fixpoint lemma now implies the following fact. Proposition 5. The domain algebra of a Boolean domain semiring is the max- imal Boolean subalgebra of the semiring of subidentities. It can also be shown that all axioms of domain semirings hold in the class of Boolean domain semirings and that the antidomain operation satisfies a number of natural laws including antitonicity of antidomain. Domain semirings and Boolean domain semirings allow natural and compact definitions of modal algebras. A map jxi : d(S) ! d(S) can be defined for each element x of a (Boolean) domain semiring S by jxip = d(xp), where p 2 d(S). This abstractly models the preimage of the set p under the action x. Dually, a map hxj : do(S) ! do(S) can be defined with respect to a codomain operation do as hxjp = do(px). This models the image of p under x. The maps jxi and hxj are strict and additive. Domain semirings and Boolean domain semirings therefore give rise to distributive lattices and Boolean algebras with operators [5, 4]. In this sense, jxi and hxj are forward and backward diamond operators. 2 The domain operation can also be used for defining n-ary operators over dis- tributive lattices and Boolean algebras as jgii(p0; : : : ; pn) = d(gi(p0; : : : ; pn−1)pn and for constructing modal algebras in a rather general way. Proposition 6. For every distributive lattice (Boolean algebra) with operators (L; (fi)i2I ) there is a (Boolean) domain semiring S such that L = d(S). For domain and codomain semirings, the forward and backward operators are conjugate maps on a distributive lattice. In the Boolean setting, they are adjoints of a Galois connection. Domain semirings therefore generalise also von Karger's Galois algebras [9]. Domain semirings are related to module-like structures and dynamic logics for programs. A semiring module [3] is a structure (S; L; :), such that S is an idempotent semiring, L is a semilattice (with least upper bound operation + and least element 0) and the scalar product : of type S × L ! L satisfies, for all x; y 2 S and p; q 2 L, the axioms (x + y): p = x : p + y : p; x :(p + q) = x : p + x : q; (xy): p = x :(y : p); 1 : p = p; x : 0 = 0: Proposition 7. Let S be a domain semiring. Then (S; d(S); (λx, p:jxip)) is a semiring module. Idempotent semirings can be extended to Kleene algebras [6] by axiomatising a Kleene star (finite iteration) as a least fixpoint within first-order equational logic. A Kleene module [7] is a semiring module (K; L; :) over a Kleene algebra K that satisfies, for all x 2 K and p; q 2 L, the induction axiom p + x : q ≤ q ) x∗ : p ≤ q: An analogue holds in domain Kleene algebras. In Boolean variants it is equivalent to (an algebraisation of) Segerberg's induction axiom for propositional dynamic logic. In this sense, domain Kleene algebras induce propositional dynamic logics defined over distributive lattices or Boolean algebras of propositions. Algebras that correspond to temporal logics can also be defined in this setting. The approach presented admits variations. First, by varying the domain ax- ioms, other domain algebras can be obtained. The Galois connection pq ≤ r , p ≤ q ! r where p; q; r 2 d(S), and the closure condition d(p ! q) = p ! q, for instance, induces domain algebras that are Heyting algebras, hence Heyting algebras with operators, and intuitionistic algebraic variants of dynamics and temporal logics. Second, the semiring structure can be weakened to a family of near-semirings and meaningful domain operations with different domain algebras can be defined in this setting, too. The resulting structures have applications in computing, e.g., program refinement, probabilistic protocol verification, process algebra, and in game theory. However, the correspondence between domain operators and modal operators is less direct in this setting [1]. 3 The equational theory of domain semirings is also nicely behaved, making an explicit construction of free domain semirings possible. In the one-generated case it can be proved that the elements can be represented uniquely by finite antichains in the poset of finite strictly decreasing sequences of nonnegative integers. In the n-generated case we can obtain term normal forms in which all domain terms are in one-one correspondence to certain reduced labelled trees. Equivalence of such trees can be checked by bisimulation. These results form the basis for decision procedures. Finally, it can be shown that free domain semirings can be represented by sets of binary relations with union, composition and relational domain as operations. Most of the results in this paper, in particular the development of the ax- iomatisations, have been achieved in a game of conjectures and refutations with automated theorem provers and counterexample generators [8]. This new style of mathematics allowed us to drastically speed-up our analysis and focus on con- cepts; we expect it to be equally helpful for similar tasks.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    4 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us