English

Reflexive graph lenses in univalent foundations

Logic in Computer Science 2026-01-21 v2 Category Theory Logic

Abstract

Martin-L\"of's identity types provide a generic (albeit opaque) notion of identification or "equality" between any two elements of the same type, embodied in a canonical reflexive graph structure (=A,refl)(=_A, \mathbf{refl}) on any type AA. The miracle of Voevodsky's univalence principle is that it ensures, for essentially any naturally occurring structure in mathematics, that this the resultant notion of identification is equivalent to the type of isomorphisms in the category of such structures. Characterisations of this kind are not automatic and must be established one-by-one; to this end, several authors have employed reflexive graphs and displayed reflexive graphs to organise the characterisation of identity types. We contribute reflexive graph lenses, a new family of intermediate abstractions lying between families of reflexive graphs and displayed reflexive graphs that simplifies the characterisation of identity types for complex structures. Every reflexive graph lens gives rise to a (more complicated) displayed reflexive graph, and our experience suggests that many naturally occurring displayed reflexive graphs arise in this way. Evidence for the utility of reflexive graph lenses is given by means of several case studies, including the theory of reflexive graphs itself as well as that of polynomial type operators. Finally, we exhibit an equivalence between the type of reflexive graph fibrations and the type of univalent reflexive graph lenses.

Keywords

Cite

@article{arxiv.2404.07854,
  title  = {Reflexive graph lenses in univalent foundations},
  author = {Jonathan Sterling},
  journal= {arXiv preprint arXiv:2404.07854},
  year   = {2026}
}

Comments

Revised with many clarifications and typo fixes

R2 v1 2026-06-28T15:51:26.035Z