Description: Equality deduction for substitution in class. (Contributed by Giovanni Mascellani, 10-Apr-2018)