Skip to content

Commit 7ffdfd6

Browse files
committed
refined defns of nhds
1 parent 68e5c89 commit 7ffdfd6

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

Minimathlib/Topology.lean

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,12 @@ class TopologicalSpace (X : Type u) where
1515

1616
variable {X : Type u} [TopologicalSpace X]
1717

18-
def is_nhd (x : X) (U : Set X) := TopologicalSpace.isOpen U x ∈ U
18+
def is_nhd (x : X) (U : Set X) (_: TopologicalSpace.isOpen U) := x ∈ U
1919

20-
theorem univ_nhd_any_pt (x : X): is_nhd x 𝒰 := by
21-
exact fun a => trivial
20+
theorem univ_nhd_any_pt (x : X): is_nhd x 𝒰 _? := by trivial
21+
22+
theorem empty_nhd_of_no_pt (x : X): ¬is_nhd x ∅ _? := by
23+
exact fun a => a
2224

2325
def isClosed (s : Set X) : Prop := @TopologicalSpace.isOpen X _ (sᶜ)
2426

0 commit comments

Comments
 (0)