I have troubles to prove that $\int f(x) d\delta_x(A)=f(x)$ using a step function like $g(x)=\sum_i c_i \mathbb{1_{A_i}}(x) $.
I have tried this :
$$\int g(x)d\delta_x(A)=\int \sum_i c_i \mathbb{1_{A_i}}(x) d \delta_x(A)=\sum_i c_i\int \mathbb{1_{A_i}}(x) d \delta_x(A)=\sum_i c_i\int_ \mathbb{{A_i}}d \delta_x(A)$$
And as we know in general that $\int_A dP(x)= P(A)$ we get something like this (This is where I get confused):
$$\int g(x)d\delta_x(A)=\sum_i c_i\delta_ \mathbb{{A_i}}(A)$$
which doesn't lead to the result $\int g(x)d\delta_x(A)=g(x)$
Any comments? Help? Thank you
Edit to make things more clear.
Let $x$ be fixed.
Then $\delta_x$ denotes a measure wich is prescribed by $A\mapsto 1_A(x)$ on measurable sets $A$.
So by definition $\delta_x(A)=1_A(x)$ for measurable sets $A$.
For every measure $\mu$ and every measurable set $A$ the following notations are used to denote an integral over a characteristic function:
Applying that on $\delta_x$ we get
For step function $g$ prescribed by $y\mapsto\sum_{i=1}^{n}c_{i}1_{A_{i}}\left(y\right)$ we find:
$$\int g\left(y\right)d\delta_{x}\left(y\right)=\sum_{i=1}^{n}c_{i}\int1_{A_{i}}\left(y\right)d\delta_{x}\left(y\right)=\sum_{i=1}^{n}c_{i}\delta_{x}\left(A_{i}\right)=\sum_{i=1}^{n}c_{i}1_{A_{i}}\left(x\right)=g\left(x\right)$$