Description: Substitution of equal classes into membership relation. (Contributed by Mario Carneiro, 6-Jan-2017) (Proof shortened by Wolf Lammen, 23-Nov-2019)