Lune

OOPSLA2024Top-tier venue

Semantic-Type-Guided Bug Finding

Kelvin Qian, Scott F. Smith, Brandon Stride, Shiwei Weng, Ke Wu

Abstract

In recent years, there has been an increased interest in tools that establish incorrectness rather than correctness of program properties. In this work we build on this approach by developing a novel methodology to prove incorrectness of semantic typing properties of functional programs, extending the incorrectness approach to the model theory of functional program typing. We define a semantic type refuter which refutes semantic typings for a simple functional language. We prove our refuter is co-recursively enumerable, and that it is sound and complete with respect to a semantic typing notion. An initial implementation is described which uses symbolic evaluation to efficiently find type errors over a functional language with a rich type system.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Ill-Typed Programs Don't Evaluate cites Incorrectness logic
  • Ill-Typed Programs Don't Evaluate cites Finding real bugs in big programs with incorrectness logic
  • A Complementary Approach to Incorrectness Typing cites Incorrectness logic
  • A Complementary Approach to Incorrectness Typing cites Ill-Typed Programs Don't Evaluate
  • A Complementary Approach to Incorrectness Typing cites Finding real bugs in big programs with incorrectness logic
  • Finding real bugs in big programs with incorrectness logic cites Incorrectness logic
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. A Complementary Approach to Incorrectness TypingCelia Mengyue Li, Sophie Pull, Steven RamsayPOPL 2026 · 2 citations

Builds on3

  1. Incorrectness logicPeter W. O'HearnPOPL 2020 · 122 citations
  2. Finding real bugs in big programs with incorrectness logicQuang Loc Le, Azalea Raad, Jules Villard, Josh Berdine et al.OOPSLA 2022 · 52 citations
  3. Ill-Typed Programs Don't EvaluateSteven Ramsay, Charlie WalpolePOPL 2024 · 3 citations

Related papers

  1. Enumerating Ill-Typed Programs for Testing Type AnalyzersThodoris Sotiropoulos, Zhendong SuPLDI 2026
  2. Gradual Typing for Effect HandlersMax S. New, Eric Giovannini, Daniel R. LicataOOPSLA 2023 · 3 citations
  3. Refinement Type RefutationsRobin Webbers, Klaus von Gleissenthall, Ranjit JhalaOOPSLA 2024 · 3 citations
  4. A systematic approach to deriving incremental type checkersAndré Pacak, Sebastian Erdweg, Tamás SzabóOOPSLA 2020 · 16 citations
  5. Intensional datatype refinement: with application to scalable verification of pattern-match safetyEddie Jones, Steven J. RamsayPOPL 2021 · 3 citations
Dusk over the sea between two cliffs drawn in fine vertical lines