Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Euler and Dehn-Sommerville relations for simplicial 3-polytopes via generic linear sweep and bipartite incidence

Proved
Grunbaum2003.simplicial_three_polytope_euler_from_edge_ridge_and_crossing_counts

by kmehltretter82 · Nov 8, 2026 · Mathlib 0df444a (Lean v4.33.1)

convex-geometryconvex-polytopeseuler-relationf-vectorsfacelattices

Let P⊆R3P \subseteq \mathbb{R}^3P⊆R3 be a simplicial 333-polytope with finite sets of exposed vertices VVV, exposed edges E\mathcal{E}E, and exposed facets F\mathcal{F}F. Suppose that:

  1. Every edge E∈EE \in \mathcal{E}E∈E is contained in exactly two facets F∈FF \in \mathcal{F}F∈F.
  2. For every continuous linear functional ℓ\ellℓ injective on VVV and every intermediate vertex x∈Vx \in Vx∈V that is incident both to an edge Edown∈EE_{\text{down}} \in \mathcal{E}Edown​∈E with a lower endpoint ℓ(u)<ℓ(x)\ell(u) < \ell(x)ℓ(u)<ℓ(x) and to an edge Eup∈EE_{\text{up}} \in \mathcal{E}Eup​∈E with a higher endpoint ℓ(x)<ℓ(u)\ell(x) < \ell(u)ℓ(x)<ℓ(u), there are exactly two crossing facets F∈FF \in \mathcal{F}F∈F at xxx (that is, facets FFF containing xxx among whose edges exactly one belongs to Ex−(ℓ)={E∈E:x∈E and ∀w∈V∩E, ℓ(w)≤ℓ(x)}\mathcal{E}_x^-(\ell) = \{E \in \mathcal{E} : x \in E \text{ and } \forall w \in V \cap E,\, \ell(w) \le \ell(x)\}Ex−​(ℓ)={E∈E:x∈E and ∀w∈V∩E,ℓ(w)≤ℓ(x)}).

Then every facet F∈FF \in \mathcal{F}F∈F contains exactly 333 edges of PPP, there exists a linear functional ℓ\ellℓ strictly injective on VVV, the local sweep identity 1+r(x)=q(x)+[x=vmin⁡]+[x=vmax⁡]1 + r(x) = q(x) + [x = v_{\min}] + [x = v_{\max}]1+r(x)=q(x)+[x=vmin​]+[x=vmax​] holds at every vertex x∈Vx \in Vx∈V, and the global Euler and Dehn-Sommerville relations hold:

f0(P)+f2(P)=f1(P)+2and3f2(P)=2f1(P).f_0(P) + f_2(P) = f_1(P) + 2 \qquad \text{and} \qquad 3 f_2(P) = 2 f_1(P).f0​(P)+f2​(P)=f1​(P)+2and3f2​(P)=2f1​(P).

Formalization Note Simplicial polytopes are represented by IsSimplicialDPolytope P and kkk-face counts by faceCount P k.

Preamble
import Definitions.Def_Grunbaum2003_IsSimplicialDPolytope
import Definitions.Def_Grunbaum2003_faceCount
import Mathlib.Analysis.Convex.Exposed
import Mathlib.Analysis.Convex.Hull
import Mathlib.Analysis.InnerProductSpace.PiL2
import Mathlib.LinearAlgebra.AffineSpace.AffineSubspace.Basic
import Mathlib.LinearAlgebra.AffineSpace.FiniteDimensional

set_option autoImplicit false
open Classical
Formal statement
namespace Grunbaum2003

theorem simplicial_three_polytope_euler_from_edge_ridge_and_crossing_counts
    (P : Set (Fin 3 → ℝ)) (hP : IsSimplicialDPolytope P)
    (hLocal :
      ∀ (V : Finset (Fin 3 → ℝ)) (ℰ ℱ : Finset (Set (Fin 3 → ℝ))),
        (V : Set (Fin 3 → ℝ)) = {x : Fin 3 → ℝ | IsExposed ℝ P {x}} →
        (ℰ : Set (Set (Fin 3 → ℝ))) =
          {E : Set (Fin 3 → ℝ) | E.Nonempty ∧ IsExposed ℝ P E ∧
            Module.finrank ℝ (affineSpan ℝ E).direction = 1} →
        (ℱ : Set (Set (Fin 3 → ℝ))) =
          {F : Set (Fin 3 → ℝ) | F.Nonempty ∧ IsExposed ℝ P F ∧
            Module.finrank ℝ (affineSpan ℝ F).direction = 2} →
        (∀ E ∈ ℰ, (ℱ.filter (fun F => E ⊆ F)).card = 2) ∧
        (∀ (l : StrongDual ℝ (Fin 3 → ℝ)),
          (∀ x ∈ V, ∀ y ∈ V, l x = l y → x = y) →
          ∀ x ∈ V,
            (∃ E_down ∈ ℰ, x ∈ E_down ∧ ∃ u ∈ V, u ∈ E_down ∧ l u < l x) →
            (∃ E_up ∈ ℰ, x ∈ E_up ∧ ∃ u ∈ V, u ∈ E_up ∧ l x < l u) →
            (ℱ.filter (fun F =>
              ((ℰ.filter (fun E => x ∈ E ∧ ∀ w ∈ V, w ∈ E → l w ≤ l x)).filter
                (fun E => E ⊆ F)).card = 1)).card = 2)) :
    faceCount P 0 + faceCount P 2 = faceCount P 1 + 2 ∧
      3 * faceCount P 2 = 2 * faceCount P 1 := by sorry

end Grunbaum2003
Source
Branko Grünbaum, Convex Polytopes, 2nd ed. (Springer GTM 221, 2003), §8.1–8.2 and §9.2, printed pp. 130–141 / PDF pp. 152–163; Günter M. Ziegler, Lectures on Polytopes (Springer GTM 152, 1995), §8.2, Theorem 8.11, pp. 242–245

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