<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <journal-title-group>
        <journal-title>Italian Conference on Theoretical Computer Science, September</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Displayed Universal Algebra in UniMath: Basic Definitions and Results</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Gianluca Amato</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Matteo Calosci</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Marco Maggesi</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Cosimo Perini Brogi</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Laboratorio di Logica Computazionale e Intelligenza Artificiale, Università di Chieti-Pescara</institution>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Scuola IMT Alti Studi Lucca</institution>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Università di Firenze</institution>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2025</year>
      </pub-date>
      <volume>1</volume>
      <fpage>0</fpage>
      <lpage>12</lpage>
      <abstract>
        <p>Univalent mathematics and homotopy type theory provide a structural approach to formalizing mathematical concepts. Inspired by the role of displayed categories in the univalent treatment of category theory, we develop an analogous notion of displayed algebras for universal algebra. This modular and layered approach allows us to construct and reason about algebraic structures over a fixed base. Classical constructions such as cartesian products, pullbacks, semidirect products, and subalgebras naturally arise as total algebras of suitable displayed algebras. The main results are fully formalized in the UniMath library.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Homotopy type theory</kwd>
        <kwd>Universal algebra</kwd>
        <kwd>Displayed constructions</kwd>
        <kwd>Computerized mathematics</kwd>
        <kwd>UniMath</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>and infrastructure for developing universal algebra in a modular and structured way. Moreover, the
library also ofers many implementations of algebraic structures (groups, ordered sets, . . . ) which may
be presented as instances of our constructions.</p>
      <p>In this context, our goal is to develop a formalization of Universal Algebra that is naturally aligned
with the principles and foundational philosophy of univalent mathematics in UniMath.</p>
      <sec id="sec-1-1">
        <title>1.2. General framework</title>
        <p>
          Both universal algebra and category theory provide unifying frameworks for studying algebraic
structures in abstract terms [
          <xref ref-type="bibr" rid="ref7 ref8 ref9">7, 8, 9</xref>
          ].
        </p>
        <p>
          In universal algebra, a structure – be it a group, a ring, or a lattice – is described as a theory, i.e. in
terms of abstract operations over a carrier and a set of equations these operations are required to satisfy.
This way, once a theory is specified, specific instances of algebraic structures are defined as models of
that theory, and an algebra homomorphism is a structure-preserving map between models [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ].
        </p>
        <p>
          In category theory, Lawvere theories provide a presentation-invariant version of algebraic theories,
where algebraic operations are given by morphisms in the Lawvere theory. Specific instances of
algebraic structures are defined as product-preserving functors from a Lawvere theory to categories
with finite products. This reveals universal algebra as the theory of all structures that can be defined in
categories with finite products [
          <xref ref-type="bibr" rid="ref11">11</xref>
          ].
        </p>
        <p>
          The work started with [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ] showed that many categorical constructions can be developed modularly
both at the objects and morphisms levels (as well as at higher categorical levels [
          <xref ref-type="bibr" rid="ref13">13</xref>
          ]), by adding
progressively layers of further structure. Similarly, in universal algebra, it is often possible to modularly
construct an algebraic structure. In this work, we show how to rephrase the methods of displayed
categories in order to deal with classical concepts of universal algebra, making the analogy we have just
sketched more precise. We thus widen the investigations on the notion of displayed algebras [
          <xref ref-type="bibr" rid="ref14 ref15 ref16">14, 15, 16</xref>
          ],
with a focus on developing universal algebra with the displayed-category style.
        </p>
        <p>Concretely, given a base algebra, we display the additional algebraic structure – elements and
operations – in a structured layer above such base. This approach not only streamlines proofs of
properties and constructions but also facilitates the reuse of generic lemmas across diferent algebraic
contexts. This way we can reap the organizational benefits of displayed formalisms, both for the
mathematical developments of universal algebra and their computer implementations.</p>
      </sec>
      <sec id="sec-1-2">
        <title>1.3. Source code</title>
        <p>Our code is freely available from our GitHub repository1 and it is already integrated in the oficial
UniMath library. When discussing concepts which are available in our source code, we will provide
specific links below, denoted by the icon 2.</p>
      </sec>
    </sec>
    <sec id="sec-2">
      <title>2. Universal Algebra in Univalent Foundations</title>
      <sec id="sec-2-1">
        <title>2.1. Development in UniMath</title>
        <p>
          This work extends our previous development [
          <xref ref-type="bibr" rid="ref17 ref18">17, 18</xref>
          ], which introduced the first (precategorical)
