Let $A,B$ be open subsets of $\mathbb{R}^n$.
Does the following equality hold?
$$\partial(A\cap B)= (\bar A \cap \partial B) \cup (\partial A \cap \bar B)$$
Edit: Thanks for showing me in the answers that above formula fails if $A$ and $B$ are disjoint but their boundaries still intersect. I was able to come up with a similar formula which avoids this case $$[\partial(A\cap B)]\setminus(\partial A \cap \partial B)= (A \cap \partial B) \cup (\partial A \cap B),$$ which I was able to prove and suffices for what I need to do.
However, when showing that $ (A \cap \partial B) \cup (\partial A \cap B)\subseteq \partial(A\cap B)$, I needed to assume that the topology is induced by a metric. I wonder if the formula still holds in an arbitrary topological space.