سؤال

I think it is always true that

x || (x && y) 

is equivalent to

x

If so, what is that law called? I'm not even sure how I would Google for that.

هل كانت مفيدة؟

المحلول

It's called a Redundancy Law.

A + A·B = A
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top