## The axiomatization of override and update

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

#### 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.

#### Cite

CITATION STYLE

APA

Berendsen, J., Jansen, D. N., Schmaltz, J., & Vaandrager, F. W. (2010). The axiomatization of override and update. Journal of Applied Logic, 8(1), 141–150. https://doi.org/10.1016/j.jal.2009.11.001

Save time finding and organizing research with Mendeley