Mathematical Characterization of Functions Underlying the principle of relativity