A non can also be understood as "except A". In mathematics, we often encounter the situation that A is not B, that is to say, all elements except A should be B under certain conditions.
"Not" is also often used in mathematics to exclude certain situations. For example, in a theorem, when certain conditions are met, it can be said that "the theorem still holds for the case that A is not B". This means that even if the case that A is B is not satisfied, the theorem is still applicable to other cases.