One can use the Escardó-Oliva functional to write an assembler; it handles the "backtracking." On X86 the encoding of a jump instruction can vary depending on the distance of the jump... which in turn depends on the size of the encoding! So you need more than just the tardis monad
Notices by maonu (maonu@mathstodon.xyz)
-
Embed this notice
maonu (maonu@mathstodon.xyz)'s status on Sunday, 19-Jan-2025 21:27:24 JST maonu -
Embed this notice
maonu (maonu@mathstodon.xyz)'s status on Saturday, 18-Jan-2025 22:53:25 JST maonu @julesh kinda crasy to see logic so central, I guess FP has been carrying the torch for "languages we can treat theoretically" but still cool!
-
Embed this notice
maonu (maonu@mathstodon.xyz)'s status on Saturday, 18-Jan-2025 22:11:54 JST maonu backprop/machine learning fits into functional programming as "new form of control"/effect(?) with linear negation the dual from linear algebra
basically "peek around locally on differentiable stuff and use that to improve the program"
Turns out to resemble logic programming's "AI" maybe, cf. Pédrot/Kerjean's recent dialectica work
-
Embed this notice
maonu (maonu@mathstodon.xyz)'s status on Friday, 13-Dec-2024 01:42:06 JST maonu dialectica puts counter-witnesses where modus ponens (aka cut elimination, \( \beta \)-reduction is...
differential dialectica shows the chain rule in the same place!
Lots of depth in this work
-
Embed this notice
maonu (maonu@mathstodon.xyz)'s status on Friday, 13-Dec-2024 01:41:45 JST maonu Gödel’s dialectica interpretation looks like pattern-match deconstruction—counter-“witness” (aka way to deal with, accept as an argument) to \( A \vee B \) is *both* a way to deal with A and a way to deal with B (after inspecting tags)
-
Embed this notice
maonu (maonu@mathstodon.xyz)'s status on Friday, 13-Dec-2024 01:41:38 JST maonu Pédrot/Kerjean point out that dialectica places chain rule where dialectica translation of modus ponens (aka beta reduction) needs counterwitnesses.
Seems interesting “machine learning reasoning” people haven’t caught up?
In conversation from mathstodon.xyz permalink -
Embed this notice
maonu (maonu@mathstodon.xyz)'s status on Friday, 13-Dec-2024 01:40:41 JST maonu van Laarhoven (2009) describes lenses based on continuation-passing style (CPS) and how to compose them
@julesh points out this looks like how modus ponens/cut elimination works in Gödel's dialectica interpretation (1958)
In conversation from mathstodon.xyz permalink Attachments