A theoretical foundation of general magnetic reconnection