This program is tentative and subject to change.

Wed 26 Aug 2026 11:42 - 12:00 at IP126 Auditorium - Languages and DSLs Chair(s): Benjamin Delaware

Property-based testing (PBT) is a powerful technique for software verification that relies on random input generators and “shrinking” processes to find and minimize counterexamples to executable specifications called properties. While optimizing these generators is crucial for testing efficiency, formally justifying such optimizations is currently difficult because existing languages lack a compositional semantics that is coarse-grained enough for high-level reasoning.

In this paper, we first provide a formal account of the syntax and semantics of Hedgehog, a popular PBT framework. We demonstrate that Hedgehog’s distribution semantics - which models how users typically reason about generators - is non-compositional. Furthermore, we prove that any sound and complete compositional semantics for Hedgehog must necessarily be equivalent to its sampling semantics, which is too fine-grained to justify common program optimizations.

To resolve this dilemma, we introduce Hedgehog$^{\rightarrow}$, a restricted version of the language based on the arrow calculus, and prove that Hedgehog$^{\rightarrow}$ possesses a compositional distribution semantics. We evaluate Hedgehog$^{\rightarrow}$ through a Haskell implementation and show that it remains expressive enough to capture generators of practical interest, while providing the formal foundation needed for compositional generator equivalence proofs.

This program is tentative and subject to change.

Wed 26 Aug

Displayed time zone: Eastern Time (US & Canada) change

10:30 - 12:00
Languages and DSLsICFP Papers at IP126 Auditorium
Chair(s): Benjamin Delaware Purdue University
10:30
18m
Talk
QuickChecking Convergence of Rewriting Systems (Functional Pearl)Remote
ICFP Papers
Koen Claessen Chalmers University of Technology
DOI
10:48
18m
Talk
Safety First: How to Safely Disregard Unsafe Behaviour in Compiler CalculationsRemote
ICFP Papers
Patrick Bahr IT University of Copenhagen
DOI Pre-print
11:06
18m
Talk
Assertions for Free: Transferring Invariants from Algorithm to Implementation Proofs (Functional Pearl)
ICFP Papers
Shushu Wu Shanghai Jiao Tong University, Chengxi Yang Shanghai Jiao Tong University, Xiwei Wu Shanghai Jiao Tong University, Qinxiang Cao Shanghai Jiao Tong University
DOI
11:24
18m
Talk
Package Managers à la Carte
ICFP Papers
Ryan Gibb University of Cambridge, Patrick Ferris University of Cambridge, UK, David Allsopp Jane Street, Thomas Gazagnaire Tarides, Anil Madhavapeddy University of Cambridge, UK
DOI
11:42
18m
Talk
Compositional Generator Equivalence
ICFP Papers
Anthony Vandikas University of Toronto, Kiarash Sotoudeh University of Toronto, Marsha Chechik University of Toronto
DOI