The more legs the merrier: A new composition for symmetric (multi-)lenses
Michael Johnson (Macquarie University), Robert Rosebrugh (Mount, Allison University)

TL;DR
This paper introduces a new 'fusion' composition for symmetric lenses that preserves cospan representations, enabling better implementation of multilenses in complex systems like supply chains.
Contribution
It proposes a novel 'fusion' operation for symmetric lenses that maintains cospan structure, enhancing compositional modeling of multilenses.
Findings
Fusion preserves cospan representations in symmetric multilenses.
Fusion combines two symmetric lenses into a multilens with combined legs.
Application to supply chain example demonstrates practical utility.
Abstract
Lenses are a category theoretic construct and are used in a wide variety of applications. Symmetric lenses compose to, of course, form new symmetric lenses. Symmetric lenses are usually represented as spans of asymmetric lenses. In many applications, the fact that a symmetric lens might also be represented as a cospan of asymmetric lenses is important, especially for implementation purposes. However, the composition of symmetric lenses does not preserve the property that the lenses can be represented by cospans -- two such symmetric lenses may (and frequently do) compose to form a symmetric lens which cannot be represented as a cospan of asymmetric lenses. Thus preserving the factorisation to show how cospans of asymmetric lenses might be used in implementations becomes important. In 2018, the first work on multilenses was begun. Multilenses can be represented as multi-spans of…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
