Consider a measurable space $([0,1]\times [0,1], \mathcal{B}([0,1]) \times \mathcal{B}([0,1]))$, and a subset $A:=\{(x,y):x=y\}$ (the diagonal). According to the text book, $A \in \mathcal{B}([0,1]) \times \mathcal{B}([0,1])$. Can any body tell me the reason and in general, how do we check if a given set is a Borel set? Thanks:)
PS: what I cannot see is, since $\mathcal{[0,1]} \times \mathcal{[0,1]}$ by definition is generated by the class $\mathcal{C}=\{I_1 \times I_2\}$, where $I_1, I_2$ are intervals on $[0,1]$, I cannot express $A$ as any countable union/intersection, complement of any $I_1 \times I_2$.