Equations of Mathematical Diffraction Theory