This is a foundation for arithmetic topology - a new branch of mathematics which is focused upon the analogy between …