Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Deleting edges from an ordinary polygonal drawing

Proved
OrdinaryPolygonalDrawingDeleteEdges

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

crossing-numbergraph-theory

Let GGG be a finite simple graph, let DDD be an ordinary polygonal drawing of GGG, and let SSS be a finite set of unordered vertex pairs. After deleting from GGG every edge whose unordered pair lies in SSS, there is an ordinary polygonal drawing D′D'D′ of the resulting graph such that

D′.crossingSet⁡={p∈D.crossingSet⁡:extthecrossingatpextissupportedbytworetainededges},D'.\operatorname{crossingSet} =\{p\in D.\operatorname{crossingSet}: ext{the crossing at }p ext{ is supported by two retained edges}\},D′.crossingSet={p∈D.crossingSet:extthecrossingatpextissupportedbytworetainededges},

where the retained-edge condition is expressed by the displayed Lean filter over the original edge finset. Moreover, the new edge count is

∣E(G∖S)∣=∣E(G)∣−∣S∩E(G)∣.|E(G\setminus S)|=|E(G)|-|S\cap E(G)|.∣E(G∖S)∣=∣E(G)∣−∣S∩E(G)∣.

This interface formalizes the operation of deleting a prescribed collection of edges while retaining the original drawing data and exactly the crossings that remain supported by undeleted edges.

Formalization Note Unordered edges are represented by Sym2 V, and the retained crossing condition is stated using the original edge finset of GGG.

Preamble
import Definitions.Def_OrdinaryPolygonalDrawing
import Mathlib.Combinatorics.SimpleGraph.Copy

open Classical
noncomputable section
Formal statement
lemma OrdinaryPolygonalDrawingDeleteEdges {V : Type*} [Fintype V] (G : SimpleGraph V)
    [Fintype G.edgeSet] (D : OrdinaryPolygonalDrawing G)
    (S : Finset (Sym2 V)) :
    ∃ D' : OrdinaryPolygonalDrawing (G.deleteEdges (S : Set (Sym2 V))),
      D'.crossingSet =
          D.crossingSet.filter (fun p =>
            ∃ e₁ e₂ : G.edgeFinset,
              e₁ ≠ e₂ ∧ e₁.1 ∉ S ∧ e₂.1 ∉ S ∧
                p ∈ (D.edgeArc e₁).relativeInterior ∧
                  p ∈ (D.edgeArc e₂).relativeInterior) ∧
        (G.deleteEdges (S : Set (Sym2 V))).edgeFinset.card =
          G.edgeFinset.card - (S ∩ G.edgeFinset).card := by sorry
Source
https://github.com/wpegden/crossing-consequences/blob/8769d142033fce042f502bf2857afb6b1375b5c3/Tablet/OrdinaryPolygonalDrawingDeleteEdges.lean#L1-L135

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