Problem understanding “and”,“or” and importance of “()” in set theory I was reading the distributive law of sets (I keep coming back to basic maths when needed, forget it after some time, then come back again. Like I'm in loop):

$A\cup(B \cap C)=(A\cup B)\cap(A\cup C)$

The proof (which I'm assuming everyone knows) has a transaction between lines which baffled me , which are:

$x \in A$ or ($x\in B$ and $x\in C$)
($x\in A$ or $x\in B$) and ($x\in A$ or $x \in C$) 

in the second line, did they just applied distributive law? (in the proof of distributive law itself Oo) or Did they simple assumed "and" = "+" etc like following:

$2 X (A + B) \equiv (2XA) + (2XB)$

Another question will be :

($x\in A$ or $x\in B$) or $x\in C\implies x\in A$ or ($x\in B$ or $x\in C$)

I can just open the brackets?

I think your problem understanding what's going on here stems from the fact that you don't quite understand what's the mathematical logic/set theory operations behind "everyday" words:
$\,x\in A\cup\left(B\cap C\right)\,$ means "either $\,x\,$ belongs to $\,A\,$ or else $\,x\,$ belongs to $\,B\cap C\,$ (why the "either"? Because that's the meaning of union of sets). Also remember that in mathematics "or" is not exclusive: it may also mean "both".
Now, "$\,x\,$ belongs to $\,B\cap C\,$" means "$\,x\,$ belongs to $\,B\,$ and also $\,x\,$ belongs to $\,C\,$" , so putting all these together we get that $\,x\in A\cup\left(B\cap C\right)\,$ means "either $\,x\,$ belongs to $\,A\,$ or $\,x\,$ belongs to both $\,B\,\,and\,\,C\,$" , which is the same, both mathematically and colloquially, as "$\,x\,$ belongs to $\,A\,$ and $\,B\,$ or $\,x\,$ belongs to $\,A\,$ and $\,C\,$" , and this last is just the wordly meaning of the right hand side in that equality.
