activity
20162026
most citedLinear Haskell: practical linearity in a higher-order polymorphic language

85 citations · 102 across the 10 of their papers we have counts for

collaborators

14 papers

cs.PL2026

Arbitrary Functors as Modalities in a Linear Calculus

Jean-Philippe Bernardy, Andreas Abel

We study modalities in the linear lambda calculus, by interpreting them as endofunctors in monoidal closed categories. We support functors that do not distribute over products, inc…

cs.PL2026

Linear Constraints

Arnaud Spiwack, Csongor Kiss, Jean-Philippe Bernardy +2

Linear constraints are the linear counterpart of Haskell's class constraints. Linearly typed parameters allow the programmer to control resources such as file handles and manually…

cs.LO2025

A Graded Modal Type Theory for Pulse Schedules

Robin Adams, Jean-Philippe Bernardy, Lorenzo Perticone +1

The operations to be performed by a quantum computer are almost invariably given in the form of a quantum circuit. In the final stage of compilation, a quantum circuit must be tran…

cs.LG2024

Learning Structure-Aware Representations of Dependent Types

Konstantinos Kogkalidis, Orestis Melkonian, Jean-Philippe Bernardy

Agda is a dependently-typed programming language and a proof assistant, pivotal in proof formalization and programming language theory. This paper extends the Agda ecosystem into m…

cs.LG2023

Algebraic Positional Encodings

Konstantinos Kogkalidis, Jean-Philippe Bernardy, Vikas Garg

We introduce a novel positional encoding strategy for Transformer-style models, addressing the shortcomings of existing, often ad hoc, approaches. Our framework provides a flexible…

cs.PL2023

Domain-Specific Tensor Languages

Jean-Philippe Bernardy, Patrik Jansson

The tensor notation used in several areas of mathematics is a useful one, but it is not widely available to the functional programming community. In a practical sense, the (embedde…

cs.PL2021

Evaluating Linear Functions to Symmetric Monoidal Categories

Jean-Philippe Bernardy, Arnaud Spiwack

A number of domain specific languages, such as circuits or data-science workflows, are best expressed as diagrams of boxes connected by wires. Unfortunately, functional languages h…

cs.PL2021★ 6 cited

Linearly Qualified Types: Generic inference for capabilities and uniqueness

Arnaud Spiwack, Csongor Kiss, Jean-Philippe Bernardy +2

A linear parameter must be consumed exactly once in the body of its function. When declaring resources such as file handles and manually managed memory as linear arguments, a linea…

cs.CL2020★ 1 cited

FraCaS: Temporal Analysis

Jean-Philippe Bernardy, Stergios Chatzikyriakidis

In this paper, we propose an implementation of temporal semantics which is suitable for inference problems. This implementation translates syntax trees to logical formulas, suitabl…

cs.PL2020

Dynamic IFC Theorems for Free!

Maximilian Algehed, Jean-Philippe Bernardy, Catalin Hritcu

We show that noninterference and transparency, the key soundness theorems for dynamic IFC libraries, can be obtained "for free", as direct consequences of the more general parametr…

cs.CL2018

A corpus of precise natural textual entailment problems

Jean-Philippe Bernardy, Stergios Chatzikyriakidis

In this paper, we present a new corpus of entailment problems. This corpus combines the following characteristics: 1. it is precise (does not leave out implicit hypotheses) 2. it i…

cs.PL2017★ 85 cited

Linear Haskell: practical linearity in a higher-order polymorphic language

Jean-Philippe Bernardy, Mathieu Boespflug, Ryan R. Newton +2

Linear type systems have a long and storied history, but not a clear path forward to integrate with existing languages such as OCaml or Haskell. In this paper, we study a linear ty…

cs.CL2017

Modelling prosodic structure using Artificial Neural Networks

Jean-Philippe Bernardy, Charalambos Themistocleous

The ability to accurately perceive whether a speaker is asking a question or is making a statement is crucial for any successful interaction. However, learning and classifying tona…

cs.LO2016★ 10 cited

Certified Context-Free Parsing: A formalisation of Valiant's Algorithm in Agda

Jean-Philippe Bernardy, Patrik Jansson

Valiant (1975) has developed an algorithm for recognition of context free languages. As of today, it remains the algorithm with the best asymptotic complexity for this purpose. In…