If and only if with two conditions?

58 Views Asked by At

Would it make sense to write a statement saying that, for example: $A = B$ if and only if $f(A,B) = 1$ or $g(A,B) = 2$ ?

2

There are 2 best solutions below

0
On

It makes sense because we have two boolean expressions.

0
On

It does make sense. It is a matter of taste and/or context whether you would prefer to write

$A=B$ if and only if $f(A,B)\in\{1,2\}$

instead.