Skip to content

Commit e6da408

Browse files
committed
feat(Topology/Algebra/Ring/Ideal): the connected component of zero is an ideal (leanprover-community#35403)
This PR defines the connected component of zero as an ideal. Co-authored-by: tb65536 <thomas.l.browning@gmail.com>
1 parent 9e48002 commit e6da408

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

Mathlib/Topology/Algebra/Ring/Ideal.lean

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,20 @@ https://leanprover.zulipchat.com/#narrow/stream/287929-mathlib4/topic/!4.234852.
4545
theorem Ideal.closure_eq_of_isClosed (I : Ideal R) (hI : IsClosed (I : Set R)) : I.closure = I :=
4646
SetLike.ext' hI.closure_eq
4747

48+
variable (R)
49+
50+
/-- The connected component of zero in a topological ring as an ideal. -/
51+
def Ideal.connectedComponentOfZero : Ideal R where
52+
__ := AddSubgroup.connectedComponentOfZero R
53+
smul_mem' c x h := IsConnected.subset_connectedComponent
54+
(isConnected_connectedComponent.image _ (continuous_const_mul c).continuousOn)
55+
0, mem_connectedComponent, mul_zero c⟩ ⟨x, h, rfl⟩
56+
57+
@[simp]
58+
theorem Ideal.coe_connectedComponentOfZero :
59+
(Ideal.connectedComponentOfZero R : Set R) = connectedComponent 0 :=
60+
rfl
61+
4862
end Ring
4963

5064
section CommRing

0 commit comments

Comments
 (0)