Skip to content

Commit e49f9fc

Browse files
committed
feat(Topology/Algebra/Star): the unitary group in a T1 monoid is closed (#31136)
1 parent fa06074 commit e49f9fc

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

Mathlib/Topology/Algebra/Star/Unitary.lean

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
/-
22
Copyright (c) 2025 Jireh Loreaux. All rights reserved.
33
Released under Apache 2.0 license as described in the file LICENSE.
4-
Authors: Jireh Loreaux
4+
Authors: Jireh Loreaux, Bhavik Mehta
55
-/
66
import Mathlib.Algebra.Star.Unitary
77
import Mathlib.Topology.Algebra.Group.Defs
88
import Mathlib.Topology.Algebra.Star
99
import Mathlib.Topology.Algebra.Monoid
1010

11-
/-! # `unitary R` is a topological group
11+
/-! # Topological properties of the unitary (sub)group
1212
13-
In a topological star monoid, the unitary group is a topological group.
13+
* In a topological star monoid `R`, `unitary R` is a topological group
14+
* In a topological star monoid `R` which is T1, `unitary R` is closed as a subset of `R`.
1415
-/
1516

1617
variable {R : Type*} [Monoid R] [StarMul R] [TopologicalSpace R]
@@ -22,3 +23,10 @@ instance [ContinuousStar R] : ContinuousInv (unitary R) where
2223
continuous_inv := continuous_star
2324

2425
instance [ContinuousMul R] [ContinuousStar R] : IsTopologicalGroup (unitary R) where
26+
27+
lemma isClosed_unitary [T1Space R] [ContinuousStar R] [ContinuousMul R] :
28+
IsClosed (unitary R : Set R) := by
29+
let f (u : R) : R × R := (star u * u, u * star u)
30+
have hf : f ⁻¹' {(1, 1)} = unitary R := by ext u; simp [f, Unitary.mem_iff]
31+
rw [← hf]
32+
exact isClosed_singleton.preimage (by fun_prop)

0 commit comments

Comments
 (0)