The fire triangle: how to mix substitution, dependent elimination, and effects
Pierre-Marie Pédrot, Nicolas Tabareau
Abstract
There is a critical tension between substitution, dependent elimination and effects in type theory. In this paper, we crystallize this tension in the form of a no-go theorem that constitutes the fire triangle of type theory. To release this tension, we propose ∂CBPV, an extension of call-by-push-value (CBPV) —a general calculus of effects—to dependent types. Then, by extending to ∂CBPV the well-known decompositions of call-by-name and call-by-value into CBPV, we show why, in presence of effects, dependent elimination must be restricted in call-by-name, and substitution must be restricted in call-by-value. To justify ∂CBPV and show that it is general enough to interpret many kinds of effects, we define various effectful syntactic translations from ∂CBPV to Martin-Löf type theory: the reader, weaning and forcing translations.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get 11cd4b85-1291-4fc5-b1f7-d76b403d8e31Cited by top-tier papers9
- A cost-aware logical frameworkYue Niu, Jonathan Sterling, Harrison Grodin, Robert HarperPOPL 2022 · 23 citations
- Effects and Coeffects in Call-by-Push-ValueCassia Torczon, Emmanuel Suárez Acevedo, Shubh Agrawal, Joey Velez-Ginorio et al.OOPSLA 2024 · 5 citations
- A Metalanguage for Cost-Aware Denotational SemanticsYue Niu, Robert HarperLICS 2023 · 5 citations
- Notions of Stack-Manipulating Computation and Relative MonadsYuchen Jiang, Runze Xue, Max S. NewOOPSLA 2025 · 2 citations
- Separating Markov's PrinciplesLiron Cohen, Yannick Forster, Dominik Kirst, Bruno da Rocha Paiva et al.LICS 2024 · 2 citations
Related papers
- Adequacy for Algebraic Effects RevisitedG. A. KavvosOOPSLA 2025 · 6 citations
- Logical relations for call-by-push-value models, via internal fibrations in a 2-categoryPedro H. Azevedo de Amorim, Satoshi Kura, Philip SavilleLICS 2025 · 1 citation
- Commuting Conversions and Join Points for Call-by-Push-ValueJonathan Chan, Madi Gudin, Annabel Levy, Stephanie WeirichOOPSLA 2026
- Temporal Verification with Answer-Effect Modification: Dependent Temporal Type-and-Effect System with Delimited ContinuationsTaro Sekiyama, Hiroshi UnnoPOPL 2023 · 15 citations
- Monadic and comonadic aspects of dependency analysisPritam ChoudhuryOOPSLA 2022 · 2 citations
