Underpinning Property-Based Testing
Ernest Ng, Segev Elazar Mittelman, Joshua M. Cohen, Katherine Hough, Michael Hicks, Harrison Goldstein
Key points
From the paper's conclusion- We evaluate our framework extensively, with both small and large benchmarks and case studies, arguing that the extra power brought by distributional proofs is practically important for the next generation of generator automation.
Abstract
As the property-based testing community strives to automate challenging parts of the process away from users --- in particular, the construction of generators --- it is critical that we can clearly state what it means for that automation to be correct. We present a new framework for PBT, implemented in the Lean theorem prover, that provides a more solid foundation to build on. Our generators are interpretable: interpreted one way, they can be run efficiently as programs that sample randomness; and interpreted another way, they enable a wide range of correctness proofs, including proofs about distributions that other foundational PBT models do not support. We evaluate our framework extensively, with both small and large benchmarks and case studies, arguing that the extra power brought by distributional proofs is practically important for the next generation of generator automation.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A Multi-Domain Study on the Effectiveness of LLMs at Writing Property-Based TestsarXiv · 2026
- Ephyra: A Property-Based Testing Framework for the LLM EraarXiv · 2026
- PropCov: Effective Coverage Reporting for Property-Based TestingProceedings of the ACM on Software Engineering · 2026
- Testing Theorems, Fully AutomaticallyProceedings of the ACM on Programming Languages · 2026
- What Has Actually Been Proved? Auditable Paper-to-Lean Alignment with LeanTrailarXiv · 2026
- Statopia: A Prover--Library Ecosystem for Automated Formalization and Proof Discovery in StatisticsarXiv · 2026