Lean library · module TopologyByExample.Theorems.DoubleOriginPlaneArcs
Local arcs in the double origin plane
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it.
theorem locallyArcConnectedSpace
TopologyByExample.DoubleOriginPlane.locallyArcConnectedSpace
The two kinds of half-ball at the origins and the balls away from them are images of convex sets, yielding local arc connectedness.
theorem locallyArcConnectedSpace : LocallyArcConnectedSpace DoubleOriginPlane
Proof
:= by
refine ⟨fun q U hU hq ↦ ?_⟩
have ht := hU.mem_nhds hq
rcases eq_origin'_or_eq_pt q with rfl | ⟨z, rfl⟩
· obtain ⟨r, hr, hrU⟩ := nhds_basis_origin'.mem_iff.1 ht
refine ⟨_, ((isOpen_ball.preimage continuous_proj).inter isOpen_lower),
⟨by simpa [mem_ball] using hr, origin'_mem_lower⟩, hrU, ?_⟩
rw [preimage_ball_inter_lower]
apply arcConnectedSpace_image_of_continuousOn
(continuousOn_ptLower_lowerPlane.mono inter_subset_right)
· exact fun x _ y _ h ↦ by simpa using congrArg proj h
· exact arcConnectedSpace_of_convex ((convex_ball 0 r).inter convex_lowerPlane)
· by_cases hz : z = 0
· subst z
obtain ⟨r, hr, hrU⟩ := nhds_basis_origin.mem_iff.1 ht
refine ⟨_, ((isOpen_ball.preimage continuous_proj).inter isOpen_upper),
⟨by simpa [mem_ball] using hr, by simp⟩, hrU, ?_⟩
rw [preimage_ball_inter_upper]
exact arcConnectedSpace_image_of_continuousOn
(continuousOn_pt_upperPlane.mono inter_subset_right) pt_injective.injOn
(arcConnectedSpace_of_convex ((convex_ball 0 r).inter convex_upperPlane))
· obtain ⟨r, hr, hrU⟩ := (nhds_basis_pt hz).mem_iff.1 ht
let ρ := min r ‖z‖
have hρ : 0 < ρ := lt_min hr (norm_pos_iff.mpr hz)
have h0 := zero_not_mem_ball (z := z) (min_le_right r ‖z‖)
refine ⟨proj ⁻¹' ball z ρ, isOpen_ball.preimage continuous_proj,
mem_ball_self hρ, (preimage_mono (ball_subset_ball (min_le_left _ _))).trans hrU, ?_⟩
rw [preimage_ball_eq_image h0]
exact arcConnectedSpace_image_of_continuousOn
(continuousOn_pt_punctured.mono (ball_subset_punctured h0)) pt_injective.injOn
(arcConnectedSpace_of_convex (convex_ball z ρ))
On this site: The double origin plane is locally arc connected