If you know about boolean algebra then it explains a lot more than you realize : https://boolean.dk.workers.dev/