hi there i was looking through my lecture notes and i'm struggling to understand a particular piece of notation the vertical line | and i was wondering if you could explain its meaning
$$f \sim g \iff f - g \text{ is an element of } (x^2) \iff x^2|f-g$$
where $f$ and $g$ are elements of polynomial ring $R[x]$ and $(x^2)$ is an ideal s.t. $\{f\cdot x^2 \text{ is an element of } R[x] \mid f \text{ is an element of } R[x]\}$
see i understand the second use of | but not the first. could anyone explain the meaning to me please