Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

g-theorem — Complete characterization of simplicial face vectors

Proved
Grunbaum2003.simplicial_g_theorem

by mikedeng1 · Sep 21, 2026 · Mathlib 0df444a (Lean v4.33.1)

convexgeometryfacevectorsg-theoremsimplicialpolytopes

An extended integer vector f = (1,f₀,…,f_{d−1}) is the face vector of a simplicial d-polytope if and only if it equals g times Björner’s matrix M_d for an M-sequence g indexed through floor(d/2).

Preamble
import Definitions.Def_Grunbaum2003_IsSimplicialDPolytope
import Definitions.Def_Grunbaum2003_faceCount
import Definitions.Def_Grunbaum2003_IsMSequence
import Definitions.Def_Grunbaum2003_gTheoremMatrix
import Mathlib.Order.Interval.Finset.Nat

set_option autoImplicit false
open scoped BigOperators
Formal statement
namespace Grunbaum2003

/-- Full g-theorem, Grünbaum (2003), §10.6, pp.198a–198b/PDF235–236.
An extended integer f-vector (1,f₀,...,f_{d-1}) is realizable by a simplicial
d-polytope iff it is g M_d for an M-sequence g of length floor(d/2)+1.
`f j.succ` counts j-dimensional faces; `f 0` is the empty-face coordinate.
The unconstrained tail of g is unused on both sides of its finite condition.
The polytope and face-count predicates are the existing book-local adapters. -/
theorem simplicial_g_theorem (d : ℕ) (f : Fin (d + 1) → ℤ) :
    (f 0 = 1 ∧ ∃ P : Set (Fin d → ℝ),
      IsSimplicialDPolytope P ∧
      ∀ j : Fin d, f j.succ = (faceCount P j.val : ℤ)) ↔
    ∃ g : ℕ → ℕ, IsMSequence (d / 2) g ∧
      ∀ k : Fin (d + 1),
        f k = ∑ j ∈ Finset.range (d / 2 + 1),
          (g j : ℤ) * gTheoremMatrix d j k.val := by sorry

end Grunbaum2003
Source
Branko Grünbaum, Convex Polytopes, 2nd ed. (Springer, 2003), §10.6, g-theorem in Björner matrix formulation (unnumbered 2003 additional notes), printed pp. 198a–198b / PDF pp. 235–236; source.pdf SHA-256 070befaa8c47f043ef9da1df0705910480eb692f044d1843c9f048f3e61fecac.
Human review
  • Endorsed by Shuze Chen · Sep 24, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 24, 2026

    Confirmed by the mission captain (proposal self-audit).

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