摘要
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 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- 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
- A Complementary Approach to Incorrectness TypingCelia Mengyue Li, Sophie Pull, Steven RamsayPOPL 2026 · 2 次引用
- Semantic-Type-Guided Bug FindingKelvin Qian, Scott F. Smith, Brandon Stride, Shiwei Weng 等OOPSLA 2024 · 2 次引用
- Trace-Guided Synthesis of Effectful Test GeneratorsZhe Zhou, Ankush Desai, Benjamin Delaware, Suresh JagannathanPLDI 2026 · 1 次引用
它引用的 Paper7
- Incorrectness logicPeter W. O'HearnPOPL 2020 · 122 次引用
- Finding real bugs in big programs with incorrectness logicQuang Loc Le, Azalea Raad, Jules Villard, Josh Berdine 等OOPSLA 2022 · 52 次引用
- Outcome Logic: A Unifying Foundation for Correctness and Incorrectness ReasoningNoam Zilberstein, Derek Dreyer, Alexandra SilvaOOPSLA 2023 · 39 次引用
- MLstruct: principal type inference in a Boolean algebra of structural typesLionel Parreaux, Chun Yin ChauOOPSLA 2022 · 31 次引用
- Concurrent incorrectness separation logicAzalea Raad, Josh Berdine, Derek Dreyer, Peter W. O'HearnPOPL 2022 · 24 次引用
相关 Paper
- Mechanized logical relations for termination-insensitive noninterferenceSimon Oddershede Gregersen, Johan Bay, Amin Timany, Lars BirkedalPOPL 2021 · 14 次引用
- The Essence of Generalized Algebraic Data TypesFilip Sieczkowski, Sergei Stepanenko, Jonathan Sterling, Lars BirkedalPOPL 2024 · 7 次引用
- A computational interpretation of compact closed categories: reversible programming with negative and fractional typesChao-Hong Chen, Amr SabryPOPL 2021 · 9 次引用
- Data flow refinement type inferenceZvonimir Pavlinovic, Yusen Su, Thomas WiesPOPL 2021 · 15 次引用
- The Logic of Intersection SubtypingOlivier LaurentLICS 2026