implementation of universal algebra in the UniMath system. There, we formalized multi-sorted signatures,
algebras, homomorphisms, and categories of algebras, and addressed the absence of general inductive
types in UniMath by introducing a stack-based encoding of terms. This encoding enabled the
construction of term algebras with desired computational properties and of homotopy W-types with finite
branching. The present work builds upon and generalizes that foundation by developing a theory of
displayed algebras, which allows for modular, layered constructions over a given base algebra.
1https://github.com/UniMathUA/UniMath/tree/ICTCS-2025
        </p>
        <p>We report here some of the key constructions of our development. We refer to our earlier work for
further details. We start with the basic definition of signature and algebra. We require that the type of
sorts has a decidable equality and that the type of operations is an hSet (a set in the homotopical sense).</p>
        <p>Definition signature 2 : UU := ∑︀ (S: decSet) (O: hSet), O → list S × S.
Definition algebra 2 ( : signature): UU</p>
        <p>:= ∑︀ A: sUU (sorts  ), ∏︀ nm: names  , A⋆ (arity nm) → A (sort nm).</p>
        <p>The construction of the algebra of terms is based on the idea of a stack machine that we roughly
sketch below:
1. A sequence of function symbols is thought of as a series of commands to be executed by a stack
machine whose stack is made of sorts, and which we define by means of a maybe monad.</p>
        <p>Definition oplist 2 ( : signature):= list (names  ).</p>
        <p>Definition stack 2 ( : signature): UU := maybe (list (sorts  )).
2. When an operation symbol is executed, its arity is popped out from the stack and replaced by
its range. When a stack underflow occurs, or when the sorts present in the stack are not the
ones expected by the operator, the stack goes into an error condition which is propagated by
successive operations. We implement this process by means of two functions:</p>
        <p>Definition opexec 2 (nm: names  ): stack  → stack  .</p>
        <p>Definition oplistexec 2 (l: oplist  ): stack  .</p>
        <p>The former is the stack transformation corresponding to the execution of the operation symbol
nm. The latter returns the stack corresponding to the execution of the entire oplist argument
starting from the empty stack. The list is executed from the last to the first operation symbol.
Several additional lemmas are required in order to make us able to handle stacks – by
concatenating, splitting, etc. – without incurring failures breaking down the whole process.2
3. Finally, we define a term to be just a list of operation symbols that, after being executed by
oplistexec, returns a list of length one with appropriate sort:3</p>
        <p>Definition isaterm 2 (s: sorts  ) (l: oplist  ): UU</p>
        <p>:= oplistexec l = just [s].</p>
        <p>Definition term 2 ( : signature) (s: sorts  ): UU</p>
        <p>:= ∑︀ t: oplist  , isaterm s t.</p>
      </sec>
      <sec id="sec-2-2">
        <title>2.2. Displayed algebras and current development</title>
        <p>The natural starting point of our work is the formal definition of displayed algebras.
Definition. Given an algebra ℬ over a multi-sorted signature  , a displayed algebra 2 over ℬ consists of:
· a family of “fiber” types indexed over terms of ℬ;
· a family of “overop“ functions indexed over any operation name  of  and any vector  of terms of
ℬ each having the appropriate sort specified by the arity of  . Each function has the product of the
ifber of the components of  as domain and the fiber of  ℬ() as codomain.</p>
        <p>This is depicted in the following:
2In particular, since we need to decide when a stack is correctly executed and when an underflow occurs, we see the reasons
for choosing sorts to constitute a decidable set.
3From a purely HoTT-perspective, we can easily see also that the type of stacks over  is an hSet, so that the property of
being a term is not proof-relevant (isapropisaterm 2).</p>
        <p>ifb( 1)
ifb( 2)</p>
        <p>ifb(  ℬ())
1
2
overop  
 ℬ
ℬ</p>
        <p>Unfortunately, formalized mathematics sometimes makes obscure concepts which are otherwise
quite natural. The formal definition of a displayed algebra in UniMath is the following:
Definition disp_alg 2 { : signature} (B: algebra  ) :=
∑︀ fib : (∏︀ (s: sorts  ) (b: support B s), UU),
∏︀ (nm: names  ) (base_xs: hvec (vec_map B (arity nm))),
hvec (h1map_vec (v := arity nm) fib base_xs)
→ fib (sort nm) (ops B nm (base_xs)).</p>
        <p>In a straightforward and natural way, every displayed category gives rise to a total category.
