Description: Substitution of equal classes into element relation. (Contributed by Peter Mazsa, 17-Jul-2019)