I have a lot of self-defined booleans and conditional statements, and have conditions like
\ifthenelse{\NOT \boolean{foo} \AND \NOT \boolean{bar} \AND \NOT \boolean{baz}}{...}{...}
I want a way to simplify this expression using what I know about boolean arithmetic such as
\ifthenelse{\NOT (\boolean{foo} \OR \boolean{bar} \OR \boolean{baz})}{...}{...}
But can't figure out the logical syntax for it.