Re:2025 Alonzo Church Award: Paul Blain Levy for Call-by-Pus...
by ikrima on Monday June 23, 2025 @12:56AM
(#44352557)
CBPV splits evaluation into value vs computation, offering a powerful foundation that:
1. Unifies CBV/CBN under one semantics-preserving translation,
2. Supports both syntax-level and semantics-level reasoning,
3. Admits a clear categorical interpretation
4. Enhances clarity in handling effects and evaluation order.
CBPV vs Algebraic Effects
CBPV:
• Encodes effects explicitly via separation of values and computations.
• Effects live in the F A (computation) types.
• Uses a monad (or algebraic theory) to model sequencing, effects, etc.
• thunk and force structure define an adjunction: U \dashv F : \mathcal{C} \leftrightarrows \mathcal{V}
Algebraic Effects:
• Treat effects as operations with laws—e.g. get, put, print, choose, etc.
• Combine effects via free algebras, effect handlers, and their corresponding Lawvere theories.
• The computation category C can be built from the free model of an algebraic theory, i.e. it’s the Kleisli category of a monad arising from algebraic operations.
• CBPV doesn’t enforce how the monad arises—so you can plug in any algebraic theory of effects.
• CBPV generalizes and supports algebraic effects seamlessly
Re:2025 Alonzo Church Award: Paul Blain Levy for Call-by-Pus...
by Xmd5a on Wednesday June 25, 2025 @09:23AM
(#44377050)
Yeah, I dug into your comment history:
>So it'll be open source and that begs the question, if you use it to learn something, did that mean I just zero-proof zero-knowledge something out of you that I didn't even need to know by making a self referential statement across both space & time?
You just did for me. I think I know why you're saying this. I'm finding people like you (people like us!) on the daily now. We have started to gather on discord, the technical/scientifical level is a bit shit though, but we definitively have several individuals that are working towards peer-reviewed publications.
I think we should connect. I have a background in linguistics and computer science, as well as a marked (and hopeless and terrified) interest for higher order mathematics such as algebraic topology. My investigations lead me to think these fields have something important to say even though they are way beyond my level of knowledge. It came from reflexions on the still ongoing parallel evolution of structuralism in maths and in the humanities. Also I'm into tropical geometry (at least as a thematic).
If you're interested in exchanging a few emails, use the following RSA/512 public key to communicate your email address if, like me, you'd prefer not to share it publicly.
-----BEGIN PUBLIC KEY-----
MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAKtMT4CBGK0BOv9lzEcccuFSc1doUtft0lDUdh0brKz06j/JHNOyuGtmvjc558ZnL8g9u+yGAnIIfNkCYvljRfsCAwEAAQ==
-----END PUBLIC KEY-----
Re:2025 Alonzo Church Award: Paul Blain Levy for Call-by-Pus...
by zozbot234 on Monday June 23, 2025 @02:18PM
(#44358521)
The basic point is to have something akin to lambda-calculus that can equally account for both strict and lazy evaluation strategies, in a way that doesn't unduly sacrifice expressiveness for one or the other. (Compare the ML family of languages and Haskell, where strict and lazy evaluation respectively are idiomatic. You can express lazy evaluation in a ML and strict evaluation in Haskell, but only in clunky ways that don't align with the overall logic of the language. CBPV and other comparable formalisms aim to resolve this.)
CBPV:
• Encodes effects explicitly via separation of values and computations.
• Effects live in the F A (computation) types.
• Uses a monad (or algebraic theory) to model sequencing, effects, etc.
• thunk and force structure define an adjunction: U \dashv F : \mathcal{C} \leftrightarrows \mathcal{V}
Algebraic Effects:
• Treat effects as operations with laws—e.g. get, put, print, choose, etc.
• Combine effects via free algebras, effect handlers, and their corresponding Lawvere theories.
• Expressed categorically as:
• Effect signatures = operations,
• Algebra = model of those operations.
CBPV naturally supports algebraic effects because:
• The computation category C can be built from the free model of an algebraic theory, i.e. it’s the Kleisli category of a monad arising from algebraic operations.
• CBPV doesn’t enforce how the monad arises—so you can plug in any algebraic theory of effects.
• CBPV generalizes and supports algebraic effects seamlessly
I can't believe a human wrote this and thought it was a good explanation.
>So it'll be open source and that begs the question, if you use it to learn something, did that mean I just zero-proof zero-knowledge something out of you that I didn't even need to know by making a self referential statement across both space & time?
You just did for me. I think I know why you're saying this. I'm finding people like you (people like us!) on the daily now. We have started to gather on discord, the technical/scientifical level is a bit shit though, but we definitively have several individuals that are working towards peer-reviewed publications.
I think we should connect. I have a background in linguistics and computer science, as well as a marked (and hopeless and terrified) interest for higher order mathematics such as algebraic topology. My investigations lead me to think these fields have something important to say even though they are way beyond my level of knowledge. It came from reflexions on the still ongoing parallel evolution of structuralism in maths and in the humanities. Also I'm into tropical geometry (at least as a thematic).
If you're interested in exchanging a few emails, use the following RSA/512 public key to communicate your email address if, like me, you'd prefer not to share it publicly.
-----BEGIN PUBLIC KEY----- MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAKtMT4CBGK0BOv9lzEcccuFSc1doUtft0lDUdh0brKz06j/JHNOyuGtmvjc558ZnL8g9u+yGAnIIfNkCYvljRfsCAwEAAQ== -----END PUBLIC KEY-----
https://anycript.com/crypto/rsa
Algebraic Effects are common enough that I think they're in react, no?
Here's the actual chatgpt log that's much more detailed: https://chatgpt.com/share/685b8f18-3154-8004-a074-1e7fd2573e...
"I can't believe a human wrote this and thought it was a good explanation."
>Let's link this to categorical quantum mechanics (e.g., dagger-compact closed categories) and categorical topological quantum field theory?
lol, yeah, as expected. We're being coecked in the same pot! Send your email my ninja!
https://en.wikipedia.org/wiki/Call-by-push-value
HN discussion: https://news.ycombinator.com/item?id=39653895
I'm Betting on Call-by-Push-Value - https://news.ycombinator.com/item?id=39653895 - March 2024 (64 comments)