11/-
22Copyright (c) 2025 Jireh Loreaux. All rights reserved.
33Released under Apache 2.0 license as described in the file LICENSE.
4- Authors: Jireh Loreaux
4+ Authors: Jireh Loreaux, Bhavik Mehta
55-/
66import Mathlib.Algebra.Star.Unitary
77import Mathlib.Topology.Algebra.Group.Defs
88import Mathlib.Topology.Algebra.Star
99import 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
1617variable {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
2425instance [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