Documentation

Mathlib.Analysis.Normed.Module.Connected

Connectedness of subsets of vector spaces #

We show several results related to the (path)-connectedness of subsets of real vector spaces:

Statements with connectedness instead of path-connectedness are also given.

In a real vector space of dimension > 1, the complement of any countable set is path connected.

In a real vector space of dimension > 1, the complement of any countable set is connected.

In a real vector space of dimension > 1, the complement of any singleton is path-connected.

In a real vector space of dimension > 1, the complement of a singleton is connected.

@[deprecated Metric.contractibleSpace_ball (since := "2026-02-02")]
theorem Metric.ball_contractible {E : Type u_1} [NormedAddCommGroup E] [NormedSpace โ„ E] {x : E} {r : โ„} (hr : 0 < r) :
ContractibleSpace โ†‘(ball x r)

Alias of Metric.contractibleSpace_ball.

@[deprecated Metric.contractibleSpace_eball (since := "2026-02-02")]
theorem Metric.eball_contractible {E : Type u_1} [NormedAddCommGroup E] [NormedSpace โ„ E] {x : E} {r : ENNReal} (hr : 0 < r) :

Alias of Metric.contractibleSpace_eball.

In a real vector space of dimension > 1, any sphere of nonnegative radius is path connected.

theorem isConnected_sphere {E : Type u_1} [NormedAddCommGroup E] [NormedSpace โ„ E] (h : 1 < Module.rank โ„ E) (x : E) {r : โ„} (hr : 0 โ‰ค r) :

In a real vector space of dimension > 1, any sphere of nonnegative radius is connected.

In a real vector space of dimension > 1, any sphere is preconnected.

Let E be a linear subspace in a real vector space. If E has codimension at least two, its complement is path-connected.

Let E be a linear subspace in a real vector space. If E has codimension at least two, its complement is connected.