I first came across this equation $\mathbb{E}_{x\sim p(x)}f(x)$ in a GAN paper but now I have seen the same equations in many different machine learning and statistical papers. While searching I came to know that its the expectation of f(x) with respect to the distribution p for variable x ref1, ref2. Can you please tell me what is the meaning of this statement, possibly with a simple example?
PS: Although I have basic idea of linear algebra, calculus and statistics , I am not an expert in math itself.