Nested parenthesizes and Boolean logic

No.9242356 ViewReplyOriginalReport
Hello friends. I have a question and I could use a little help.

Is this a legal Boolean expression

(( T AND T)) OR F

the usage of double parenthesizes seems straight forward in most examples and I know

((T AND T) OR F) is legal but if parenthesize don't associate with an operator they are superfluous

I am currently writing a program and this issue could break my algorithm. This is for a homework assignment for university so if you could provide sources for your input I would greatly appreciate it. Thank you!

Pic is not related