Copatterns: programming infinite structures by observations

A Abel, B Pientka, D Thibodeau, A Setzer - ACM SIGPLAN Notices, 2013 - dl.acm.org
Inductive datatypes provide mechanisms to define finite data such as finite lists and trees via
constructors and allow programmers to analyze and manipulate finite data via pattern …

Ultrametric semantics of reactive programs

NR Krishnaswami, N Benton - 2011 IEEE 26th Annual …, 2011 - ieeexplore.ieee.org
We describe a denotational model of higher-order functional reactive programming using
ultra metric spaces and non expansive maps, which provide a natural Cartesian closed …

The logical basis of evaluation order and pattern-matching

N Zeilberger - 2009 - search.proquest.com
An old and celebrated analogy says that writing programs is like proving theorems. This
analogy has been productive in both directions, but in particular has demonstrated …

A Bowtie for a Beast: Overloading, Eta Expansion, and Extensible Data Types in F⋈

N Rioux, X Huang, BCS Oliveira… - Proceedings of the ACM …, 2023 - dl.acm.org
The typed merge operator offers the promise of a compositional style of statically-typed
programming in which solutions to the expression problem arise naturally. This approach …

Structural focalization

RJ Simmons - ACM Transactions on Computational Logic (TOCL), 2014 - dl.acm.org
Focusing, introduced by Jean-Marc Andreoli in the context of classical linear logic [Andreoli
1992], defines a normal form for sequent calculus derivations that cuts down on the number …

Layered Modal Type Theory: Where Meta-programming Meets Intensional Analysis

JZS Hu, B Pientka - European Symposium on Programming, 2024 - Springer
We introduce layering to modal type theory to combine type theory with intensional analysis.
In particular, we demonstrate this idea by develo** a 2-layered modal type theory. At the …

Modular focused proof systems for intuitionistic modal logics

K Chaudhuri, S Marin… - … Conference on Formal …, 2016 - drops.dagstuhl.de
Focusing is a general technique for syntactically compartmentalizing the non-deterministic
choices in a proof system, which not only improves proof search but also has the …

Which simple types have a unique inhabitant?

G Scherer, D Rémy - ACM SIGPLAN Notices, 2015 - dl.acm.org
We study the question of whether a given type has a unique inhabitant modulo program
equivalence. In the setting of simply-typed lambda-calculus with sums, equipped with the …

[PDF][PDF] Substructural logical specifications

RJ Simmons - 2012 - Citeseer
14. ABSTRACT A logical framework and its implementation should serve as a flexible tool
for specifying, simulating, and reasoning about formal systems. When the formal systems we …

Elaborating dependent (co) pattern matching

J Cockx, A Abel - Proceedings of the ACM on Programming Languages, 2018 - dl.acm.org
In a dependently typed language, we can guarantee correctness of our programs by
providing formal proofs. To check them, the typechecker elaborates these programs and …