Open
Description
As discussed here
and in the GobCon.
A separate T is to be introduced that conceptually ranges over the entire environment. I gave it a shot today, but turns out it is a major rewrite that I don't have time for before wrapping up my thesis.
Among other things, it and also entails carefully thinking about where variable values are only forgotten as opposed to removed from the environment.
Creating this separate issue for the principled fix allows merging #1354 which is not the grand unified fix but a step in the right direction (and away from a setup which we know to be unsound) which also allows for experiments in a setting that is not unsound.