@conference {MacedoPCO:13, title = {Composing least-change lenses}, booktitle = {Proceedings of the First International Workshop on Bidirectional Transformations (BX 2012)}, volume = {57}, year = {2013}, month = {March}, pages = {19}, publisher = {EASST}, organization = {EASST}, address = {Tallinn, Estonia}, abstract = {

Non-trivial bidirectional transformations (BXs) are inherently ambiguous, as there are in general many different ways to consistently translate an update from one side to the other. Existing BX languages and frameworks typically satisfy fundamental first principles which ensure acceptable and stable (well-behaved) translation. Unfortunately, these give little insight about how a particular update translation is chosen among the myriad possible. From the user perspective, such unpredictability may hinder the adoption of BX frameworks.
The problem can be remedied by imposing a {\textquotedblleft}principle of least change{\textquotedblright} which, in a state-based framework, amounts to translating each update in a way such that its result is as close as possible to the original state, according to some distance measure.
Starting by formalizing such BXs focusing on the particular framework of lenses, this paper discusses whether such least-change lenses can be defined by composition, an essential construct of BX frameworks. For sequential composition, two (dual) update translation alternatives are presented: a classical deterministic one and a nondeterministic. A key ingredient of the approach is the elegant formalization of the main concepts in relation algebra, which exposes several similarities and dualities.

}, attachments = {https://haslab.uminho.pt/sites/default/files/alcino/files/bx13.pdf}, author = {Alcino Cunha and Jos{\'e} Nuno Oliveira and Nuno Macedo and Hugo Pacheco} }