Title: Foundations of the mathematical theory of electromagnetic waves