Please
UseAMeaningfulSubjectLine instead of something general like "An open question".
From your example it is not clear exactly what you want to do. In
Boolean logic there are some equivalences, for example "A AND (B OR C)" can be written as "(A AND B) OR (A AND C)", etc. If this kind of transformation is what you want to do, then study the rules of Boolean logic.