Skip to main content

Showing 1–12 of 12 results for author: van der Weide, N

Searching in archive cs. Search in all archives.
.
  1. arXiv:2505.13495  [pdf, ps, other

    cs.LO

    Master Thesis Impredicative Encodings of Inductive and Coinductive Types

    Authors: Steven Bronsveld, Herman Geuvers, Niels van der Weide

    Abstract: In the impredicative type theory of System F (λ2), it is possible to create inductive data types, such as natural numbers and lists. It is also possible to create coinductive data types such as streams. They work well in the sense that their (co)recursion principles obey the expected computation rules (the \b{eta}-rules). Unfortunately, they do not yield a (co)induction principle, because the nece… ▽ More

    Submitted 15 May, 2025; originally announced May 2025.

  2. arXiv:2503.10868  [pdf, other

    cs.PL cs.LO math.CT

    A Type Theory for Comprehension Categories with Applications to Subtyping

    Authors: Niyousha Najmaei, Niels van der Weide, Benedikt Ahrens, Paige Randall North

    Abstract: In this paper we develop a type theory that we show is an internal language for comprehension categories. This type theory is closely related to Martin-Löf type theory (MLTT). Indeed, semantics of MLTT are often given in comprehension categories, albeit usually only in discrete or full ones. As we explain, requiring a comprehension category to be full or discrete can be understood as removing one… ▽ More

    Submitted 13 March, 2025; originally announced March 2025.

  3. arXiv:2412.08362  [pdf

    cs.LO math.CO math.CT

    Intrinsically Correct Sorting in Cubical Agda

    Authors: Cass Alexandru, Vikraman Choudhury, Jurriaan Rot, Niels van der Weide

    Abstract: The paper "Sorting with Bialgebras and Distributive Laws" by Hinze et al. uses the framework of bialgebraic semantics to define sorting algorithms. From distributive laws between functors they construct pairs of sorting algorithms using both folds and unfolds. Pairs of sorting algorithms arising this way include insertion/selection sort and quick/tree sort. We extend this work to define intrinsi… ▽ More

    Submitted 11 December, 2024; originally announced December 2024.

    ACM Class: F.3.1; F.3.2

  4. arXiv:2411.06636  [pdf, ps, other

    math.CT cs.LO

    The internal languages of univalent categories

    Authors: Niels van der Weide

    Abstract: Internal language theorems are fundamental in categorical logic, since they express an equivalence between syntax and semantics. One of such theorems was proven by Clairambault and Dybjer, who corrected the result originally by Seely. More specifically, they constructed a biequivalence between the bicategory of locally Cartesian closed categories and the bicategory of democratic categories with fa… ▽ More

    Submitted 23 May, 2025; v1 submitted 10 November, 2024; originally announced November 2024.

  5. arXiv:2401.11752  [pdf, ps, other

    cs.LO math.CT

    Univalent Enriched Categories and the Enriched Rezk Completion

    Authors: Niels van der Weide

    Abstract: Enriched categories are categories whose sets of morphisms are enriched with extra structure. Such categories play a prominent role in the study of higher categories, homotopy theory, and the semantics of programming languages. In this paper, we study univalent enriched categories. We prove that all essentially surjective and fully faithful functors between univalent enriched categories are equiva… ▽ More

    Submitted 26 June, 2025; v1 submitted 22 January, 2024; originally announced January 2024.

  6. arXiv:2310.09220  [pdf, other

    math.CT cs.LO

    Univalent Double Categories

    Authors: Niels van der Weide, Nima Rasekh, Benedikt Ahrens, Paige Randall North

    Abstract: Category theory is a branch of mathematics that provides a formal framework for understanding the relationship between mathematical structures. To this end, a category not only incorporates the data of the desired objects, but also "morphisms", which capture how different objects interact with each other. Category theory has found many applications in mathematics and in computer science, for examp… ▽ More

    Submitted 13 October, 2023; originally announced October 2023.

    Report number: MPIM-Bonn-2024

  7. Certifying Higher-Order Polynomial Interpretations

    Authors: Niels van der Weide, Deivid Vale, Cynthia Kop

    Abstract: Higher-order rewriting is a framework in which one can write higher-order programs and study their properties. One such property is termination: the situation that for all inputs, the program eventually halts its execution and produces an output. Several tools have been developed to check whether higher-order rewriting systems are terminating. However, developing such tools is difficult and can be… ▽ More

    Submitted 5 August, 2023; v1 submitted 23 February, 2023; originally announced February 2023.

    Comments: This new version fixes typos in the introduction, adds a reference to the published version, and adds the \hideLipics command so the temporary lipics logo isn't shown. No textual content was added or removed in this version

  8. The Formal Theory of Monads, Univalently

    Authors: Niels van der Weide

    Abstract: We develop the formal theory of monads, as established by Street, in univalent foundations. This allows us to formally reason about various kinds of monads on the right level of abstraction. In particular, we define the bicategory of monads internal to a bicategory, and prove that it is univalent. We also define Eilenberg-Moore objects, and we show that both Eilenberg-Moore categories and Kleisli… ▽ More

    Submitted 18 February, 2025; v1 submitted 16 December, 2022; originally announced December 2022.

    Journal ref: Logical Methods in Computer Science, Volume 21, Issue 1 (February 19, 2025) lmcs:13005

  9. Bicategorical type theory: semantics and syntax

    Authors: Benedikt Ahrens, Paige Randall North, Niels van der Weide

    Abstract: We develop semantics and syntax for bicategorical type theory. Bicategorical type theory features contexts, types, terms, and directed reductions between terms. This type theory is naturally interpreted in a class of structured bicategories. We start by developing the semantics, in the form of comprehension bicategories. Examples of comprehension bicategories are plentiful; we study both specific… ▽ More

    Submitted 12 October, 2023; v1 submitted 25 January, 2022; originally announced January 2022.

    Comments: v2: final version for LICS 2022. v3: long version - for detailed log, see Section 1.5 Version History. v4: Final version to be published in MSCS

    Journal ref: v2: Logic in Computer Science (LICS) 2022. v4: Mathematical Structures in Computer Science, CUP

  10. arXiv:2112.05715  [pdf, other

    cs.LO

    Formalizing Higher-Order Termination in Coq

    Authors: Deivid Vale, Niels van der Weide

    Abstract: We describe a formalization of higher-order rewriting theory and formally prove that an AFS is strongly normalizing if it can be interpreted in a well-founded domain. To do so, we use Coq, which is a proof assistant based on dependent type theory. Using this formalization, one can implement several termination techniques, like the interpretation method or dependency pairs, and prove their correctn… ▽ More

    Submitted 13 December, 2021; v1 submitted 10 December, 2021; originally announced December 2021.

    ACM Class: F.4.2; F.3.1

  11. Constructing Higher Inductive Types as Groupoid Quotients

    Authors: Niccolò Veltri, Niels van der Weide

    Abstract: In this paper, we study finitary 1-truncated higher inductive types (HITs) in homotopy type theory. We start by showing that all these types can be constructed from the groupoid quotient. We define an internal notion of signatures for HITs, and for each signature, we construct a bicategory of algebras in 1-types and in groupoids. We continue by proving initial algebra semantics for our signatures.… ▽ More

    Submitted 21 April, 2021; v1 submitted 19 February, 2020; originally announced February 2020.

    Journal ref: Logical Methods in Computer Science, Volume 17, Issue 2 (April 22, 2021) lmcs:6607

  12. Bicategories in Univalent Foundations

    Authors: Benedikt Ahrens, Dan Frumin, Marco Maggesi, Niccolò Veltri, Niels van der Weide

    Abstract: We develop bicategory theory in univalent foundations. Guided by the notion of univalence for (1-)categories studied by Ahrens, Kapulkin, and Shulman, we define and study univalent bicategories. To construct examples of univalent bicategories in a modular fashion, we develop displayed bicategories, an analog of displayed 1-categories introduced by Ahrens and Lumsdaine. We demonstrate the applicabi… ▽ More

    Submitted 15 August, 2022; v1 submitted 4 March, 2019; originally announced March 2019.

    Comments: v1: 16 pages; v2: Veltri added as coauthor, extended version, 32 pages, list of changes given in Section "Publication history"; v3: final journal version to be published in Mathematical Structures in Computer Science; v4: fixed some typos that remain in the MSCS version

    Journal ref: Mathematical Structures in Computer Science (MSCS), 2022