Analogously, from a displayed algebra we can build the associated total algebra 2. The carriers are dependent
pairs with the carriers of ℬ in the first component and the fiber types in the second one. Operations are
built from the ones of ℬ and the overop functions.</p>
        <p>Definition total_alg 2 {A: algebra  } (D: disp_alg A) : algebra  .</p>
        <p>This construction is one of the primary motivations for working with displayed structures since it
provides a clear, modular framework for assembling algebras from simpler components.</p>
        <p>In the categorical setting, a displayed category encodes the same information as a functor into the
base category. In our algebraic setting, we show the analogous result 2:
Theorem. Given an algebra ℬ over a multi-sorted signature  with hSet carriers , the type of algebra
morphisms targetting ℬ is equivalent to the type of displayed algebras over ℬ.</p>
        <p>Proof sketch. From any homomorphism ℎ targeting ℬ, we construct the displayed algebra of its fibers
2. Fiber types are given by the fiber under ℎ of the specific index term, and overop functions are
derived from the operations in the source algebra: their well-typedness depends on the fact that ℎ is a
homomorphism.</p>
        <p>On the other hand taking the projections on the first component of the total algebra carriers leads to
the definition of the forgetful homomorphism 2.</p>
        <p>We finally show that taking the displayed algebra of the fiber and taking the forgetful homomorphism
of a total algebra are operations inverse to each other. This also requires verifying higher coherence
conditions between the type components of the whole construction.</p>
        <p>This final step is both conceptually and technically the most delicate part of the development: it has no
direct analogue in classical mathematics, as it relies crucially on the dependent and homotopical nature
of types in univalent foundations. The argument is relatively long and involves managing multiple layers
of dependent data and coherence, which would be invisible or collapsed in a set-theoretic setting.</p>
      </sec>
      <sec id="sec-2-3">
        <title>2.3. Motivating Examples.</title>
        <p>We emphasize how various familiar algebraic constructions – in particular, those admitting a staged or
layered description – can be systematically recovered by taking the total algebra of a displayed algebra.
Here are some examples:
Cartesian Products: A displayed algebra can encode how algebraic operations behave
componentwise on a product of carriers. Collecting these componentwise structures into a single object
yields the familiar cartesian product algebra 2 as its total algebra.</p>
        <p>Pullbacks: By generalizing the previous example, one can display algebraic structure along pullback
squares to obtain a pullback of algebras. The resulting total algebra thus inherits its operations
from the displayed structure, reflecting the universal property of the pullback on the level of
algebras.</p>
        <p>Semidirect Products: The semidirect product of groups can also be viewed as the total algebra of a
suitable displayed algebra. Here, one “displays” how a normal subgroup and a quotient group
interact, and then reassembles this information into the total structure defining the semidirect
product.4
Subalgebras: Consider a displayed algebra that restricts the underlying carriers of a larger algebra to
subsets closed under its operations. When one collects this restricted (or “sub”) structure into a
single object, the total algebra precisely captures 2 the notion of a subalgebra 2.</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>3. Related and future work</title>
      <p>
        This paper builds upon our original UniMath library for universal algebra [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ]. Other formalizations
of universal algebra in dependent type theory are [
        <xref ref-type="bibr" rid="ref20">20, 21, 22, 23, 24, 25, 26</xref>
        ]. In the univalent setting,
universal algebra is formalised in [27, 28].
      </p>
      <p>
        Our novel implementation of displayed algebras is inspired by the work in displayed categories
started with [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]; in future, we plan to explore further connections between their displaying methods
for categories and our constructions at the algebraic level. At the same time, we plan to extend our
original UniMath library for universal algebra by making extensive use of the techniques of displayed
algebras that we communicate here. Finally, it would be relevant to bridge our formalization of universal
algebra in UniMath with the existing library on Lawvere theories5 in the same univalent system and
investigate potential transfers of results between the categorical and universal languages for algebraic
structures using a unified displayed formalism.
      </p>
    </sec>
    <sec id="sec-4">
      <title>Acknowledgments</title>
      <p>This work was partially supported by: the project SERICS ‘Security and Rights in CyberSpace’ –
