Quasi-Frobenius rings Local rings and related classes mathematics