LFCS Seminar: Tuesday 17th June: Andreas Abel Title: Graded Call-by-push-value -- tracking (co)effects in a functional language Abstract Call-by-push-value (CBPV) is a simply typed lambda calculus thatpolarizes types into value and computation types and can thusexpress both call-by-name and call-by-value evaluation in thepresence of effects. Semantically, effects are modeled by a monad,and computation types as algebras over this monad. Effect type systems usually express more information than thepresence of an effect; often effects are categorized by a preorderedmonoid where the monoid operation represents accumulation of effectsand the order expresses effect subsumption, in analogy to subtyping.In this work, a graded version of CBPV is presented where thetyping of computations likens effect typing. Semantically,computation types are then represented as graded monad algebras. Observing that the value types of CBPV can be interpreted as comonadcoalgebras, we further present a version of CBPV that has coeffectsgraded by a preordered semiring. Value types and contexts areinterpreted as graded comonad coalgebras, allowing resource-awareinterpretations of CBPV. Finally, we combine the two systems into a fully graded version ofCBPV where both effects and coeffects are graded. This turns out tobe possible without specifying any interaction between effects andcoeffects. Jun 17 2025 11.10 - 12.10 LFCS Seminar: Tuesday 17th June: Andreas Abel Andreas Abel Gothenburg University / Chalmers https://www.cse.chalmers.se/~abela/ Note: unusual day and time Venue: IF G.03
LFCS Seminar: Tuesday 17th June: Andreas Abel Title: Graded Call-by-push-value -- tracking (co)effects in a functional language Abstract Call-by-push-value (CBPV) is a simply typed lambda calculus thatpolarizes types into value and computation types and can thusexpress both call-by-name and call-by-value evaluation in thepresence of effects. Semantically, effects are modeled by a monad,and computation types as algebras over this monad. Effect type systems usually express more information than thepresence of an effect; often effects are categorized by a preorderedmonoid where the monoid operation represents accumulation of effectsand the order expresses effect subsumption, in analogy to subtyping.In this work, a graded version of CBPV is presented where thetyping of computations likens effect typing. Semantically,computation types are then represented as graded monad algebras. Observing that the value types of CBPV can be interpreted as comonadcoalgebras, we further present a version of CBPV that has coeffectsgraded by a preordered semiring. Value types and contexts areinterpreted as graded comonad coalgebras, allowing resource-awareinterpretations of CBPV. Finally, we combine the two systems into a fully graded version ofCBPV where both effects and coeffects are graded. This turns out tobe possible without specifying any interaction between effects andcoeffects. Jun 17 2025 11.10 - 12.10 LFCS Seminar: Tuesday 17th June: Andreas Abel Andreas Abel Gothenburg University / Chalmers https://www.cse.chalmers.se/~abela/ Note: unusual day and time Venue: IF G.03
Jun 17 2025 11.10 - 12.10 LFCS Seminar: Tuesday 17th June: Andreas Abel Andreas Abel Gothenburg University / Chalmers https://www.cse.chalmers.se/~abela/ Note: unusual day and time