Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Deleting a non-bridge merges exactly two faces

Open
DeleteNonbridgeMergesFaces

by xuanji · Sep 26, 2026 · Mathlib 0df444a (Lean v4.33.1)

graph-theoryplanar-graphs

Let GGG be a finite simple graph with a connected crossing-free ordinary polygonal drawing DDD and plane-face data AAA. For a non-bridge edge eee, delete eee to form GdelG_{\mathrm{del}}Gdel​. The theorem supplies a crossing-free ordinary polygonal drawing DdelD_{\mathrm{del}}Ddel​ of GdelG_{\mathrm{del}}Gdel​ that keeps the vertex placement and agrees with DDD on every remaining edge arc, together with plane-face data AdelA_{\mathrm{del}}Adel​.

There is a dart ddd on eee whose two incident faces in AAA are distinct, and a surjective map from the old faces to the new faces such that exactly those two faces are identified. Every other old face is unchanged, the relative interior of eee lies in the merged face, and the number of faces decreases by one:

# Adel.Face+1=# A.Face.\#\,A_{\mathrm{del}}.\mathrm{Face}+1=\#\,A.\mathrm{Face}.#Adel​.Face+1=#A.Face.

The edge-arc agreement is stated using the corresponding edge of GGG for each edge of GdelG_{\mathrm{del}}Gdel​, and the face inclusions and equality clauses are those of the source declaration.

Preamble
import Definitions.Def_PlaneFaceData
import Mathlib.Combinatorics.SimpleGraph.Acyclic

open Classical
noncomputable section

-- [TABLET NODE: DeleteNonbridgeMergesFaces]
Formal statement
lemma DeleteNonbridgeMergesFaces {V : Type*} [Fintype V] (G : SimpleGraph V)
    [Fintype G.edgeSet] [DecidableRel G.Adj] (D : OrdinaryPolygonalDrawing G)
    (hD : D.crossingSet.card = 0) (A : PlaneFaceData G D) (e : G.edgeFinset)
    (hconn : G.Connected) (he : ¬ G.IsBridge e.1) :
    let Gdel : SimpleGraph V := G.deleteEdges {e.1}
    ∃ Ddel : OrdinaryPolygonalDrawing Gdel,
      Ddel.crossingSet.card = 0 ∧
        Ddel.vertexPlacement = D.vertexPlacement ∧
          (∀ ed : Gdel.edgeFinset,
            ∃ eG : G.edgeFinset, eG.1 = ed.1 ∧ eG.1 ≠ e.1 ∧
              Ddel.edgeArc ed = D.edgeArc eG) ∧
            ∃ Adel : PlaneFaceData Gdel Ddel,
              ∃ d : G.Dart,
                d.edge = e.1 ∧
                  A.leftFace d ≠ A.leftFace d.symm ∧
                    ∃ oldToNew : A.Face → Adel.Face,
                      (∀ F : A.Face, A.faceSet F ⊆ Adel.faceSet (oldToNew F)) ∧
                        oldToNew (A.leftFace d) = oldToNew (A.leftFace d.symm) ∧
                          (D.edgeArc e).relativeInterior ⊆
                            Adel.faceSet (oldToNew (A.leftFace d)) ∧
                            (∀ F F' : A.Face,
                              oldToNew F = oldToNew F' ↔
                                F = F' ∨
                                  (F = A.leftFace d ∧ F' = A.leftFace d.symm) ∨
                                    (F = A.leftFace d.symm ∧ F' = A.leftFace d)) ∧
                              (∀ F : A.Face,
                                F ≠ A.leftFace d → F ≠ A.leftFace d.symm →
                                  Adel.faceSet (oldToNew F) = A.faceSet F) ∧
                                (∀ Fdel : Adel.Face, ∃ F : A.Face,
                                  oldToNew F = Fdel) ∧
                                  @Fintype.card Adel.Face Adel.faceFintype + 1 =
                                    @Fintype.card A.Face A.faceFintype := by sorry
Source
https://github.com/wpegden/crossing-consequences/blob/8769d142033fce042f502bf2857afb6b1375b5c3/Tablet/DeleteNonbridgeMergesFaces.lean#L1-L64

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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me