In: Physics
The question is: How to calculate the energy of electrostatic field of a newly created particle.
The usual formula involves integration 'all over space'. According to GR I believe that 'all over space' means the interior volume with radius c*t_now, where t_now is the lifetime of the particle at the time of calculation and c is the light speed.
Thus the energy stored in the field is a quantity dependent on time evolution.
this is a clarification of the question of PS: conservation of energy and shrinking matter
classical physics doesn't have any well-defined framework to describe the "creation of particles". So you have to talk about the real world - or, theoretical speaking, the world of quantum field theory (or something that contains it) - to be able to discuss the creation of particles.
However, in quantum field theory, you can't separate the energy coming from the field from the energy coming from the particles themselves in such a sharp way. In particular, even the lightest charged particle - the electron - has mass equal to 511 keV. That's big, and even if you compute the whole energy of the electrostatic field at the distance of the classical electron radius, meters, or shorter (not far from the radius of the proton, by the way), you will obtain a smaller energy than the rest energy of the electron.
If you want to say that a (virtual) electron existed at least for a little while, you need to assume that the lifetime was at least the Compton wavelength of the electron (divided by ). That's about 100 times longer a distance. And even with this distance, the uncertainty of the energy is comparable to those 511 keV.
This leads me to the key point which is the uncertainty principle for time and energy.
If you determine the timing of the places where you measure the energy with a much better accuracy than the Compton wavelength of the electron (over ), then the uncertainty of the energy you measure will inevitably be much greater than the whole electron rest mass (times ). And if you determine the the timing with a worse accuracy, then you will inevitably include almost the whole electric field of the electron, and you will get the electron mass (times ) of 511 keV with a big accuracy.
At any rate, you won't be able to show any violation of the total energy which holds exactly in any system with a time-translational symmetry. You will be extremely far from finding such a contradiction: even if you could attribute parts of energy to fields and particles at every moment, as you suggested and which you cannot because of the uncertainty principle, you couldn't measure it with the same precision, and even if you could measure it, the variable mass of the electron at the "center" of the field could always compensate any violation of the conservation law, anyway.
So the really important message is that the total energy is conserved, it can be measured as long as we have a long enough time to measure it, and attributing energy to small pieces of space around a particle is not the right way to proceed - neither theoretically nor experimentally. Instead, one should ask what are the probabilities of various processes.
External and internal particles will always show that energy is conserved. However, energy can only be measured accurately if it is measured for a long enough time - longer than where is the required precision. If you think about these matters, you will find out that you are trying to measure the amount and localization of energy - in space and/or in time - more accurately than the uncertainty principle allows.