Consider two random variables $X$ and $Y$ defined on the same probability space $(\Omega,\sigma,P)$. We know that they are equivalent in the sense that $P(\{X \ne Y\})=0$. Let $A_X$ and $A_Y$ be the sigma algebras generated by these random variables. What can we say about $A_X$ and $A_Y$? Are they the same?
PS: I had this doubt when looking at martingales, since if the two sigma algebras come out to be different it seems to me that we can modify the characteristic of a process of being adapted with respect to a given filtration simply by changing the process over a set of measure zero. Which I find counterintuitive.