∀ {α : Type u_1} {β : Type u_2} [inst : TopologicalSpace α] [inst_1 : TopologicalSpace β] {f : α → β}
  (hf : Continuous f), Function.Injective (TopologicalSpace.NonemptyCompacts.map f hf) ↔ Function.Injective f