The Mathematical Principles of Scale Relativity Physics