Lune

POPL2024顶会

Ill-Typed Programs Don't Evaluate

Steven Ramsay, Charlie Walpole

摘要

We introduce two-sided type systems, which are sequent calculi for typing formulas. Two-sided type systems allow for hypothetical reasoning over the typing of compound program expressions, and the refutation of typing formulas. By incorporating a type of all values, these type systems support more refined notions of well-typing and ill-typing, guaranteeing both that well-typed programs don’t go wrong and that ill-typed programs don’t evaluate - that is, reach a value. This makes two-sided type systems suitable for incorrectness reasoning in higher-order program verification, which we illustrate through an application to precise data-flow typing in a language with constructors and pattern matching. Finally, we investigate the internalisation of the meta-level negation in the system as a complement operator on types. This motivates an alternative semantics for the typing judgement, which guarantees that ill-typed programs don’t evaluate, but in which well-typed programs may yet go wrong.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Concurrent incorrectness separation logic 引用了 Incorrectness logic
  • Trace-Guided Synthesis of Effectful Test Generators 引用了 Incorrectness logic
  • Trace-Guided Synthesis of Effectful Test Generators 引用了 A Complementary Approach to Incorrectness Typing
  • Trace-Guided Synthesis of Effectful Test Generators 引用了 Finding real bugs in big programs with incorrectness logic
  • Trace-Guided Synthesis of Effectful Test Generators 引用了 Outcome Logic: A Unifying Foundation for Correctness and Incorrectness Reasoning
  • A Complementary Approach to Incorrectness Typing 引用了 Concurrent incorrectness separation logic
  • A Complementary Approach to Incorrectness Typing 引用了 MLstruct: principal type inference in a Boolean algebra of structural types
  • A Complementary Approach to Incorrectness Typing 引用了 Incorrectness logic
  • A Complementary Approach to Incorrectness Typing 引用了 Semantic-Type-Guided Bug Finding
  • A Complementary Approach to Incorrectness Typing 引用了 Finding real bugs in big programs with incorrectness logic
  • A Complementary Approach to Incorrectness Typing 引用了 Outcome Logic: A Unifying Foundation for Correctness and Incorrectness Reasoning
  • Semantic-Type-Guided Bug Finding 引用了 Incorrectness logic
  • Semantic-Type-Guided Bug Finding 引用了 Finding real bugs in big programs with incorrectness logic
  • Finding real bugs in big programs with incorrectness logic 引用了 Concurrent incorrectness separation logic
  • Finding real bugs in big programs with incorrectness logic 引用了 Incorrectness logic
  • Outcome Logic: A Unifying Foundation for Correctness and Incorrectness Reasoning 引用了 Concurrent incorrectness separation logic
  • Outcome Logic: A Unifying Foundation for Correctness and Incorrectness Reasoning 引用了 Incorrectness logic
  • Outcome Logic: A Unifying Foundation for Correctness and Incorrectness Reasoning 引用了 Finding real bugs in big programs with incorrectness logic
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper3

  1. A Complementary Approach to Incorrectness TypingCelia Mengyue Li, Sophie Pull, Steven RamsayPOPL 2026 · 2 次引用
  2. Semantic-Type-Guided Bug FindingKelvin Qian, Scott F. Smith, Brandon Stride, Shiwei Weng 等OOPSLA 2024 · 2 次引用
  3. Trace-Guided Synthesis of Effectful Test GeneratorsZhe Zhou, Ankush Desai, Benjamin Delaware, Suresh JagannathanPLDI 2026 · 1 次引用

它引用的 Paper7

  1. Incorrectness logicPeter W. O'HearnPOPL 2020 · 122 次引用
  2. Finding real bugs in big programs with incorrectness logicQuang Loc Le, Azalea Raad, Jules Villard, Josh Berdine 等OOPSLA 2022 · 52 次引用
  3. Outcome Logic: A Unifying Foundation for Correctness and Incorrectness ReasoningNoam Zilberstein, Derek Dreyer, Alexandra SilvaOOPSLA 2023 · 39 次引用
  4. MLstruct: principal type inference in a Boolean algebra of structural typesLionel Parreaux, Chun Yin ChauOOPSLA 2022 · 31 次引用
  5. Concurrent incorrectness separation logicAzalea Raad, Josh Berdine, Derek Dreyer, Peter W. O'HearnPOPL 2022 · 24 次引用

相关 Paper

  1. Mechanized logical relations for termination-insensitive noninterferenceSimon Oddershede Gregersen, Johan Bay, Amin Timany, Lars BirkedalPOPL 2021 · 14 次引用
  2. The Essence of Generalized Algebraic Data TypesFilip Sieczkowski, Sergei Stepanenko, Jonathan Sterling, Lars BirkedalPOPL 2024 · 7 次引用
  3. A computational interpretation of compact closed categories: reversible programming with negative and fractional typesChao-Hong Chen, Amr SabryPOPL 2021 · 9 次引用
  4. Data flow refinement type inferenceZvonimir Pavlinovic, Yusen Su, Thomas WiesPOPL 2021 · 15 次引用
  5. The Logic of Intersection SubtypingOlivier LaurentLICS 2026
黄昏的海面,两侧是细线勾勒的悬崖