I’m not sure how practical this kind of generalized approach is, but notice how incremental computation is already all around you: in your build system, in the way React recomputes its tree and your browser recomputes layout, in any pull-based protocol where the server keeps state.