In this paper we provide some sufficient conditions guaranteeing the regularity of a function at a certain point by using the In this paper we use the notion of Dini lower directional derivative and provide some sufficient conditions to ensure the regularity of a given mapping at a certain point. We then discuss the Hoffman estimate of the distance to the set of solutions to a system of linear inequalities and achieve some similar results.