Skip to main content

Showing 1–8 of 8 results for author: De Amorim, P H A

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

    cs.LO math.CT

    Logical relations for call-by-push-value models, via internal fibrations in a 2-category

    Authors: Pedro H. Azevedo de Amorim, Satoshi Kura, Philip Saville

    Abstract: We give a denotational account of logical relations for call-by-push-value (CBPV) in the fibrational style of Hermida, Jacobs, Katsumata and others. Fibrations -- which axiomatise the usual notion of sets-with-relations -- provide a clean framework for constructing new, logical relations-style, models. Such models can then be used to study properties such as effect simulation. Extending this pic… ▽ More

    Submitted 20 May, 2025; originally announced May 2025.

    Comments: Accepted to Logic in Computer Science (LICS) 2025. Comments welcome!

  2. arXiv:2504.03995  [pdf, other

    cs.PL cs.FL

    Intrinsic Verification of Parsers and Formal Grammar Theory in Dependent Lambek Calculus (Extended Version)

    Authors: Steven Schaefer, Nathan Varner, Pedro H. Azevedo de Amorim, Max S. New

    Abstract: We present Dependent Lambek Calculus, a domain-specific dependent type theory for verified parsing and formal grammar theory. In $\textrm{Lambek}^D$, linear types are used as a syntax for formal grammars,and parsers can be written as linear terms. The linear typing restriction provides a form of intrinsic verification that a parser yields only valid parse trees for the input string. We demonstrate… ▽ More

    Submitted 29 April, 2025; v1 submitted 4 April, 2025; originally announced April 2025.

    Comments: 37 pages, 24 figures; Replaced to keep consistency with non-extended version of the paper to appear at PLDI 25

    ACM Class: F.3.2; F.4.2

  3. arXiv:2402.01009  [pdf, ps, other

    cs.PL cs.LO

    Denotational Foundations for Expected Cost Analysis

    Authors: Pedro H. Azevedo de Amorim

    Abstract: Reasoning about the cost of executing programs is one of the fundamental questions in computer science. In the context of programming with probabilities, however, the notion of cost stops being deterministic, since it depends on the probabilistic samples made throughout the execution of the program. This interaction is further complicated by the non-trivial interaction between cost, recursion and… ▽ More

    Submitted 26 February, 2025; v1 submitted 1 February, 2024; originally announced February 2024.

  4. arXiv:2304.10646  [pdf

    cs.AR cs.PL

    Modular Hardware Design with Timeline Types

    Authors: Rachit Nigam, Pedro Henrique Azevedo De Amorim, Adrian Sampson

    Abstract: Modular design is a key challenge for enabling large-scale reuse of hardware modules. Unlike software, however, hardware designs correspond to physical circuits and inherit constraints from them. Timing constraints -- which cycle a signal arrives, when an input is read -- and structural constraints -- how often a multiplier accepts new inputs -- are fundamental to hardware interfaces. Existing har… ▽ More

    Submitted 20 April, 2023; originally announced April 2023.

    Comments: Extended version of PLDI '23 paper

  5. arXiv:2303.01616  [pdf, other

    cs.PL cs.LO

    Separated and Shared Effects in Higher-Order Languages

    Authors: Pedro H. Azevedo de Amorim, Justin Hsu

    Abstract: Effectful programs interact in ways that go beyond simple input-output, making compositional reasoning challenging. Existing work has shown that when such programs are ``separate'', i.e., when programs do not interfere with each other, it can be easier to reason about them. While reasoning about separated resources has been well-studied, there has been little work on reasoning about separated effe… ▽ More

    Submitted 2 March, 2023; originally announced March 2023.

  6. arXiv:2207.05946  [pdf, other

    cs.PL

    Distribution Theoretic Semantics for Non-Smooth Differentiable Programming

    Authors: Pedro H. Azevedo de Amorim, Christopher Lam

    Abstract: With the wide spread of deep learning and gradient descent inspired optimization algorithms, differentiable programming has gained traction. Nowadays it has found applications in many different areas as well, such as scientific computing, robotics, computer graphics and others. One of its notoriously difficult problems consists in interpreting programs that are not differentiable everywhere. In… ▽ More

    Submitted 12 July, 2022; originally announced July 2022.

  7. arXiv:2202.00142  [pdf, ps, other

    cs.LO cs.PL

    A Higher-Order Language for Markov Kernels and Linear Operators

    Authors: Pedro H. Azevedo de Amorim

    Abstract: Much work has been done to give semantics to probabilistic programming languages. In recent years, most of the semantics used to reason about probabilistic programs fall in two categories: semantics based on Markov kernels and semantics based on linear operators. Both styles of semantics have found numerous applications in reasoning about probabilistic programs, but they each have their strength… ▽ More

    Submitted 2 March, 2023; v1 submitted 31 January, 2022; originally announced February 2022.

    Comments: Updated title. Accepted at FoSSaCS 2023

  8. First-Order Logic for Flow-Limited Authorization

    Authors: Andrew K. Hirsch, Pedro H. Azevedo de Amorim, Ethan Cecchetti, Ross Tate, Owen Arden

    Abstract: We present the Flow-Limited Authorization First-Order Logic (FLAFOL), a logic for reasoning about authorization decisions in the presence of information-flow policies. We formalize the FLAFOL proof system, characterize its proof-theoretic properties, and develop its security guarantees. In particular, FLAFOL is the first logic to provide a non-interference guarantee while supporting all connective… ▽ More

    Submitted 28 January, 2020; originally announced January 2020.

    Comments: Coq code can be found at https://github.com/FLAFOL/flafol-coq