Attempt to define generalization needed in tenvs
However, this approach means that an invariant and the conclusion of infer_e_complete must be changed quite significantly.