[math-fun] Criteria for Ham path in infinite graph