PE0000014, financed within PNRR, M4C2 I. 1. 3, funded by the European Union - NextGenerationEU; the
MIUR project PRIN 2017JZ2SW5 ‘Real and Complex Manifolds: Topology, Geometry and holomorphic
dynamics’; the PNRR project FAIR – Future AI Research (PE00000013), Spoke 9 - Green-aware AI, under
the NRRP MUR program funded by the NextGenerationEU; Istituto Nazionale di Alta Matematica –
INdAM groups GNAMPA, GNCS and GNSAGA.</p>
    </sec>
    <sec id="sec-5">
      <title>Declaration on Generative AI</title>
      <p>
        During the preparation of this work, the authors used X-GPT-4 to: Drafting content, Paraphrase and
reword, Improve writing style. After using these tools, the authors reviewed and edited the content as
needed and take full responsibility for the publication’s content.
4While semidirect products of groups have well-known generalizations to other contexts in universal algebra [
        <xref ref-type="bibr" rid="ref19">19</xref>
        ], those
generalizations are not treated here.
5https://github.com/UniMath/UniMath/tree/master/UniMath/AlgebraicTheories 2
Venanzio.Capretta/universal_algebra.html.
[21] E. Gunther, A. Gadea, M. Pagano, Formalization of universal algebra in Agda, Electronic Notes in
Theoretical Computer Science 338 (2018) 147–166. URL: https://www.sciencedirect.com/science/
article/pii/S1571066118300768.
[22] A. Abel, Birkhof’s Completeness Theorem for Multi-Sorted Algebras Formalized in Agda, CoRR
abs/2111.07936 (2021). URL: https://arxiv.org/abs/2111.07936. arXiv:2111.07936.
[23] W. DeMeo, J. Carette, A Machine-Checked Proof of Birkhof’s Variety Theorem in Martin-Löf
Type Theory, in: H. Basold, J. Cockx, S. Ghilezan (Eds.), 27th International Conference on
Types for Proofs and Programs (TYPES 2021), volume 239 of Leibniz International Proceedings
in Informatics (LIPIcs), Schloss Dagstuhl – Leibniz-Zentrum für Informatik, Dagstuhl, Germany,
2022, pp. 4:1–4:21. URL: https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.TYPES.2021.4.
doi:10.4230/LIPIcs.TYPES.2021.4.
[24] W. DeMeo, The Agda Universal Algebra Library, Part 1: Foundation, arXiv preprint
arXiv:2103.05581 (2021).
[25] W. DeMeo, The Agda Universal Algebra Library, Part 2: Structure, arXiv preprint arXiv:2103.09092
(2021).
[26] W. DeMeo, J. Carette, The Agda Universal Algebra Library (agda-algebras), GitHub.com, 2021.
      </p>
      <p>doi:10.5281/zenodo.5765793, documentation available at https://ualib.org.
[27] A. Lynge, Universal algebra in HoTT, 2017. URL: https://github.com/andreaslyn/Work/blob/master/</p>
      <p>Math-Bachelor.pdf, bachelor’s thesis, Department of Mathematics, Aarhus University.
