Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Janiszewski’s theorem for compact planar sets

Proved
janiszewski_compact_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 be compact and suppose S∩TS\cap TS∩T is connected or empty. Let a,b∈C∖(S∪T)a,b\in\mathbb C\setminus(S\cup T)a,b∈C∖(S∪T). If aaa and bbb lie in the same connected component of both C∖S\mathbb C\setminus SC∖S and C∖T\mathbb C\setminus TC∖T, then they lie in the same connected component of

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

This is the compact planar form of Janiszewski’s separation theorem; the empty-intersection case is included.

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
Formal statement
theorem janiszewski_compact_preconnected_intersection
    (S T : Set ℂ) (a b : ℂ) (hS : IsCompact S) (hT : IsCompact T)
    (hST : IsPreconnected (S ∩ T)) (ha : a ∉ S ∪ T) (hb : b ∉ S ∪ T)
    (habS : b ∈ connectedComponentIn Sᶜ a)
    (habT : b ∈ connectedComponentIn Tᶜ a) :
    b ∈ connectedComponentIn (S ∪ T)ᶜ a := by sorry
Source
Z. Janiszewski (1915); see Exercise 4.36(ii) and Theorem 4.31 in Robert B. Burckel, An Introduction to Classical Complex Analysis, Vol. 1, https://edu.fjfi.cvut.cz/studijni-materialy/Bc/3.%20rocnik/FKO/Introduction%20to%20complex%20analysis.pdf . Related formal proof: Isabelle/HOL Jordan_Curve, Janiszewski_weak, https://isabelle.in.tum.de/website-Isabelle2017/dist/library/HOL/HOL-Analysis/Jordan_Curve.html . Supporting work for https://prove2.me/theorems/499509f0-5564-4ad2-b052-bdaa0fac6f2b . Uses Schoenflies square-plane source files 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