The axiomatization of override and update

  • Berendsen J
  • Jansen D
  • Schmaltz J
 et al. 
  • 1

    Readers

    Mendeley users who have this article in their library.
  • 6

    Citations

    Citations of this article.

Abstract

There are only very few natural ways in which arbitrary functions can be combined. One composition operator is override: for arbitrary functions f and g, f ▷ g is the function with domain dom (f) ∪ dom (g) that behaves like f on dom (f) and like g on dom (g) {set minus} dom (f). Another operator is update: f [g] has the same domain as f, behaves like f on dom (f) {set minus} dom (g), and like g on dom (f) ∩ dom (g). These operators are widely used, especially within computer science, where for instance f [g] may denote the new state that results when in state f the updates given as g are applied. It is therefore surprising that thus far no axiomatization of these operators has been proposed in the literature. As an auxiliary operator we consider the minus operator: f - g is the restriction of f to the domain dom (f) {set minus} dom (g). The update operator can be defined in terms of override and minus. We present five equations that together constitute a sound and complete axiomatization of override and minus. As part of our completeness proof, we infer a large number of useful derived laws using the proof assistant Isabelle. With the help of the SMT solver Yices, we establish independence of the axioms. Thus, our axiomatization is also minimal. Finally, we establish that override and minus are functionally complete in the sense that any operation on general functions that corresponds to a valid coloring of a Venn diagram can be described using just these two operations. © 2009 Elsevier B.V. All rights reserved.

Author-supplied keywords

  • Automated deduction
  • Completeness
  • Equational logic
  • Function algebra
  • Overriding
  • SMT solvers

Get free article suggestions today

Mendeley saves you time finding and organizing research

Sign up here
Already have an account ?Sign in

Find this document

Authors

Error loading document authors.

Cite this document

Choose a citation style from the tabs below

Save time finding and organizing research with Mendeley

Sign up for free