If you take the Brzozowski derivative approach to matching regexps, where you fl...
Dan Piponi @dpiponi@mathstodon.xyz
If you take the Brzozowski derivative approach to matching regexps, where you flip the problem around and make strings into differential operators that act on expressions, and then copy that approach for ordinary derivatives, then you rediscover automatic differentiation by a different route. You also see immediately how to compute things like the Laplacian and biharmonic operators efficiently.
But at this point I don't know if it's even worth a human writing out exactly what I mean...