Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Janiszewski’s theorem for a compact set and a closed set

Proved
janiszewski_compact_closed_preconnected_intersection

by kmehltretter82 · Oct 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

complex-analysistopology

Let S,T⊂CS,T\subset\mathbb CS,T⊂C, where SSS is compact, TTT is closed, and S∩TS\cap TS∩T is connected or empty. If aaa and bbb belong to the same connected component of both C∖S\mathbb C\setminus SC∖S and C∖T\mathbb C\setminus TC∖T, then they belong to the same connected component of

C∖(S∪T).\mathbb C\setminus(S\cup T).C∖(S∪T).

This strengthens the compact–compact form of the planar Janiszewski theorem by allowing the second set to be unbounded.

Preamble
import Mathlib.Analysis.SpecialFunctions.Complex.Log
import Mathlib.Topology.Separation.Lemmas
import Mathlib.Topology.Connected.Basic
import Mathlib.Analysis.Complex.Basic
import Mathlib.Analysis.Complex.Exponential
import Mathlib.Topology.Piecewise
import Mathlib.Analysis.LocallyConvex.WithSeminorms
import Mathlib.Analysis.Complex.CoveringMap
import Mathlib.Topology.Homotopy.Lifting
import Mathlib.Analysis.SpecialFunctions.Complex.CircleMap
import Mathlib.Analysis.Complex.Tietze
import Mathlib.Topology.Connected.LocallyConnected
import Mathlib.Analysis.Complex.BranchLogRoot
import Mathlib.Analysis.Convex.Contractible
import Mathlib.Topology.MetricSpace.Bounded
import Definitions.Def_Schoenflies_Bounded
import Definitions.Def_Schoenflies_Graph_OuterFace
import Mathlib.Analysis.InnerProductSpace.PiL2

open Set Metric
Formal statement
theorem janiszewski_compact_closed_preconnected_intersection
    (S T : Set ℂ) (a b : ℂ) (hS : IsCompact S) (hT : IsClosed T)
    (hST : IsPreconnected (S ∩ T))
    (habS : b ∈ connectedComponentIn Sᶜ a)
    (habT : b ∈ connectedComponentIn Tᶜ a) :
    b ∈ connectedComponentIn (S ∪ T)ᶜ a := by sorry
Source
Isabelle/HOL Analysis, Jordan_Curve, theorem Janiszewski (L. C. Paulson, based on HOL Light), https://www.isabelle.in.tum.de/website-Isabelle2021/dist/library/HOL/HOL-Analysis/Jordan_Curve.html . Also builds on https://prove2.me/theorems/d7e21e1a-922b-437b-9a8c-7e1c8b33180b and the Schoenflies plane source by Álvaro Begué.

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me