I was refactoring old code and encountered several if conditions that were way too complex and long and i'm certain they can be simplified. My guess is that those conditions grew so much because of later modifications

I was wondering if anyone knows of a good online simplicer i can use I'm not interested in any specific language, just a simplifier that would take in for example.

((A OR B) AND (!B AND C) OR C)

Give me a simplified version of the expression if there is one

I've looked at the other similar questions but none point me to a good simplifier.

Thank you for your efforts

Best Answer


You can try wolfram alpha as in this example based on your input.

http://www.wolframalpha.com/input/?i=((A%20OR%20B)%20AND%20(NOT%20B%20AND%20C)%20OR%20C)&t=crmtb01&f=rc