Skip to main content

Showing 1–13 of 13 results for author: Berg, B v d

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

    math.LO cs.LO

    Conservativity of Type Theory over Higher-order Arithmetic

    Authors: Benno van den Berg, Daniël Otten

    Abstract: We investigate how much type theory is able to prove about the natural numbers. A classical result in this area shows that dependent type theory without any universes is conservative over Heyting Arithmetic (HA). We build on this result by showing that type theories with one level of universes are conservative over Higher-order Heyting Arithmetic (HAH). Although this clearly depends on the specifi… ▽ More

    Submitted 29 August, 2023; originally announced August 2023.

    Comments: 23 pages

    MSC Class: 03B38; 03B16; 03F55; 03F50 ACM Class: F.4.1

  2. arXiv:2305.07878  [pdf, ps, other

    cs.PL

    Automatic Differentiation in Prolog

    Authors: Tom Schrijvers, Birthe van den Berg, Fabrizio Riguzzi

    Abstract: Automatic differentiation (AD) is a range of algorithms to compute the numeric value of a function's (partial) derivative, where the function is typically given as a computer program or abstract syntax tree. AD has become immensely popular as part of many learning algorithms, notably for neural networks. This paper uses Prolog to systematically derive gradient-based forward- and reverse-mode AD va… ▽ More

    Submitted 13 May, 2023; originally announced May 2023.

    Comments: accepted for publication in the issues of Theory and Practice of Logic Programming dedicated to ICLP 2023

  3. arXiv:2304.09697  [pdf, ps, other

    cs.PL

    A Calculus for Scoped Effects & Handlers

    Authors: Roger Bosman, Birthe van den Berg, Wenhao Tang, Tom Schrijvers

    Abstract: Algebraic effects & handlers have become a standard approach for side-effects in functional programming. Their modular composition with other effects and clean separation of syntax and semantics make them attractive to a wide audience. However, not all effects can be classified as algebraic; some need a more sophisticated handling. In particular, effects that have or create a delimited scope need… ▽ More

    Submitted 5 March, 2024; v1 submitted 19 April, 2023; originally announced April 2023.

  4. arXiv:2302.01415  [pdf, ps, other

    cs.PL cs.LO

    A Framework for Higher-Order Effects & Handlers

    Authors: Birthe van den Berg, Tom Schrijvers

    Abstract: Algebraic effects & handlers are a modular approach for modeling side-effects in functional programming. Their syntax is defined in terms of a signature of effectful operations, encoded as a functor, that are plugged into the free monad; their denotational semantics is defined by fold-style handlers that only interpret their part of the syntax and forward the rest. However, not all effects are alg… ▽ More

    Submitted 2 February, 2023; originally announced February 2023.

  5. arXiv:2212.11088  [pdf, ps, other

    cs.PL

    Forward- or Reverse-Mode Automatic Differentiation: What's the Difference?

    Authors: Birthe van den Berg, Tom Schrijvers, James McKinna, Alexander Vandenbroucke

    Abstract: Automatic differentiation (AD) has been a topic of interest for researchers in many disciplines, with increased popularity since its application to machine learning and neural networks. Although many researchers appreciate and know how to apply AD, it remains a challenge to truly understand the underlying processes. From an algebraic point of view, however, AD appears surprisingly natural: it orig… ▽ More

    Submitted 9 August, 2023; v1 submitted 21 December, 2022; originally announced December 2022.

  6. arXiv:2201.10287  [pdf, ps, other

    cs.PL

    Structured Handling of Scoped Effects: Extended Version

    Authors: Zhixuan Yang, Marco Paviotti, Nicolas Wu, Birthe van den Berg, Tom Schrijvers

    Abstract: Algebraic effects offer a versatile framework that covers a wide variety of effects. However, the family of operations that delimit scopes are not algebraic and are usually modelled as handlers, thus preventing them from being used freely in conjunction with algebraic operations. Although proposals for scoped operations exist, they are either ad-hoc and unprincipled, or too inconvenient for practi… ▽ More

    Submitted 25 January, 2022; originally announced January 2022.

    Comments: Extended version of the paper Structured Handling of Scoped Effects in ESOP 2022

  7. arXiv:2108.11155  [pdf, other

    cs.PL

    Latent Effects for Reusable Language Components: Extended Version

    Authors: Birthe van den Berg, Tom Schrijvers, Casper Bach-Poulsen, Nicolas Wu

    Abstract: The development of programming languages can be quite complicated and costly. Hence, much effort has been devoted to the modular definition of language features that can be reused in various combinations to define new languages and experiment with their semantics. A notable outcome of these efforts is the algebra-based "datatypes a la carte" (DTC) approach. When combined with algebraic effects, DT… ▽ More

    Submitted 25 August, 2021; originally announced August 2021.

    Comments: extended version of APLAS 2021 paper

  8. arXiv:2103.14482  [pdf, other

    math.LO cs.LO math.CT

    Converse extensionality and apartness

    Authors: Benno van den Berg, Robert Passmann

    Abstract: In this paper we try to find a computational interpretation for a strong form of extensionality, which we call "converse extensionality". Converse extensionality principles, which arise as the Dialectica interpretation of the axiom of extensionality, were first studied by Howard. In order to give a computational interpretation to these principles, we reconsider Brouwer's apartness relation, a stro… ▽ More

    Submitted 19 December, 2022; v1 submitted 26 March, 2021; originally announced March 2021.

    Journal ref: Logical Methods in Computer Science, Volume 18, Issue 4 (December 20, 2022) lmcs:7306

  9. arXiv:2102.00905  [pdf, other

    cs.LO

    Quadratic type checking for objective type theory

    Authors: Benno van den Berg, Martijn den Besten

    Abstract: We introduce a modification of standard Martin-Lof type theory in which we eliminate definitional equality and replace all computation rules by propositional equalities. We show that type checking for such a system can be done in quadratic time and that it has a natural homotopy-theoretic semantics.

    Submitted 1 February, 2021; originally announced February 2021.

  10. arXiv:2009.12670  [pdf, other

    math.CT cs.LO math.AT math.LO

    Effective Kan fibrations in simplicial sets

    Authors: Benno van den Berg, Eric Faber

    Abstract: We introduce the notion of an effective Kan fibration, a new mathematical structure that can be used to study simplicial homotopy theory. Our main motivation is to make simplicial homotopy theory suitable for homotopy type theory. Effective Kan fibrations are maps of simplicial sets equipped with a structured collection of chosen lifts that satisfy certain non-trivial properties. This contrasts wi… ▽ More

    Submitted 30 April, 2022; v1 submitted 26 September, 2020; originally announced September 2020.

    Comments: 197 pages

    MSC Class: 55U10; 55U35; 03B15; 18A32

  11. arXiv:1812.00991  [pdf

    cs.CY

    Analyzing Partitioned FAIR Health Data Responsibly

    Authors: Chang Sun, Lianne Ippel, Birgit Wouters, Johan van Soest, Alexander Malic, Onaopepo Adekunle, Bob van den Berg, Marco Puts, Ole Mussmann, Annemarie Koster, Carla van der Kallen, David Townend, Andre Dekker, Michel Dumontier

    Abstract: It is widely anticipated that the use of health-related big data will enable further understanding and improvements in human health and wellbeing. Our current project, funded through the Dutch National Research Agenda, aims to explore the relationship between the development of diabetes and socio-economic factors such as lifestyle and health care utilization. The analysis involves combining data f… ▽ More

    Submitted 2 December, 2018; originally announced December 2018.

    Comments: 6 pages, 1 figure, preliminary result, project report

    ACM Class: E.1; E.3; H.2.4; H.2.8

  12. arXiv:1803.10113  [pdf, ps, other

    math.CT cs.LO math.LO

    Univalent polymorphism

    Authors: Benno van den Berg

    Abstract: We show that Martin Hyland's effective topos can be exhibited as the homotopy category of a path category $\mathbb{EFF}$. Path categories are categories of fibrant objects in the sense of Brown satisfying two additional properties and as such provide a context in which one can interpret many notions from homotopy theory and Homotopy Type Theory. Within the path category $\mathbb{EFF}$ one can iden… ▽ More

    Submitted 1 August, 2018; v1 submitted 27 March, 2018; originally announced March 2018.

    Comments: Corrected typos, updated references and added a section on Church's Thesis

  13. arXiv:1701.08369  [pdf, ps, other

    cs.LO math.CT

    A homotopy-theoretic model of function extensionality in the effective topos

    Authors: Daniil Frumin, Benno van den Berg

    Abstract: We present a way of constructing a Quillen model structure on a full subcategory of an elementary topos, starting with an interval object with connections and a certain dominance. The advantage of this method is that it does not require the underlying topos to be cocomplete. The resulting model category structure gives rise to a model of homotopy type theory with identity types, $Σ$- and $Π$-types… ▽ More

    Submitted 12 March, 2018; v1 submitted 29 January, 2017; originally announced January 2017.

    Comments: v2: The section "A non-contractible uniform object." was removed due to an error in Lemma 6.5, Proposition 7.3 was changed to account for the fact that only the "only if" direction holds