[28] A. Lynge, B. Spitters, Universal algebra in HoTT, in: TYPES 2019, 25th International Conference
on Types for Proofs and Programs, 2019, pp. 1–2. URL: http://www.ii.uib.no/~bezem/abstracts/
TYPES_2019_paper_7.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>The</given-names>
            <surname>Univalent Foundations Program</surname>
          </string-name>
          ,
          <source>Homotopy Type Theory: Univalent Foundations of Mathematics</source>
          , https://homotopytypetheory.org/book, Institute for Advanced Study,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>P.</given-names>
            <surname>Aczel</surname>
          </string-name>
          ,
          <article-title>On Voevodsky's univalence axiom</article-title>
          ,
          <source>Mathematical Logic: Proof Theory</source>
          , Constructive Mathematics,
          <string-name>
            <surname>Samuel R. Buss</surname>
          </string-name>
          , Ulrich Kohlenbach, and Michael Rathjen (Eds.).
          <source>Mathematisches Forschungsinstitut Oberwolfach</source>
          ,
          <string-name>
            <surname>Oberwolfach</surname>
          </string-name>
          (
          <year>2011</year>
          )
          <fpage>2967</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>M. H.</given-names>
            <surname>Escardó</surname>
          </string-name>
          ,
          <article-title>A self-contained, brief and complete formulation of Voevodsky's Univalence Axiom</article-title>
          , https://arxiv.org/abs/
          <year>1803</year>
          .02294,
          <year>2018</year>
          . doi:
          <volume>10</volume>
          .48550/ARXIV.
          <year>1803</year>
          .
          <volume>02294</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>V.</given-names>
            <surname>Voevodsky</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Ahrens</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Grayson</surname>
          </string-name>
          , et al.,
          <article-title>Unimath - a computer-checked library of univalent mathematics</article-title>
          , Available at http://unimath.org,
          <year>2025</year>
          . URL: https://github.com/UniMath/UniMath. doi:
          <volume>10</volume>
          .5281/zenodo.8427604.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>A.</given-names>
            <surname>Bauer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Gross</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P. L.</given-names>
            <surname>Lumsdaine</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Shulman</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Sozeau</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Spitters</surname>
          </string-name>
          ,
          <article-title>The HoTT library: a formalization of homotopy type theory in Coq</article-title>
          , in: Y.
          <string-name>
            <surname>Bertot</surname>
          </string-name>
          , V. Vafeiadis (Eds.),
          <source>Proceedings of the 6th ACM SIGPLAN Conference on Certified Programs and Proofs</source>
          ,
          <string-name>
            <surname>CPP</surname>
          </string-name>
          <year>2017</year>
          , Paris, France,
          <source>January 16-17</source>
          ,
          <year>2017</year>
          , ACM,
          <year>2017</year>
          , pp.
          <fpage>164</fpage>
          -
          <lpage>172</lpage>
          . URL: https://doi.org/10.1145/3018610.3018615. doi:
          <volume>10</volume>
          .1145/ 3018610.3018615.
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>A.</given-names>
            <surname>Vezzosi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Mörtberg</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Abel</surname>
          </string-name>
          ,
          <article-title>Cubical agda: a dependently typed programming language with univalence and higher inductive types</article-title>
          ,
          <source>Proc. ACM Program. Lang</source>
          .
          <volume>3</volume>
          (
          <year>2019</year>
          ). URL: https: //doi.org/10.1145/3341691. doi:
          <volume>10</volume>
          .1145/3341691.
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>M.</given-names>
            <surname>Hyland</surname>
          </string-name>
          ,
          <string-name>
            <surname>J. Power,</surname>
          </string-name>
          <article-title>The category theoretic understanding of universal algebra: Lawvere theories and monads</article-title>
          ,
          <source>Electronic Notes in Theoretical Computer Science</source>
          <volume>172</volume>
          (
          <year>2007</year>
          )
          <fpage>437</fpage>
          -
          <lpage>458</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>G.</given-names>
            <surname>Grätzer</surname>
          </string-name>
          , Universal algebra, Springer Science &amp; Business
          <string-name>
            <surname>Media</surname>
          </string-name>
          ,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>J.</given-names>
            <surname>Adámek</surname>
          </string-name>
          , J. Rosicky`,
          <string-name>
            <given-names>E. M.</given-names>
            <surname>Vitale</surname>
          </string-name>
          ,
          <article-title>Algebraic theories: a categorical introduction to general algebra</article-title>
          , volume
          <volume>184</volume>
          , Cambridge University Press,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>H. P.</given-names>
            <surname>Sankappanavar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Burris</surname>
          </string-name>
          ,
          <article-title>A course in universal algebra</article-title>
          ,
          <source>Graduate Texts Math</source>
          <volume>78</volume>
          (
          <year>1981</year>
          )
          <fpage>56</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>F. W.</given-names>
            <surname>Lawvere</surname>
          </string-name>
          ,
          <article-title>Functorial semantics of algebraic theories</article-title>
          ,
          <source>Proceedings of the National Academy of Sciences</source>
          <volume>50</volume>
          (
          <year>1963</year>
          )
          <fpage>869</fpage>
          -
          <lpage>872</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>B.</given-names>
            <surname>Ahrens</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P. L.</given-names>
            <surname>Lumsdaine</surname>
          </string-name>
          , Displayed Categories, Logical Methods in Computer Science Volume
          <volume>15</volume>
          ,
          <source>Issue</source>
          <volume>1</volume>
          (
          <year>2019</year>
          ). URL: https://lmcs.episciences.org/5252. doi:
          <volume>10</volume>
          .23638/LMCS-
          <volume>15</volume>
          (
          <issue>1</issue>
          :20)
          <year>2019</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>B.</given-names>
            <surname>Ahrens</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Frumin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Maggesi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Veltri</surname>
          </string-name>
          ,
          <string-name>
            <surname>N. van der Weide</surname>
          </string-name>
          , Bicategories in univalent foundations,
          <source>Mathematical Structures in Computer Science</source>
          <volume>31</volume>
          (
          <year>2021</year>
          )
          <fpage>1232</fpage>
          -
          <lpage>1269</lpage>
          . doi:
          <volume>10</volume>
          .1017/ S0960129522000032.
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>A.</given-names>
            <surname>Kaposi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Kovàcs</surname>
          </string-name>
          , T. Altenkirch,
          <article-title>Constructing quotient inductive-inductive types</article-title>
          ,
          <source>Proceedings of the ACM on Programming Languages</source>
          <volume>3</volume>
          (
          <year>2019</year>
          )
          <fpage>1</fpage>
          -
          <lpage>24</lpage>
          . URL: https://doi.org/10.1145/3290315. doi:
          <volume>10</volume>
          .1145/3290315.
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>A.</given-names>
            <surname>Kovács</surname>
          </string-name>
          ,
          <article-title>Type-Theoretic Signatures for Algebraic Theories</article-title>
          and
          <string-name>
            <given-names>Inductive</given-names>
            <surname>Types</surname>
          </string-name>
          ,
          <source>Ph.D. thesis</source>
          , Eötvös Loránd University Doctoral School of Informatics,
          <year>2022</year>
          . URL: https://arxiv.org/abs/2302. 08837.
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>K.</given-names>
            <surname>Sojakova</surname>
          </string-name>
          ,
          <article-title>Higher inductive types as homotopy-initial algebras</article-title>
          ,
          <source>in: Proceedings of the 42nd Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages, POPL '15</source>
          ,
          <string-name>
            <surname>ACM</surname>
          </string-name>
          , New York, NY, USA,
          <year>2015</year>
          , p.
          <fpage>31</fpage>
          -
          <lpage>42</lpage>
          . doi:
          <volume>10</volume>
          .1145/2676726.2676983.
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>G.</given-names>
            <surname>Amato</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Maggesi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Parton</surname>
          </string-name>
          ,
          <string-name>
            <surname>C.</surname>
          </string-name>
          <article-title>Perini Brogi, Universal algebra in UniMath</article-title>
          , in: Workshop on Homotopy Type Theory/Univalent Foundations - HoTT/UF2020,
          <year>2020</year>
          , pp.
          <fpage>1</fpage>
          -
          <lpage>4</lpage>
          . URL: https: //hott-uf.github.io/
          <year>2020</year>
          /.
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <given-names>G.</given-names>
            <surname>Amato</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Calosci</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Maggesi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Perini Brogi</surname>
          </string-name>
          ,
          <source>Universal algebra in UniMath, Mathematical Structures in Computer Science</source>
          <volume>34</volume>
          (
          <year>2024</year>
          )
          <fpage>869</fpage>
          -
          <lpage>891</lpage>
          . doi:
          <volume>10</volume>
          .1017/S0960129524000367.
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <given-names>A.</given-names>
            <surname>Facchini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Stanovský</surname>
          </string-name>
          , Semidirect products in universal algebra,
          <year>2023</year>
          . URL: https://arxiv.org/ abs/2311.04321. arXiv:
          <volume>2311</volume>
          .
          <fpage>04321</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          [20]
          <string-name>
            <given-names>V.</given-names>
            <surname>Capretta</surname>
          </string-name>
          ,
          <article-title>Universal algebra in type theory</article-title>
          , in: Y. Bertot,
          <string-name>
            <given-names>G.</given-names>
            <surname>Dowek</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Hirschowits</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Paulin</surname>
          </string-name>
          , L. Théry (Eds.),
          <source>Theorem Proving in Higher Order Logics</source>
          , 12th International Conference,
          <source>TPHOLs '99</source>
          , volume
          <volume>1690</volume>
          <source>of LNCS</source>
          , Springer,
          <year>1999</year>
          , pp.
          <fpage>131</fpage>
          -
          <lpage>148</lpage>
          . URL: http://www-sop.inria.fr/lemme/
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>